﻿:root {
    --patili-navy: #26487de0;
    --patili-navy-soft: #2f4b7c;
    --patili-accent: #ffb347;
    --patili-bg: #f7f7f7;
}

body {
    background: var(--patili-bg);
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    padding-bottom: 70px;
}

.top-bar {
    background: #0f223b;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 0;
}

.main-header {
    background: var(--patili-navy);
    color: #fff;
    padding: 10px 0;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-inner {
    background: #fffaf4;
    border-radius: 14px;
    padding: 6px 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.header-logo img {
    height: 60px;
    display: block;
}

.header-search-wrap {
    flex: 1;
    padding: 0 20px;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 999px;
    padding: 6px 14px;
}

    .header-search select {
        border: none;
        font-size: 0.85rem;
        color: #555;
        background: transparent;
        padding-right: 6px;
        border-right: 1px solid #e2e2e2;
    }

    .header-search input {
        border: none;
        flex: 1;
        font-size: 0.9rem;
        outline: none;
    }

    .header-search i {
        color: var(--patili-navy);
        font-size: 1.1rem;
    }

.header-actions .icon-btn {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
}

    .header-actions .icon-btn:hover {
        background: rgba(255,255,255,0.12);
    }

.header-actions i {
    font-size: 1.1rem;
}

.cart-icon {
    position: relative;
}

    .cart-icon .badge {
        position: absolute;
        top: -4px;
        right: -6px;
        font-size: 0.65rem;
    }

.top-nav {
    background: #4265a1;
    color: #fff;
    font-size: 0.9rem;
}

    .top-nav .nav-link {
        color: #e4ecff;
        padding: 8px 10px;
        font-weight: 500;
    }

        .top-nav .nav-link:hover,
        .top-nav .nav-link.active {
            color: #fff;
            text-decoration: underline;
            text-underline-offset: 4px;
        }

.trust-strip {
    background: #e9f5ec;
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid #d2e5d7;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #205232;
}

.trust-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(0,0,0,0.08);
        border-color: #dcdcdc;
    }

    .product-card a {
        color: inherit;
        text-decoration: none;
        display: block;
    }

        .product-card a:hover {
            color: inherit;
            text-decoration: none;
        }

.product-image-wrapper {
    background: #f7f7f7;
    overflow: hidden;
}

    .product-image-wrapper img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        transition: transform .25s ease;
    }

.product-card:hover .product-image-wrapper img {
    transform: scale(1.03);
}

.product-title {
    font-size: 0.9rem;
    min-height: 2.6em;
    overflow: hidden;
}

.badge-discount {
    font-size: 0.7rem;
    border-radius: 999px;
    padding: 3px 6px;
}

.pati-badge {
    background: #ffe5f2;
    color: #b52c65;
    font-size: 0.7rem;
    border-radius: 999px;
    padding: 3px 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trust-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    padding: 10px 12px;
    font-size: 0.85rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.trust-card-icon {
    font-size: 1.4rem;
}

footer {
    background: #fff;
    font-size: 0.85rem;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 99;
}

.bottom-nav-item {
    text-align: center;
    color: #555;
    font-size: 0.75rem;
}

    .bottom-nav-item i {
        display: block;
        font-size: 1.2rem;
    }

.pati-chat-btn {
    position: fixed;
    right: 16px;
    bottom: 80px;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 12px 6px 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 120;
}

.pati-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffe5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.pati-chat-text {
    font-size: 0.8rem;
    color: #333;
    max-width: 140px;
}

    .pati-chat-text strong {
        display: block;
        color: #b52c65;
    }

@media(max-width:767.98px) {
    .header-search-wrap {
        display: none;
    }

    .pati-chat-text {
        display: none;
    }
}

@media(min-width:768px) {
    .bottom-nav {
        display: none;
    }
}

/* 5'li ürün grid */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* --- KEDİ KATEGORİ SAYFASI ÖZEL --- */

.page-hero {
    padding: 14px 0 8px;
}

.page-hero-title {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-hero-sub {
    font-size: 0.9rem;
    color: #555;
    max-width: 520px;
}

.page-hero-label {
    background: #ffe5f2;
    color: #b52c65;
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.page-hero-badge {
    font-size: 0.8rem;
    color: #205232;
    background: #e9f5ec;
    border-radius: 999px;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-hero-visual {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg,#ffe7f0,#ffd2c2);
    height: 180px;
    padding: 0;
}

    .page-hero-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.pd-breadcrumb-wrap {
    margin-bottom: 10px;
}

.pd-breadcrumb {
    --bs-breadcrumb-margin-bottom: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.82rem;
    padding: 0;
    margin: 0;
    background: transparent;
}

    .pd-breadcrumb .breadcrumb-item {
        display: flex;
        align-items: center;
        color: #7a7a7a;
        font-weight: 500;
    }

        .pd-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
            content: "›";
            color: #a8a8a8;
            margin: 0 6px 0 4px;
            font-weight: 400;
        }

        .pd-breadcrumb .breadcrumb-item a {
            color: #5f6f8f;
            text-decoration: none;
            padding: 4px 8px;
            border-radius: 999px;
            transition: all .18s ease;
        }

            .pd-breadcrumb .breadcrumb-item a:hover {
                color: #26487d;
                background: #eef3ff;
                text-decoration: none;
            }

        .pd-breadcrumb .breadcrumb-item.active,
        .pd-breadcrumb .breadcrumb-item.active span {
            color: #2a2a2a;
            font-weight: 700;
        }

/* Alt kategori kareleri */
.subcat-grid {
    margin-top: 10px;
    margin-bottom: 16px;
}

.subcat-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ececec;
    padding: 12px 12px 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .subcat-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.05);
        border-color: #d9d9d9;
    }

.subcat-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #fff7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.subcat-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.subcat-desc {
    font-size: 0.78rem;
    color: #666;
}

.subcat-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: #2f4b7c;
    margin-top: 2px;
}

/* Products/Index sidebar kategori kartları */
.cat-btn {
    width: 100%;
    max-width: 100%;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    box-sizing: border-box;
    overflow: hidden;
}

    .cat-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.04);
        border-color: #dedede;
    }

    .cat-btn.active {
        border-color: #f2c57c;
        box-shadow: 0 8px 16px rgba(242,197,124,0.16);
        background: #fffaf1;
    }

.cat-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.cat-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.cat-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.25;
    color: #222;
}

.cat-text {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.cat-right {
    flex: 0 0 auto;
    align-self: center;
}

.cat-desc {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #6c757d;
    white-space: normal;
    overflow: hidden;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cat-btn .badge {
    flex-shrink: 0;
    min-width: 34px;
    border-radius: 10px;
    font-weight: 600;
}

.col-lg-3 .cat-btn,
.col-md-4 .cat-btn,
.col-12 .cat-btn {
    width: 100%;
}

/* Filtre + liste */
.filter-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e3e3e3;
    padding: 12px 12px 8px;
    font-size: 0.85rem;
}

.filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.filter-group {
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    margin-top: 8px;
}

    .filter-group:first-of-type {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f4f4f6;
    font-size: 0.75rem;
    margin-right: 4px;
    margin-bottom: 4px;
}

.sort-row {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

    .sort-row select {
        font-size: 0.85rem;
    }

.chip-row {
    font-size: 0.78rem;
    margin-bottom: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f4f4f6;
    margin-right: 4px;
    margin-bottom: 4px;
    cursor: pointer;
}

    .chip i {
        font-size: 0.85rem;
    }

.product-meta {
    font-size: 0.8rem;
    color: #777;
}

.product-card .product-meta + .mt-1,
.product-card .product-meta + .mt-2 {
    min-height: 34px;
    display: flex;
    align-items: flex-start;
}

.product-card .product-meta + .mt-1:not(:has(.badge)),
.product-card .product-meta + .mt-2:not(:has(.badge)) {
    padding-top: 34px;
    min-height: 68px;
}

/* --- CATEGORY LIST (mamalar) sidebar + sticky + mobile bar --- */

.sticky-sidebar {
    position: sticky;
    top: 12px;
}

.mobile-filter-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--patili-bg);
    padding: 8px 0 0;
    margin-bottom: 6px;
}

.subcat-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* button da olabilir, a etiketi de olabilir */
.subcat-btn {
    width: 100%;
    text-align: left;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 14px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    text-decoration: none;
    color: inherit;
}

    .subcat-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.04);
        border-color: #dedede;
    }

    .subcat-btn.active {
        border-color: #c7d3ff;
        box-shadow: 0 8px 16px rgba(38,72,125,0.12);
        background: #f6f8ff;
    }

.subcat-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.subcat-ico {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #fff7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex: 0 0 auto;
}

.subcat-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subcat-meta {
    font-size: 0.78rem;
    color: #777;
}

/* sort-row mamalar'daki gibi hizalı dursun */
.sort-row {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.results-empty {
    background: #fff;
    border: 1px dashed #d9d9d9;
    border-radius: 16px;
    padding: 18px;
    color: #666;
}

.variant-btn.active {
    border-color: #1d4ed8;
    background: #eef2ff;
}

.stock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

    .stock-dot.in {
        background: #22c55e;
    }

    .stock-dot.out {
        background: #ef4444;
    }

.product-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .product-thumbs img.thumb-img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 12px;
        cursor: pointer;
        border: 1px solid #eee;
    }

.variant-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.variant-btn {
    padding: 7px 17px;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1.5px solid #2f7d32;
    background: #fff;
    font-weight: 600;
    transition: all .2s ease;
}

    .variant-btn:hover {
        background: #f5f5f5;
    }

    .variant-btn.active {
        background: #d9f3de;
        border-color: #2f7d32;
    }

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title {
    line-height: 1.3;
    min-height: 2.6em;
    transition: color .18s ease;
}

.product-card:hover .product-title {
    color: #198754;
}

.product-card,
.product-card a,
.product-card .product-image-wrapper {
    cursor: pointer;
}

.product-desc-under-cart {
    border-top: 1px solid #eee;
    padding-top: 12px;
}

    .product-desc-under-cart .desc-content {
        font-size: 0.95rem;
        line-height: 1.7;
        max-height: none;
        overflow: visible;
        padding-right: 0;
        word-break: break-word;
    }

.product-info-box {
    margin-bottom: 10px;
}

.product-title-main {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #1e1e1e;
}

.product-brand-badge {
    display: inline-block;
    background: #f1f3f5;
    color: #555;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 500;
}

.product-price-box {
    margin-top: 15px;
}

.price-current {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2f7d32;
}

.price-unavailable {
    font-size: 1rem;
    color: #888;
}

.buy-box-modern {
    display: flex;
    gap: 10px;
    align-items: center;
}

.buy-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-input {
    width: 80px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

#addToCartBtn {
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 600;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f1f3f5;
    border-radius: 999px;
    padding: 8px 12px;
}

.brand-logo {
    width: auto;
    height: 26px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.brand-name {
    font-size: .9rem;
    font-weight: 600;
    color: #444;
}

.brand-filter-item {
    width: 100%;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: all .12s ease;
}

    .brand-filter-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 12px rgba(0,0,0,.05);
        border-color: #dedede;
    }

    .brand-filter-item.active {
        border-color: #f2c57c;
        background: #fffaf1;
        box-shadow: 0 6px 12px rgba(242,197,124,.12);
    }

.brand-filter-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-filter-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    padding: 4px;
}

    .brand-filter-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.brand-filter-name {
    font-weight: 600;
    color: #222;
    line-height: 1.2;
}

.brand-filter-list {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 12px;
    box-sizing: border-box;
}

    .brand-filter-list > *:last-child {
        margin-bottom: 6px;
    }

    .brand-filter-list::-webkit-scrollbar {
        width: 6px;
    }

    .brand-filter-list::-webkit-scrollbar-thumb {
        background: #d6d6d6;
        border-radius: 999px;
    }

    .brand-filter-list::-webkit-scrollbar-track {
        background: transparent;
    }

.legal-page-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.legal-page-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

    .legal-page-content h1,
    .legal-page-content h2,
    .legal-page-content h3,
    .legal-page-content h4 {
        margin-top: 1.5rem;
        margin-bottom: .75rem;
        font-weight: 700;
        color: #1f2937;
    }

    .legal-page-content p {
        margin-bottom: 1rem;
    }

    .legal-page-content ul,
    .legal-page-content ol {
        padding-left: 1.25rem;
        margin-bottom: 1rem;
    }

    .legal-page-content li {
        margin-bottom: .4rem;
    }

    .legal-page-content a {
        text-decoration: none;
    }

    .legal-page-content img {
        max-width: 100%;
        height: auto;
        border-radius: 14px;
    }

    .legal-page-content table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1rem;
    }

        .legal-page-content table th,
        .legal-page-content table td {
            border: 1px solid #e5e7eb;
            padding: 10px;
        }

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: .2s ease;
}

    .footer-links a:hover {
        color: #111;
        text-decoration: none;
    }

.legal-page-section {
    background: #fffafc;
}

.legal-hero {
    position: relative;
}

.legal-hero-inner {
    background: linear-gradient(135deg, #fff0f5 0%, #fff7f1 100%);
    border: 1px solid #f6dfe8;
    border-radius: 24px;
    padding: 24px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #f1d5df;
    color: #b25b7e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 12px;
}

.legal-hero-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    color: #222;
}

.legal-hero-meta {
    margin-top: 12px;
    color: #7a7a7a;
    font-size: 14px;
}

.legal-content-wrap {
    background: #fff;
    border: 1px solid #f0eef0;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0,0,0,.05);
    overflow: hidden;
}

.legal-content-body {
    padding: 28px;
    color: #333;
    font-size: 15px;
    line-height: 1.85;
    word-break: break-word;
}

    .legal-content-body > *:first-child {
        margin-top: 0 !important;
    }

    .legal-content-body > *:last-child {
        margin-bottom: 0 !important;
    }

    .legal-content-body h1,
    .legal-content-body h2,
    .legal-content-body h3,
    .legal-content-body h4,
    .legal-content-body h5,
    .legal-content-body h6 {
        color: #1f2937;
        font-weight: 700;
        line-height: 1.35;
        margin-top: 1.6em;
        margin-bottom: .7em;
    }

    .legal-content-body h1 {
        font-size: 28px;
    }

    .legal-content-body h2 {
        font-size: 24px;
    }

    .legal-content-body h3 {
        font-size: 20px;
    }

    .legal-content-body h4 {
        font-size: 18px;
    }

    .legal-content-body p {
        margin-bottom: 1rem;
    }

    .legal-content-body ul,
    .legal-content-body ol {
        margin-bottom: 1rem;
        padding-left: 1.4rem;
    }

    .legal-content-body li {
        margin-bottom: .45rem;
    }

    .legal-content-body strong,
    .legal-content-body b {
        font-weight: 700;
        color: #222;
    }

    .legal-content-body a {
        color: #d14d72;
        text-decoration: none;
        border-bottom: 1px solid rgba(209, 77, 114, .25);
        transition: .2s ease;
    }

        .legal-content-body a:hover {
            color: #b93e61;
            border-bottom-color: rgba(185, 62, 97, .45);
        }

    .legal-content-body img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
        margin: 10px 0;
    }

    .legal-content-body table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
        display: block;
        overflow-x: auto;
    }

        .legal-content-body table th,
        .legal-content-body table td {
            border: 1px solid #e8e8e8;
            padding: 12px 14px;
            vertical-align: top;
            text-align: left;
            white-space: normal;
        }

        .legal-content-body table th {
            background: #faf7f8;
            font-weight: 700;
            color: #333;
        }

    .legal-content-body blockquote {
        margin: 1.2rem 0;
        padding: 14px 18px;
        border-left: 4px solid #efb6c8;
        background: #fff8fb;
        border-radius: 12px;
        color: #555;
    }

    .legal-content-body hr {
        border: 0;
        border-top: 1px solid #eee;
        margin: 1.5rem 0;
    }

@media (max-width: 991.98px) {
    .legal-hero-title {
        font-size: 26px;
    }

    .legal-content-body {
        padding: 22px;
    }
}

@media (max-width: 575.98px) {
    .legal-hero-inner {
        border-radius: 18px;
        padding: 18px;
    }

    .legal-hero-title {
        font-size: 22px;
    }

    .legal-hero-meta {
        font-size: 13px;
    }

    .legal-content-wrap {
        border-radius: 18px;
    }

    .legal-content-body {
        padding: 18px 16px;
        font-size: 14px;
        line-height: 1.75;
    }

        .legal-content-body h1 {
            font-size: 24px;
        }

        .legal-content-body h2 {
            font-size: 21px;
        }

        .legal-content-body h3 {
            font-size: 18px;
        }

        .legal-content-body h4 {
            font-size: 16px;
        }
}

/* --- HOME SLIDER --- */

.home-slider {
    margin-bottom: 30px;
}

    .home-slider .carousel {
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
    }

    .home-slider .carousel-item {
        position: relative;
        background: #f8f9fa;
    }

    .home-slider .slider-img,
    .home-slider picture,
    .home-slider picture img {
        width: 100%;
        height: 100px;
        display: block;
        object-fit: contain;
        object-position: center;
        background: #f8f9fa;
    }

    .home-slider .slider-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,.28) 35%, rgba(0,0,0,.45) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .home-slider .carousel-caption {
        z-index: 2;
        top: 50%;
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        width: min(90%, 760px);
        padding: 0;
        text-align: center;
    }

    .home-slider .slider-caption-box {
        padding: 24px 28px;
        border-radius: 24px;
/*        background: rgba(0,0,0,.22);
        backdrop-filter: blur(3px);*/
    }

    .home-slider .carousel-caption h5 {
        font-size: 2.4rem;
        font-weight: 800;
        line-height: 1.15;
        color: #fff;
        margin-bottom: 12px;
        text-shadow: 0 2px 10px rgba(0,0,0,.25);
    }

    .home-slider .carousel-caption p {
        font-size: 1.08rem;
        color: rgba(255,255,255,.95);
        margin-bottom: 18px;
        text-shadow: 0 2px 8px rgba(0,0,0,.2);
        max-width: none;
    }

    .home-slider .carousel-caption .btn {
        font-weight: 600;
        min-width: 120px;
        transition: all .2s ease;
    }

        .home-slider .carousel-caption .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,.2);
        }

    .home-slider .carousel-control-prev,
    .home-slider .carousel-control-next {
        width: 56px;
        height: 56px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,.28);
        border-radius: 50%;
        opacity: 1;
    }

    .home-slider .carousel-control-prev {
        left: 18px;
    }

    .home-slider .carousel-control-next {
        right: 18px;
    }

        .home-slider .carousel-control-prev:hover,
        .home-slider .carousel-control-next:hover {
            background: rgba(0,0,0,.42);
        }

    .home-slider .carousel-control-prev-icon,
    .home-slider .carousel-control-next-icon {
        filter: brightness(0) invert(1);
    }

    .home-slider .carousel-indicators {
        margin-bottom: 18px;
        z-index: 3;
    }

        .home-slider .carousel-indicators button {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: 0;
            margin: 0 5px;
            background-color: rgba(255,255,255,.6);
        }

        .home-slider .carousel-indicators .active {
            background-color: #fff;
        }

@media (max-width: 991.98px) {
    .home-slider .slider-img,
    .home-slider picture,
    .home-slider picture img {
        height: 100%;
    }

    .home-slider .carousel-caption h5 {
        font-size: 1.9rem;
    }

    .home-slider .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .home-slider {
        margin-bottom: 22px;
    }

        .home-slider .carousel {
            border-radius: 18px;
        }

        .home-slider .carousel-item {
            background: #f3f4f6;
        }

        .home-slider .slider-img,
        .home-slider picture,
        .home-slider picture img {
            height: 100%;
            object-fit: contain;
            object-position: center;
            background: #f3f4f6;
        }

        .home-slider .slider-overlay {
            background: linear-gradient( to bottom, rgba(0,0,0,.10) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.28) 100% );
        }

        .home-slider .carousel-caption {
            width: 78%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .home-slider .slider-caption-box {
            padding: 12px 14px;
            border-radius: 16px;
/*            background: rgba(0,0,0,.18);
            backdrop-filter: blur(2px);*/
        }

        .home-slider .carousel-caption h5 {
            font-size: 1.1rem;
            line-height: 1.2;
            margin-bottom: 6px;
        }

        .home-slider .carousel-caption p {
            font-size: .85rem;
            line-height: 1.35;
            margin-bottom: 10px;
        }

        .home-slider .carousel-caption .btn {
            min-width: auto;
            padding: 8px 18px;
            font-size: .9rem;
            border-radius: 999px;
        }

        .home-slider .carousel-control-prev,
        .home-slider .carousel-control-next {
            width: 38px;
            height: 38px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,.22);
        }

        .home-slider .carousel-control-prev {
            left: 8px;
        }

        .home-slider .carousel-control-next {
            right: 8px;
        }

        .home-slider .carousel-indicators {
            margin-bottom: 10px;
        }

            .home-slider .carousel-indicators button {
                width: 8px;
                height: 8px;
                margin: 0 4px;
            }
}

.home-hero-video {
    margin: 0 0 2rem;
}

.hero-video-section {
    width: 100%;
}

.hero-video-title-wrap {
    margin-bottom: 14px;
}

.hero-video-title {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 9px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7d6 0%, #ffe7a3 100%);
    color: #3b2f12;
    font-size: clamp(16px, 1.2vw, 22px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
    border: 1px solid rgba(243, 196, 51, .35);
}

.hero-video-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 28px;
    background: transparent;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.hero-video-player {
    display: block;
    width: 100%;
    height: 70vh;
    min-height: 460px;
    max-height: 760px;
    object-fit: cover;
    background: transparent;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .18), rgba(0, 0, 0, .02));
    pointer-events: none;
    z-index: 1;
}

.hero-video-actions {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    flex-wrap: wrap;
    background: transparent;
}

.hero-video-sound-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, .92);
    color: #111;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    transition: transform .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}

    .hero-video-sound-btn:hover {
        transform: translateY(-1px);
    }

    .hero-video-sound-btn.is-on {
        background: #f3c433;
        color: #111;
    }

.hero-video-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.hero-video-bottom-actions {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 991.98px) {
    .hero-video-player {
        height: 56vh;
        min-height: 380px;
    }

    .hero-video-title {
        font-size: clamp(15px, 2.4vw, 20px);
        padding: 8px 14px;
    }

    .hero-video-actions {
        left: 18px;
        bottom: 18px;
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    .home-hero-video {
        margin-bottom: 1.25rem;
    }

    .hero-video-title-wrap {
        margin-bottom: 10px;
    }

    .hero-video-title {
        font-size: 15px;
        line-height: 1.2;
        padding: 8px 13px;
        border-radius: 12px;
    }

    .hero-video-wrap {
        border-radius: 18px;
    }

    .hero-video-player {
        height: 48vh;
        min-height: 280px;
        max-height: 420px;
    }

    .hero-video-actions {
        left: 14px;
        right: 14px;
        bottom: 14px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-video-sound-btn,
    .hero-video-link-btn {
        padding: 11px 16px;
        font-size: 14px;
    }
}

.header-cart-wrap {
    position: relative;
    display: inline-block;
}

.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 360px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    padding: 14px;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: all .18s ease;
}

    .mini-cart-dropdown.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

.mini-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.mini-cart-count {
    color: #777;
    font-size: 13px;
    font-weight: 500;
}

.mini-cart-empty {
    padding: 22px 10px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.mini-cart-items {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

    .mini-cart-items::-webkit-scrollbar {
        width: 6px;
    }

    .mini-cart-items::-webkit-scrollbar-thumb {
        background: #d8d8d8;
        border-radius: 999px;
    }

    .mini-cart-items::-webkit-scrollbar-track {
        background: transparent;
    }

.mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
}

    .mini-cart-item:last-child {
        border-bottom: none;
    }

.mini-cart-img-wrap {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
}

    .mini-cart-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        border: 1px solid #ececec;
        background: #fff;
        display: block;
    }

.mini-cart-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mini-cart-title {
    color: #222;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
    word-break: break-word;
}

.mini-cart-variant {
    font-size: 12px;
    color: #777;
    margin-bottom: 6px;
}

.mini-cart-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mini-cart-qty {
    font-size: 12px;
    color: #555;
}

.mini-cart-price {
    font-size: 13px;
    font-weight: 700;
    color: #d63333;
    white-space: nowrap;
}

.mini-cart-footer {
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    margin-top: 12px;
}

.mini-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #222;
}

    .mini-cart-total strong {
        font-size: 15px;
        color: #111;
    }

.mini-cart-qty {
    font-size: 12px;
    color: #666;
}

.mini-cart-price {
    font-size: 13px;
    font-weight: 700;
    color: #c0392b;
}

.mini-cart-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .mini-cart-title-link:hover .mini-cart-title {
        color: #198754;
    }

.mini-cart-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.mini-cart-qty-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mini-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .mini-qty-btn:hover {
        background: #f6f6f6;
    }

.mini-remove-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #f1d2d2;
    background: #fff;
    color: #d63333;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .mini-remove-btn:hover {
        background: #fff5f5;
    }

@media (max-width: 991.98px) {
    .mini-cart-dropdown {
        width: 320px;
        right: -30px;
    }
}

@media (max-width: 575.98px) {
    .mini-cart-dropdown {
        width: 290px;
        right: -50px;
        padding: 12px;
    }

    .mini-cart-item {
        gap: 10px;
        padding: 10px 0;
    }

    .mini-cart-img-wrap {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }

    .mini-cart-title {
        font-size: 12.5px;
    }

    .mini-cart-price {
        font-size: 12.5px;
    }
}

.cart-icon.is-active {
    background: rgba(255,255,255,0.16);
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
}

.user-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    padding: 8px 0;
    display: none;
    z-index: 999;
}

    .user-menu a,
    .user-menu .dropdown-link {
        display: block;
        padding: 10px 14px;
        font-size: 14px;
        color: #333;
        text-decoration: none;
        background: none;
        border: none;
        width: 100%;
        text-align: left;
    }

        .user-menu a:hover,
        .user-menu .dropdown-link:hover {
            background: #f5f5f5;
        }

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 6px 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .header-user-wrap .auth-link,
    .header-user-wrap .icon-btn,
    .header-actions .icon-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #fff;
        text-decoration: none;
        border: 0;
        background: transparent;
        font-weight: 500;
    }

        .header-user-wrap .auth-link:hover,
        .header-user-wrap .icon-btn:hover,
        .header-actions .icon-btn:hover {
            color: #fff;
            text-decoration: none;
            opacity: .9;
        }

.user-btn {
    color: #fff;
    background: transparent;
    border: 0;
    padding: 0;
}

    .user-btn:hover {
        color: #fff;
    }

.user-dropdown {
    position: relative;
}

.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    padding: 8px 0;
    display: none;
    z-index: 1000;
}

    .user-menu a,
    .user-menu .dropdown-link {
        display: block;
        width: 100%;
        padding: 10px 14px;
        color: #333;
        text-decoration: none;
        background: none;
        border: 0;
        text-align: left;
    }

        .user-menu a:hover,
        .user-menu .dropdown-link:hover {
            background: #f5f5f5;
            color: #333;
            text-decoration: none;
        }

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 6px 0;
}
