* {
    box-sizing: border-box;
}

:root {
    --mobile-bottom-nav-height: 0px;
    --mobile-bottom-nav-offset: 0px;
}

html {
    background: #fff;
    max-width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #222;
    background: #fff;
}

body.public-site {
    font-family: var(--font-public), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--font-public-size, 14px);
    font-weight: var(--font-public-weight, 400);
    --mobile-bottom-nav-space: calc(var(--mobile-bottom-nav-height) + var(--mobile-bottom-nav-offset));
    min-height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: clip;
}

body.public-site button,
body.public-site input,
body.public-site select,
body.public-site textarea {
    font: inherit;
}

/* Product-specific font — applies to product cards, names, prices, badges, and related info */
/* ── Product Listing (home / category) ── */
body.public-site .product-card,
body.public-site .product-info,
body.public-site .product-title,
body.public-site .product-pricing,
body.public-site .price-current,
body.public-site .price-old,
body.public-site .badge-discount,
body.public-site .badge-new,
body.public-site .badge-bestseller,
body.public-site .selling-fast,
body.public-site .color-swatches,
body.public-site .size-badge,
body.public-site .size-swatch,
body.public-site .variant-swatch,
body.public-site .add-to-cart-bar,
/* ── Product Detail Page ── */
body.public-site .product-detail-new,
body.public-site .info-new,
body.public-site .info-new h1,
body.public-site .price-block,
body.public-site .current-price,
body.public-site .old-price,
body.public-site .old-price-row,
body.public-site .discount-badge,
body.public-site .lowest-price,
body.public-site .opt-title,
body.public-site .color-thumbnails,
body.public-site .pdp-sizes,
body.public-site .size-btn,
body.public-site .qty-cart-row,
body.public-site .btn-add-cart,
body.public-site .accordion-title,
body.public-site .accordion-content,
/* ── Related Products ── */
body.public-site .related-item {
    font-family: var(--font-product), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   HEADER STYLES
   ========================================= */
.site-header {
    background: #fff;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    position: relative;
    z-index: 1200;
}

.site-top-info-bar {
    border-bottom: 1px solid #ece7e0;
    background: #fffdf9;
    color: #332820;
    font-size: 12px;
}

.site-top-info-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    min-height: 38px;
    padding: 7px 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-top-info-track::-webkit-scrollbar {
    display: none;
}

.site-top-info-set {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.site-top-info-set[aria-hidden="true"] {
    display: none;
}

.site-top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    color: inherit;
    text-decoration: none;
    line-height: 1.35;
    white-space: nowrap;
}

.site-top-info-item i {
    color: #7a685a;
    font-size: 14px;
}

.site-top-info-item--strong {
    color: #047857;
    font-weight: 800;
}

.site-top-info-item--strong i {
    color: #047857;
}

.site-top-info-item--sale {
    color: #dc2626;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.site-top-info-item--sale i {
    color: #dc2626;
    font-size: 13px;
}

.site-top-socials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
}

.site-top-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid #e7ded2;
    border-radius: 50%;
    color: #332820;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.site-top-socials a:hover,
.site-top-socials a:focus-visible {
    border-color: #b91c1c;
    background: #fff5f5;
    color: #b91c1c;
    transform: translateY(-1px);
}

@keyframes siteTopInfoMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.mobile-brand-row {
    display: none;
}

.mobile-lang-switcher,
.site-header .main-header > .mobile-lang-switcher {
    display: none !important;
}

.mobile-search-row {
    display: none;
}

.mobile-nav-backdrop,
.mobile-bottom-nav {
    display: none;
}

body.packeta-widget-open .mobile-bottom-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 32px));
}

body.public-overlay-open .mobile-bottom-nav,
body.has-promo-modal-open .mobile-bottom-nav,
body.review-modal-open .mobile-bottom-nav,
body:has(#reviewWriteModal.is-active) .mobile-bottom-nav,
body:has(#ttfcOverlay:not([hidden]):not(.is-hidden)) .mobile-bottom-nav,
body:has(.ttfc-overlay:not([hidden]):not(.is-hidden)) .mobile-bottom-nav,
body:has(#ttCartRewardsModal:not([hidden])) .mobile-bottom-nav,
body:has(.tt-modal-overlay[style*="flex"]) .mobile-bottom-nav,
body:has(.category-drawer-backdrop.active) .mobile-bottom-nav,
body:has(.static-modal-overlay.open) .mobile-bottom-nav,
body:has(.lightbox-modal.active) .mobile-bottom-nav,
body:has(.payment-reminder-backdrop:not(.is-hidden)) .mobile-bottom-nav,
body:has(#globalLoginModal[style*="flex"]) .mobile-bottom-nav,
body:has(#deleteAccountModal[style*="flex"]) .mobile-bottom-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 32px));
}

body.mobile-menu-open {
    overflow: hidden;
}

.tt-modal-overlay,
.category-drawer-backdrop,
.static-modal-overlay,
.payment-reminder-backdrop,
.lightbox-modal,
#globalLoginModal,
#deleteAccountModal,
.ttfc-overlay,
#ttfcOverlay,
.ttcr-overlay,
#ttCartRewardsModal,
.tt-review-modal-overlay {
    z-index: 2147483647 !important;
}

.tt-modal-card,
.category-drawer-panel,
.static-modal-container,
.payment-reminder-modal,
.lightbox-content {
    position: relative;
    z-index: 1;
}

.mobile-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}

.mobile-brand-text {
    font-family: "Times New Roman", Times, serif;
    color: #222;
    letter-spacing: 3px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}

.main-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 15px 40px;
}

/* Header Contact (Left) */
.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #444;
}

.header-contact i {
    font-size: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.phone-number {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    margin-bottom: 2px;
}

.work-hours {
    font-size: 12px;
    color: #999;
}

/* Header Logo (Center) */
.header-logo {
    text-align: center;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    min-width: 0;
    max-width: 100%;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-block;
    min-width: 0;
    max-width: 100%;
    font-size: var(--brand-font-size, 38px);
    font-family: var(--brand-font-family, "Times New Roman", Times, serif);
    font-weight: var(--brand-font-weight, 400);
    color: #222;
    letter-spacing: 3px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}

.footer-brand-text {
    display: inline-block;
    letter-spacing: 0.08em;
    color: inherit;
}

body.public-site > main {
    flex: 1 0 auto;
    background: transparent;
    transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.site-footer {
    margin-top: auto;
    background: #fff;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

body.is-page-transitioning > main {
    opacity: 0.55;
    transform: translateY(4px);
    filter: saturate(0.96);
}

body.is-page-transitioning .site-footer {
    opacity: 0.65;
    transform: translateY(4px);
}

/* Header Actions (Right) */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    min-height: 78px;
}

/* Search Form */
.search-form {
    position: relative;
    display: flex;
    align-items: center;
    border: none;
    border-bottom: none;
    padding: 0;
    width: 280px;
    min-height: 42px;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.search-form::after {
    display: none !important;
    content: none !important;
}

.search-form:hover,
.search-form:focus-within {
    transform: none;
}

.search-live-shell {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
}

.search-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    color: #555;
    background: transparent;
    padding: 0;
    line-height: 38px;
    height: 38px;
}

.search-form input::placeholder {
    color: #999;
}

.search-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #444;
    font-size: 16px;
    width: 34px;
    height: 34px;
    padding: 0;
    transition: color 0.22s ease, transform 0.22s ease;
}

.search-form:hover button,
.search-form:focus-within button,
.search-form button:hover {
    color: #000;
    transform: translateY(-1px) scale(1.08);
}

/* Header Icons & Actions */
.header-icons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.header-icons > .lang-dropdown-wrapper {
    min-height: 64px;
    padding: 0;
}

.header-icons > .lang-dropdown-wrapper > .lang-action-btn {
    min-height: 64px;
    padding: 6px 4px;
}

.action-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 64px;
    min-height: 64px;
    text-decoration: none;
    color: #333;
    transition: color 0.22s ease, transform 0.22s ease;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 4px;
    border-radius: 16px;
}

.cart-trigger-link {
    color: inherit;
    text-decoration: none;
}

.action-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 64px;
    min-height: 64px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 6px 4px;
    border-radius: 16px;
    transition: color 0.22s ease, transform 0.22s ease;
}

.action-item i, .action-btn i {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.22s ease, color 0.22s ease;
}

.action-text {
    position: relative;
    display: block;
    min-height: 14px;
    font-size: 11px;
    line-height: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.22s ease;
}

.action-text::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -5px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0;
    transition: left 0.22s ease, right 0.22s ease, opacity 0.22s ease;
}

.action-item:hover,
.action-item:focus-visible,
.action-btn:hover,
.action-btn:focus-visible,
.lang-dropdown-wrapper.is-open .action-btn {
    color: #000;
    background: transparent;
    transform: none;
}

.action-item:hover i,
.action-item:focus-visible i,
.action-btn:hover i,
.action-btn:focus-visible i,
.lang-dropdown-wrapper.is-open .action-btn i {
    transform: translateY(-2px) scale(1.08);
}

.action-item:hover .action-text,
.action-item:focus-visible .action-text,
.action-btn:hover .action-text,
.action-btn:focus-visible .action-text,
.lang-dropdown-wrapper.is-open .action-text {
    color: #000;
}

.action-item:hover .action-text::after,
.action-item:focus-visible .action-text::after,
.action-btn:hover .action-text::after,
.action-btn:focus-visible .action-text::after,
.lang-dropdown-wrapper.is-open .action-text::after {
    left: 12%;
    right: 12%;
    opacity: 1;
}

.action-item:active,
.action-btn:active {
    transform: translateY(0) scale(0.96);
}

/* Cart Badge */
.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #e0e0e0;
    color: #333;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge[hidden],
.mobile-bottom-cart-badge[hidden] {
    display: none;
}

.cart-dropdown-wrapper {
    position: relative;
}

.cart-preview-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: -16px;
    width: 360px;
    background: #fff;
    border: 1px solid #ece3d8;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(35, 24, 15, 0.14);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1100;
}

.cart-dropdown-wrapper:hover .cart-preview-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-live-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: min(420px, 92vw);
    background: #fff;
    border: 1px solid #ece3d8;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(35, 24, 15, 0.14);
    overflow: hidden;
    z-index: 1200;
}

.search-live-list {
    display: flex;
    flex-direction: column;
}

.search-live-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #f3ebe2;
    transition: background 0.2s ease;
}

.search-live-item:hover {
    background: #fbf7f1;
}

.search-live-thumb {
    width: 68px;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #f8f4ef;
    border-radius: 12px;
}

.search-live-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.search-live-name {
    font-size: 14px;
    font-weight: 600;
    color: #221c17;
    line-height: 1.35;
}

.search-live-price {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.search-live-empty {
    padding: 18px 16px;
    font-size: 14px;
    color: #65584b;
}

.search-live-footer {
    display: block;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #221c17;
    background: #fbf7f1;
    text-align: center;
}

.search-live-footer:hover {
    background: #f6efe6;
}

.cart-preview-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0e7dc;
    font-size: 12px;
    color: #6e6256;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-preview-header strong {
    font-size: 13px;
    color: #241912;
}

.cart-preview-list {
    display: grid;
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.cart-preview-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.cart-preview-image {
    width: 64px;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #f8f4ee;
    border: 1px solid #efe5d8;
    border-radius: 12px;
    display: block;
}

.cart-preview-info {
    min-width: 0;
}

.cart-preview-name {
    font-size: 13px;
    font-weight: 700;
    color: #231912;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.cart-preview-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    color: #73685d;
}

.cart-preview-price {
    font-size: 13px;
    font-weight: 800;
    color: #231912;
    white-space: nowrap;
}

.cart-preview-footer {
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid #f0e7dc;
}

.cart-preview-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #5b4e42;
}

.cart-preview-total strong {
    font-size: 15px;
    color: #1b120d;
}

.cart-preview-free-shipping {
    margin: -2px 0 12px;
    padding: 9px 11px;
    border: 1px solid rgba(16, 185, 129, 0.24);
    border-radius: 12px;
    background: #f1fff8;
    color: #047857;
    font-size: 12px;
    line-height: 1.45;
}

.cart-preview-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--app-active-bg, #EC4899) 0%, var(--app-primary, #BE185D) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px var(--app-active-shadow, rgba(236, 72, 153, 0.35));
    transition: filter 0.2s ease, transform 0.2s ease;
}

.cart-preview-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    color: #fff;
}

.cart-preview-empty {
    padding: 10px 0 4px;
    font-size: 13px;
    line-height: 1.6;
    color: #73685d;
}

/* Language Dropdown */
.lang-dropdown-wrapper {
    position: relative;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    transform: translateY(10px);
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-width: 220px;
    max-width: min(280px, calc(100vw - 24px));
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    padding: 10px 0;
    border-radius: 16px;
    overflow: hidden;
}

.lang-dropdown-wrapper.is-open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.lang-switch-form {
    margin: 0;
}

.lang-dropdown a,
.lang-dropdown button {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    border: 0;
    background: transparent;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    text-align: left;
    transition: background 0.2s;
    white-space: nowrap;
    cursor: pointer;
}

.lang-dropdown a:hover,
.lang-dropdown button:hover,
.lang-dropdown button:focus-visible {
    background: #f9f9f9;
    outline: none;
}

.flag-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border: 1px solid #eee;
    border-radius: 50%;
    flex: 0 0 20px;
}

.lang-action-btn {
    min-width: 44px;
    min-height: 44px;
}

.current-lang-flag {
    display: block;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    max-width: 26px;
    max-height: 26px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border-color: #d8d8d8;
}

/* Global Buttons */
.btn {
    padding: 12px 20px;
    border: 0;
    background: #111;
    color: #fff;
    cursor: pointer;
    display: inline-block;
}

/* =========================================
   HERO LOOKBOOK BENTO GRID (Fashion 3:4 Layout)
   ========================================= */
.hero-lookbook-section {
    width: min(calc(100% - var(--home-shell-gutter, 32px)), var(--home-shell-max-width, 1400px));
    margin: 0 auto 36px;
    padding: 0;
}

.hero-lookbook-container {
    width: 100%;
}

.hero-lookbook-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    width: 100%;
    align-items: stretch;
}

.lookbook-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #f7f4f0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    height: 100%;
}

.lookbook-tile:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.lookbook-pos-1 {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 3 / 4;
}

.lookbook-pos-2 {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 3 / 4;
}

.lookbook-pos-3,
.lookbook-tile-center {
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 100%;
    align-self: stretch;
}

.lookbook-pos-4 {
    grid-column: 3;
    grid-row: 1;
    aspect-ratio: 3 / 4;
}

.lookbook-pos-5 {
    grid-column: 3;
    grid-row: 2;
    aspect-ratio: 3 / 4;
}

.lookbook-tile-inner {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f7f4f0;
}

/* Contain scaling: 100% visible, no crop or zoom */
.lookbook-tile-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lookbook-tile:hover .lookbook-tile-img {
    transform: scale(1.03);
}

.lookbook-tile-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 36px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.lookbook-tile-caption {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.88);
    padding-bottom: 3px;
    transition: border-color 0.25s ease, transform 0.25s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.lookbook-tile:hover .lookbook-tile-caption {
    border-color: #ffffff;
    transform: translateY(-2px);
}

.lookbook-tile-arrow {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.lookbook-tile:hover .lookbook-tile-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .hero-lookbook-section {
        width: calc(100% - 16px);
        margin-bottom: 24px;
    }

    .hero-lookbook-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
    }

    .lookbook-tile {
        grid-column: auto !important;
        grid-row: auto !important;
        aspect-ratio: 3 / 4 !important;
        height: auto !important;
    }

    .lookbook-hide-mobile {
        display: none !important;
    }

    .lookbook-tile-overlay {
        padding: 24px 8px 10px;
    }

    .lookbook-tile-caption {
        font-size: 11px;
        letter-spacing: 0.8px;
        gap: 4px;
        padding-bottom: 2px;
    }

    .lookbook-tile-arrow {
        font-size: 11px;
    }
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Khung ảnh chuẩn tối đa */
    margin: 0 auto;    /* Căn giữa nếu màn hình to hơn 1920px */
    aspect-ratio: 1920 / 750; /* Desktop banner target: 1920x750 */
    overflow: hidden;
    background: #f3e6df;
}

.slider-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mobile-bottom-nav-item {
    appearance: none;
    border: 0;
    background: transparent;
    color: #888;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    padding: 10px 8px 9px;
    font: inherit;
    cursor: pointer;
    position: relative;
    border-radius: 18px;
    transition: color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.menu-item.menu-sale .menu-item-link:active {
    transform: translateY(1px) scale(0.985);
}

.menu-item.menu-sale .menu-item-link:focus-visible {
    box-shadow: 0 0 0 3px var(--app-active-shadow, rgba(236, 72, 153, 0.2)), 0 4px 14px var(--app-active-shadow, rgba(236, 72, 153, 0.35));
}

.submenu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #334155;
    cursor: pointer;
    padding: 0 14px;
    font-size: 14px;
}

.submenu-toggle i {
    transition: transform 0.2s ease;
}

/* Dropdown Container */
.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item.has-dropdown:hover .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 48px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.mega-menu-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 28px 48px;
    flex: 1;
    min-width: 0;
}

.mega-column {
    min-width: 130px;
    max-width: 190px;
    text-align: left;
}

.mega-column h4 {
    font-size: 13px;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    line-height: 1.25;
    text-align: left;
    font-weight: 700;
}

.mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.mega-column ul li {
    margin-bottom: 10px;
    text-align: left;
}

.mega-column ul li a {
    font-size: 13.5px;
    color: #555;
    transition: color 0.2s;
    text-transform: none;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
}

.mega-column ul li a:hover {
    color: #000;
    text-decoration: underline;
}

.mega-column ul li a.view-all {
    font-weight: 600;
    text-decoration: underline;
    margin-top: 10px;
    display: inline-block;
}

.mega-menu-banner {
    margin-left: 0;
    width: 320px;
    flex-shrink: 0;
}

.mega-menu-banner img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f8f4ef;
    border-radius: 4px;
    display: block;
}

/* =========================================
   RESPONSIVE DESIGN (MOBILES & TABLETS)
   ========================================= */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav-item::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 5px;
    bottom: 5px;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    z-index: 0;
}

.mobile-bottom-nav-item > * {
    position: relative;
    z-index: 1;
}

.mobile-bottom-nav-item i {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.22s ease, color 0.22s ease;
}

.mobile-bottom-nav-item span {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: color 0.22s ease, opacity 0.22s ease;
}

.mobile-bottom-nav-item.is-active,
.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item:focus-visible {
    color: #17211a;
}

.mobile-bottom-nav-item.is-active {
    color: #111;
    transform: translateY(-2px);
}

.mobile-bottom-nav-item.is-transition-target {
    color: #111;
    transform: translateY(-2px) scale(0.985);
}

.mobile-bottom-nav-item.is-active::before {
    background: linear-gradient(180deg, #fff8ef 0%, #f6ece0 100%);
    box-shadow: 0 10px 22px rgba(55, 34, 17, 0.1);
    transform: scale(1.01);
}

.mobile-bottom-nav-item.is-transition-target::before {
    background: linear-gradient(180deg, #fff6ea 0%, #f3e7d8 100%);
    box-shadow: 0 8px 18px rgba(55, 34, 17, 0.1);
    transform: scale(0.99);
}

.mobile-bottom-nav-item.is-active i {
    color: #111;
    transform: translateY(-1px) scale(1.04);
}

.mobile-bottom-nav-item:hover i,
.mobile-bottom-nav-item:focus-visible i {
    transform: translateY(-2px) scale(1.08);
}

.mobile-bottom-nav-item:active {
    transform: translateY(0) scale(0.96);
}

.mobile-bottom-nav-item:hover::before,
.mobile-bottom-nav-item:focus-visible::before {
    background: transparent;
    box-shadow: none;
}

.mobile-bottom-nav-item.is-active span:last-child {
    color: #111;
    font-weight: 800;
}

.mobile-bottom-nav-item:not(.is-active) span:last-child {
    opacity: 0.88;
}

.mobile-bottom-cart-icon {
    position: relative;
    display: inline-flex;
}

.mobile-bottom-cart-badge {
    position: absolute;
    top: -7px;
    right: -10px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
}

.slider-nav-btn:hover {
    background: #111;
    color: #fff;
}

.slider-nav-btn.prev {
    left: 20px;
}

.slider-nav-btn.next {
    right: 20px;
}

/* Dots indicator */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.section {
    max-width: 1180px;
    margin: 50px auto;
    padding: 0 20px;
}

body.public-page-home {
    --home-shell-max-width: 1520px;
    --home-shell-gutter: 48px;
}

body.public-page-home .section {
    width: min(calc(100% - var(--home-shell-gutter)), var(--home-shell-max-width));
    max-width: none;
    padding: 0;
}

body.public-page-home .hero-slider,
body.public-page-home .site-header .main-header {
    width: min(calc(100% - var(--home-shell-gutter)), var(--home-shell-max-width));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

body.public-page-home .site-header .nav-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

body.public-page-home .site-header .main-header {
    padding: 15px 0;
    grid-template-columns: minmax(150px, 0.8fr) auto minmax(420px, 1fr);
    gap: 20px;
}

body.public-page-home .site-header .main-nav {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}

body.public-page-home .section-header {
    margin-bottom: 42px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400; /* Chữ mỏng sang trọng */
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111;
}

/* Đường kẻ ngang 2 bên chữ NOVINKY */
.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #ddd; /* Màu xám nhạt */
}

.section-title::before {
    margin-right: 30px;
}

.section-title::after {
    margin-left: 30px;
}

.section-subtitle {
    font-size: 13px;
    color: #999;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.section-action-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    min-width: 180px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--app-active-bg, #EC4899) 0%, var(--app-primary, #BE185D) 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1), var(--app-active-shadow, 0 6px 18px rgba(236, 72, 153, 0.35));
}

.section-action-link::before {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
}

.section-action-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
    transform: skewX(-22deg);
    transition: left 0.45s ease;
}

.section-action-link:hover {
    transform: translateY(-2px);
    color: #fff;
    filter: brightness(1.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14), 0 8px 22px rgba(236, 72, 153, 0.45);
    background: linear-gradient(135deg, var(--app-active-bg, #EC4899) 0%, var(--app-primary, #BE185D) 100%);
}

.section-action-link:hover::after {
    left: 140%;
}

.section-action-link:active {
    transform: translateY(1px) scale(0.985);
    box-shadow: 0 7px 16px rgba(17, 17, 17, 0.18), inset 0 -2px 0 rgba(0, 0, 0, 0.42);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    min-width: 0;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Image Container & Hover */
.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* Hoặc 4/5 tùy theo ảnh gốc */
    overflow: hidden;
    background: #f8f8f8;
    min-width: 0;
    border-radius: 6px;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.img-primary, .img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.4s ease;
}

.img-primary.is-square-fit,
.img-secondary.is-square-fit,
.product-image-container img.is-square-fit {
    object-fit: contain !important;
    background: #FFFFFF !important;
}

.img-primary {
    z-index: 1;
    opacity: 1;
}

.img-secondary {
    z-index: 2;
    opacity: 0;
    background: #F8F8F8;
    pointer-events: none;
}

.product-card:hover .img-secondary,
.product-card.is-touch-hover .img-secondary {
    opacity: 1;
}

/* Badges */
.badge-discount {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.3px;
    clip-path: polygon(50% 0%, 63% 10%, 78% 2%, 82% 18%, 98% 20%, 92% 35%, 100% 50%, 92% 65%, 98% 80%, 82% 82%, 78% 98%, 63% 90%, 50% 100%, 37% 90%, 22% 98%, 18% 82%, 2% 80%, 8% 65%, 0% 50%, 8% 35%, 2% 20%, 18% 18%, 22% 2%, 37% 10%);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f330f3;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    padding: 3px 6px;
    z-index: 2;
    text-transform: uppercase;
    border-radius: 4px;
}

.badge-bestseller {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: #e53e3e;
    color: #fff;
    font-size: 8px;
    font-weight: 600;
    padding: 3px 8px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
    line-height: 1;
}

.badge-sold-out {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #111827, #374151);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 4px 8px;
    z-index: 4;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.22);
}

.selling-fast {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: fit-content !important;
    max-width: 100% !important;
    align-self: flex-start !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-style: normal;
    color: #dc2626 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-top: 6px;
}

@keyframes sellingFastPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Heart Button */
.btn-heart {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #111;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: bottom 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.2s, color 0.2s;
}

.product-card:hover .btn-heart {
    bottom: 50px;
}

.btn-heart:hover {
    color: #b30000;
    transform: scale(1.1);
}

/* Add to Cart Animated Bar */
.add-to-cart-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(25, 25, 25, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 3;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
}

@media (min-width: 1025px) {
    .product-card:hover .add-to-cart-bar {
        transform: translateY(0);
    }
}

.add-to-cart-bar:hover {
    background: rgba(0, 0, 0, 1);
}

.add-to-cart-bar.is-sold-out {
    background: rgba(127, 29, 29, 0.92);
}

.add-to-cart-bar.is-sold-out:hover {
    background: rgba(153, 27, 27, 0.98);
}

.cart-animation-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-icon {
    font-size: 15px;
    transform: translateX(0) scale(1);
    transition: transform 0.22s ease;
}

.cart-text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    margin-left: 0;
    transition: max-width 0.34s ease 0.2s, opacity 0.28s ease 0.2s, margin-left 0.34s ease 0.2s;
}

@keyframes cartIconScoot {
    0% {
        transform: translateX(0) scale(1);
    }
    45% {
        transform: translateX(-4px) scale(1.06);
    }
    100% {
        transform: translateX(0) scale(1);
    }
}

.product-card:hover .cart-icon {
    animation: cartIconScoot 0.24s ease-out both;
}

.product-card:hover .cart-text {
    max-width: 150px;
    opacity: 1;
    margin-left: 10px;
}

/* Product Info Area */
.product-info {
    padding: 12px 14px 14px;
    min-width: 0;
}

.product-title {
    font-size: 12px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.product-title a:hover {
    text-decoration: underline;
}

.product-card .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.product-card .product-summary {
    min-width: 0;
    flex: 1 1 auto;
}

.product-card .product-pricing {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-top: 2px;
}

.price-current {
    font-size: 13px;
    font-weight: 600;
    color: #111;
}

.price-old {
    font-size: 11px;
    text-decoration: line-through;
    color: #999;
}

.product-card .product-attributes {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 0 0 auto;
    gap: 4px;
    max-width: 50%;
    min-width: 0;
}

@media (min-width: 1200px) {
    body.public-page-home .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    body.public-page-home {
        --home-shell-max-width: 1240px;
        --home-shell-gutter: 32px;
    }

    body.public-page-home .site-header .main-header {
        grid-template-columns: minmax(120px, 0.72fr) auto minmax(340px, 1fr);
        gap: 14px;
        padding: 12px 0 14px;
    }

    body.public-page-home .header-contact {
        gap: 10px;
    }

    body.public-page-home .header-contact i {
        font-size: 20px;
    }

    body.public-page-home .phone-number {
        font-size: 12px;
        white-space: nowrap;
    }

    body.public-page-home .work-hours {
        font-size: 11px;
        line-height: 1.2;
    }

    body.public-page-home .logo {
        gap: 10px;
    }

    body.public-page-home .logo img {
        height: 36px;
    }

    body.public-page-home .logo-text {
        font-size: clamp(28px, 3.5vw, 46px);
        letter-spacing: 2px;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.08);
    }

    body.public-page-home .header-actions {
        gap: 18px;
    }

    body.public-page-home .search-form {
        width: min(100%, 260px);
    }

    body.public-page-home .header-icons {
        gap: 14px;
    }

    body.public-page-home .action-item i,
    body.public-page-home .action-btn i {
        font-size: 20px;
    }

    body.public-page-home .action-text {
        font-size: 10px;
    }

    body.public-page-home .menu-list {
        gap: 6px;
    }

    body.public-page-home .menu-item-link {
        font-size: 12px;
        padding: 10px 10px;
    }

    body.public-page-home .slider-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    body.public-page-home .section {
        margin: 38px auto;
    }

    body.public-page-home .section-header {
        margin-bottom: 34px;
    }

    body.public-page-home .section-title {
        font-size: 19px;
    }

    body.public-page-home .section-subtitle {
        font-size: 13px;
    }

    body.public-page-home .product-grid {
        gap: 18px;
    }

    body.public-page-home .product-info {
        padding: 12px 14px 14px;
    }
}

@media (min-width: 1367px) and (max-width: 1599px) {
    body.public-page-home {
        --home-shell-max-width: 1400px;
        --home-shell-gutter: 40px;
    }

    body.public-page-home .site-header .main-header {
        grid-template-columns: minmax(140px, 0.76fr) auto minmax(380px, 1fr);
        gap: 16px;
        padding: 14px 0;
    }

    body.public-page-home .search-form {
        width: min(100%, 290px);
    }

    body.public-page-home .header-icons {
        gap: 16px;
    }

    body.public-page-home .menu-list {
        gap: 10px;
    }

    body.public-page-home .menu-item-link {
        padding: 10px 12px;
    }
}

/* Trên PC sjednotí horní lištu (logo + ikony) na home se stránkami /category/ a /product/:
   plná šířka jako výchozí .main-header, ikony zarovnané doprava. Mobil (<=1024px) zůstává beze změny. */
@media (min-width: 1025px) {
    body.public-page-home .site-header .main-header {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 15px 40px;
        grid-template-columns: 1fr auto 1fr;
        gap: 0;
    }
}

.product-card .product-attributes[hidden] {
    display: none !important;
}

.product-card .variant-swatches,
.product-card .size-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 0 !important;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-end;
}

.product-card .color-swatches {
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-end;
}

.product-card .swatch {
    width: 12px;
    height: 12px;
}

.product-card .attribute-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 17px;
    padding: 0 4px;
    border: 1px dashed #d2d2d2;
    background: #fafafa;
    color: #666;
    font-size: 8px;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .product-card .product-meta {
        gap: 10px;
    }

    .product-card .product-attributes {
        max-width: 62%;
    }
}

.size-badge {
    border: 1px solid #ddd;
    font-size: 9px;
    padding: 1px 4px;
    color: #666;
}

.color-swatches {
    display: flex;
    gap: 5px;
}

.swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.swatch:hover {
    transform: scale(1.18);
    border-color: #666;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.swatch:focus-visible,
.size-swatch:focus-visible,
.variant-swatch:focus-visible,
.size-btn:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.42);
    outline-offset: 2px;
}

.swatch.selected {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #000;
}

.size-swatch,
.variant-swatch {
    border-radius: 4px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.size-swatch:hover {
    background: #f8f8f8;
    border-color: #777 !important;
    box-shadow: 0 6px 16px rgba(17, 17, 17, 0.08);
    transform: translateY(-1px);
}

.size-swatch.selected {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.variant-swatch:hover {
    background: #f8f8f8;
    border-color: #777 !important;
    box-shadow: 0 6px 16px rgba(17, 17, 17, 0.08);
    transform: translateY(-1px);
}

.variant-swatch.selected {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* =========================================
   FOOTER STYLES
   ========================================= */
.site-footer {
    margin-top: 60px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    color: #333;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-contact-items {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-link {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: underline;
    margin-bottom: 3px;
}

.contact-link:hover {
    color: #555;
}

.contact-subtext {
    font-size: 12px;
    color: #888;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: #444;
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding: 30px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links a {
    font-size: 14px;
    color: #444;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-links a:hover {
    color: #000;
}

.footer-copyright {
    text-align: center;
    padding: 15px 20px 30px;
    background: #111;
    color: #fff;
    font-size: 12px;
}
.footer-copyright p {
    margin: 0;
}

/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumb-container {
    background: #f9f9f9;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.breadcrumb-container .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 13px;
    color: #666;
}

.breadcrumb-container a {
    color: #333;
}

.breadcrumb-container a:hover {
    text-decoration: underline;
}

/* =========================================
   CATEGORY PAGE
   ========================================= */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-page-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    margin-bottom: 60px;
    min-width: 0;
}

.sidebar-filters {
    align-self: start;
    height: fit-content;
}

.category-product-area {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.sidebar-filters h3 {
    font-size: 11px;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

.filter-group {
    margin-bottom: 16px;
}

.category-filter-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

.category-filter-list {
    display: block;
}

.filter-list li {
    margin-bottom: 6px;
}

.filter-list a {
    font-size: 11px;
    color: #555;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 4px;
    border-radius: 999px;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.filter-list a.active, .filter-list a:hover {
    color: #0F172A;
    font-weight: 600;
    background: #F1F5F9;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transform: translateX(1px);
}

.size-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
}

/* ── Size group visual separators ── */
.size-group-divider {
    position: relative;
    margin: 3px 0 0;
    border-top: 1px solid #e0e0e0;
    padding-top: 6px;
}

.size-group-label,
.size-group-label-top {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #64748B;
    margin-bottom: 1px;
}

.size-group-label-top {
    margin-bottom: 4px;
}

.size-group-divider,
.size-group-label-top {
    grid-column: 1 / -1;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    cursor: pointer;
    color: #444;
    min-width: 0;
    min-height: 22px;
    padding: 2px 4px;
    border-radius: 6px;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.custom-checkbox:hover {
    background: #F1F5F9;
    color: #0F172A;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transform: translateX(1px);
}

.custom-checkbox input {
    accent-color: #0F172A;
}

.filter-checkbox-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.filter-checkbox-row {
    min-height: 20px;
}

.color-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-filter-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.color-filter-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08), 0 6px 14px rgba(17, 17, 17, 0.12);
}

.price-slider {
    width: 100%;
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    margin-top: 8px;
}

.filter-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.filter-input-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    color: #666;
}

.filter-number-input {
    width: 100%;
    min-height: 28px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 7px;
    font-size: 11px;
    outline: none;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.filter-number-input:hover,
.filter-number-input:focus {
    border-color: #b30000;
    background: #fffdfd;
    box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.08);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.category-title {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
}

.category-sort select {
    min-width: 170px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 12px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.category-sort select:hover,
.category-sort select:focus {
    border-color: #b30000;
    background: #fffdfd;
    box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.08);
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-apply-button {
    width: 100%;
    min-height: 46px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-clear-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #444;
    text-decoration: underline;
    text-underline-offset: 3px;
    border-radius: 999px;
    transition: color 0.18s ease, transform 0.18s ease;
}

.filter-clear-link:hover {
    color: #b30000;
    transform: translateY(-1px);
}

.category-clear-top-link {
    margin-right: 15px;
    font-size: 12px;
    text-decoration: underline;
}

.category-active-filters {
    margin-bottom: 20px;
}

.active-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 13px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.active-filter-chip:hover,
.active-filter-chip:focus-visible {
    border-color: rgba(179, 0, 0, 0.28);
    background: #fffafa;
    box-shadow: 0 8px 18px rgba(179, 0, 0, 0.08);
    transform: translateY(-1px);
}

.active-filter-remove {
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f7f1f1;
    color: #8b1a1a;
}

.filter-clear-chip {
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #eee2e2;
    background: #fff;
    text-decoration: none;
}

.category-pagination-summary {
    margin-bottom: 18px;
    color: #555;
    font-size: 14px;
}

.category-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.category-load-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid #e84aa6;
    background: linear-gradient(135deg, #ef5ab0 0%, #d93d92 100%);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 28px rgba(217, 61, 146, 0.24);
    transition: opacity 0.2s ease, transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.category-load-more-button:hover {
    color: #fff;
    filter: saturate(1.05);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 34px rgba(217, 61, 146, 0.34);
}

.category-load-more-button:focus-visible {
    outline: 3px solid rgba(232, 74, 166, 0.24);
    outline-offset: 3px;
}

.category-load-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    transition: transform 0.22s ease, background 0.22s ease;
}

.category-load-more-label {
    white-space: nowrap;
}

.category-load-more-button:hover .category-load-more-icon {
    transform: rotate(90deg) scale(1.08);
    background: rgba(255, 255, 255, 0.28);
}

.category-load-more-button.is-loading,
.category-load-more-button[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.72;
    transform: none;
    box-shadow: 0 10px 20px rgba(217, 61, 146, 0.18);
}

.category-load-more-button.is-loading .category-load-more-icon,
.category-load-more-button[aria-disabled="true"] .category-load-more-icon {
    animation: category-load-more-spin 0.9s linear infinite;
}

@keyframes category-load-more-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.category-pagination {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.category-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 14px;
}

.category-pagination-arrow {
    min-width: 40px;
    padding: 0 10px;
    font-size: 13px;
}

.category-pagination-link.active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.category-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 40px;
    color: #666;
    white-space: nowrap;
}

.category-mobile-toolbar,
.category-drawer-backdrop,
.category-filter-close {
    display: none;
}

.category-mobile-toolbar {
    gap: 10px;
    margin-bottom: 18px;
}

.category-mobile-trigger {
    flex: 1;
    min-height: 44px;
    border-radius: 6px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.category-mobile-trigger.secondary {
    background: #fff;
    color: #111;
}

.category-filter-close {
    border: 0;
    background: transparent;
    color: #111;
    font-size: 18px;
    cursor: pointer;
}

.category-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.category-chip-list {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    background: #f8f4ea;
    color: #111;
    border: 1px solid #efe6d2;
    font-size: 13px;
}

.category-chip.active {
    background: #111;
    border-color: #111;
    color: #fff;
}

.drawer-title {
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
}

.page-num.active, .page-num:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* =========================================
   PRODUCT DETAIL PAGE
   ========================================= */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumb {
    width: 80px;
    height: 106px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.thumb.active, .thumb:hover {
    opacity: 1;
    border: 1px solid #000;
}

.pdp-title {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.pdp-price-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pdp-price {
    font-size: 24px;
    font-weight: 600;
    color: #111;
}

.pdp-price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.pdp-badge-sale {
    background: #b30000;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    font-weight: bold;
}

.pdp-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.pdp-section {
    margin-bottom: 25px;
}

.pdp-section-title {
    font-size: 13px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.pdp-colors {
    display: flex;
    gap: 10px;
}

.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-circle.active {
    border-color: #000;
    box-shadow: 0 0 0 2px #fff inset;
}

.pdp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.size-guide-link {
    font-size: 12px;
    text-decoration: underline;
    color: #666;
}

.pdp-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn {
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.size-btn:hover:not(.disabled) {
    border-color: #8a7a69;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.1);
    transform: translateY(-2px);
    background: #faf8f5;
}

.size-btn.active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.size-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.pdp-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.quantity-picker {
    display: flex;
    border: 1px solid #ccc;
    height: 50px;
}

.qty-btn {
    width: 40px;
    background: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    font-size: 16px;
    outline: none;
}

.btn-primary-add {
    flex: 1;
    background: #b30000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary-add:hover {
    background: #800000;
}

.btn-heart-pdp {
    width: 50px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
}

.pdp-extras {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #444;
    margin-bottom: 15px;
}

.extra-item i {
    font-size: 18px;
    color: #111;
}

/* =========================================
   CART & CHECKOUT PAGE
   ========================================= */
.cart-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 420px);
    gap: 28px;
    margin: 28px auto 72px;
    align-items: start;
}

.cart-title {
    font-size: 28px;
    margin: 0 0 22px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #ece7df;
    letter-spacing: 0.03em;
}

.cart-items-section,
.cart-summary-section {
    min-width: 0;
}

.cart-item-list {
    display: grid;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
}

.cart-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1.5px solid var(--app-dock-border, #E2E8F0);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 30px var(--app-active-shadow, rgba(15, 23, 42, 0.04));
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    border-color: var(--app-primary, #BE123C);
    box-shadow: 0 16px 38px var(--app-active-shadow, rgba(190, 18, 60, 0.1));
}

.cart-item-img img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--app-dock-border, #E2E8F0);
    border-radius: 16px;
    display: block;
}

.cart-item-img a,
.cart-item-img-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.cart-item-img-link img {
    transition: transform 0.22s ease;
}

.cart-item-img-link:hover img {
    transform: scale(1.04);
}

.cart-item-title {
    font-size: 16px;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: 0.01em;
    color: var(--app-text, #1E293B);
}

.cart-item-title a,
.cart-item-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
    cursor: pointer;
}

.cart-item-title a:hover,
.cart-item-title-link:hover {
    color: var(--app-primary, #BE123C);
    text-decoration: underline;
}

.cart-item-meta {
    font-size: 13px;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.cart-item-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-item-meta span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--app-primary, #BE123C);
    flex: 0 0 auto;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: var(--app-primary, #BE123C);
}

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    align-self: center;
}

.cart-item-qty form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: var(--app-bg, #FFF7F8);
    border: 1.5px solid var(--app-dock-border, #E2E8F0);
}

.cart-item-qty button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--app-dock-border, #E2E8F0);
    border-radius: 50%;
    background: #ffffff;
    color: var(--app-text, #1E293B);
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cart-item-qty button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--app-active-shadow, rgba(190, 18, 60, 0.2));
    background: var(--app-primary, #BE123C);
    color: var(--app-active-color, #FFFFFF);
    border-color: var(--app-primary, #BE123C);
}

.cart-item-qty-value {
    min-width: 26px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--app-text, #1E293B);
}

.cart-item-price {
    font-weight: 800;
    font-size: 20px;
    color: var(--app-text, #1E293B);
    letter-spacing: -0.02em;
}

.cart-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.cart-shipping-form {
    margin-top: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-field {
    padding: 12px 15px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
}

.input-field.full-width {
    grid-column: 1 / -1;
}

.summary-box {
    position: sticky;
    top: 110px;
    padding: 28px;
    border-radius: 26px;
    border: 1px solid #ece3d8;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(251,247,242,0.98) 100%);
    box-shadow: 0 22px 60px rgba(50, 33, 16, 0.08);
}

.summary-box h2 {
    font-size: 18px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #4b5563;
    gap: 16px;
}

.summary-divider {
    border: none;
    border-top: 1px solid #e8ddd0;
    margin: 20px 0;
}

.summary-line.total {
    font-size: 20px;
    font-weight: 800;
    color: #111;
}

.btn-checkout {
    width: 100%;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--app-primary, #BE123C) 0%, var(--app-badge-bg, #9F1239) 100%);
    color: var(--app-active-color, #FFFFFF);
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 16px 34px var(--app-active-shadow, rgba(190, 18, 60, 0.25));
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px var(--app-active-shadow, rgba(190, 18, 60, 0.35));
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 24px;
    color: #666;
}

@media (max-width: 1100px) {
    .cart-page-layout {
        grid-template-columns: 1fr;
    }

    .summary-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-page-layout {
        margin: 18px auto 48px;
        gap: 18px;
    }

    .cart-title {
        font-size: 22px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .cart-item {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
        border-radius: 18px;
    }

    .cart-item-side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 6px;
    }

    .cart-item-title {
        font-size: 14px;
    }

    .cart-item-price {
        font-size: 18px;
    }

    .summary-box {
        padding: 22px 18px;
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .cart-item {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    background: var(--app-bg, #FFF7F8);
    border: 1.5px solid var(--app-dock-border, #E2E8F0);
}

.cart-item-qty button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--app-dock-border, #E2E8F0);
    border-radius: 50%;
    background: #ffffff;
    color: var(--app-text, #1E293B);
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cart-item-qty button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--app-active-shadow, rgba(190, 18, 60, 0.2));
    background: var(--app-primary, #BE123C);
    color: var(--app-active-color, #FFFFFF);
    border-color: var(--app-primary, #BE123C);
}

.cart-item-qty-value {
    min-width: 26px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--app-text, #1E293B);
}

.cart-item-price {
    font-weight: 800;
    font-size: 20px;
    color: var(--app-text, #1E293B);
    letter-spacing: -0.02em;
}

.cart-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.cart-shipping-form {
    margin-top: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-field {
    padding: 12px 15px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
}

.input-field.full-width {
    grid-column: 1 / -1;
}

.summary-box {
    position: sticky;
    top: 110px;
    padding: 28px;
    border-radius: 26px;
    border: 1px solid #ece3d8;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(251,247,242,0.98) 100%);
    box-shadow: 0 22px 60px rgba(50, 33, 16, 0.08);
}

.summary-box h2 {
    font-size: 18px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #4b5563;
    gap: 16px;
}

.summary-divider {
    border: none;
    border-top: 1px solid #e8ddd0;
    margin: 20px 0;
}

.summary-line.total {
    font-size: 20px;
    font-weight: 800;
    color: #111;
}

.btn-checkout {
    width: 100%;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--app-primary, #BE123C) 0%, var(--app-badge-bg, #9F1239) 100%);
    color: var(--app-active-color, #FFFFFF);
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 16px 34px var(--app-active-shadow, rgba(190, 18, 60, 0.25));
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px var(--app-active-shadow, rgba(190, 18, 60, 0.35));
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 24px;
    color: #666;
}

@media (max-width: 1100px) {
    .cart-page-layout {
        grid-template-columns: 1fr;
    }

    .summary-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-page-layout {
        margin: 18px auto 48px;
        gap: 18px;
    }

    .cart-title {
        font-size: 22px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .cart-item {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
        border-radius: 18px;
    }

    .cart-item-side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 6px;
    }

    .cart-item-title {
        font-size: 14px;
    }

    .cart-item-price {
        font-size: 18px;
    }

    .summary-box {
        padding: 22px 18px;
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .cart-item {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .cart-item-qty form {
        gap: 4px;
        padding: 4px;
    }

    .cart-item-qty button {
        width: 34px;
        height: 34px;
    }

    .cart-item-side {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .summary-line,
    .summary-line.total {
        font-size: 14px;
    }

    .summary-line.total {
        font-size: 18px;
    }
}

/* =========================================
   MEGA MENU STYLES (NEW)
   ========================================= */
.nav-container {
    background: #fff;
}

.main-nav {
    position: relative;
    width: 100%;
    padding: 0 40px;
}

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

.menu-item {
    /* No padding, move to link */
}


.menu-item {
    /* No padding, move to link */
}

.menu-item-row {
    display: flex;
    align-items: stretch;
}

.menu-item-link {
    position: relative;
    display: inline-block;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    padding: 10px 12px;
    transition: color 0.22s ease, transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
    flex: 1;
    transform-origin: center bottom;
}

.menu-item-link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 6px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0.8;
    transition: transform 0.22s ease;
}

.menu-item-link:hover {
    color: #000;
    transform: translateY(-1px);
}

.menu-item-link:hover::after,
.menu-item.has-dropdown:hover > .menu-item-row .menu-item-link::after,
.menu-item-link:focus-visible::after {
    transform: scaleX(1);
}

.menu-item-link:active {
    transform: translateY(1px) scale(0.985);
}

.menu-item-link:focus-visible {
    outline: none;
    color: #000;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.12);
    border-radius: 2px;
}

/* Novinky Menu Item (New In) */
.menu-item.menu-new .menu-item-link,
.menu-item a[href*="/category/new-in"],
a.menu-item-link[href*="/category/new-in"] {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    color: #DC2626 !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}

.menu-item.menu-new .menu-item-link:hover,
.menu-item.menu-new.has-dropdown:hover > .menu-item-row .menu-item-link,
.menu-item a[href*="/category/new-in"]:hover {
    color: #B91C1C !important;
}

.menu-item.menu-new .menu-item-link::after,
.menu-item a[href*="/category/new-in"]::after {
    background: #DC2626 !important;
}

/* Popular Menu Item (Nejčastěji kupované) */
.menu-item.menu-popular .menu-item-link,
.menu-item a[href*="/category/nejcasteji-kupovane"],
a.menu-item-link[href*="/category/nejcasteji-kupovane"] {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    color: #EA580C !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    text-decoration: none !important;
}

.menu-item.menu-popular .menu-item-link::before,
.menu-item a[href*="/category/nejcasteji-kupovane"]::before {
    content: none !important;
    display: none !important;
}

.menu-item.menu-popular .menu-item-link::after,
.menu-item a[href*="/category/nejcasteji-kupovane"]::after {
    background: #EA580C !important;
}

.menu-item.menu-popular .menu-item-link:hover,
.menu-item.menu-popular.has-dropdown:hover > .menu-item-row .menu-item-link,
.menu-item a[href*="/category/nejcasteji-kupovane"]:hover {
    color: #C2410C !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Sale Menu Item (Výprodej) */
.menu-item.menu-sale .menu-item-link {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    background: linear-gradient(135deg, var(--app-active-bg, #EC4899) 0%, var(--app-primary, #BE185D) 100%);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 14px var(--app-active-shadow, rgba(236, 72, 153, 0.35));
}

.menu-item.menu-sale .menu-item-link::after {
    display: none;
}

.menu-item.menu-sale .menu-item-link:hover,
.menu-item.menu-sale.has-dropdown:hover > .menu-item-row .menu-item-link {
    background: linear-gradient(135deg, var(--app-active-bg, #EC4899) 0%, var(--app-primary, #BE185D) 100%);
    color: #fff !important;
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 6px 18px var(--app-active-shadow, rgba(236, 72, 153, 0.45));
}

.menu-item.menu-sale .menu-item-link:active {
    transform: translateY(1px) scale(0.985);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1024px) {
    body.public-page-home {
        --home-shell-gutter: 24px;
    }

    /* Header Responsive */
    .site-top-info-bar {
        overflow: hidden;
    }

    .site-top-info-track {
        justify-content: flex-start;
        gap: 0;
        width: max-content;
        max-width: none;
        min-height: 36px;
        padding: 7px 0;
        font-size: 11px;
        overflow: visible;
        animation: siteTopInfoMarquee 16s linear infinite;
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }

    .site-top-info-set,
    .site-top-info-set[aria-hidden="true"] {
        display: inline-flex;
        justify-content: flex-start;
        flex: 0 0 auto;
        width: max-content;
        gap: 24px;
        padding: 0 12px;
    }

    .site-top-socials a {
        width: 24px;
        height: 24px;
    }

    @media (prefers-reduced-motion: reduce) {
        .site-top-info-track {
            width: 100%;
            overflow-x: auto;
            animation: none;
        }

        .site-top-info-set[aria-hidden="true"] {
            display: none;
        }
    }

    .main-header {
        padding: 10px 16px 12px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
    }

    .header-contact,
    .header-actions {
        display: flex;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 28px;
        justify-self: flex-start;
    }

    .header-contact i.fa-phone, .contact-details {
        display: none; /* Ẩn số điện thoại trên mobile để tiết kiệm diện tích */
    }

    .header-logo {
        display: block;
        min-width: 0;
    }

    .logo {
        gap: 10px;
        justify-content: center;
    }

    .logo img {
        height: 36px;
    }

    .logo-text {
        display: inline-block;
        max-width: 100%;
        white-space: nowrap;
        font-size: clamp(18px, 6vw, 32px) !important;
        letter-spacing: clamp(0.6px, 0.45vw, 1.5px);
        line-height: 1.05;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.08);
    }

    .search-form {
        display: none; /* Ẩn ô tìm kiếm trên mobile, có thể làm nút bấm xổ ra sau */
    }

    .header-actions > .search-live-shell {
        display: none;
    }

    .header-actions {
        min-width: 44px;
        justify-content: flex-end;
    }

    .header-icons {
        display: flex;
        gap: 0;
        align-items: center;
        justify-content: flex-end;
    }

    .action-item i, .action-btn i {
        font-size: 26px;
    }

    .header-icons > .action-item:not(.lang-dropdown-wrapper),
    .cart-dropdown-wrapper {
        display: none;
    }

    .lang-dropdown-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lang-dropdown {
        right: 0;
        left: auto;
        min-width: 196px;
        max-width: min(240px, calc(100vw - 20px));
    }

    .lang-dropdown a,
    .lang-dropdown button {
        padding: 10px 14px;
        font-size: 12px;
    }

    .action-item,
    .action-btn {
        justify-content: center;
    }

    .action-text {
        display: none; /* Ẩn chữ bên dưới Icon trên màn hình nhỏ */
    }

    .cart-preview-dropdown {
        display: none;
    }

    .nav-container {
        display: none;
        position: fixed;
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
        bottom: calc(var(--mobile-bottom-nav-space) - 1px);
        width: auto !important;
        max-width: none !important;
        margin: 0;
        box-sizing: border-box;
        max-height: min(68vh, 560px);
        overflow: auto;
        background: #fff !important;
        border-top: 1px solid #ece3d8;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -20px 48px rgba(26, 19, 13, 0.16);
        z-index: 1300;
    }

    .nav-container.is-open {
        display: block;
    }

    .mobile-nav-backdrop.is-open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(17, 17, 17, 0.24);
        z-index: 1250;
    }

    .mobile-search-row {
        display: block;
        padding: 0 16px 14px;
        border-top: 1px solid #f3f3f3;
    }

    .mobile-search-shell {
        width: 100%;
    }

    .mobile-search-form {
        display: flex;
        width: 100%;
        padding: 0 14px;
        height: 46px;
        border: 1px solid #e8ddd2;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(24, 18, 12, 0.05);
    }

    .mobile-search-form input {
        font-size: 14px;
    }

    .search-live-results-mobile {
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        border-radius: 18px;
    }

    /* Menu Navigation Responsive */
    .main-nav {
        padding: 12px 14px 18px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .menu-list {
        display: none; /* Mặc định ẩn, bật lên bằng JS */
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        max-width: 100%;
        background: #fff;
        overflow-x: hidden;
    }

    .menu-list.active {
        display: flex;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: var(--mobile-bottom-nav-offset);
        isolation: isolate;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
        min-height: 74px;
        padding: 8px 10px calc(9px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #ece3d8;
        border-radius: 20px;
        box-shadow: 0 -16px 34px rgba(26, 19, 13, 0.1);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        z-index: 1400;
        overflow: hidden;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .mobile-bottom-nav::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: -14px;
        height: 24px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.58);
        filter: blur(14px);
        opacity: 0.95;
        z-index: -1;
        pointer-events: none;
    }

    body.has-mobile-bottom-nav main,
    body.has-mobile-bottom-nav .site-footer {
        padding-bottom: var(--mobile-bottom-nav-space);
    }

    .menu-item {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
        overflow: hidden;
    }

    .menu-item-row {
        align-items: center;
        width: 100%;
        min-width: 0;
    }

    .menu-item-link {
        display: block;
        padding: 15px 10px;
        width: 100%;
        min-width: 0;
        border-radius: 12px;
        overflow-wrap: anywhere;
        transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
    }

    .menu-item-link::after {
        display: none;
    }

    .menu-item-link:hover,
    .menu-item-link:active,
    .menu-item-link:focus-visible,
    .menu-item.active > .menu-item-row .menu-item-link,
    .menu-item.has-dropdown:hover > .menu-item-row .menu-item-link {
        background: transparent;
        color: var(--app-primary, #111);
        padding-left: 12px;
        transform: none;
    }

    .menu-item.menu-sale .menu-item-link {
        width: 100%;
        border-radius: 12px;
        padding: 15px 16px;
    }

    .menu-item.active > .menu-item-row {
        background: rgba(255, 255, 255, 0.85);
        border-radius: 14px;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        border-radius: 12px;
        transition: background-color 0.18s ease, color 0.18s ease;
    }

    .menu-item.active > .menu-item-row .submenu-toggle,
    .submenu-toggle:hover,
    .submenu-toggle:focus-visible {
        background: var(--app-active-bg, rgba(0, 0, 0, 0.06));
        color: var(--app-active-color, #111);
    }

    .menu-item.active .submenu-toggle i {
        transform: rotate(180deg);
    }

    /* Mega Menu Dropdown Responsive */
    .mega-menu-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Dùng JS thả xuống kiểu Accordion */
        border-top: none;
        background: #fafafa;
        padding-left: 15px;
    }

    .menu-item.active .mega-menu-dropdown {
        display: block;
    }

    .mega-menu-content {
        padding: 15px 0;
        flex-direction: column;
        gap: 20px;
    }

    .mega-menu-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mega-menu-banner {
        display: none;
    }

    /* Slider Responsive: mobile/tablet dùng chuẩn banner ngang 16:9 */
    .hero-slider {
        aspect-ratio: 16 / 9;
        background: transparent;
    }

    .slide img {
        object-fit: cover;
        object-position: center;
        background: transparent;
    }

    /* Product Grid Responsive */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-product-area,
    .product-grid,
    .product-card {
        overflow-x: hidden;
    }

    .category-page-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar-filters {
        display: none;
    }

    .category-mobile-toolbar {
        display: flex;
        align-items: stretch;
    }

    .category-chip-list {
        display: flex;
    }

    .category-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "title title"
            "toolbar sort";
        align-items: stretch;
        gap: 12px;
    }

    .category-title {
        grid-area: title;
    }

    .category-mobile-toolbar {
        grid-area: toolbar;
        margin-bottom: 0;
    }

    .category-mobile-trigger.secondary {
        display: none;
    }

    .category-sort {
        grid-area: sort;
        width: 100%;
        display: flex;
        align-items: stretch;
    }

    .category-sort select {
        width: 100%;
        min-height: 44px;
    }

    .category-pagination {
        justify-content: center;
        gap: 5px;
        margin-top: 22px;
        padding: 0 2px 8px;
        -webkit-overflow-scrolling: touch;
    }

    .category-load-more-wrap {
        margin-top: 20px;
    }

    .category-load-more-button {
        width: 100%;
        min-width: 0;
        padding: 0 20px;
    }

    .category-pagination-link {
        min-width: 32px;
        min-height: 32px;
        padding: 0 8px;
        font-size: 12px;
        flex: 0 0 auto;
    }

    .category-pagination-arrow {
        min-width: 32px;
        padding: 0 8px;
        font-size: 11px;
    }

    .category-pagination-ellipsis {
        min-width: 14px;
        min-height: 32px;
        font-size: 11px;
        flex: 0 0 auto;
    }

    .category-clear-top-link {
        display: none;
    }

    .category-drawer-backdrop {
        position: fixed;
        inset: 0;
        display: none;
        justify-content: flex-start;
        align-items: stretch;
        background: rgba(15, 23, 42, 0.45);
        z-index: 1200;
    }

    .category-drawer-backdrop.active {
        display: flex;
    }

    .category-drawer-panel {
        width: min(92vw, 380px);
        height: 100%;
        background: #fff;
        padding: 18px 16px 22px;
        overflow-y: auto;
        box-shadow: 12px 0 30px rgba(15, 23, 42, 0.15);
    }

    .category-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        min-height: 40px;
    }

    .category-panel-header {
        margin-bottom: 16px;
    }
}

@media (max-width: 576px) {
    .category-pagination {
        gap: 4px;
        justify-content: center;
        padding-bottom: 6px;
    }

    .category-pagination-link {
        min-width: 29px;
        min-height: 29px;
        padding: 0 7px;
        border-radius: 5px;
        font-size: 11px;
    }

    .category-pagination-arrow {
        min-width: 29px;
        padding: 0 7px;
        font-size: 10px;
    }

    .category-pagination-ellipsis {
        min-width: 12px;
        min-height: 29px;
        font-size: 10px;
    }

    body.public-page-home {
        --home-shell-gutter: 16px;
    }

    /* Mobile Siêu Nhỏ */
    .hero-slider {
        aspect-ratio: 16 / 9;
        background: transparent;
    }

    .main-header {
        padding: 10px 8px 12px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
    }

    .header-logo .logo img {
        height: 30px;
    }

    .logo-text {
        font-size: clamp(16px, 5.8vw, 24px) !important;
        letter-spacing: clamp(0.4px, 0.35vw, 1px);
    }
    
    .action-item i, .action-btn i {
        font-size: 22px;
    }

    .mobile-search-row {
        padding: 0 12px 12px;
    }

    .mobile-search-form {
        height: 42px;
        padding: 0 12px;
    }

    .mobile-search-form input {
        font-size: 13px;
    }

    .search-live-item {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 12px;
    }

    .search-live-thumb {
        width: 54px;
        border-radius: 10px;
    }

    .search-live-name {
        font-size: 13px;
    }

    .search-live-price {
        font-size: 12px;
    }

    .mobile-bottom-nav {
        min-height: 68px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .mobile-bottom-nav-item span {
        font-size: 10px;
    }

    /* Product Grid Mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .container.category-page-layout {
        padding-left: 12px;
        padding-right: 12px;
    }

    .product-card .product-meta {
        gap: 8px;
    }

    .product-card .product-attributes {
        max-width: 56%;
    }

    .product-card .variant-swatches,
    .product-card .size-swatches,
    .product-card .color-swatches {
        gap: 3px;
    }

    .container {
        padding: 0 12px;
    }

    .category-title {
        font-size: 22px;
    }

    .category-mobile-trigger,
    .category-chip {
        font-size: 12px;
    }

    .product-title {
        font-size: 11px;
    }

    .price-current {
        font-size: 12px;
    }

    .cart-text {
        font-size: 11px;
    }

    .btn-heart {
        width: 28px;
        height: 28px;
        font-size: 12px;
        bottom: 5px;
        right: 5px;
    }
}

.search-page {
    padding: 24px 0 48px;
    background: #fff;
}

.search-page-header {
    margin-bottom: 24px;
}

.search-page-breadcrumb {
    margin: 0 0 10px;
    color: #7b6c5f;
    font-size: 13px;
}

.search-page-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: 0.03em;
    color: #1c1713;
}

.search-page-summary {
    margin: 12px 0 0;
    color: #5f5348;
    font-size: 15px;
}

.search-empty-state {
    padding: 28px 24px;
    border: 1px solid #ece3d8;
    border-radius: 24px;
    background: #fbf7f1;
    color: #4d433b;
}

.search-empty-state p {
    margin: 0;
}

.search-empty-state p + p {
    margin-top: 8px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.search-result-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-image-link {
    display: block;
    aspect-ratio: 3 / 4;
    background: #f8f4ef;
    border-radius: 20px;
    overflow: hidden;
}

.search-result-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-result-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-result-name {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.search-result-price {
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .search-results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 576px) {
    .search-page {
        padding: 18px 0 36px;
    }

    .search-page-summary {
        font-size: 14px;
    }

    .search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .search-result-image-link {
        border-radius: 16px;
    }

    .search-result-name {
        font-size: 13px;
    }

    .search-result-price {
        font-size: 14px;
    }
}

/* =========================================
   IMAGE OPTIMIZATION – LQIP & RESPONSIVE
   ========================================= */

/* Wrapper with aspect-ratio to prevent layout shift */
.optimized-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

/* LQIP blur placeholder */
.optimized-image-lqip {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(15px);
    transform: scale(1.1); /* prevent blur edge artifacts */
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

/* Real image inside <picture> */
.optimized-image-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.optimized-image-wrapper picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fade transition when image loaded */
.optimized-image-wrapper.is-loaded .optimized-image-lqip {
    opacity: 0;
}

/* Mobile header fit guard: keep menu, logo and language switcher in one row. */
@media (max-width: 1024px) {
    .site-header {
        overflow: visible;
        isolation: isolate;
        z-index: 2147481000;
    }

    body.has-promo-modal-open .site-header,
    body.review-modal-open .site-header,
    body:has(#reviewWriteModal.is-active) .site-header,
    body:has(#ttfcOverlay:not([hidden]):not(.is-hidden)) .site-header,
    body:has(.ttfc-overlay:not([hidden]):not(.is-hidden)) .site-header {
        z-index: 100 !important;
    }

    .site-top-info-bar {
        height: 34px;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .site-top-info-track {
        width: max-content;
        max-width: none;
        height: 34px;
        min-height: 34px;
        padding: 6px 0;
        overflow: hidden;
        flex-wrap: nowrap;
        justify-content: flex-start;
        animation: siteTopInfoMarquee 16s linear infinite;
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }

    .site-top-info-set,
    .site-top-info-set[aria-hidden="true"] {
        width: max-content;
        max-width: none;
        min-width: max-content;
        display: inline-flex;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 24px;
        padding: 0 12px;
    }

    .site-top-info-item {
        flex: 0 0 auto;
        min-width: max-content;
        max-width: none;
        justify-content: center;
        gap: 5px;
        overflow: visible;
        font-size: clamp(10px, 2.9vw, 12px);
        white-space: nowrap;
        text-overflow: clip;
    }

    .site-top-info-item i {
        flex: 0 0 auto;
        font-size: 12px;
    }

    .site-top-socials,
    .site-top-info-item:nth-child(n+4) {
        display: inline-flex;
    }

    .main-header,
    body.public-page-home .site-header .main-header {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 6px;
        padding: 10px max(12px, env(safe-area-inset-left)) 11px max(12px, env(safe-area-inset-right));
        margin: 0;
        position: relative;
        overflow: visible;
    }

    .header-contact,
    .header-actions {
        width: 44px;
        min-width: 0;
        max-width: 44px;
    }

    .header-contact {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 44px;
        max-width: 44px;
        gap: 0;
        justify-content: flex-start;
        z-index: 3;
    }

    .header-actions {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        justify-self: end !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 0 !important;
        overflow: visible !important;
        z-index: 4 !important;
    }

    .header-actions .search-live-shell {
        display: none !important;
    }

    .mobile-menu-toggle,
    .lang-action-btn {
        width: 38px;
        height: 38px;
        max-height: 38px;
        min-width: 38px;
        padding: 0;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        gap: 0;
        box-sizing: border-box;
        transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
    }

    .lang-action-btn {
        position: relative;
        width: 34px !important;
        height: 34px !important;
        max-height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        border: 1px solid #eadfce;
        border-radius: 50%;
        background: #fffdf9;
        box-shadow: 0 4px 10px rgba(25, 18, 12, 0.08);
        overflow: hidden;
    }

    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus-visible,
    .lang-action-btn:hover,
    .lang-action-btn:focus-visible,
    .lang-dropdown-wrapper.is-open .lang-action-btn {
        transform: translateY(-1px) scale(1.04);
        background: #fff;
        border-color: #d9c8ad;
        box-shadow: none;
        color: #111827;
        outline: none;
    }

    .mobile-menu-toggle:active,
    .lang-action-btn:active {
        transform: translateY(0) scale(0.97);
    }

    .lang-action-btn::after {
        content: none !important;
        display: none !important;
    }

    .mobile-menu-toggle {
        font-size: 25px;
        line-height: 1;
    }

    .header-icons {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0 !important;
    }

    .header-icons > .action-item:not(.lang-dropdown-wrapper),
    .header-icons > .cart-dropdown-wrapper {
        display: none !important;
    }

    .header-icons > .lang-dropdown-wrapper,
    .header-icons > .action-item.lang-dropdown-wrapper {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        overflow: visible !important;
    }

    .header-icons > .lang-dropdown-wrapper .action-text,
    .lang-action-btn .action-text {
        display: none !important;
    }

    .lang-dropdown-wrapper .lang-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        left: auto;
        right: 0;
        width: min(210px, calc(100vw - 24px));
        min-width: 0;
        max-width: calc(100vw - 24px);
        z-index: 2147483000;
        transform: none;
        overflow: visible;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    }

    .lang-dropdown-wrapper:hover .lang-dropdown,
    .lang-dropdown-wrapper:focus-within .lang-dropdown,
    .lang-dropdown-wrapper.is-open .lang-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .lang-dropdown a,
    .lang-dropdown button {
        padding: 11px 14px;
        font-size: 13px;
    }

    .current-lang-flag {
        width: 23px;
        height: 23px;
        min-width: 23px;
        max-width: 23px;
        min-height: 23px;
        max-height: 23px;
        display: block;
        flex: 0 0 23px;
        object-fit: cover;
        border-radius: 50%;
        border: 0;
        transition: transform 0.18s ease;
    }

    .lang-action-btn:hover .current-lang-flag,
    .lang-action-btn:focus-visible .current-lang-flag,
    .mobile-lang-switcher.is-open .current-lang-flag {
        transform: scale(1.06);
    }

    .header-logo {
        justify-self: center;
        width: 100%;
        min-width: 0;
        padding: 0 4px;
        overflow: hidden;
        position: relative;
        z-index: 2;
    }

    .logo {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        justify-content: center;
    }

    .logo img {
        height: 30px;
        flex: 0 0 auto;
    }

    .logo-text {
        width: auto;
        max-width: 100%;
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: clamp(22px, 7vw, 30px) !important;
        letter-spacing: clamp(0.5px, 0.55vw, 1.2px);
    }

    .mobile-search-row {
        padding: 0 max(12px, env(safe-area-inset-left)) 12px max(12px, env(safe-area-inset-right));
        overflow: visible;
    }
}

@media (max-width: 600px) {
    .site-header .header-logo {
        padding-left: 6px;
        padding-right: 6px;
    }

    .site-header .main-header > .mobile-lang-switcher.lang-dropdown-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        grid-column: 3 !important;
        align-self: center !important;
    }
}

@media (max-width: 380px) {
    .main-header,
    body.public-page-home .site-header .main-header {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 4px;
        padding-inline: max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right));
    }

    .header-contact {
        left: auto;
    }

    .header-actions {
        right: max(8px, env(safe-area-inset-right));
    }

    .mobile-lang-switcher {
        width: 34px;
        height: 34px;
        min-width: 34px;
        max-width: 34px;
        inset: auto !important;
        right: auto;
        left: auto;
        top: auto;
    }

    .site-header .main-header > .mobile-lang-switcher.lang-dropdown-wrapper {
        top: auto !important;
        right: auto !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
    }

    .mobile-lang-switcher .lang-dropdown {
        top: calc(100% + 8px);
        left: auto;
        right: 0;
        width: min(200px, calc(100vw - 16px));
        max-width: calc(100vw - 16px);
    }

    .header-actions,
    .header-icons,
    .lang-dropdown-wrapper {
        width: 38px;
        max-width: 38px;
    }

    .header-contact {
        max-width: 80px;
    }

    .mobile-menu-toggle,
    .lang-action-btn {
        width: 34px !important;
        height: 34px !important;
        max-height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }

    .logo img {
        height: 26px;
    }

    .header-logo {
        padding: 0 2px;
    }

    .logo-text {
        font-size: clamp(19px, 6.6vw, 25px) !important;
        letter-spacing: 0.4px;
    }
}
html.newsletter-discount-open {
    overflow: hidden;
}

.newsletter-discount-modal[hidden] {
    display: none !important;
}

.newsletter-discount-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.newsletter-discount-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.52);
    backdrop-filter: blur(8px);
}

.newsletter-discount-panel {
    position: relative;
    width: min(920px, calc(100vw - 32px));
    max-height: min(720px, calc(100vh - 40px));
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.newsletter-discount-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid #111827;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform .18s ease, background .18s ease;
}

.newsletter-discount-close:hover {
    transform: scale(1.06);
    background: #fff;
}

.newsletter-discount-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.newsletter-discount-copy {
    padding: 84px 54px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-discount-copy h2 {
    margin: 0 0 20px;
    color: #050816;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 500;
}

.newsletter-discount-copy p {
    margin: 0 0 18px;
    color: #111827;
    font-size: 16px;
    line-height: 1.55;
}

.newsletter-discount-form {
    margin-top: 8px;
}

.newsletter-field {
    position: relative;
    margin-bottom: 16px;
}

.newsletter-field input {
    width: 100%;
    height: 48px;
    border: 2px solid #111827;
    background: #fff;
    color: #111827;
    font-size: 15px;
    padding: 16px 14px 6px;
    outline: none;
    border-radius: 0;
}

.newsletter-field label {
    position: absolute;
    left: 14px;
    top: 14px;
    color: #6b7280;
    font-size: 15px;
    pointer-events: none;
    transition: transform .16s ease, font-size .16s ease, color .16s ease;
}

.newsletter-field input:focus + label,
.newsletter-field input:not(:placeholder-shown) + label {
    transform: translateY(-10px);
    font-size: 11px;
    color: #111827;
}

.newsletter-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 4px 0 22px;
    color: #111827;
    font-size: 13px;
    line-height: 1.45;
}

.newsletter-consent input {
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: #111827;
}

.newsletter-consent a {
    color: #111827;
    font-weight: 700;
    text-decoration: underline;
}

.newsletter-discount-submit {
    width: 150px;
    height: 48px;
    margin: 0 auto 18px;
    border: 0;
    background: #000;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, background .18s ease;
}

.newsletter-discount-submit:hover {
    transform: translateY(-1px);
    background: #1f2937;
}

.newsletter-discount-submit:disabled {
    opacity: .62;
    cursor: wait;
}

.newsletter-discount-link {
    display: block;
    margin: 0 auto;
    border: 0;
    background: transparent;
    color: #4b5563;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
}

.newsletter-discount-message {
    min-height: 0;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.newsletter-discount-message.is-success,
.newsletter-discount-message.is-error {
    padding: 12px 14px;
}

.newsletter-discount-message.is-success {
    background: #ecfdf5;
    color: #065f46;
}

.newsletter-discount-message.is-success strong {
    display: block;
    color: #111827;
    font-size: 20px;
    letter-spacing: .08em;
}

.newsletter-discount-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-bottom: 8px;
}

.newsletter-discount-code-row input {
    min-width: 0;
    height: 42px;
    border: 1px dashed #047857;
    background: #fff;
    padding: 0 10px;
    font: 800 16px Arial, sans-serif;
    letter-spacing: .06em;
    color: #111827;
}

.newsletter-discount-code-row button {
    height: 42px;
    border: 0;
    background: #111827;
    color: #fff;
    padding: 0 14px;
    font-weight: 800;
    cursor: pointer;
}

.newsletter-discount-message.is-error {
    background: #fef2f2;
    color: #991b1b;
}

.newsletter-discount-media {
    min-height: 560px;
    background: #f8d2dc;
}

.newsletter-discount-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 760px) {
    .newsletter-discount-modal {
        padding: 14px;
    }

    .newsletter-discount-panel {
        max-height: calc(100vh - 28px);
        overflow-y: auto;
    }

    .newsletter-discount-content {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .newsletter-discount-copy {
        padding: 66px 24px 28px;
    }

    .newsletter-discount-copy h2 {
        font-size: 24px;
    }

    .newsletter-discount-media {
        min-height: 0;
        aspect-ratio: 3 / 4;
        order: -1;
    }
}

/* ==========================================================================
   PREMIUM MOBILE & TABLET APP (APK) DESIGN SYSTEM
   ========================================================================== */

/* 1. Reset & Touch UX for Native App feel */
html.is-apk-app,
body.is-apk-app {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    overscroll-behavior-y: contain;
}

html.is-apk-app input,
html.is-apk-app textarea,
html.is-apk-app [contenteditable="true"] {
    user-select: text;
}



/* 3. Luxury Product Feed on Mobile & Tablet */
@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 4px 0 !important;
    }

    .product-card {
        border-radius: 16px !important;
        background: #FFFFFF !important;
        border: 1px solid rgba(226, 232, 240, 0.7) !important;
        box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03) !important;
        overflow: hidden !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .product-card:active {
        transform: scale(0.985);
    }

    .product-card .product-image,
    .product-card .product-thumb-wrapper {
        border-radius: 14px 14px 0 0 !important;
        aspect-ratio: 3 / 4 !important;
    }

    .product-card .product-info {
        padding: 10px 10px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .product-card .product-meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 3px !important;
        width: 100% !important;
    }

    .product-card .product-summary {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        min-width: 0 !important;
    }

    /* HÀNG 1: Tên sản phẩm viết thường, gọn gàng */
    .product-card .product-title {
        width: 100% !important;
        margin: 0 !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;
        color: #18181B !important;
        text-transform: none !important;
        letter-spacing: 0.01em !important;
        word-break: break-word !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        min-height: 34px !important;
    }

    .product-card .product-title a {
        color: #18181B !important;
        text-decoration: none !important;
        font-weight: 500 !important;
    }

    /* HÀNG 2: Giá sản phẩm */
    .product-card .product-pricing {
        width: 100% !important;
        margin: 2px 0 4px 0 !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 6px !important;
    }

    .product-card .price-current {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: var(--app-primary, #EC4899) !important;
        line-height: 1.2 !important;
    }

    .product-card .price-old {
        font-size: 11px !important;
        color: #94A3B8 !important;
        text-decoration: line-through !important;
    }

    /* KHỐI ATTRIBUTES (Size & Màu) */
    .product-card .product-attributes {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        margin-top: 1px !important;
    }

    /* HÀNG 3: Size (Kích thước dạng ô viền đen mỏng) */
    .product-card .size-swatches,
    .product-card .variant-swatches {
        order: 1 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        align-items: center !important;
        margin-top: 0 !important;
        width: 100% !important;
    }

    .product-card .size-swatch,
    .product-card .variant-swatch {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1px 5px !important;
        min-width: 24px !important;
        height: 19px !important;
        border: 1px solid #18181B !important;
        border-radius: 2px !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
        color: #18181B !important;
        background: #FFFFFF !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    /* HÀNG 4: Màu sắc (Các chấm tròn xếp ngang bên dưới) */
    .product-card .color-swatches {
        order: 2 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        align-items: center !important;
        margin-top: 3px !important;
        width: 100% !important;
    }

    .product-card .color-swatches .swatch {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        border: 1px solid rgba(0, 0, 0, 0.15) !important;
        display: inline-block !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
        flex-shrink: 0 !important;
    }
}

/* Tablet Responsive Optimization (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }

    .product-card {
        border-radius: 18px !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    }

    .container {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* 4. Streamlined In-App Experience (.is-apk-app) */
html.is-apk-app .site-top-info-bar {
    display: none !important; /* Hide web marquee banner inside APK for cleaner screen */
}

html.is-apk-app .site-footer {
    padding-bottom: calc(var(--mobile-bottom-nav-space, 80px) + 20px) !important;
}

html.is-apk-app ::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 5. Mobile Mega Menu & Accordion Enhancements */
.mega-mobile-view-all-row {
    display: none;
}

@media (max-width: 1024px) {
    .menu-item-row {
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-item.has-dropdown > .menu-item-row {
        position: relative;
    }

    .mega-mobile-view-all-row {
        display: block;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px dashed #e2e8f0;
    }

    .mega-mobile-view-all-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        background: linear-gradient(135deg, #f8fafc, #edf2f7);
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        font-weight: 700;
        font-size: 13px;
        color: #0F172A !important;
        transition: all 0.2s ease;
    }

    .mega-mobile-view-all-link:active {
        transform: scale(0.98);
        background: #e2e8f0;
    }

    .mega-mobile-view-all-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 6px;
        background: #2563EB;
        color: #fff;
        font-size: 11px;
    }

    .mega-mobile-view-all-arrow {
        margin-left: auto;
        font-size: 12px;
        color: #64748b;
    }

    .mega-menu-dropdown {
        border-radius: 0 0 14px 14px;
    }
}

/* ==========================================================================
   🌸 MOBILE BOTTOM NAV - MULTI-STYLE THEME SYSTEM (HỒNG PASTEL NỮ TÍNH)
   ========================================================================== */

/* --------------------------------------------------------------------------
   🍎 PHONG CÁCH 1 (ĐANG BẬT): APPLE LUXURY - SẮC NÉT, DỄ ĐỌC, HỒNG PASTEL DỊU MẮT
   Đặc trưng: Thanh dock kính mờ nổi bật, chữ & icon Xám Than (#334155) nét căng,
              nút active có khoang Hồng Phấn Pastel (#FCE7EC) rõ ràng, dịu mắt.
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .mobile-bottom-nav {
        position: fixed !important;
        left: 14px !important;
        right: 14px !important;
        bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 6px !important;
        align-items: center !important;
        height: 66px !important;
        min-height: 66px !important;
        padding: 6px 8px !important;
        /* Nền Kính mờ Dock theo Theme */
        background: var(--app-dock-bg, rgba(255, 255, 255, 0.96)) !important;
        backdrop-filter: blur(24px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
        border: 1px solid var(--app-dock-border, rgba(226, 232, 240, 0.9)) !important;
        border-radius: 24px !important;
        box-shadow: var(--app-dock-shadow, 0 12px 36px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04)) !important;
        z-index: 1400 !important;
        overflow: visible !important;
    }

    .mobile-bottom-nav::after,
    .mobile-bottom-nav::before {
        display: none !important;
    }

    /* Các nút bình thường (Inactive) */
    .mobile-bottom-nav-item {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        color: var(--app-inactive-color, #334155) !important;
        font-weight: 600 !important;
        transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-radius: 18px !important;
        padding: 6px 2px !important;
        height: 52px !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
        background: transparent !important;
    }

    .mobile-bottom-nav-item::before,
    .mobile-bottom-nav-item::after {
        display: none !important;
    }

    .mobile-bottom-nav-item i {
        font-size: 19px !important;
        line-height: 1 !important;
        color: var(--app-inactive-color, #334155) !important;
        transition: transform 0.2s ease, color 0.2s ease !important;
    }

    .mobile-bottom-nav-item span {
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        letter-spacing: 0.02em !important;
        text-transform: uppercase !important;
        color: var(--app-inactive-color, #334155) !important;
        transition: color 0.2s ease !important;
    }

    .mobile-bottom-nav-item:active {
        transform: scale(0.92) !important;
    }

    /* NÚT ĐANG CHỌN (Active State) - Nút Đơn Sắc Solid Rực Rỡ & Nét Căng */
    .mobile-bottom-nav-item.is-active {
        background: var(--app-active-bg, #EC4899) !important;
        border: 1px solid var(--app-active-border, transparent) !important;
        border-radius: 16px !important;
        box-shadow: var(--app-active-shadow, 0 4px 14px rgba(236, 72, 153, 0.35)) !important;
        transform: translateY(-2px) !important;
    }

    .mobile-bottom-nav-item.is-active i {
        color: var(--app-active-color, #FFFFFF) !important;
        transform: scale(1.08) !important;
    }

    .mobile-bottom-nav-item.is-active span {
        color: var(--app-active-color, #FFFFFF) !important;
        font-weight: 800 !important;
    }

    /* Huy hiệu số lượng Giỏ hàng (Cart Badge) */
    .mobile-bottom-cart-icon {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-bottom-cart-badge {
        position: absolute !important;
        top: -6px !important;
        right: -10px !important;
        background: var(--app-badge-bg, #EC4899) !important;
        color: #FFFFFF !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 4px !important;
        border-radius: 999px !important;
        border: 2px solid #FFFFFF !important;
        box-shadow: 0 2px 6px rgba(236, 72, 153, 0.4) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}

/* --------------------------------------------------------------------------
   🌸 PHONG CÁCH 2: NEUMORPHISM (SOFT UI) - HỒNG PASTEL NỔI 3D (LƯU DỰ PHÒNG)
   -------------------------------------------------------------------------- */
/*
body.theme-neumorphism .mobile-bottom-nav {
    background: #FCE7EC !important;
    box-shadow: 8px 8px 20px rgba(224, 170, 186, 0.6), -8px -8px 20px #FFFFFF !important;
}
body.theme-neumorphism .mobile-bottom-nav-item.is-active {
    box-shadow: inset 4px 4px 8px rgba(215, 155, 172, 0.75), inset -4px -4px 8px #FFFFFF !important;
}
*/


/* --------------------------------------------------------------------------
   BỘ SƯU TẬP CÁC THEME DỰ PHÒNG (BẠN CÓ THỂ ĐỔI DỄ DÀNG KHI MUỐN)
   -------------------------------------------------------------------------- */

/* 🪟 PHONG CÁCH 2: GLASSMORPHISM (Kính Mờ Hồng Pastel Ánh Kim)
body.theme-glassmorphism .mobile-bottom-nav {
    background: rgba(253, 242, 244, 0.82) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 32px rgba(236, 72, 153, 0.15) !important;
}
body.theme-glassmorphism .mobile-bottom-nav-item.is-active {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.3), rgba(236, 72, 153, 0.2)) !important;
    border: 1px solid rgba(244, 114, 182, 0.4) !important;
}
*/

/* 📱 PHONG CÁCH 3: MATERIAL DESIGN 3 (Google M3 Pill Dock)
body.theme-material-m3 .mobile-bottom-nav {
    background: #FDF2F8 !important;
    border-radius: 999px !important;
    border: 1px solid #FBCFE8 !important;
    box-shadow: 0 4px 16px rgba(219, 39, 119, 0.1) !important;
}
body.theme-material-m3 .mobile-bottom-nav-item.is-active {
    background: #F472B6 !important;
    border-radius: 999px !important;
}
body.theme-material-m3 .mobile-bottom-nav-item.is-active i,
body.theme-material-m3 .mobile-bottom-nav-item.is-active span {
    color: #FFFFFF !important;
}
*/

/* 🍎 PHONG CÁCH 4: APPLE HUMAN INTERFACE (Tối Giản, Tinh Tế)
body.theme-apple-hig .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08) !important;
}
body.theme-apple-hig .mobile-bottom-nav-item.is-active i {
    color: #E11D48 !important;
}
body.theme-apple-hig .mobile-bottom-nav-item.is-active span {
    color: #E11D48 !important;
}
*/

/* ✨ PHONG CÁCH 5: MODERN SAAS DASHBOARD (Sắc Nét, Hiện Đại)
body.theme-modern-saas .mobile-bottom-nav {
    background: #FFFFFF !important;
    border: 1px solid #F3E8FF !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.08) !important;
}
body.theme-modern-saas .mobile-bottom-nav-item.is-active {
    background: #EC4899 !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3) !important;
}
*/

/* 🌈 PHONG CÁCH 6: AURORA GRADIENT UI (Chuyển Sắc Hologram Hồng Tím)
body.theme-aurora-gradient .mobile-bottom-nav {
    background: linear-gradient(135deg, #FFF1F2 0%, #FDF4FF 50%, #EFF6FF 100%) !important;
    border: 1px solid rgba(244, 114, 182, 0.4) !important;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2) !important;
}
body.theme-aurora-gradient .mobile-bottom-nav-item.is-active {
    background: linear-gradient(135deg, #FB7185, #E879F9) !important;
    box-shadow: 0 4px 15px rgba(232, 121, 249, 0.4) !important;
}
*/

/* 🌑 PHONG CÁCH 7: DARK PREMIUM (Nền Tối Huyền Bí Phát Sáng Hồng Neon)
body.theme-dark-premium .mobile-bottom-nav {
    background: #181119 !important;
    border: 1px solid rgba(244, 114, 182, 0.25) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(244, 114, 182, 0.15) !important;
}
body.theme-dark-premium .mobile-bottom-nav-item {
    color: #A1A1AA !important;
}
body.theme-dark-premium .mobile-bottom-nav-item.is-active {
    background: linear-gradient(135deg, #BE185D, #9D174D) !important;
    box-shadow: 0 0 16px rgba(244, 114, 182, 0.6) !important;
}
body.theme-dark-premium .mobile-bottom-nav-item.is-active i,
body.theme-dark-premium .mobile-bottom-nav-item.is-active span {
    color: #FFFFFF !important;
}
*/



