/**
 * ThemeBuilder Component Styles
 * Tüm ThemeBuilder bileşenlerinin ortak stilleri
 * Dinamik değerler için CSS Custom Properties kullanılıyor
 */

/* ==========================================================================
   NOTIFICATION & CART MODALS (Varsayılan olarak gizli)
   ========================================================================== */
.notification-modal,
.cart-added-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.notification-modal.show,
.cart-added-modal.show {
    display: flex;
}

.notification-modal-content,
.cart-added-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.notification-icon,
.cart-added-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.notification-message {
    font-size: 16px;
    color: #374151;
}

.cart-added-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
}

.cart-added-product-name {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
}

.cart-added-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
}

.cart-added-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cart-added-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}

.cart-added-btn-primary {
    background: #2a2a2a;
    color: #fff !important;
}

.cart-added-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

/* ==========================================================================
   BASE & CONTAINER
   ========================================================================== */
.tb-section {
    position: relative;
    padding: var(--tb-padding-top, 60px) 0 var(--tb-padding-bottom, 60px);
    background-color: var(--tb-bg-color, transparent);
    margin-top: var(--tb-margin-top, 0);
    margin-bottom: var(--tb-margin-bottom, 0);
}

.tb-container {
    max-width: var(--tb-container-width, 1200px);
    margin: 0 auto;
    padding: 0 15px;
}

.tb-container--lg {
    --tb-container-width: 1400px;
}

.tb-container--xl {
    --tb-container-width: 1600px;
}

.tb-container--full {
    max-width: 100%;
}

/* ==========================================================================
   SECTION TITLE
   ========================================================================== */
.tb-section-title {
    font-size: 22px;
    font-weight: 500;
    color: #111827;
    margin: 0 0 32px;
    text-align: var(--tb-text-align, center);
}

@media (max-width: 768px) {
    .tb-section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

/* ==========================================================================
   PRODUCT GRID
   ========================================================================== */
.tb-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--tb-columns, 4), 1fr);
    gap: var(--tb-gap, 24px);
}

@media (max-width: 1200px) {
    .tb-product-grid {
        grid-template-columns: repeat(var(--tb-columns-tablet, 3), 1fr);
    }
}

@media (max-width: 768px) {
    .tb-product-grid {
        grid-template-columns: repeat(var(--tb-columns-mobile, 2), 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .tb-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Product Card */
.tb-product-card {
    background: #fff;
    border-radius: var(--tb-card-radius, 12px);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: var(--tb-card-border, 1px solid #f1f1f1);
}

.tb-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.tb-product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f9fafb;
}

.tb-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tb-product-card:hover .tb-product-card__image img {
    transform: scale(1.05);
}

.tb-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #d1d5db;
    font-size: 14px;
}

.tb-product-card__content {
    padding: 16px;
}

.tb-product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tb-product-card__link--placeholder {
    cursor: default;
}

.tb-product-card__title {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.tb-product-card__title a:hover {
    color: var(--primary-color, #6366f1);
}

.tb-product-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tb-product-card__price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--tb-price-color, #dc2626);
}

.tb-product-card__price-old {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

/* ==========================================================================
   CATEGORY GRID
   ========================================================================== */
.tb-category-grid {
    display: grid;
    grid-template-columns: repeat(var(--tb-columns, 4), 1fr);
    gap: var(--tb-gap, 14px);
}

@media (max-width: 1200px) {
    .tb-category-grid {
        grid-template-columns: repeat(var(--tb-columns-tablet, 3), 1fr);
    }
}

@media (max-width: 768px) {
    .tb-category-grid {
        grid-template-columns: repeat(var(--tb-columns-mobile, 2), 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .tb-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.tb-category-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f3f4f6;
}

.tb-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tb-category-card:hover img {
    transform: scale(1.1);
}

.tb-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 18%), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.tb-category-card__title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* ==========================================================================
   COLUMNS GRID
   ========================================================================== */
.tb-columns {
    display: grid;
    grid-template-columns: repeat(var(--tb-columns, 2), 1fr);
    gap: var(--tb-gap, 24px);
}

@media (max-width: 992px) {
    .tb-columns {
        grid-template-columns: repeat(var(--tb-columns-tablet, 2), 1fr);
    }
}

@media (max-width: 768px) {
    .tb-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   MULTI SLIDER (Legacy class names)
   ========================================================================== */
.tb-multi-slider {
    position: relative;
    overflow: hidden;
    padding: var(--tb-padding-top, 0) 0 var(--tb-padding-bottom, 40px);
    background-color: var(--tb-bg-color, transparent);
    margin-top: var(--tb-margin-top, 0);
    margin-bottom: var(--tb-margin-bottom, 0);
}

/* ==========================================================================
   TB MULTI SLIDER SECTION (ComponentRenderer class names)
   ========================================================================== */
.tb-multi-slider-section {
    position: relative;
    overflow: hidden;
    margin-top: var(--tms-margin-top, 0);
    margin-bottom: var(--tms-margin-bottom, 40px);
    padding: var(--tms-padding, 0);
    background-color: var(--tms-bg-color, transparent);
    border: var(--tms-border-width, 0) solid var(--tms-border-color, #e5e7eb);
}

.tb-multi-slider-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 25px;
    overflow: visible;
}

.tb-multi-slider-section .swiper,
.tb-multi-swiper {
    overflow: visible;
}

.tb-multi-slider-section .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.tb-multi-slider-section .swiper-slide {
    flex-shrink: 0;
    width: 95%;
    min-width: 600px;
    max-width: 1600px;
    transition: all 0.4s ease;
    opacity: 0.5;
}

.tb-multi-slider-section .swiper-slide-active {
    opacity: 1;
}

.tb-multi-slider-section .swiper-slide-prev,
.tb-multi-slider-section .swiper-slide-next {
    opacity: 0.6;
}

.tb-multi-slide-card {
    position: relative;
    width: 100%;
    height: var(--tms-card-height, 420px);
    overflow: hidden;
    border-radius: var(--tms-card-radius, 24px);
}

.tb-multi-slide-card.align-left .tb-multi-slide-content {
    text-align: left;
}

.tb-multi-slide-card.align-center .tb-multi-slide-content {
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tb-multi-slide-card.align-right .tb-multi-slide-content {
    text-align: right;
    right: 40px;
    left: auto;
}

.tb-multi-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tb-multi-slide-overlay {
    display: none !important;
}

.tb-multi-slide-content {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    max-width: 45%;
    z-index: 2;
}

.tb-multi-slide-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--tms-title-color, #ffffff);
    margin: 0 0 16px;
    line-height: 1.2;
}

.tb-multi-slide-subtitle {
    font-size: 17px;
    color: var(--tms-subtitle-color, rgba(255, 255, 255, 0.8));
    margin: 0 0 24px;
    line-height: 1.6;
}

.tb-multi-slide-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid var(--tms-btn-border, rgba(255, 255, 255, 0.8));
    background: var(--tms-btn-bg, transparent);
    color: var(--tms-btn-color, #fff);
}

.tb-multi-slide-btn:hover {
    background: #fff;
    color: #1e3a5f;
}

/* TB Multi Slider Pager */
.tb-multi-slider-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.tb-multi-nav-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
}

.tb-multi-nav-btn:hover {
    border-color: #374151;
    color: #374151;
}

.tb-multi-pager-nums {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.tb-multi-pager-current {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.tb-multi-pager-separator,
.tb-multi-pager-total {
    font-size: 14px;
    color: #9ca3af;
}

/* TB Multi Slider Responsive */
@media (max-width: 1200px) {
    .tb-multi-slider-section .swiper-slide {
        width: 65%;
        min-width: 500px;
    }
}

@media (max-width: 992px) {
    .tb-multi-slider-section .swiper-slide {
        width: 75%;
        min-width: 400px;
    }

    .tb-multi-slide-content {
        max-width: 55%;
    }

    .tb-multi-slide-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .tb-multi-slider-container {
        padding: 0 10px;
    }

    .tb-multi-slider-section .swiper-slide {
        width: 100% !important;
        min-width: unset !important;
        max-width: 100% !important;
        opacity: 1 !important;
    }

    .tb-multi-slide-card {
        height: 280px;
        border-radius: 16px;
    }

    .tb-multi-slide-content {
        max-width: 80%;
        left: 20px !important;
    }

    .tb-multi-slide-title {
        font-size: 20px;
    }

    .tb-multi-slide-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .tb-multi-slide-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .tb-multi-slider-pager {
        margin-top: 20px;
    }

    .tb-multi-nav-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .tb-multi-slider-container {
        padding: 0 8px;
    }

    .tb-multi-slide-card {
        height: 240px;
        border-radius: 12px;
    }

    .tb-multi-slide-content {
        max-width: 85%;
        left: 16px !important;
    }

    .tb-multi-slide-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .tb-multi-slide-subtitle {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .tb-multi-slide-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

.tb-multi-slider__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: visible;
}

.tb-multi-slider .swiper {
    overflow: visible;
}

.tb-multi-slider .swiper-wrapper {
    align-items: stretch;
}

.tb-multi-slider .swiper-slide {
    width: 95%;
    min-width: 600px;
    max-width: 1600px;
    transition: all 0.4s ease;
    opacity: 0.5;
}

.tb-multi-slider .swiper-slide-active {
    opacity: 1;
}

.tb-multi-slider .swiper-slide-prev,
.tb-multi-slider .swiper-slide-next {
    opacity: 0.6;
}

.tb-slide-card {
    position: relative;
    width: 100%;
    height: var(--tb-slide-height, 420px);
    overflow: hidden;
    border-radius: var(--tb-slide-radius, 24px);
}

.tb-slide-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tb-slide-card__content {
    position: absolute;
    top: 50%;
    left: var(--tb-content-left, 40px);
    transform: translateY(-50%);
    max-width: 45%;
    z-index: 2;
    text-align: var(--tb-text-align, left);
}

.tb-slide-card__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--tb-title-color, #ffffff);
    margin: 0 0 16px;
    line-height: 1.2;
}

.tb-slide-card__subtitle {
    font-size: 15px;
    color: var(--tb-subtitle-color, rgba(255, 255, 255, 0.8));
    margin: 0 0 24px;
    line-height: 1.6;
}

.tb-slide-card__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid var(--tb-btn-border, rgba(255, 255, 255, 0.8));
    background: var(--tb-btn-bg, transparent);
    color: var(--tb-btn-color, #fff);
}

.tb-slide-card__btn:hover {
    background: #fff;
    color: #1e3a5f;
}

/* Multi Slider Pager */
.tb-multi-slider__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.tb-multi-slider__nav {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
}

.tb-multi-slider__nav:hover {
    border-color: #374151;
    color: #374151;
}

.tb-multi-slider__nums {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.tb-multi-slider__current {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.tb-multi-slider__separator,
.tb-multi-slider__total {
    font-size: 14px;
    color: #9ca3af;
}

/* Multi Slider Responsive */
@media (max-width: 1200px) {
    .tb-multi-slider .swiper-slide {
        width: 65%;
        min-width: 500px;
    }
}

@media (max-width: 992px) {
    .tb-multi-slider .swiper-slide {
        width: 75%;
        min-width: 400px;
    }

    .tb-slide-card__content {
        max-width: 55%;
    }

    .tb-slide-card__title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .tb-multi-slider__container {
        padding: 0 10px;
    }

    .tb-multi-slider .swiper-slide {
        width: 100% !important;
        min-width: unset !important;
        max-width: 100% !important;
        opacity: 1 !important;
    }

    .tb-slide-card {
        height: 280px;
        border-radius: 16px;
    }

    .tb-slide-card__content {
        max-width: 80%;
        left: 20px !important;
    }

    .tb-slide-card__title {
        font-size: 20px;
    }

    .tb-slide-card__subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .tb-slide-card__btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .tb-multi-slider__pager {
        margin-top: 20px;
    }

    .tb-multi-slider__nav {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .tb-multi-slider__container {
        padding: 0 8px;
    }

    .tb-slide-card {
        height: 240px;
        border-radius: 12px;
    }

    .tb-slide-card__content {
        max-width: 85%;
        left: 16px !important;
    }

    .tb-slide-card__title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .tb-slide-card__subtitle {
        font-size: 12px;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tb-slide-card__btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .tb-multi-slider__current {
        font-size: 16px;
    }
}

/* ==========================================================================
   BANNER
   ========================================================================== */
.tb-banner {
    position: relative;
    background-color: var(--tb-bg-color, #f3f4f6);
    background-image: var(--tb-bg-image, none);
    background-size: cover;
    background-position: center;
    padding: var(--tb-padding-top, 60px) 0 var(--tb-padding-bottom, 60px);
    text-align: var(--tb-text-align, center);
}

.tb-banner__overlay {
    position: absolute;
    inset: 0;
    background: var(--tb-overlay, rgba(0, 0, 0, 0.3));
}

.tb-banner__content {
    position: relative;
    z-index: 2;
}

.tb-banner__title {
    font-size: 48px;
    font-weight: 700;
    color: var(--tb-title-color, #111827);
    margin: 0 0 16px;
}

.tb-banner__subtitle {
    font-size: 18px;
    color: var(--tb-subtitle-color, #6b7280);
    margin: 0 0 24px;
}

.tb-banner__btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--tb-btn-radius, 8px);
    background: var(--tb-btn-bg, #ff6600);
    color: var(--tb-btn-color, #fff);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.tb-banner__btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tb-banner__title {
        font-size: 32px;
    }

    .tb-banner__subtitle {
        font-size: 16px;
    }

    .tb-banner__btn {
        padding: 12px 24px;
    }
}

/* ==========================================================================
   TITLES & TEXT
   ========================================================================== */
.tb-section-title {
    font-size: var(--tb-title-size, 22px);
    font-weight: 500;
    color: var(--tb-title-color, #111827);
    margin: 0 0 32px;
    text-align: var(--tb-text-align, center);
}

@media (max-width: 768px) {
    .tb-section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

/* ==========================================================================
   IMAGE GRID
   ========================================================================== */
.tb-image-grid {
    display: grid;
    grid-template-columns: repeat(var(--tb-columns, 3), 1fr);
    gap: var(--tb-gap, 16px);
}

@media (max-width: 768px) {
    .tb-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tb-image-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tb-footer {
    background-color: var(--tb-bg-color, #1e293b);
    color: var(--tb-text-color, #ffffff);
    padding: var(--tb-padding-top, 60px) 0 var(--tb-padding-bottom, 40px);
}

.tb-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(var(--tb-columns, 3), 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .tb-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .tb-footer__grid {
        grid-template-columns: 1fr;
    }
}

.tb-footer__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tb-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tb-footer__list li {
    margin-bottom: 10px;
}

.tb-footer__list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.tb-footer__list a:hover {
    color: #ffffff;
}

/* ==========================================================================
   TEXT BLOCK
   ========================================================================== */
.tb-text-block__content {
    line-height: 1.7;
    color: var(--tb-text-color, #374151);
}

.tb-text-block__content p {
    margin-bottom: 1em;
}

.tb-text-block__content h1,
.tb-text-block__content h2,
.tb-text-block__content h3,
.tb-text-block__content h4,
.tb-text-block__content h5,
.tb-text-block__content h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
}

/* ==========================================================================
   SPACER
   ========================================================================== */
.tb-spacer {
    height: var(--tb-spacer-height, 60px);
}

@media (max-width: 768px) {
    .tb-spacer {
        height: calc(var(--tb-spacer-height, 60px) * 0.6);
    }
}

/* ==========================================================================
   DIVIDER
   ========================================================================== */
.tb-divider {
    max-width: var(--tb-divider-width, 100%);
    margin: 0 auto;
    padding: 20px 0;
}

.tb-divider::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--tb-divider-color, #e5e7eb);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.tb-text-left {
    text-align: left;
}

.tb-text-center {
    text-align: center;
}

.tb-text-right {
    text-align: right;
}

.tb-hidden {
    display: none !important;
}

/* ==========================================================================
   SITE GLOBAL STYLES (CSS Variables Required)
   Bu stiller :root'ta tanımlanan CSS variables'ları kullanır
   ========================================================================== */

/* Body Typography & Colors */
body {
    font-family: var(--site-font-family, 'Inter', sans-serif);
    font-size: var(--site-font-size, 15px);
    line-height: var(--site-line-height, 1.4);
    color: var(--site-text-color, #3b3b3b);
    background-color: var(--site-body-bg, #ffffff);
}

/* Container Max Width */
main .container,
#main-content .container,
.main-container {
    max-width: var(--site-max-width, 1320px);
}

/* Primary Color */
.btn-primary,
.bg-primary {
    background-color: var(--site-primary-color, #292929);
    border-color: var(--site-primary-color, #292929);
}

.text-primary {
    color: var(--site-primary-color, #292929) !important;
}

/* Secondary Color */
.btn-secondary,
.bg-secondary {
    background-color: var(--site-secondary-color, #ff4524);
    border-color: var(--site-secondary-color, #ff4524);
}

/* Accent Color */
.btn-accent,
.text-accent {
    color: var(--site-accent-color, #f59e0b);
}

/* Link Colors */
a:not(.btn):not(.nav-link):not(.navbar-brand) {
    color: var(--site-primary-color, #292929);
}

a:not(.btn):not(.nav-link):not(.navbar-brand):hover {
    color: var(--site-secondary-color, #ff4524);
}

/* ==========================================================================
   HEADER STYLES (CSS Variables Required)
   ========================================================================== */
header,
.navbar,
.navbar-magaza,
nav.navbar {
    background-color: var(--header-bg-color, #ffffff);
}

.navbar *,
.navbar .nav-link,
.navbar .navbar-brand,
.navbar-magaza .nav-link,
.magaza-category-bar .nav-link,
.navbar .dropdown-toggle,
.navbar .nav-item a {
    color: var(--header-text-color, #121212);
}

.navbar .nav-link:hover,
.navbar-magaza .nav-link:hover,
.navbar .dropdown-toggle:hover {
    color: var(--header-icon-hover-color, #474747);
    opacity: 0.8;
}

/* Search bar for dark backgrounds */
.magaza-search-container input,
.magaza-search-container .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--header-text-color, #121212);
}

.magaza-search-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Header Icons */
.header-icon {
    color: var(--header-icon-color, #1d1d1f);
    transition: color 0.2s;
}

.header-icon-btn:hover .header-icon,
.mobile-icon-btn:hover .header-icon,
.magaza-icon-btn:hover .header-icon,
button:hover .header-icon,
.header-icon:hover,
.header-icon:focus,
.header-icon.active {
    color: var(--header-icon-hover-color, #007AFF);
}

/* Magaza Layout */
.magaza-category-bar {
    background-color: var(--header-bg-color, #ffffff);
    padding-top: var(--header-padding-top, 10px);
    padding-bottom: var(--header-padding-bottom, 10px);
}

.magaza-category-bar .nav-link {
    color: var(--header-text-color, #121212);
}

.magaza-header-top {
    background-color: var(--header-bg-color, #ffffff);
    padding-top: var(--header-padding-top, 10px);
    padding-bottom: var(--header-padding-bottom, 10px);
}

/* Sticky Header (controlled by --header-sticky) */
header.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

header.sticky-header .navbar {
    position: relative;
}

/* ==========================================================================
   NEWSLETTER SECTION
   ========================================================================== */
.newsletter-section {
    padding: 25px 0;
    border-top: 1px solid #e5e5e5;
    background-color: var(--nl-bg-color, #f8f9fa);
}

.newsletter-section.has-bg-image {
    background-image: var(--nl-bg-image);
    background-size: cover;
    background-position: center;
    position: relative;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, var(--nl-overlay, 0.5));
    pointer-events: none;
}

.newsletter-container {
    position: relative;
    z-index: 1;
}

.newsletter-inline-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newsletter-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.newsletter-info {
    flex-shrink: 0;
    text-align: left;
}

.newsletter-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 3px 0;
    color: var(--nl-text-color, #333);
}

.newsletter-description {
    font-size: 13px;
    margin: 0;
    color: var(--nl-text-color, #777);
    opacity: 0.8;
}

.newsletter-email-form {
    width: 580px;
}

.newsletter-email-form .input-group {
    display: flex;
}

.newsletter-email-form .form-control {
    flex: 1;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
}

.newsletter-email-form .form-control:focus {
    border-color: #22c55e;
}

.newsletter-email-form .btn-success {
    padding: 12px 24px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    background: #22c55e;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #fff;
    cursor: pointer;
}

.newsletter-email-form .btn-success:hover {
    background: #16a34a;
}

.newsletter-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.working-hours-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.working-hours-icon i {
    font-size: 18px;
    color: var(--nl-text-color, #555);
}

.working-hours-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--nl-text-color, #333);
    margin-right: 10px;
}

.working-hours-times {
    display: flex;
    gap: 25px;
}

.hours-item {
    text-align: center;
}

.hours-day {
    display: block;
    font-size: 12px;
    color: var(--nl-text-color, #777);
    opacity: 0.8;
    margin-bottom: 2px;
}

.hours-time {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--nl-text-color, #333);
}

@media (max-width: 1199px) {
    .newsletter-left {
        gap: 20px;
    }

    .newsletter-email-form {
        width: 320px;
    }
}

@media (max-width: 991px) {
    .newsletter-section {
        padding: 25px 0;
    }

    .newsletter-inline-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .newsletter-left {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 100%;
    }

    .newsletter-info {
        text-align: center;
    }

    .newsletter-email-form {
        width: 100%;
        max-width: 400px;
    }

    .newsletter-right {
        padding-top: 15px;
        border-top: 1px solid #eee;
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.slide-pretitle {
    color: var(--slider-pretitle-color, #ffffff);
}

.slide-title {
    color: var(--slider-title-color, #ffffff);
}

.slide-subtitle {
    color: var(--slider-subtitle-color, #ffffff);
}

/* ==========================================================================
   PAGE HERO SECTION
   ========================================================================== */
.page-hero {
    padding: 3rem 0;
    background: var(--page-hero-bg, #f8f9fa);
    color: var(--page-hero-text, #1a1a1a);
}

.page-hero-content {
    text-align: center;
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
}

/* ==========================================================================
   HERO BOX SECTION
   ========================================================================== */
.hero-box {
    background-color: var(--hero-box-bg, #f0ff80);
    padding: 3rem;
    border-radius: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 60px 0;
}

.cta-section.has-bg-image {
    background-image: var(--cta-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-section .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, var(--cta-overlay, 0.5));
    z-index: 1;
}

.cta-section .cta-container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .tb-hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .tb-hidden-desktop {
        display: none !important;
    }
}

/* ==========================================================================
   MARQUEE BANNER
   ========================================================================== */
.marquee-banner {
    background: var(--marquee-bg, #000000);
    color: var(--marquee-color, #ffffff);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    padding: 0 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   MULTI-SLIDER SECTION
   ========================================================================== */
.multi-slider-section {
    margin-top: var(--ms-margin-top, 0);
    margin-bottom: var(--ms-margin-bottom, 40px);
}

.multi-slide-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--ms-border-radius, 16px);
    aspect-ratio: 16/9;
}

.multi-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.multi-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7));
}

.multi-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: #fff;
}

.multi-slide-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.multi-slide-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0 0 16px;
}

.multi-slide-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #fff;
    color: #111;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.multi-slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
    min-height: var(--topbar-height, 40px);
    display: flex;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
}

.topbar-link,
.topbar-text {
    font-size: 13px;
    color: inherit;
    text-decoration: none;
}

.topbar-link:hover {
    opacity: 0.8;
}

.topbar-social-links {
    display: flex;
    gap: 12px;
}

.topbar-social-links a {
    color: inherit;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.topbar-social-links a:hover {
    opacity: 1;
}

/* ==========================================================================
   PRICING BADGE
   ========================================================================== */
.pricing-badge {
    background-color: var(--pricing-badge-bg, #3b82f6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================================================
   SPLIT HERO
   ========================================================================== */
.split-hero-pretitle {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--split-hero-pretitle-color, #667eea);
}

/* ==========================================================================
   NO SUBCATEGORIES MESSAGE
   ========================================================================== */
.no-subcategories {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

.no-subcategories i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

/* ==========================================================================
   PLAN CARD
   ========================================================================== */
.plan-card .plan-description {
    color: #6b7280;
    font-size: 13px;
    margin: 0 0 12px 0;
}

/* ==========================================================================
   TB MULTI SLIDER (ThemeBuilder Component)
   ========================================================================== */
.tb-multi-slider-section {
    position: relative;
    overflow: hidden;
    margin-top: var(--tms-margin-top, 0);
    margin-bottom: var(--tms-margin-bottom, 40px);
    padding: var(--tms-padding, 0);
    background-color: var(--tms-bg-color, transparent);
    border-width: var(--tms-border-width, 0);
    border-style: solid;
    border-color: var(--tms-border-color, #e5e7eb);
}

.tb-multi-slider-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 25px;
    overflow: visible;
}

.tb-multi-swiper {
    overflow: visible;
}

.tb-multi-swiper .swiper-wrapper {
    align-items: stretch;
}

.tb-multi-swiper .swiper-slide {
    width: 95%;
    min-width: 600px;
    max-width: 1600px;
    transition: all 0.4s ease;
    opacity: 0.5;
}

.tb-multi-swiper .swiper-slide-active {
    opacity: 1;
}

.tb-multi-swiper .swiper-slide-prev,
.tb-multi-swiper .swiper-slide-next {
    opacity: 0.6;
}

.tb-multi-slide-card {
    position: relative;
    width: 100%;
    height: var(--tms-card-height, 420px);
    overflow: hidden;
    border-radius: var(--tms-card-radius, 24px);
}

.tb-multi-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tb-multi-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.6));
}

.tb-multi-slide-content {
    position: absolute;
    top: 50%;
    max-width: 45%;
    z-index: 2;
    left: 40px;
    transform: translateY(-50%);
    text-align: left;
}

/* Content alignment variants */
.tb-multi-slide-card.align-center .tb-multi-slide-content {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
}

.tb-multi-slide-card.align-right .tb-multi-slide-content {
    left: auto;
    right: 40px;
    text-align: right;
}

.tb-multi-slide-title {
    font-size: 39px;
    font-weight: 600;
    color: var(--tms-title-color, #ffffff);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.tb-multi-slide-subtitle {
    font-size: 22px;
    color: var(--tms-subtitle-color, rgba(255, 255, 255, 0.8));
    margin: 0 0 24px 0;
    line-height: 1.4;
    font-weight: 400;
}

.tb-multi-slide-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid var(--tms-btn-border, rgba(255, 255, 255, 0.8));
    background: var(--tms-btn-bg, transparent);
    color: var(--tms-btn-color, #fff);
}

.tb-multi-slide-btn:hover {
    background: #fff;
    color: #1e3a5f;
}

.tb-multi-slider-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.tb-multi-nav-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
}

.tb-multi-nav-btn:hover {
    border-color: #374151;
    color: #374151;
}

.tb-multi-pager-nums {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: inherit;
}

.tb-multi-pager-current {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.tb-multi-pager-separator,
.tb-multi-pager-total {
    font-size: 14px;
    color: #9ca3af;
}

/* TB Multi Slider Responsive */
@media (max-width: 1200px) {
    .tb-multi-swiper .swiper-slide {
        width: 65%;
        min-width: 500px;
    }
}

@media (max-width: 992px) {
    .tb-multi-swiper .swiper-slide {
        width: 75%;
        min-width: 400px;
    }

    .tb-multi-slide-content {
        max-width: 55%;
    }

    .tb-multi-slide-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .tb-multi-slider-container {
        padding: 0 10px;
    }

    .tb-multi-swiper .swiper-slide {
        width: 100% !important;
        min-width: unset !important;
        max-width: 100% !important;
        opacity: 1 !important;
    }

    .tb-multi-slide-card {
        height: 280px;
        border-radius: 16px;
    }

    .tb-multi-slide-content {
        max-width: 80%;
        left: 20px !important;
        transform: translateY(-50%) !important;
    }

    .tb-multi-slide-card.align-center .tb-multi-slide-content {
        left: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
    }

    .tb-multi-slide-title {
        font-size: 20px;
    }

    .tb-multi-slide-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .tb-multi-slide-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .tb-multi-slider-pager {
        margin-top: 20px;
    }

    .tb-multi-nav-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .tb-multi-slider-container {
        padding: 0 8px;
    }

    .tb-multi-slide-card {
        height: 240px;
        border-radius: 12px;
    }

    .tb-multi-slide-content {
        max-width: 85%;
        left: 16px !important;
    }

    .tb-multi-slide-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .tb-multi-slide-subtitle {
        font-size: 12px;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tb-multi-slide-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .tb-multi-pager-current {
        font-size: 16px;
    }
}

/* ==========================================================================
   TB FOOTER
   ========================================================================== */
@media (max-width: 991px) {
    .tb-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .tb-footer .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .tb-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   TB SLIDER
   ========================================================================== */
.tb-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: var(--tb-slider-height, 500px);
    padding: var(--tb-slider-padding, 0);
}

.tb-slider.tb-slider-container {
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
}

.tb-slider .swiper {
    width: 100%;
    height: 100%;
}

.tb-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.tb-slider .swiper-slide img.slide-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.tb-slider .slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
}

.tb-slider .slide-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--slide-title-color, #ffffff);
    margin-bottom: 6px;
}

.tb-slider .slide-subtitle {
    font-size: 20px;
    color: var(--slide-subtitle-color, rgba(255, 255, 255, 0.9));
    margin-bottom: 32px;
    max-width: 600px;
}

.tb-slider .slide-btn {
    display: inline-block;
    background: var(--slide-btn-bg, #6366f1);
    color: var(--slide-btn-color, #ffffff);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.tb-slider .slide-btn:hover {
    opacity: 0.9;
}

.tb-slider .swiper-button-prev,
.tb-slider .swiper-button-next {
    color: #fff;
}

.tb-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.tb-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 1400px) {
    .tb-slider.tb-slider-container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .tb-slider.tb-slider-container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .tb-slider {
        height: var(--tb-slider-height-tablet, 350px);
    }

    .tb-slider.tb-slider-container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .tb-slider {
        height: var(--tb-slider-height-mobile, 250px);
    }

    .tb-slider .slide-title {
        font-size: 24px !important;
    }

    .tb-slider .slide-subtitle {
        font-size: 14px !important;
    }

    .tb-slider.tb-slider-container {
        max-width: 100%;
        margin: 0 15px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .tb-slider {
        height: var(--tb-slider-height-xs, 200px);
    }

    .tb-slider .slide-title {
        font-size: 20px !important;
    }

    .tb-slider .slide-subtitle {
        font-size: 12px !important;
    }

    .tb-slider .slide-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   TB IMAGE GRID
   ========================================================================== */
.tb-image-grid {
    display: grid;
    gap: var(--tb-image-grid-gap, 16px);
}

@media (max-width: 768px) {
    .tb-image-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .tb-image-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   TB ZIGZAG
   ========================================================================== */
.tb-zigzag-section {
    padding: var(--tb-zigzag-padding, 60px 0);
    background-color: var(--tb-zigzag-bg, transparent);
}

.tb-zigzag-item {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .tb-zigzag-item {
        grid-template-columns: 1fr !important;
    }

    .tb-zigzag-image,
    .tb-zigzag-content {
        order: unset !important;
    }

    .tb-zigzag-content {
        text-align: center;
    }
}

/* ==========================================================================
   BRAND SLIDER
   ========================================================================== */
.brand-slider-section {
    padding: var(--brand-slider-padding, 60px 0);
    background: var(--brand-slider-bg, linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%));
    overflow: hidden;
}

.brand-slider-header {
    text-align: center;
    margin-bottom: 10px;
}

.brand-slider-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.brand-slider-swiper {
    overflow: visible;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.brand-slider-swiper .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear !important;
}

.brand-slider-swiper .brand-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important;
}

.brand-slider-swiper .brand-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    min-width: 160px;
    min-height: 80px;
}

.brand-slider-swiper .brand-logo-link:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    background: #fff;
}

.brand-slider-swiper .brand-logo-img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-slider-swiper .brand-logo-link:hover .brand-logo-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .brand-slider-section {
        padding: 40px 0 !important;
    }

    .brand-slider-header h2 {
        font-size: 24px !important;
    }

    .brand-slider-swiper .brand-logo-link {
        padding: 14px 20px !important;
        min-width: 120px;
        min-height: 60px;
    }

    .brand-slider-swiper .brand-logo-img {
        max-width: 80px !important;
        max-height: 35px !important;
    }
}

/* ==========================================================================
   HOMEPAGE BLOG SECTION
   ========================================================================== */
.homepage-blog-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.homepage-blog-section .blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.homepage-blog-section .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.homepage-blog-section .blog-card-image-link {
    display: block;
    overflow: hidden;
}

.homepage-blog-section .blog-card-image {
    height: 180px;
    overflow: hidden;
}

.homepage-blog-section .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.homepage-blog-section .blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.homepage-blog-section .blog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.homepage-blog-section .blog-card-date {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
}

.homepage-blog-section .blog-card-date i {
    margin-right: 5px;
    color: var(--primary-color, #667eea);
}

.homepage-blog-section .blog-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.homepage-blog-section .blog-card-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.homepage-blog-section .blog-card-title a:hover {
    color: var(--primary-color, #667eea);
}

.homepage-blog-section .blog-card-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.homepage-blog-section .blog-read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color, #667eea);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.homepage-blog-section .blog-read-more:hover {
    gap: 10px;
}

.homepage-blog-section .btn-outline-primary {
    border-width: 2px;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .homepage-blog-section .blog-card-image {
        height: 160px;
    }

    .homepage-blog-section .col-md-6:nth-child(3),
    .homepage-blog-section .col-md-6:nth-child(4) {
        display: none;
    }
}

/* ==========================================================================
   SPLIT HERO
   ========================================================================== */
.split-hero {
    padding: var(--split-hero-padding, 0);
    margin-top: var(--split-hero-margin-top, 0);
    margin-bottom: var(--split-hero-margin-bottom, 0);
}

.split-hero .split-hero-text {
    background: var(--split-hero-text-bg, transparent);
}

.split-hero .split-hero-image {
    background: var(--split-hero-image-bg, #f3f4f6);
}

.split-hero .split-hero-image img {
    object-fit: var(--split-hero-image-fit, cover);
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.split-hero .btn-primary {
    background-color: var(--split-hero-btn1-bg, #667eea) !important;
    color: var(--split-hero-btn1-color, #fff) !important;
    border-color: var(--split-hero-btn1-bg, #667eea) !important;
}

.split-hero .btn-outline {
    background-color: var(--split-hero-btn2-bg, transparent) !important;
    color: var(--split-hero-btn2-color, #333) !important;
    border-color: var(--split-hero-btn2-bg, #333) !important;
}

.split-hero .btn-outline:hover {
    opacity: 0.9;
}

/* ==========================================================================
   CORPORATE MULTI SLIDER (functions.php)
   ========================================================================== */
.multi-slider-section {
    position: relative;
    overflow: hidden;
    margin-top: var(--ms-margin-top, 0);
    margin-bottom: var(--ms-margin-bottom, 40px);
}

.multi-slider-section .swiper {
    overflow: visible;
    padding: 10px 0;
}

.multi-slider-section .swiper-slide {
    width: 1400px;
    max-width: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
}

.multi-slider-section .swiper-slide-active {
    opacity: 1;
    z-index: 3;
}

.multi-slider-section .swiper-slide-prev,
.multi-slider-section .swiper-slide-next {
    opacity: 0.8;
    z-index: 2;
}

.multi-slide-card {
    position: relative;
    width: 100%;
    height: var(--ms-height, 550px);
    overflow: hidden;
    border-radius: var(--ms-border-radius, 16px);
}

.multi-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.multi-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    pointer-events: none;
}

.multi-slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 50px 60px;
    z-index: 2;
    max-width: 70%;
}

.multi-slide-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.15;
    color: var(--ms-title-color, #ffffff);
}

.multi-slide-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 550px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--ms-subtitle-color, #ffffff);
}

.multi-slide-btn {
    display: inline-block;
    padding: 16px 36px;
    background: #fff;
    color: #333;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.multi-slide-btn:hover {
    background: transparent;
    color: #fff;
}

.multi-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.multi-nav-btn {
    border-radius: 50%;
    border: 0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    color: #666;
}

.multi-nav-btn:hover {
    border-color: #333;
    color: #333;
}

.multi-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 10px 20px;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 50px;
    font-size: 18px;
    color: #666;
}

.multi-pager-current {
    font-weight: 700;
    color: #333;
}

.multi-pager-separator {
    margin: 0 6px;
    color: #ccc;
}

.multi-pager-total {
    color: #999;
}

@media (max-width: 1199px) {
    .multi-slider-section .swiper-slide {
        width: 55%;
    }

    .multi-slide-card {
        height: var(--ms-height-lg, 420px);
    }

    .multi-slide-content {
        padding: 40px 50px;
        max-width: 75%;
    }
}

@media (max-width: 991px) {
    .multi-slider-section .swiper-slide {
        width: 70%;
    }

    .multi-slide-card {
        height: var(--ms-height-md, 380px);
    }

    .multi-slide-content {
        padding: 35px 40px;
        max-width: 80%;
    }

    .multi-slide-title {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    .multi-slide-subtitle {
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .multi-slider-section .container-fluid {
        padding: 0 !important;
    }

    .multi-slider-section .swiper {
        overflow: hidden !important;
    }

    .multi-slider-section .swiper-slide {
        width: 100% !important;
        opacity: 1 !important;
        flex-shrink: 0;
    }

    .multi-slider-section .swiper-slide-prev,
    .multi-slider-section .swiper-slide-next {
        opacity: 1 !important;
    }

    .multi-slide-card {
        height: var(--ms-height-sm, 400px);
        border-radius: 0 !important;
    }

    .multi-slide-content {
        padding: 30px;
        max-width: 90%;
    }

    .multi-slide-title {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .multi-slide-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .multi-slide-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .multi-slide-card {
        height: var(--ms-height-xs, 350px);
    }

    .multi-slide-content {
        padding: 25px;
        max-width: 95%;
    }

    .multi-slide-title {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    .multi-slide-subtitle {
        font-size: 0.9rem;
        margin-bottom: 18px;
        line-height: 1.6;
    }

    .multi-slide-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .multi-nav-btn {
        width: 38px;
        height: 38px;
    }

    .multi-pager {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* ==========================================================================
   WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg,
.whatsapp-float i {
    color: #fff;
    font-size: 28px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg,
    .whatsapp-float i {
        font-size: 24px;
    }
}

/* ==========================================================================
   ACCOUNT PAGE STYLES
   ========================================================================== */
.account-page-wrapper {
    background: #f5f7fa;
    min-height: calc(100vh - 40px);
    padding: 10px 0;
}

.account-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    gap: 24px;
}

.account-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.account-sidebar-inner {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.account-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.account-sidebar-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px 0;
}

.account-sidebar-header .account-user-name {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 4px 0;
}

.account-sidebar-header p {
    font-size: 12px;
    color: #8b8b8b;
    margin: 0;
}

.account-nav {
    padding: 8px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.account-nav-link:hover {
    background: #f5f7fa;
    color: #1a1a2e;
}

.account-nav-link.active {
    background: #f9f9f9;
    color: #fff;
}

.account-nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.account-nav-link.active svg {
    stroke: #303030;
}

.account-main {
    flex: 1;
    min-width: 0;
}

.account-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 25px 18px;
}

.account-card-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.account-card-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}

.account-card-header p {
    font-size: 13px;
    color: #8b8b8b;
    margin: 0;
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.account-stat-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-stat-icon.purple {
    background: #ede9fe;
    color: #8b5cf6;
}

.account-stat-icon.blue {
    background: #dbeafe;
    color: #3b82f6;
}

.account-stat-icon.green {
    background: #d1fae5;
    color: #10b981;
}

.account-stat-icon.yellow {
    background: #fef3c7;
    color: #f59e0b;
}

.account-stat-icon svg {
    width: 22px;
    height: 22px;
}

.account-stat-info h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 2px 0;
}

.account-stat-info span {
    font-size: 13px;
    color: #8b8b8b;
}

/* Account Empty State */
.account-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.account-empty-state svg {
    width: 64px;
    height: 64px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.account-empty-state h3 {
    font-size: 17px;
    font-weight: 600;
    color: #4a4a4a;
    margin: 0 0 8px 0;
}

.account-empty-state p {
    font-size: 14px;
    color: #8b8b8b;
    margin: 0 0 20px 0;
}

.account-empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

/* Account Form Styles */
.account-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.account-form-group {
    margin-bottom: 20px;
}

.account-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.account-form-group input,
.account-form-group select,
.account-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.15s;
}

.account-form-group input:focus,
.account-form-group select:focus,
.account-form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.account-form-group .hint {
    font-size: 12px;
    color: #8b8b8b;
    margin-top: 6px;
}

/* Account Page Responsive */
@media (max-width: 768px) {
    .account-container {
        flex-direction: column;
    }

    .account-sidebar {
        width: 100%;
    }

    .account-nav {
        display: flex;
        overflow-x: auto;
        gap: 4px;
        padding: 8px;
    }

    .account-nav-link {
        flex-shrink: 0;
        padding: 10px 14px;
    }

    .account-nav-link span {
        display: none;
    }

    .account-form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   THEMEBUILDER HEADER
   ========================================================================== */
.tb-header {
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(244, 244, 244, 0.08);
}

.tb-header--sticky,
.tb-header--magazin.tb-header--sticky {
    position: sticky;
    top: 0;
}

/* Magazin header border-bottom zaten var, tekrar etmesin */
.tb-header--magazin {
    border-bottom: none;
}

.tb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Centered inner for ortalanmis preset */
.tb-header-inner--centered {
    flex-wrap: wrap;
}

.tb-header-logo a {
    display: flex;
    align-items: center;
}

.tb-header-logo img,
.tb-logo-img {
    max-height: 50px;
    width: auto;
}

.tb-logo-text {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

/* Header layout helpers */
.tb-header-left,
.tb-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.tb-header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Desktop/Mobile visibility */
.tb-desktop-only {}

.tb-mobile-only {
    display: none;
}

/* Navigation */
.tb-header-nav {
    flex: 1;
    display: flex;
    justify-content: left;
}

.tb-header-nav--centered {
    justify-content: center;
}

.tb-header-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tb-header-menu-item>a {
    display: block;
    padding: 10px 10px;
    font-size: 15px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.tb-header-menu-item>a:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Dropdown parent */
.tb-header-menu-item.has-dropdown {
    position: relative;
}

.tb-header-menu-item.has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tb-header-menu-item.has-dropdown>a .dropdown-arrow {
    transition: transform 0.2s ease;
    opacity: 0.6;
}

.tb-header-menu-item.has-dropdown:hover>a .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown menu */
.tb-header-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
}

/* Arrow pointer */
.tb-header-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.tb-header-menu-item.has-dropdown:hover .tb-header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
}

.tb-header-dropdown li a {
    display: block;
    padding: 5px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.tb-header-dropdown li a:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Actions */
.tb-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-header-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.tb-header-action:hover {
    background: rgba(0, 0, 0, 0.05);
}

.tb-header-cart {
    position: relative;
}

.tb-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Header Submenu (for some presets) */
.tb-header-submenu {
    width: 100%;
}

/* Ortalanmış preset için submenu */
.tb-header--ortalanmis .tb-header-submenu {
    display: flex;
    justify-content: center;
}

/* Tam genişlik preset için submenu (arka plan yok, sadece border) */
.tb-header-submenu--fullbg {
    background: transparent;
    margin-left: -15px;
    margin-right: -15px;
    padding: 6px 15px;

}

/* Marquee */
.tb-header-marquee {
    font-weight: 500;
}

/* ==========================================================================
   HEADER PRESET: TAM GENİŞLİK
   ========================================================================== */
.tb-header--tam-genislik .tb-header-inner {
    flex-wrap: wrap;
}

.tb-header-search-wide {
    flex: 1 1 auto;
    min-width: 200px;
    margin: 0 24px;
}

.tb-search-form-inline {
    display: flex;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.tb-search-input-inline {
    flex: 1;
    padding: 9px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.tb-search-btn-inline {
    width: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   MARQUEE (KAYAN YAZI) ANİMASYONU
   ========================================================================== */
.tb-header-marquee {
    width: 100%;
    position: relative;
}

.tb-marquee-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
}

.tb-marquee-item {
    flex-shrink: 0;
}

@keyframes tb-marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Hover'da durdur */
.tb-header-marquee:hover .tb-marquee-track {
    animation-play-state: paused;
}

/* Tam genişlik container */
.tb-fullwidth {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   HEADER PRESET: MAGAZİN STYLE (Modern E-Ticaret)
   ========================================================================== */
.tb-header--magazin {
    border-bottom: 1px solid #f1f1f1;
}

/* Navbar wrapper - padding burada uygulanır */
.tb-header .tb-navbar {
    width: 100%;
}

.tb-header--magazin .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Üst kısım: Logo | Arama | İkonlar */
.tb-magazin-top {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 16px;
}

/* Logo */
.tb-magazin-logo {
    flex-shrink: 0;
}

.tb-magazin-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.tb-magazin-logo img {
    max-height: 44px;
    width: auto;
}

.tb-magazin-logo .tb-logo-text {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

/* Arama çubuğu - Tam genişlik */
.tb-magazin-search {
    flex: 1;
    min-width: 0;
}

.tb-magazin-search form {
    width: 100%;
}

.tb-magazin-search-inner {
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 0px 0px 15px 1px #ebebeb;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.2s ease;
    height: 40px;
}

.tb-magazin-search-inner:focus-within {
    border-color: #9ca3af;
    background: #fff;
}

.tb-magazin-search-inner input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #374151;
    outline: none;
}

.tb-magazin-search-inner input::placeholder {
    color: #9ca3af;
}

.tb-magazin-search-inner button {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
}

.tb-magazin-search-inner button:hover {
    color: #374151;
}

/* Sağ taraf ikonları */
.tb-magazin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tb-magazin-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.tb-magazin-action:hover {
    background: rgba(0, 0, 0, 0.05);
}

.tb-magazin-action svg {
    flex-shrink: 0;
}

/* Sepet badge */
.tb-magazin-cart {
    position: relative;
}

.tb-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
}

.tb-cart-badge:empty,
.tb-cart-badge[data-count="0"] {
    display: none;
}

/* Alt menü */
.tb-magazin-nav {

    padding: 3px 0;
}

.tb-magazin-nav .tb-header-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tb-magazin-nav .tb-header-menu-item {
    position: relative;
}

.tb-magazin-nav .tb-header-menu-item>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.tb-magazin-nav .tb-header-menu-item>a:hover {
    opacity: 0.7;
}

.tb-magazin-nav .tb-header-menu-item.has-dropdown>a .dropdown-arrow {
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.tb-magazin-nav .tb-header-menu-item.has-dropdown:hover>a .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
.tb-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.tb-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tb-search-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.772);
}

.tb-search-container {
    background: #ffffffba;
    border-radius: 7px;
    padding: 18px;
    width: 90%;
    max-width: 700px;
    position: relative;
    z-index: 1;
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.tb-search-overlay.active .tb-search-container {
    transform: translateY(0);
}

.tb-search-form {
    display: flex;
    gap: 12px;
}

.tb-search-input {
    flex: 1;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.tb-search-input:focus {
    border-color: #6366f1;
}

.tb-search-submit {
    padding: 14px 20px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.tb-search-submit:hover {
    background: #ffffff;
}

.tb-search-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Search Autocomplete Styles */
.tb-search-input-wrapper {
    position: relative;
    flex: 1;
}

.tb-search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.tb-search-autocomplete.active {
    display: block;
}

.tb-search-autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.tb-search-autocomplete-item:last-child {
    border-bottom: none;
}

.tb-search-autocomplete-item:hover {
    background: #f8f9fa;
}

.tb-search-autocomplete-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f3f4f6;
}

.tb-search-autocomplete-no-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-search-autocomplete-info {
    flex: 1;
    min-width: 0;
}

.tb-search-autocomplete-title {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tb-search-autocomplete-category {
    font-size: 12px;
    color: #6b7280;
}

.tb-search-autocomplete-price {
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
    flex-shrink: 0;
}

.tb-search-autocomplete-price-old {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-right: 6px;
}

.tb-search-autocomplete-price-new {
    color: #ef4444;
}

.tb-search-autocomplete-loading {
    padding: 24px;
    text-align: center;
    color: #6b7280;
}

.tb-search-autocomplete-empty {
    padding: 24px;
    text-align: center;
    color: #6b7280;
}

.tb-search-autocomplete-empty svg {
    margin-bottom: 8px;
    opacity: 0.5;
}

.tb-search-autocomplete-viewall {
    display: block;
    padding: 14px 16px;
    text-align: center;
    background: #f8f9fa;
    color: #6366f1;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: background 0.2s;
}

.tb-search-autocomplete-viewall:hover {
    background: #eef2ff;
    color: #4f46e5;
}

/* ==========================================================================
   MAGAZİN HEADER - MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .tb-magazin-top {
        gap: 12px;
    }

    .tb-magazin-logo img {
        max-height: 36px;
    }

    .tb-magazin-action {
        width: 36px;
        height: 36px;
    }

    .tb-magazin-action svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .tb-header--magazin .container {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .tb-magazin-top {
        gap: 8px;
    }

    .tb-magazin-logo img {
        max-height: 32px;
    }

    .tb-magazin-logo .tb-logo-text {
        font-size: 18px;
    }
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.tb-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1200;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.tb-mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.tb-mobile-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.tb-mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s;
    overflow-y: auto;
}

.tb-mobile-menu.active .tb-mobile-menu-content {
    transform: translateX(0);
}

.tb-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f1f1;
}

.tb-mobile-menu-logo a {
    display: flex;
    align-items: center;
}

.tb-mobile-menu-logo img {
    max-height: 40px;
    width: auto;
}

.tb-mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 16px 0;
}

.tb-mobile-nav li a {
    display: block;
    padding: 14px 24px;
    color: #1f2937;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.tb-mobile-nav li a:hover {
    background: #f9fafb;
}

.tb-mobile-menu-actions {
    padding: 16px 24px;
    border-top: 1px solid #f1f1f1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tb-mobile-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f3f4f6;
    border-radius: 8px;
    color: #1f2937;
    text-decoration: none;
    font-size: 15px;
}

.tb-mobile-action:hover {
    background: #e5e7eb;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {

    .tb-header-nav,
    .tb-desktop-only {
        display: none !important;
    }

    .tb-mobile-toggle,
    .tb-mobile-only {
        display: flex !important;
    }

    .tb-header-inner {
        gap: 12px;
    }

    .tb-header-left,
    .tb-header-right {
        min-width: auto;
    }

    .tb-header-center {
        flex: 1;
    }

    /* Ortalanmis preset mobile */
    .tb-header--ortalanmis .tb-header-inner--centered {
        justify-content: space-between;
    }

    .tb-header-submenu {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .tb-header-inner {
        padding: 12px 0;
    }

    .tb-header-logo img,
    .tb-logo-img {
        max-height: 35px;
    }

    .tb-header-action {
        width: 36px;
        height: 36px;
    }

    .tb-logo-text {
        font-size: 20px;
    }
}

/* ==========================================================================
   CART SIDEBAR
   ========================================================================== */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f1f1;
}

.cart-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count-badge {
    background: #444447;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 8px;
    border-radius: 4px;
}

.cart-sidebar-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #6b7280;
    transition: color 0.2s;
}

.cart-sidebar-close:hover {
    color: #111827;
}

.cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.cart-loading,
.cart-empty,
.cart-error {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #f9fafb;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    /* Text truncation fix */
    padding-right: 30px;
    /* Space for remove button */
}

.cart-item-name {
    margin: 0 0 4px;
    font-size: 13px;
    /* Slightly smaller */
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #303140;
}

.cart-item-qty {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.cart-item-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #9ca3af;
    transition: color 0.2s;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cart-item-remove:hover {
    color: #ef4444;
}

.cart-sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid #f1f1f1;
    background: #f9fafb;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
}

.cart-total strong {
    font-size: 20px;
    color: #111827;
}

.btn-view-cart,
.btn-checkout {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.btn-view-cart {
    background: #f3f4f6;
    color: #374151;
}

.btn-view-cart:hover {
    background: #e5e7eb;
}

.btn-checkout {
    background: #dadada;
    color: #fff;
    margin-bottom: 0;
}

.btn-checkout:hover {
    background: #ebebeb;
}

@media (max-width: 576px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* ==================== LOGIN & ACCOUNT PAGES BACKGROUND ==================== */
/* Login, Register, My-Account ve diğer kullanıcı sayfaları için arka plan */
body.page-login #main-content,
body.page-register #main-content,
body.page-my-account #main-content,
body.page-forgot-password #main-content,
body.page-reset-password #main-content,
body.page-checkout #main-content,
.login-page #main-content,
.register-page #main-content,
.my-account-page #main-content,
.checkout-page #main-content,
#login-page,
#register-page,
#my-account-page,
.auth-page,
.account-page {
    background: #f5f7fa;
}

/* Fallback - main-content içinde bu sayfalar varsa */
#main-content:has(.login-container),
#main-content:has(.register-container),
#main-content:has(.account-container),
#main-content:has(.auth-container),
#main-content:has(.my-account-wrapper),
#main-content:has(#my-account-page),
#main-content:has(.checkout-container) {
    background: #f5f7fa;
    min-height: calc(100vh - 200px);
}

/* See All Badge */
.tb-see-all-badge:hover {
    background-color: #e5e7eb !important;
    color: #1f2937 !important;
    border-color: #d1d5db !important;
    transform: translateY(-1px);
}

/* Product List Slider */
.tb-slider-controls {
    display: flex;
    gap: 8px;
}

.tb-slider-controls .swiper-button-next,
.tb-slider-controls .swiper-button-prev {
    position: static !important;
    margin-top: 0 !important;
    width: 32px !important;
    height: 32px !important;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.tb-slider-controls .swiper-button-next:after,
.tb-slider-controls .swiper-button-prev:after {
    font-size: 12px !important;
    font-weight: 800;
}

.tb-slider-controls .swiper-button-next:hover,
.tb-slider-controls .swiper-button-prev:hover {
    background: #f9fafb;
    color: var(--theme-primary, #6366f1);
    border-color: var(--theme-primary, #6366f1);
}

.tb-product-slider .swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ==========================================================================
   MOBILE MENU SLIDER
   ========================================================================== */
.mobile-menu-slider-container {
    padding: 0;
    overflow: hidden;
    position: relative;
    /* Ensure it takes full height of parent to allow scrolling */
    min-height: 100%;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #f1f1f1;
    position: static;
    /* Important for absolute positioning context of children */
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    color: #1f2937;
    text-decoration: none;
    font-size: 16px;
    background: #fff;
    transition: background 0.2s;
}

.mobile-menu-link:hover {
    background: #f9fafb;
    color: #111827;
}

.mobile-menu-arrow {
    padding: 16px 24px;
    margin: -16px -24px;
    /* Expand hit area */
    margin-left: 10px;
    color: #9ca3af;
    cursor: pointer;
    border-left: 1px solid #f9fafb;
}

.mobile-submenu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1300;
    /* Above mobile menu overlay */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-submenu-panel.active {
    transform: translateX(0);
}

.mobile-submenu-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-submenu-back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}

.mobile-submenu-title {
    font-weight: 600;
    font-size: 16px;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-menu-item.view-all .mobile-menu-link {
    color: #6366f1;
    background: #f0fdf4;
    /* Light green/brand color hint */
}