@charset "UTF-8";

.product-badges-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 767px) {
    .product-badges-wrapper {
        top: 8px;
        left: 8px;
    }
}

/* Top Announcement Bar */
.top-announcement-bar {
    background-color: #0A0A0A;
    color: #FFFFFF;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #222222;
    z-index: 1000;
    position: relative;
}
.top-announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.announcement-badge {
    background-color: var(--color-primary, #E50914);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.announcement-text {
    color: #F0F0F0;
}
.hero-visual {
    position: relative;
    width: 100%;
}
.hero-media--desktop {
    display: none;
}
.hero-media--mobile {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-height: min(70vh, 520px);
    background: var(--light-grey, #f5f5f5);
}
.hero-media--mobile picture,
.hero-media--mobile img,
.hero-media--mobile .hero-mobile-product {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}
.hero-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    height: 100%;
    align-items: end;
}
.hero-duo-item {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(245,245,245,0.9) 100%);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.hero-duo-img,
.hero-duo-item picture,
.hero-duo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}
.hero-duo-label {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255,255,255,0.88);
    padding: 4px 8px;
    border-radius: 999px;
}
/* Hero Section */
.hero {
    min-height: 85vh;
    position: relative;
    background: transparent;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    padding: 120px 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
}
.hero--no-media {
    grid-template-columns: 1fr;
    min-height: 75vh;
}
@media (min-width: 768px) {
.hero-media--desktop {
        display: flex;
        position: relative;
        border-radius: 4px;
        overflow: visible;
        aspect-ratio: 3 / 4;
        max-height: min(86vh, 800px);
        background: transparent;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
.hero-media--desktop picture,
    .hero-media--desktop img {
        width: 100%;
        height: 100%;
        max-height: min(86vh, 800px);
        object-fit: contain;
        object-position: center bottom;
    }
.hero-media--mobile {
        display: none;
    }

}
.hero::after {
    display: none;
}
.hero-content {
    width: 100%;
    z-index: 10;
    position: relative;
}
.hero-subtitle {
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: var(--text-hero-eyebrow, 0.6875rem);
    margin-bottom: 12px;
}
.hero-title {
    font-size: var(--text-hero-title, clamp(2.25rem, 4.5vw, 2.375rem));
    line-height: 0.98;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.hero-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    max-width: 520px;
    margin-bottom: 12px;
    font-weight: 400;
}
.hero-meta-line {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin: 0 0 24px;
    opacity: 0.85;
}
/* Home product sections */
.section {
    padding: 100px 40px 0;
    max-width: 1400px;
    margin: 0 auto;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}
.section-title {
    font-size: 3.5rem;
    text-transform: uppercase;
}
/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.product-card {
    position: relative;
    border: 1px solid var(--border-color);
    background-color: var(--dark-grey);
    display: flex;
    flex-direction: column;
}
.product-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #f3f3f3;
}
/* Product Card Dual-View Media Layers (Smooth GIF Crossfade) */
.product-media-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    pointer-events: none;
}
.product-media-layer picture,
.product-media-layer img,
.product-card .product-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0;
    padding: 0;
}
.product-media-layer--front {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}
.product-media-layer--back {
    opacity: 0;
    z-index: 2;
    transform: scale(1);
}
/* Showing Back side (applied by auto-cycling or manual interaction) */
.product-card.is-showing-back .product-media-layer--front {
    opacity: 0;
    transform: scale(1.015);
}
.product-card.is-showing-back .product-media-layer--back {
    opacity: 1;
    transform: scale(1);
}
.product-card.is-showing-back .side-indicator-pill--front {
    width: 14px;
    background: rgba(255, 255, 255, 0.4);
}
.product-card.is-showing-back .side-indicator-pill--back {
    width: 22px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Desktop Hover fallback: smoothly reveal back on hover */
@media (hover: hover) and (pointer: fine) {
    .product-card.has-back-image:hover .product-media-layer--front {
        opacity: 0;
        transform: scale(1.015);
    }
    .product-card.has-back-image:hover .product-media-layer--back {
        opacity: 1;
        transform: scale(1);
    }
    .product-card.has-back-image:hover .side-indicator-pill--front {
        width: 14px;
        background: rgba(255, 255, 255, 0.4);
    }
    .product-card.has-back-image:hover .side-indicator-pill--back {
        width: 22px;
        background: #ffffff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    }
}

/* Dual-segment Side Indicator (Minimalist Pill Bars) */
.product-side-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 4;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
    transition: opacity 0.25s ease;
}
.side-indicator-pill {
    width: 14px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.side-indicator-pill.is-active {
    width: 22px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.side-indicator-pill:hover {
    background: rgba(255, 255, 255, 0.85);
}

/* Subtle Side Label Badge (TRƯỚC / SAU) */
.product-side-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(17, 17, 17, 0.4);
    color: #ffffff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    line-height: 1.3;
    transition: opacity 0.25s ease, background 0.25s ease;
}

/* Color dot buttons */
button.product-card-color-dot {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0;
    margin: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    background-clip: padding-box;
    outline: none;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}

button.product-card-color-dot:hover {
    transform: scale(1.15);
}

button.product-card-color-dot.is-active::after {
    content: '';
    position: absolute;
    top: -3.5px;
    left: -3.5px;
    right: -3.5px;
    bottom: -3.5px;
    border: 1.5px solid #111111;
    border-radius: 50%;
    pointer-events: none;
    box-sizing: border-box;
}


/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .product-media-layer {
        transition: none !important;
    }
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
}
.product-badge.custom-badge-override {
    background-color: var(--text-dark);
    color: white;
    border: 1px solid var(--border-color);
}
.quick-add-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: white;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    padding: 12px;
    cursor: pointer;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 15;
}
.product-card:hover .quick-add-btn {
    transform: translateY(0);
}
.quick-add-btn.custom-btn-override {
    background-color: var(--text-dark);
    color: white;
    border-top: 1px solid var(--border-color);
}
.quick-add-btn.custom-btn-override:hover {
    background-color: var(--color-primary);
    color: white;
}
.product-info {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-card-spec-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
    line-height: 1.2;
}
.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.35;
    text-decoration: none;
}
.product-card-colors {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 6px;
    padding: 4px 2px;
}
.product-card-color-more {
    font-size: 0.72rem;
    font-weight: 700;
    color: #888;
    margin-left: 2px;
}
.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}
.product-price-wrap {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.product-price-old {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-discount {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-primary);
    padding: 2px 7px;
    letter-spacing: 0.3px;
}
/* PDP (Product Detail Page) */
/* PDP Brand Trust Chips & Offer Box */
.option-group-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.size-blocks {
    display: flex;
    gap: 12px;
}
.size-block {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background-color: var(--dark-grey);
}
.size-block:hover {
    border-color: var(--text-color);
}
.size-block.selected {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: white;
}
.color-dots {
    display: flex;
    gap: 15px;
}
.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
}
.color-dot:hover {
    transform: scale(1.1);
}
.color-dot.selected {
    border-color: var(--color-primary);
    transform: scale(1.1);
}
.size-guide-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: none;
    font-family: var(--font-sans);
    text-decoration: underline;
    cursor: pointer;
}
/* Accordion */
.accordion {
    border-top: 1px solid var(--border-color);
}
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
}
.accordion-icon {
    font-size: 1rem;
    transition: transform 0.3s;
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.accordion-content p {
    padding-bottom: 20px;
}
/* Side Cart sliding drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    -webkit-tap-highlight-color: transparent;
}
.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    height: 100%;
    background-color: var(--dark-grey);
    border-left: 1px solid var(--border-color);
    z-index: 1101;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: none;
    flex-direction: column;
}
@media (max-width: 500px) {
.cart-drawer {
        width: 100%;
    }

}
.cart-drawer.active {
    display: flex;
    transform: translateX(0);
}
.cart-drawer-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-drawer-header h3 {
    font-size: 2rem;
}
.close-cart-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    touch-action: manipulation;
}
.close-cart-btn:hover {
    color: var(--color-primary);
}
.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.cart-item {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}
.cart-item-image {
    width: 90px;
    height: 90px;
    background-color: #F9F9F9;
    border: 1px solid var(--border-color);
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
}
.cart-item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.qty-control {
    display: flex;
    border: 1px solid var(--border-color);
}
.qty-btn {
    background: none;
    border: none;
    color: var(--text-color);
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover {
    background-color: var(--border-color);
}
.qty-val {
    width: 32px;
    text-align: center;
    line-height: 28px;
    font-size: 0.85rem;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}
/* qty overrides in cart drawer footer section above */
.cart-drawer .qty-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
}
.cart-drawer .qty-val {
    width: 36px;
    line-height: 36px;
    font-size: 0.9rem;
}
.cart-item-price {
    font-weight: 700;
    color: var(--color-primary);
}
.remove-cart-item-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
}
.remove-cart-item-btn:hover {
    color: var(--color-primary);
}
.cart-drawer-footer {
    padding: 20px 24px 24px;
    border-top: 1px solid var(--border-color);
    background-color: #fff;
    flex-shrink: 0;
}
.cart-drawer-footer .checkout-btn {
    width: 100%;
    min-height: 52px;
    font-size: 0.95rem;
    margin-top: 12px;
}
.cart-drawer-footer .checkout-btn:not(.checkout-btn--disabled) {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}
.qty-btn {
    background: none;
    border: none;
    color: var(--text-color);
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.qty-val {
    width: 36px;
    text-align: center;
    line-height: 36px;
    font-size: 0.9rem;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}
.cart-variant-row .form-control,
.cart-size-select {
    min-height: 36px;
    font-size: 14px;
    padding: 6px 10px;
}
.cart-color-dot {
    width: 28px;
    height: 28px;
    border: 2px solid #ddd;
    cursor: pointer;
    padding: 0;
}
.cart-coupon-box {
    padding: 0 24px 12px;
    flex-shrink: 0;
}
.cart-bundle-upsell {
    padding: 0 24px 12px;
    font-size: 0.85rem;
}
.cart-pricing-rows {
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.cart-pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}
.cart-empty-msg,
.cart-drawer-error {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.cart-drawer-error p {
    margin-bottom: 12px;
}
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.coupon-input-row {
    display: flex;
    gap: 8px;
}
.coupon-input-row .form-control {
    flex: 1;
}
.coupon-applied-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}
.coupon-remove-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8rem;
}
.cart-bundle-upsell a {
    color: var(--color-primary);
    font-weight: 700;
}
.cart-pricing-row.discount {
    color: #00aa55;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.cart-total-price {
    color: var(--color-primary);
}
display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.cart-total-price {
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 800;
}
.checkout-btn {
    width: 100%;
}
/* Custom Lab Container */
.lab-container {
    max-width: 1400px;
    margin: 140px auto 0;
    padding: 0 40px;
    display: flex;
    gap: 40px;
    height: calc(100vh - 180px);
    min-height: 600px;
}
.lab-sidebar {
    width: 400px;
    border: 1px solid var(--border-color);
    background-color: var(--dark-grey);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.lab-canvas-area {
    flex: 1;
    border: 1px solid var(--border-color);
    background-color: #E2E2E2;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    align-items: center;
}
.canvas-container {
    position: relative;
}
.canvas-tabs {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}
.canvas-tab {
    background-color: var(--light-grey);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    padding: 8px 18px;
    cursor: pointer;
}
.canvas-tab.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}
.lab-sidebar-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}
.sidebar-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    padding: 12px 4px;
    cursor: pointer;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    text-align: center;
}
.sidebar-tab-btn.active {
    color: var(--text-color);
    border-bottom-color: var(--color-primary);
}
.sidebar-content-pane {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: none;
}
.sidebar-content-pane.active {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.lab-option-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}
/* Custom Text Input Control */
.add-text-box {
    display: flex;
    gap: 10px;
}
.add-text-input {
    flex: 1;
    background-color: var(--dark-grey);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 12px;
    font-family: var(--font-sans);
}
.font-select {
    width: 100%;
    background-color: var(--dark-grey);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 12px;
    font-family: var(--font-sans);
}
.font-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.font-color-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
}
.font-color-btn.selected {
    border: 2px solid var(--color-primary);
}
/* Upload Graphic Area */
.upload-dropzone {
    border: 2px dashed var(--border-color);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
}
.upload-dropzone:hover {
    border-color: var(--color-primary);
}
.upload-dropzone p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}
.upload-hidden-input {
    display: none;
}
.sidebar-footer {
    padding: 25px;
    border-top: 1px solid var(--border-color);
    background-color: var(--light-grey);
}
.lab-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.lab-summary-price {
    font-weight: 700;
    color: var(--color-primary);
}
.lab-add-to-cart-btn {
    width: 100%;
}
/* Order lookup */
.lookup-page {
    max-width: 820px;
    margin: 130px auto 60px;
    padding: 0 20px;
}
@media (max-width: 768px) {
.lookup-page {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: var(--space-4) var(--space-3) var(--space-5) !important;
    }

}
.lookup-hero h1 {
    font-size: 2.4rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.lookup-hero p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.lookup-form {
    display: flex;
    gap: 10px;
}
.lookup-form .form-control {
    flex: 1;
}
.lookup-error,
.lookup-empty {
    margin-top: 16px;
    color: var(--color-primary);
    font-weight: 600;
}
.lookup-results {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lookup-card {
    border: 1px solid var(--border-color);
    background: var(--dark-grey);
    padding: 20px;
}
.lookup-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}
.lookup-code {
    font-size: 1.3rem;
    color: var(--color-primary);
}
.lookup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.lookup-grid span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}
.lookup-grid b {
    font-weight: 600;
}
.lookup-grid .price {
    color: var(--color-primary);
}
.lookup-item-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
}
.lookup-privacy-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 12px;
}
.lookup-otp-gate--global {
    margin-bottom: 20px;
}
.lookup-otp-panel {
    margin-bottom: 20px;
}
.lookup-otp-status {
    font-size: 0.88rem;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    line-height: 1.45;
}
.lookup-otp-status.is-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.lookup-otp-status.is-muted {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.lookup-otp-gate {
    margin-top: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
}
.lookup-otp-hint {
    margin: 0 0 12px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.lookup-otp-hint a { color: var(--color-primary); }
.lookup-otp-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.lookup-otp-row .form-control {
    flex: 1;
    min-width: 140px;
    font-size: 1.25rem;
    letter-spacing: 0.35em;
    text-align: center;
    font-weight: 700;
}
.lookup-otp-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.lookup-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 12px;
}
.lookup-verified-badge {
    color: #059669 !important;
    font-weight: 600;
}
@media (max-width: 900px) {
.admin-stat-grid,
    .admin-two-col,
    .lookup-grid,
    .lookup-form {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
.admin-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.admin-title {
    font-size: 3rem;
}
.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.filter-btn {
    background-color: var(--dark-grey);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}
.filter-btn.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
.orders-table-wrapper {
    background-color: var(--dark-grey);
    border: 1px solid var(--border-color);
    overflow-x: auto;
}
.orders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.orders-table th, .orders-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
}
.orders-table th {
    background-color: var(--light-grey);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.orders-table tbody tr:hover {
    background-color: var(--light-grey);
}
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-pending {
    background-color: #ffaa00;
    color: #000;
}
.status-processing {
    background-color: #0088ff;
    color: #fff;
}
.status-completed {
    background-color: #00cc66;
    color: #fff;
}
.status-shipping {
    background-color: #6c5ce7;
    color: #fff;
}
.status-delivered {
    background-color: #fdcb6e;
    color: #000;
}
.status-return_requested {
    background-color: #e17055;
    color: #fff;
}
.order-actions-btn {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 6px 14px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    transition: all 0.2s;
}
.order-actions-btn:hover {
    background-color: var(--color-primary);
    color: white;
}
/* --- Media Queries for Mobile and iPad/Tablet Responsiveness --- */
/* PDP Thumbnails & slide style */
/* iPad / Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
.header-container {
        padding: 20px 30px;
    }
.hero-title {
        font-size: var(--text-hero-title, clamp(2.25rem, 4.5vw, 2.375rem));
    }
.product-grid,
    .hero-picks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
.lab-container {
        flex-direction: column;
        height: auto;
        margin-top: 140px;
        gap: 30px;
    }
.lab-sidebar {
        width: 100%;
        height: auto;
    }
.lab-canvas-area {
        width: 100%;
        height: 520px;
        padding: 40px 0;
    }
.checkout-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}
/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
body.storefront-layout > header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: #FFFFFF;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    }
.header-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        gap: 8px;
    }
.logo {
        font-size: 1.4rem;
    }
body.storefront-layout > header nav {
        order: 3;
        width: 100%;
        border-top: 1px solid var(--border-color);
        padding-top: 6px;
        margin-top: 4px;
    }
body.storefront-layout > header nav ul {
        justify-content: center;
        gap: 24px;
    }
body.storefront-layout > header nav ul li a {
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
.header-actions {
        order: 2;
    }
.hero {
        grid-template-columns: 1fr;
        padding: 110px 16px 32px;
        min-height: auto;
        gap: 24px;
    }
.hero-media {
        order: -1;
        max-height: 420px;
        aspect-ratio: 4 / 3;
        overflow: hidden;
    }
.hero-title {
        font-size: var(--text-hero-title, clamp(2.25rem, 4.5vw, 2.375rem));
        line-height: 0.98;
        letter-spacing: -0.03em;
    }
.hero-desc {
        font-size: 0.875rem;
        margin-bottom: 10px;
    }
.hero-meta-line {
        margin-bottom: 16px;
    }
.section {
        padding: 25px 12px 0;
    }
.section-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        margin-bottom: 16px !important;
        padding-bottom: 10px !important;
    }
.section-title {
        font-size: 1.3rem !important;
        margin-bottom: 0 !important;
    }
.view-all-category-btn {
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        color: var(--color-primary) !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }
.product-grid,
    .hero-picks-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
.product-card {
        border-radius: 6px;
        overflow: hidden;
    }
.product-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
        top: 8px;
        left: 8px;
    }
.quick-add-btn {
        display: none;
    }
.product-info {
        padding: 10px 8px;
        gap: 4px;
    }
.product-name {
        font-family: var(--font-sans);
        font-size: 0.82rem;
        font-weight: 600;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: auto;
        min-height: 2.8em;
        word-break: break-word;
    }
.product-price {
        font-size: 0.95rem;
        font-weight: 700;
    }
.category-page,
    .about-page,
    .not-found-page,
    .best-sellers-page,
    .order-success-page--minimal {
        padding-top: 130px !important;
        padding-left: 12px;
        padding-right: 12px;
    }
.category-header {
        margin-bottom: 12px;
    }
.category-header h1 {
        font-size: 1.45rem;
        line-height: 1.15;
    }
.category-lead {
        font-size: 0.88rem;
    }
.category-meta {
        font-size: 0.78rem;
        line-height: 1.4;
    }
.breadcrumb {
        font-size: 0.78rem;
        margin-bottom: 12px;
    }
.cart-drawer {
        width: 100%;
        max-width: 100%;
    }
.cart-drawer-header {
        padding: 16px 20px;
        padding-top: max(16px, env(safe-area-inset-top));
    }
.cart-drawer-header h3 {
        font-size: 1.35rem;
    }
.cart-drawer-items {
        padding: 16px 20px;
    }
body.cart-open {
        overflow: hidden;
    }
/* footer mobile overrides handled in mobile.css */
/* Mobile responsive custom lab adjustments */
.lab-container {
        margin-top: 130px !important;
        gap: 15px;
        padding: 0 10px;
    }
.lab-canvas-area {
        height: auto;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        width: 100%;
    }
.lab-canvas-workspace {
        width: 100% !important;
        max-width: 360px !important;
        height: 360px !important;
        margin: 0 auto !important;
        transform: none !important;
    }
.lab-canvas-workspace img {
        width: 360px !important;
        height: 360px !important;
    }
#front-canvas-wrapper, #back-canvas-wrapper {
        width: 200px !important;
        height: 270px !important;
        top: 55px !important;
        left: 80px !important;
    }
.lab-sidebar-tabs {
        display: flex;
        width: 100%;
    }
.sidebar-tab-btn {
        flex: 1;
        padding: 10px 4px;
        font-size: 0.75rem;
        text-align: center;
    }
.checkout-container {
        padding: 0 15px;
    }

}
/* AI Style lab styles */
.ai-style-card {
    transition: all 0.2s ease-in-out;
}
.ai-style-card:hover {
    border-color: var(--color-primary) !important;
}
.ai-thumb-card {
    transition: all 0.15s ease-in-out;
}
.ai-thumb-card:hover {
    border-color: var(--color-primary) !important;
}
.ai-thumb-card.active {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(255, 12, 12, 0.15);
}
.sidebar-content-pane#ai-styles-pane {
    display: none;
}
.sidebar-content-pane#ai-styles-pane.active {
    display: block;
}
/* Tool Action Button Styles */
.tool-btn-style {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    color: #1C1B1D;
    border: 1.5px solid var(--border-color);
    padding: 7px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.tool-btn-style:hover {
    background: #1C1B1D;
    color: #FFFFFF;
    border-color: #1C1B1D;
}
.tool-btn-danger {
    color: #FF0C0C;
    border-color: rgba(255, 12, 12, 0.4);
    background: #FFFFFF;
}
.tool-btn-danger:hover {
    background: #FF0C0C;
    color: #FFFFFF;
    border-color: #FF0C0C;
}
/* Vexels Decor AI Styles */
.sidebar-content-pane#decor-ai-pane {
    display: none;
}
.sidebar-content-pane#decor-ai-pane.active {
    display: block;
}
.decor-style-card {
    transition: all 0.2s ease;
}
.decor-style-card:hover {
    border-color: #10B981 !important;
}
.decor-style-card.active {
    border-color: #10B981 !important;
    background-color: #F0FDF4 !important;
}
/* Trust bar trang chu */
.trust-bar-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 40px 0;
}
.trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border-color);
    background: #fff;
}
.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-right: 1px solid var(--border-color);
}
.trust-bar-item:last-child { border-right: none; }
.trust-bar-icon {
    flex-shrink: 0;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-bar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.25;
}
.trust-bar-title a { color: inherit; }
.trust-bar-sub {
    font-size: 0.82rem;
    color: #333;
    margin-top: 2px;
}
.trust-bar-sub a { color: inherit; text-decoration: underline; }
/* Related products */
.related-section {
    max-width: 1400px;
    margin: 40px auto 80px;
    padding: 0 40px;
}
.related-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 900px) {
.trust-bar {
        grid-template-columns: 1fr 1fr;
    }
.trust-bar-item {
        border-bottom: 1px solid var(--border-color);
    }
.trust-bar-section,
    .related-section {
        padding-left: 15px;
        padding-right: 15px;
    }
.related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}
/* Cart drawer variant picker */
.cart-variant-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.78rem;
}
.cart-variant-row label {
    min-width: 32px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}
.cart-variant-row .form-control {
    padding: 4px 8px;
    font-size: 0.8rem;
    height: auto;
    min-width: 64px;
}
.cart-color-row { align-items: flex-start; }
.cart-color-picker { flex: 1; }
.cart-color-dots, .checkout-color-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cart-color-dot, .checkout-color-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
}
.cart-color-dot.active, .checkout-color-dot.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary);
}
.cart-color-label, .checkout-color-label {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}
.checkout-color-picker { flex: 1; }
.field-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
/* Order lookup actions */
.lookup-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lookup-deadline {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}
.lookup-verify-row { max-width: 280px; }
.lookup-return-box { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.lookup-review-section { margin-top: 8px; }
.lookup-review-form {
    border: 1px solid var(--border-color);
    padding: 12px;
    margin-bottom: 10px;
    background: var(--light-grey);
}
.star-row { display: flex; gap: 4px; margin: 8px 0; }
.star-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #ccc;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.star-btn.active { color: #ffb800; }
.lookup-reviewed { font-size: 0.88rem; color: #00aa55; margin-bottom: 6px; }
/* Lookup order timeline */
.lookup-timeline {
    display: flex;
    gap: 4px;
    margin: 16px 0;
    overflow-x: auto;
    padding-bottom: 4px;
}
.lookup-timeline-step {
    flex: 1;
    min-width: 72px;
    text-align: center;
    position: relative;
}
.lookup-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 auto 6px;
    border: 2px solid #ccc;
}
.lookup-timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 6px;
    left: calc(50% + 10px);
    width: calc(100% - 20px);
    height: 2px;
    background: #ddd;
    z-index: 0;
}
.lookup-timeline-done .lookup-timeline-dot,
.lookup-timeline-done:not(:last-child)::after {
    background: #00aa55;
    border-color: #00aa55;
}
.lookup-timeline-active .lookup-timeline-dot {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 12, 12, 0.2);
}
.lookup-timeline-cancelled .lookup-timeline-dot {
    background: #999;
    border-color: #999;
}
.lookup-timeline-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.lookup-timeline-hint {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.2;
}
.lookup-timeline-active .lookup-timeline-label { color: var(--color-primary); }
.lookup-timeline-done .lookup-timeline-label { color: #00aa55; }
.lookup-status-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: -4px 0 12px;
    padding: 8px 10px;
    background: #f8f8f8;
    border-left: 3px solid var(--color-primary);
}
.lookup-status-note.cancelled {
    border-color: #999;
    color: #666;
}
.lookup-timeline-preview {
    margin-top: 20px;
    opacity: 0.85;
}
.lookup-preview-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}
body.cart-open .zalo-float {
    display: none;
}
/* Zalo — styles in mobile.css */
/* Product reviews on PDP */
.score-num { font-size: 1.8rem; font-weight: 800; color: var(--color-primary); }
.score-stars { color: #ffb800; letter-spacing: 1px; }
.score-count { color: var(--text-muted); font-size: 0.85rem; }
/* Nav secondary (Custom Lab demoted) */
nav .nav-secondary {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    opacity: 0.75;
    text-transform: none;
    font-family: var(--font-sans);
}
/* Hero meta line (replaces chip stats) */
.hero-meta-line {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin: 0 0 24px;
    opacity: 0.85;
}
/* Legacy — giữ nếu admin còn dùng stats cũ */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 28px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.hero-stats span {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.03);
}
.hero-picks-grid {
    grid-template-columns: repeat(4, 1fr);
}
/* PDP conversion */
.checkout-btn--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}
/* Modal / size guide */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
}
.modal-overlay[hidden] { display: none !important; }
.modal-overlay.active { display: flex; }
.modal-panel {
    background: #fff;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow: auto;
    padding: 20px;
    border: 1px solid var(--border-color);
}
.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.modal-head h3 { margin: 0; font-size: 1.2rem; }
.modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}
.modal-lead {
    color: #444;
    font-size: 0.9rem;
    margin: 0 0 16px;
    line-height: 1.55;
}
.size-guide-panel .modal-lead {
    color: #1a1a1a;
    font-weight: 500;
}
.size-guide-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.size-guide-table th,
.size-guide-table td {
    border: 1px solid var(--border-color);
    padding: 10px 8px;
    text-align: center;
}
.size-guide-table th {
    background: var(--light-grey);
    font-weight: 700;
}
.size-cell {
    display: inline-block;
    min-width: 1.6em;
    font-weight: 700;
}
/* Size guide page — branded layout */
.size-guide-page {
    padding: 100px 16px 64px;
    background: transparent;
}
.size-guide-inner { max-width: 920px; margin: 0 auto; }
.sg-back {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
    text-decoration: none;
}
.sg-back:hover { color: var(--color-primary); }
.size-guide-content {
    background: #fff;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.sg-hero-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 14px 20px;
}
.sg-hero-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    max-width: 100%;
}
.sg-hero-brand {
    font-weight: 900;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
}
.sg-hero-brand span { color: var(--color-primary); }
.sg-hero-tag {
    font-size: 0.78rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.sg-page-head { padding: 28px 24px 0; }
.sg-kicker {
    margin: 0 0 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.sg-title {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
}
.sg-lead {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.95rem;
    max-width: 640px;
}
.sg-size-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 24px 24px 0;
    background: var(--color-primary);
    color: #fff;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.sg-size-strip--5 { grid-template-columns: repeat(5, 1fr); }
.sg-size-strip--5 .sg-size-strip-item { font-size: 0.95rem; }
.sg-size-strip--5 .sg-size-strip-label { font-size: 1.1rem; }
.sg-size-strip-item {
    padding: 14px 10px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.sg-size-strip-item:last-of-type { border-right: none; }
.sg-size-strip-label {
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}
.sg-size-strip-val {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    opacity: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sg-size-strip-tip {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px 14px;
    font-size: 0.78rem;
    text-align: center;
    background: rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.15);
}
.sg-size-strip--compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 12px 0 16px;
    padding: 12px 14px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 2px;
    justify-content: center;
}
.sg-size-strip--compact strong {
    color: #ff6b7a;
    font-weight: 800;
}
.sg-banner {
    margin: 24px 24px 0;
    border: 1px solid var(--border-color);
    background: #fafafa;
}
.sg-banner img {
    display: block;
    width: 100%;
    height: auto;
}
.sg-section { padding: 28px 24px 0; }
.sg-section-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text);
    border-left: none;
    padding-left: 0;
}
.sg-section-hint {
    margin: 0 0 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.sg-table { font-size: 0.9rem; }
.sg-size-badge {
    display: inline-block;
    min-width: 2em;
    padding: 2px 8px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 800;
}
.sg-fit-table thead th {
    background: #1a1a1a;
    color: #fff;
    font-size: 0.78rem;
}
.sg-fit-table tbody th {
    background: var(--light-grey);
    font-weight: 700;
    font-size: 0.82rem;
}
.sg-fit-table .size-cell {
    color: #111;
    font-size: 1rem;
    font-weight: 800;
}
.sg-tips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 24px 24px 0;
}
.sg-tip-card {
    border: 1px solid var(--border-color);
    padding: 16px 14px;
    background: #fafafa;
    font-size: 0.85rem;
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.sg-tip-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.sg-tip-card p { margin: 0; color: var(--text-muted); }
.sg-tip-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sg-tip-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}
.size-guide-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-guide-table-wrap--scroll { margin: 0; }
.size-guide-fit-table th:first-child,
.size-guide-fit-table td:first-child { text-align: left; white-space: nowrap; }
.size-guide-picker-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    padding-bottom: 28px;
}
.size-guide-picker-row label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}
.size-guide-result {
    margin: 0 0 20px;
    padding: 16px 18px;
    background: #fff8f8;
    border: 1px solid rgba(196, 30, 58, 0.25);
    border-left: 4px solid var(--color-primary);
    font-size: 0.95rem;
    line-height: 1.55;
}
.size-guide-result-size { font-size: 1.35rem; color: var(--color-primary); }
.size-guide-result-alt {
    display: block;
    margin-top: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
}
.size-guide-result-note {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 400;
}
.sg-disclaimer {
    margin: 0;
    padding: 20px 24px 28px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    border-top: 1px solid var(--border-color);
    background: var(--light-grey);
}
.sg-contact {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.size-guide-modal-more { margin: 12px 0 0; font-size: 0.9rem; }
.size-guide-modal-more a { font-weight: 700; color: var(--color-primary); }
.size-guide-content--compact { border: none; background: transparent; color: #1a1a1a; }
.size-guide-content--compact .sg-hero-bar { display: none; }
.size-guide-content--compact .sg-section { padding: 16px 0 0; }
.size-guide-content--compact .sg-section-hint {
    color: #444;
    font-size: 0.9rem;
}
.size-guide-content--compact .size-guide-table tbody th,
.size-guide-content--compact .size-guide-table td {
    color: #1a1a1a;
}
.size-guide-content--compact .size-guide-fit-table tbody th {
    color: #1a1a1a;
    font-weight: 700;
}
.size-guide-content--compact .size-guide-picker-row {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 0;
}
.size-guide-content--compact .size-guide-suggest-btn {
    grid-column: 1 / -1;
    width: 100%;
}
.size-guide-content--compact .size-guide-result {
    color: #1a1a1a;
}
.size-guide-content--compact .size-guide-result-note {
    color: #555;
}
.size-guide-panel {
    max-width: 580px;
    padding: 0 20px 20px;
    overflow: auto;
    -webkit-font-smoothing: antialiased;
}
.size-guide-panel .modal-head {
    padding: 16px 0 0;
    margin-bottom: 8px;
}
.size-guide-panel .modal-head h3 {
    color: #1a1a1a;
    font-weight: 800;
}
/* PDP inline size picker */
@media (max-width: 768px) {
.size-guide-page { padding: 88px 12px 48px; }
.sg-page-head, .sg-section { padding-left: 16px; padding-right: 16px; }
.sg-size-strip,
    .sg-size-strip--5 {
        margin-left: 16px;
        margin-right: 16px;
        grid-template-columns: repeat(2, 1fr);
    }
.sg-size-strip--5 .sg-size-strip-item:nth-child(2),
    .sg-size-strip--5 .sg-size-strip-item:nth-child(4) { border-right: none; }
.sg-size-strip-item { border-bottom: 1px solid rgba(255,255,255,0.15); }
.sg-banner { margin-left: 16px; margin-right: 16px; }
.sg-tips { grid-template-columns: 1fr 1fr; padding: 20px 16px 0; }
.size-guide-picker-row { grid-template-columns: 1fr; }
.size-guide-suggest-btn { width: 100%; }

}
@media (max-width: 480px) {
.sg-tips { grid-template-columns: 1fr; }

}
@media (min-width: 1025px) {
.modal-overlay { align-items: center; }

}
@media (max-width: 768px) {
.hero-title {
        font-size: var(--text-hero-title, clamp(2.25rem, 4.5vw, 2.375rem));
    }

}
/* Policy pages */
.policy-page { padding: 120px 20px 60px; }
.policy-inner { max-width: 720px; margin: 0 auto; }
.policy-back { color: var(--text-muted); font-size: 0.9rem; }
.policy-page h1 { font-size: 2rem; margin: 16px 0 24px; }
.policy-body p { margin: 0 0 12px; line-height: 1.6; color: var(--text-muted); }
.policy-contact { margin-top: 32px; font-size: 0.9rem; }
/* Header search */
.header-search input {
    width: 160px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    background: #fff;
}
.header-search input:focus {
    outline: none;
    border-color: var(--color-primary);
}
/* Shop toolbar */
.shop-toolbar {
    max-width: 1400px;
    margin: 0 auto 28px;
    padding: 0 20px;
}
.shop-search-form input {
    width: 100%;
    max-width: 420px;
    margin-bottom: 12px;
}
.shop-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-chip {
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.15s;
}
.shop-chip.active,
.shop-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.shop-search-empty {
    margin-top: 12px;
    padding: 12px;
    background: #fafafa;
    border: 1px dashed var(--border-color);
    font-size: 0.88rem;
    color: var(--text-muted);
}
/* Product card rating */
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    margin: 4px 0 2px;
}
.product-card-stars { color: #f5a623; letter-spacing: -1px; }
/* PDP rating summary */
/* Bundle upsell */
.cart-bundle-upsell,
.checkout-bundle-upsell {
    margin: 12px 16px 0;
    padding: 10px 12px;
    background: #fff8f0;
    border: 1px solid rgba(255, 140, 0, 0.25);
    font-size: 0.82rem;
    line-height: 1.45;
}
.cart-bundle-upsell a,
.checkout-bundle-upsell a {
    color: var(--color-primary);
    font-weight: 700;
}
.cart-pricing-rows {
    padding: 0 16px 8px;
    font-size: 0.82rem;
}
.cart-pricing-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.cart-pricing-row.discount span:last-child { color: #00aa55; }
.summary-discount span:last-child { color: #00aa55; }
/* Coupon input */
.checkout-coupon-box,
.cart-coupon-box {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}
.cart-coupon-box {
    margin: 0 16px;
    padding: 12px 0 0;
}
.coupon-box-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.coupon-input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.coupon-input-row .form-control {
    flex: 1;
    min-width: 0;
    font-size: 0.88rem;
    padding: 8px 10px;
}
.coupon-input-row .btn-sm {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.82rem;
}
.coupon-applied-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.85rem;
    padding: 8px 10px;
    background: #f0fff4;
    border: 1px solid rgba(0, 170, 85, 0.25);
    border-radius: 6px;
}
.coupon-applied-row strong {
    color: var(--color-primary);
    letter-spacing: 0.03em;
}
.coupon-applied-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.coupon-applied-discount {
    font-size: 0.82rem;
    font-weight: 700;
    color: #00aa55;
}
.coupon-label-hint {
    color: var(--text-muted);
    font-size: 0.82rem;
}
.coupon-remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    flex-shrink: 0;
}
.coupon-remove-btn:hover { color: var(--color-primary); }
.admin-coupon-form .form-row-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}
/* Homepage Custom Lab teaser */
.home-lab-teaser {
    margin: 40px auto 60px;
    max-width: var(--max-width, 1200px);
    padding: 0 16px;
}
.home-lab-teaser-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px;
    border: 1px solid var(--border-color);
    background: #fafafa;
}
.size-model-hint {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 0 12px;
    line-height: 1.5;
}
/* SEO landing pages */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.breadcrumb a { color: var(--color-primary); text-decoration: none; }
.category-page,
.about-page,
.not-found-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 80px;
}
.best-sellers-page {
    padding-top: 100px;
}
.category-header,
.about-page > .about-inner > header {
    position: static;
}
.category-header h1,
.about-page h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin: 0 0 12px;
    line-height: 1.2;
}
.category-lead,
.about-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 720px;
    line-height: 1.6;
}
.category-meta { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }
.about-page section { margin-top: 32px; }
.about-page h2 { font-size: 1.25rem; margin-bottom: 12px; }
.about-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.about-trust-grid dt { font-weight: 700; margin-bottom: 4px; }
.about-trust-grid dd { margin: 0; color: var(--text-muted); line-height: 1.5; }
.not-found-inner { text-align: center; padding: 60px 20px; }
.order-success-page--minimal {
    max-width: 560px;
    margin: 0 auto;
    padding: 100px 20px 80px;
    text-align: center;
}
.order-success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.lookup-edit-box { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color); }
.lookup-edit-box .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) {
.lookup-edit-box .form-row-2 { grid-template-columns: 1fr; }

}
a.shop-chip { text-decoration: none; display: inline-flex; align-items: center; }
/* Strict state protection rules */
[hidden] { display: none !important; }
.cart-drawer.is-empty .cart-coupon-box,
.cart-drawer.is-empty .cart-drawer-footer,
.cart-drawer.is-empty .cart-bundle-upsell,
.cart-drawer.is-empty .cart-pricing-rows {
    display: none !important;
}
.wishlist-page-header button[hidden] {
    display: none !important;
}
/* Pure HTML/CSS Flash Sale Modal Popup */
.flash-sale-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(18, 18, 18, 0.72);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: flashModalFadeIn 0.28s ease-out;
}
@keyframes flashModalFadeIn {
    from { opacity: 0; transform: scale(0.97); }
to { opacity: 1; transform: scale(1); }
}
.flash-sale-modal-card {
    position: relative;
    width: 100%;
    max-width: 840px;
    background: #FFF9F7;
    border: 1px solid #EAE3E0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
}
.flash-sale-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFF;
    color: #121212;
    border: 1px solid #EAE3E0;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.flash-sale-modal-close:hover {
    background: #F1263D;
    color: #FFF;
    border-color: #F1263D;
    transform: scale(1.08);
}
.flash-sale-modal-body {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.flash-sale-modal-info {
    flex: 0 0 42%;
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.flash-sale-tag {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #F1263D;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.flash-sale-price-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #121212;
    margin: 0 0 6px;
    line-height: 1.15;
}
.flash-sale-price-title span {
    color: #F1263D;
}
.flash-sale-price-sub {
    font-size: 1rem;
    color: #656565;
    margin-bottom: 16px;
}
.flash-sale-price-sub del {
    color: #999;
}
.flash-sale-highlight {
    color: #F1263D;
    font-weight: 700;
}
.flash-sale-trust-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 24px;
    background: #FFF;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #EAE3E0;
}
.flash-sale-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.flash-sale-btn-main {
    display: block;
    width: 100%;
    padding: 14px;
    background: #F1263D;
    color: #FFF !important;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(241, 38, 61, 0.3);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}
.flash-sale-btn-main:hover {
    background: #D91831;
    transform: translateY(-1px);
}
.flash-sale-btn-sub {
    background: none;
    border: none;
    color: #777;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    padding: 4px;
    text-align: center;
}
.flash-sale-btn-sub:hover {
    color: #121212;
}
.flash-sale-modal-products {
    flex: 0 0 58%;
    background: #FFF;
    padding: 24px;
    border-left: 1px solid #EAE3E0;
    display: flex;
    align-items: center;
}
.flash-sale-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}
.flash-sale-item-card {
    display: flex;
    flex-direction: column;
    background: #FFF9F7;
    border: 1px solid #EAE3E0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
}
.flash-sale-item-card:hover {
    transform: translateY(-2px);
    border-color: #F1263D;
}
.flash-sale-item-card--wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
}
.flash-sale-item-thumb {
    aspect-ratio: 4 / 5;
    background: #F3F3F3;
    overflow: hidden;
}
.flash-sale-item-card--wide .flash-sale-item-thumb {
    width: 100px;
    aspect-ratio: 1;
    flex-shrink: 0;
}
.flash-sale-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.flash-sale-item-meta {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.flash-sale-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #121212;
    line-height: 1.2;
}
.flash-sale-item-color {
    font-size: 0.75rem;
    color: #656565;
}
.mobile-actions {
    display: none;
}
/* Mobile Popup Overrides */
@media (max-width: 767px) {
.flash-sale-modal-card {
        max-width: calc(100vw - 24px);
        max-height: 90dvh;
        border-radius: 20px;
        overflow-y: auto;
    }
.flash-sale-modal-body {
        flex-direction: column;
    }
.flash-sale-modal-info {
        padding: 20px 16px 12px;
        text-align: center;
    }
.flash-sale-price-title {
        font-size: 1.5rem;
    }
.flash-sale-trust-bar {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
.desktop-actions {
        display: none;
    }
.mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px 16px;
        background: #FFF9F7;
        border-top: 1px solid #EAE3E0;
    }
.flash-sale-modal-products {
        border-left: none;
        border-top: 1px solid #EAE3E0;
        padding: 16px;
    }
.flash-sale-product-grid {
        grid-template-columns: 1fr 1fr;
    }
.flash-sale-item-card--wide {
        grid-column: span 2;
    }

}
/* Flash Sale Landing Page Styling */
.flash-sale-landing-page {
    background: #FFF9F7;
    min-height: 100vh;
}
.flash-sale-landing-hero {
    background: linear-gradient(180deg, #FFF9F7 0%, #FDF4F0 100%);
    border-bottom: 1px solid #EAE3E0;
    padding: 44px 20px 36px;
    text-align: center;
}
.flash-sale-landing-hero-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flash-sale-hero-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #F1263D;
    background: #FFEBEF;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.flash-sale-hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #121212;
    margin: 0 0 8px;
    line-height: 1.15;
}
.flash-sale-hero-title span {
    color: #F1263D;
}
.flash-sale-hero-sub {
    font-size: 1.05rem;
    color: #656565;
    margin-bottom: 16px;
}
.flash-sale-hero-sub del {
    color: #999;
}
.flash-sale-hero-free {
    color: #F1263D;
    font-weight: 700;
}
.flash-sale-hero-trust {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.flash-sale-hero-btn {
    padding: 12px 32px;
    background: #F1263D;
    color: #FFF !important;
    font-weight: 800;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(241, 38, 61, 0.28);
    transition: background 0.2s, transform 0.2s;
}
.flash-sale-hero-btn:hover {
    background: #D91831;
    transform: translateY(-2px);
}
.flash-sale-landing-grid-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 36px 16px;
}
.flash-sale-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.flash-sale-landing-card {
    background: #FFF;
    border: 1px solid #EAE3E0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.flash-sale-landing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #F1263D;
}
.flash-sale-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: #F3F3F3;
    overflow: hidden;
    display: block;
}
.flash-sale-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.flash-sale-badge-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #F1263D;
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.flash-sale-card-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.flash-sale-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #121212;
    text-decoration: none;
    line-height: 1.3;
}
.flash-sale-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
}
.flash-sale-price-current {
    font-size: 1.25rem;
    font-weight: 900;
    color: #F1263D;
}
.flash-sale-price-old {
    font-size: 0.9rem;
    color: #999;
}
.flash-sale-quick-buy-btn {
    width: 100%;
    padding: 10px 14px;
    background: #121212;
    color: #FFF !important;
    font-size: 0.82rem;
    font-weight: 800;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}
.flash-sale-quick-buy-btn:hover {
    background: #F1263D;
}
/* Quick Size Modal */
.flash-sale-size-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(18,18,18,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.flash-sale-size-modal-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #FFF9F7;
    border: 1px solid #EAE3E0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.size-opt-btn {
    padding: 12px 6px;
    background: #FFF;
    border: 1.5px solid #EAE3E0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #121212;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.2s;
}
.size-opt-btn small {
    font-size: 0.65rem;
    font-weight: 500;
    color: #777;
}
.size-opt-btn:hover,
.size-opt-btn.selected {
    border-color: #F1263D;
    background: #FFEBEF;
    color: #F1263D;
}
/* Mobile Sticky Bottom Bar */
.flash-sale-mobile-sticky-bar {
    display: none;
}
@media (max-width: 767px) {
.flash-sale-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
.flash-sale-hero-title {
        font-size: 1.6rem;
    }
.flash-sale-mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        z-index: 900;
        background: #FFF;
        border-top: 1px solid #EAE3E0;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
    }
.flash-sale-sticky-info {
        display: flex;
        flex-direction: column;
    }
.flash-sale-sticky-title {
        font-size: 0.95rem;
        font-weight: 800;
        color: #121212;
    }
.flash-sale-sticky-sub {
        font-size: 0.75rem;
        color: #F1263D;
        font-weight: 600;
    }
.flash-sale-sticky-btn {
        padding: 10px 20px;
        background: #F1263D;
        color: #FFF !important;
        font-size: 0.85rem;
        font-weight: 800;
        border-radius: 20px;
        text-decoration: none;
    }

}
/* ===== PDP UI/UX PRO MAX OVERRIDES ===== */
.option-group-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    color: #111 !important;
    margin-bottom: 12px !important;
}
.size-guide-link {
    font-size: 0.8rem;
    color: #666;
    text-decoration: underline;
    font-weight: 500;
}
.size-blocks {
    gap: 8px;
}
.size-block {
    width: auto;
    height: 44px !important;
    border-radius: 6px !important;
    border: 1.5px solid #eaeaea !important;
    background: #fff !important;
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
}
.size-block:hover {
    border-color: #111 !important;
}
.size-block.selected {
    border-color: #111 !important;
    background: #111 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}
.color-dot {
    border: 2px solid transparent !important;
    box-shadow: 0 0 0 1px #ddd !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.color-dot:hover {
    box-shadow: 0 0 0 1.5px #999 !important;
}
.color-dot.selected {
    border: 3px solid #fff !important;
    box-shadow: 0 0 0 2px #111 !important;
    transform: scale(1.15) !important;
}
.qty-btn {
    width: 40px;
    height: 100%;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
}
.qty-btn:hover {
    background: #f5f5f5;
}
.qty-input {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: #111;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Style for Tra Nhanh Size inside picker */
.size-guide-picker.sg-section {
    border: 1px solid #eaeaea !important;
    background: #fdfdfd !important;
    border-radius: 6px !important;
    padding: 0 !important;
    margin-top: 15px !important;
}
.sg-section-title {
    color: #333 !important;
}
/* ===== PDP STRUCTURAL CRO OVERRIDES ===== */
@media (max-width: 767px) {
#size-guide-modal .modal-panel.size-guide-panel {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 88vh !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 18px 20px 28px !important;
        transform: none !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25) !important;
    }
#size-guide-modal .modal-head {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid var(--border-color) !important;
        padding-bottom: 12px !important;
        margin-bottom: 14px !important;
    }
#size-guide-modal .modal-head h3 {
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        margin: 0 !important;
        letter-spacing: 0.5px !important;
    }

}
/* ===== PRODUCT CARD — PAWCUSTOM MINIMALIST REDESIGN ===== */
/* Card Container: Clean, boxless, editorial */
.product-card {
    position: relative !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}
/* Media Frame: 1:1 for square mockup images */
.product-card .product-image-wrapper,
.product-card__media {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    background: transparent !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
.product-card .product-image-wrapper img,
.product-card__media img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}
.product-card:hover .product-image-front {
    transform: scale(1.02) !important;
}
/* Wishlist Button: Clean round 40px */
.product-card .wishlist-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 3 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}
.product-card .wishlist-btn:hover {
    background: #ffffff !important;
    transform: scale(1.06) !important;
}
/* Product Info Block: Tighter spacing (Name -> Price: 7px, Price -> CTA: 12px) */
.product-info {
    padding: 12px 2px 2px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    background: transparent !important;
}
/* Product Name: 16px, 2-line clamp with fixed min-height for baseline alignment */
.product-name {
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
    color: #111111 !important;
    text-decoration: none !important;
    margin: 0 0 7px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 41px !important;
}
.product-name:hover {
    color: #000000 !important;
}
/* Price Section: 18px Bold Brand Red */
.product-price-wrap {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin: 0 0 12px 0 !important;
}
.product-price {
    font-size: 1.125rem !important; /* 18px */
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    line-height: 1 !important;
}
.product-price-old {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #888888 !important;
    text-decoration: line-through !important;
}
/* CTA: Text-link "CHỌN SIZE →" with smooth translateX arrow on hover (No layout jitter) */
.product-card-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 0.78rem !important; /* ~12.5px */
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    text-decoration: none !important;
    margin-top: 0 !important;
    padding: 0 !important;
    width: fit-content !important;
    background: none !important;
    border: none !important;
    transition: color 0.2s ease !important;
}
.product-card-cta .arrow {
    display: inline-block !important;
    transition: transform 0.2s ease !important;
}
.product-card:hover .product-card-cta .arrow {
    transform: translateX(4px) !important;
}
/* ===== PDP & CARD IMAGE CONTAINER CLEANUP ===== */
.product-card .product-image-wrapper,
.product-card__media {
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}
.product-card .product-image-wrapper img,
.product-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
