/* WaStore Frontend — Tailwind companion (theme vars set in theme_styles.php) */

html, body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

[x-cloak] { display: none !important; }

.stagger-1 { animation: slideUp 0.5s ease-out 0.05s forwards; opacity: 0; }
.stagger-2 { animation: slideUp 0.5s ease-out 0.12s forwards; opacity: 0; }
.stagger-3 { animation: slideUp 0.5s ease-out 0.19s forwards; opacity: 0; }
.stagger-4 { animation: slideUp 0.5s ease-out 0.26s forwards; opacity: 0; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5);
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.85) 0%, rgba(var(--theme-primary-rgb), 0.65) 50%, rgba(var(--theme-secondary-rgb), 0.5) 100%);
}
/* Subtle left fade when banner has image + text overlay — keeps photo visible */
.hero-gradient-light {
    background: linear-gradient(90deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.25) 35%, transparent 65%);
}
@media (max-width: 767px) {
    .hero-gradient-light {
        background: linear-gradient(to top, rgba(15,23,42,0.5) 0%, rgba(15,23,42,0.2) 40%, transparent 70%);
    }
}
.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    will-change: transform;
}
.hero-slide-img.is-animating {
    animation: heroKenBurns 5.5s ease-out forwards;
}
@keyframes heroKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

.hero-slider-stage {
    background: var(--theme-primary-950);
}
.hero-slide {
    will-change: opacity;
}
.hero-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 20;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.hero-slider:hover .hero-slider-nav {
    opacity: 1;
}
.hero-slider-nav:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.05);
}
.hero-slider-nav-prev { left: 1rem; }
.hero-slider-nav-next { right: 1rem; }
@media (max-width: 639px) {
    .hero-slider-nav { display: none; }
}

.text-gradient {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.product-card {
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(15,23,42,0.15);
    z-index: 5;
}
.product-card .product-img { transition: transform 0.6s ease; }
.product-card:hover .product-img { transform: scale(1.06); }
.product-card-hover {
    background: rgba(15, 23, 42, 0.08);
}
.product-card .toggle-wishlist {
    z-index: 30;
    pointer-events: auto;
}

/* Trust strip — uses admin theme primary + secondary */
.trust-strip-icon.trust-icon-primary { background: var(--theme-primary-50); color: var(--theme-primary); }
.trust-strip-icon.trust-icon-primary-dark { background: var(--theme-primary-100); color: var(--theme-primary-dark); }
.trust-strip-icon.trust-icon-secondary { background: var(--theme-secondary-100); color: var(--theme-secondary); }
.trust-strip-icon.trust-icon-secondary-light { background: var(--theme-secondary-100); color: var(--theme-secondary-700); }

.sale-badge {
    background: var(--theme-secondary);
    color: #fff;
}

.site-logo {
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.06));
}

.btn-shine {
    position: relative; overflow: hidden;
}
.btn-shine::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
    transform: translateX(-100%); animation: shimmer 3s infinite;
}

.cart-toast {
    position: fixed; bottom: 5.5rem; left: 50%;
    transform: translateX(-50%) translateY(1rem);
    background: #0f172a; color: #fff; padding: 0.75rem 1.25rem; border-radius: 9999px;
    font-size: 0.875rem; font-weight: 600; z-index: 9999; box-shadow: 0 12px 40px -8px rgba(0,0,0,.35);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1), visibility 0.3s;
    pointer-events: none; opacity: 0; visibility: hidden;
}
.cart-toast.show {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

.product-carousel-track .product-card {
    height: 100%;
}

/* Homepage category grid (legacy tiles) */
.category-grid-tile {
    display: block;
}

/* Category showcase — responsive grid (mobile) / centered row (desktop) */
.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 0.625rem;
}
@media (min-width: 640px) {
    .category-showcase-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 1.25rem 1.75rem;
    }
    .category-showcase-item {
        flex: 0 0 128px;
        max-width: 140px;
        width: 128px;
    }
}
@media (min-width: 768px) {
    .category-showcase-grid {
        gap: 1.5rem 2rem;
    }
    .category-showcase-item {
        flex: 0 0 140px;
        max-width: 160px;
        width: 140px;
    }
}
@media (min-width: 1024px) {
    .category-showcase-grid {
        gap: 1.75rem 2.5rem;
    }
    .category-showcase-item {
        flex: 0 0 150px;
        max-width: 172px;
        width: 150px;
        padding: 1rem 0.75rem 1.125rem;
        border-radius: 1rem;
        border: 1px solid transparent;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }
    .category-showcase-item:hover {
        border-color: #e2e8f0;
        background: #fafbfc;
        box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.15);
        transform: translateY(-2px);
    }
}
@media (min-width: 1280px) {
    .category-showcase-grid {
        gap: 2rem 3rem;
    }
}

.category-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}
.category-showcase-item:active .category-showcase-visual {
    transform: scale(0.96);
}
.category-showcase-visual {
    position: relative;
    width: 100%;
    height: 5.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease;
}
@media (min-width: 640px) {
    .category-showcase-visual {
        height: 6.75rem;
        margin-bottom: 0.625rem;
    }
}
@media (min-width: 1024px) {
    .category-showcase-visual {
        height: 8.5rem;
        margin-bottom: 0.75rem;
    }
}

.category-showcase-pedestal {
    position: absolute;
    bottom: 0.15rem;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 1.35rem;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(147, 197, 253, 0.55) 0%, rgba(186, 230, 253, 0.35) 45%, rgba(224, 242, 254, 0.15) 75%, transparent 100%);
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.18);
    pointer-events: none;
}
@media (min-width: 640px) {
    .category-showcase-pedestal {
        height: 1.65rem;
        bottom: 0.2rem;
    }
}

.category-showcase-img {
    position: relative;
    z-index: 1;
    max-width: 78%;
    max-height: 4.75rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.12));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 640px) {
    .category-showcase-img {
        max-height: 5.75rem;
    }
}
@media (min-width: 1024px) {
    .category-showcase-img {
        max-height: 7rem;
        max-width: 88%;
    }
}
.category-showcase-item:hover .category-showcase-img {
    transform: translateY(-4px) scale(1.04);
}

.category-showcase-fallback {
    position: relative;
    z-index: 1;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--theme-secondary);
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
    box-shadow: 0 6px 16px rgba(14, 116, 144, 0.12);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 640px) {
    .category-showcase-fallback {
        width: 3.75rem;
        height: 3.75rem;
        font-size: 1.4rem;
    }
}
.category-showcase-fallback-all {
    color: var(--theme-primary);
    background: linear-gradient(145deg, var(--theme-primary-50) 0%, var(--theme-primary-100) 100%);
    box-shadow: 0 6px 16px rgba(21, 128, 61, 0.12);
}
.category-showcase-item:hover .category-showcase-fallback {
    transform: translateY(-4px) scale(1.05);
}

.category-showcase-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    max-width: 100%;
    padding: 0 0.125rem;
    line-height: 1.3;
}
.category-showcase-name {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 640px) {
    .category-showcase-name {
        font-size: 0.8125rem;
    }
}
@media (min-width: 1024px) {
    .category-showcase-name {
        font-size: 0.9375rem;
    }
    .category-showcase-fallback {
        width: 4.25rem;
        height: 4.25rem;
        font-size: 1.5rem;
    }
}
.category-showcase-chevron {
    flex-shrink: 0;
    font-size: 0.5rem;
    color: #64748b;
    margin-top: 0.1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}
@media (min-width: 640px) {
    .category-showcase-chevron {
        font-size: 0.5625rem;
    }
}
.category-showcase-item:hover .category-showcase-chevron {
    color: var(--theme-primary);
    transform: translateX(2px);
}

/* Product review choice cards */
.review-choice-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.875rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.review-choice-card:hover {
    border-color: var(--theme-primary-300);
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.08);
}
.review-choice-card:active {
    transform: scale(0.98);
}
.review-choice-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.review-template-card {
    display: block;
    width: 100%;
    padding: 0.75rem 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.review-template-card:hover {
    border-color: var(--theme-primary-300);
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.08);
}
.review-template-card.is-selected {
    border-color: var(--theme-primary);
    background: var(--theme-primary-50);
    box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.15);
}

/* Payment trust strip (above footer) */
.payment-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
}
@media (min-width: 640px) {
    .payment-trust-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem 2rem;
    }
}
.payment-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 0.5rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    text-align: center;
    min-height: 5.5rem;
}
@media (min-width: 640px) {
    .payment-trust-item {
        flex-direction: row;
        gap: 0.625rem;
        padding: 0;
        border: none;
        background: transparent;
        min-height: auto;
    }
}
.payment-trust-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
}
@media (min-width: 640px) {
    .payment-trust-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}
.payment-trust-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.25;
}
@media (min-width: 640px) {
    .payment-trust-label {
        font-size: 0.875rem;
    }
}
/* Odd count: center last item on mobile 2-col grid */
@media (max-width: 639px) {
    .payment-trust-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 12rem;
        margin-inline: auto;
        width: 100%;
    }
}

/* Bootstrap bridge for unmigrated pages */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.row { display: flex; flex-wrap: wrap; margin: 0 -0.75rem; }
.row > [class*="col-"] { padding: 0 0.75rem; }
.col-6 { width: 50%; } .col-12 { width: 100%; }
.col-md-4 { width: 33.333%; } .col-md-6 { width: 50%; } .col-lg-3 { width: 25%; }
.col-lg-4 { width: 33.333%; } .col-lg-5 { width: 41.666%; } .col-lg-6 { width: 50%; } .col-lg-7 { width: 58.333%; }
.g-3 > * { margin-bottom: 1rem; } .g-4 > * { margin-bottom: 1.5rem; }
@media (max-width: 767px) {
    .col-md-4, .col-md-6, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7 { width: 100%; }
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
    padding: 0.625rem 1.25rem; font-weight: 600; border-radius: 0.75rem; border: none;
    cursor: pointer; transition: all 0.25s; text-decoration: none; font-size: 0.875rem;
}
.btn-primary { background: linear-gradient(135deg, var(--theme-primary-light), var(--theme-primary)); color: #fff; box-shadow: 0 4px 20px -4px rgba(var(--theme-primary-rgb),.45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px -6px rgba(var(--theme-primary-rgb),.55); color: #fff; }
.btn-outline-primary { border: 2px solid var(--theme-primary-600); color: var(--theme-primary); background: transparent; }
.btn-outline-danger { border: 1px solid #fecaca; color: #ef4444; background: transparent; }
.btn-secondary { background: #e2e8f0; color: #475569; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; border-radius: 0.875rem; }
.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.8125rem; }

.form-control, .form-select {
    width: 100%; padding: 0.7rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 0.75rem;
    font-size: 0.9375rem; transition: all 0.2s; background: #fff;
}
.form-control:focus, .form-select:focus {
    outline: none; border-color: var(--theme-primary-light); box-shadow: 0 0 0 4px rgba(var(--theme-primary-rgb),.12);
}
.form-label { font-size: 0.75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.35rem; display: block; }

.alert { padding: 1rem; border-radius: 0.875rem; margin-bottom: 1rem; font-size: 0.875rem; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: var(--theme-primary-50); color: var(--theme-primary-900); border: 1px solid #a7f3d0; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.breadcrumb { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 0.35rem; font-size: 0.8125rem; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; margin-right: 0.35rem; color: #94a3b8; }
.breadcrumb-item a { color: #64748b; text-decoration: none; }
.breadcrumb-item.active { color: var(--theme-primary); font-weight: 600; }

.badge { display: inline-flex; padding: 0.2rem 0.55rem; font-size: 0.7rem; font-weight: 700; border-radius: 9999px; }
.bg-success { background: #059669; color: #fff; }
.bg-warning { background: #f59e0b; color: #fff; }
.bg-info { background: #0ea5e9; color: #fff; }
.bg-danger { background: #ef4444; color: #fff; }
.bg-secondary { background: #94a3b8; color: #fff; }
.bg-primary { background: var(--theme-primary); color: #fff; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 0.85rem; border-bottom: 1px solid #f1f5f9; }
.table thead { background: #f8fafc; }

.input-group { display: flex; }
.input-group .form-control { border-radius: 0.75rem 0 0 0.75rem; }
.input-group .btn { border-radius: 0 0.75rem 0.75rem 0; }

.me-1 { margin-right: 0.25rem; } .me-2 { margin-right: 0.5rem; } .ms-2 { margin-left: 0.5rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; }
.pb-5 { padding-bottom: 3rem; } .py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; }
.d-flex { display: flex; } .d-block { display: block; } .d-none { display: none; }
.flex-fill { flex: 1; } .flex-wrap { flex-wrap: wrap; } .align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; }
.text-muted { color: #64748b; } .text-success { color: #059669; } .text-danger { color: #ef4444; }
.text-warning { color: #f59e0b; } .fw-bold { font-weight: 700; } .small { font-size: 0.875rem; }
.w-100 { width: 100%; } .rounded { border-radius: 0.5rem; }
.opacity-75 { opacity: 0.75; }
@media (min-width: 768px) { .d-md-flex { display: flex !important; } .d-md-block { display: block !important; } .d-md-none { display: none !important; } }

.track-timeline {
    display: flex; justify-content: space-between; position: relative; padding: 1.5rem 0 0.5rem;
}
.track-timeline::before {
    content: ''; position: absolute; top: 2rem; left: 8%; right: 8%;
    height: 3px; background: #e2e8f0; z-index: 0; border-radius: 9999px;
}
.track-step { text-align: center; position: relative; z-index: 1; flex: 1; }
.track-step .track-dot {
    width: 18px; height: 18px; border-radius: 50%; background: #e2e8f0;
    border: 3px solid #fff; margin: 0 auto 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: all 0.3s;
}
.track-step.done .track-dot { background: var(--theme-primary-light); }
.track-step.active .track-dot {
    background: var(--theme-primary); box-shadow: 0 0 0 5px rgba(var(--theme-primary-rgb),.25);
    animation: pulseSoft 2s ease-in-out infinite;
}
.track-step span { font-size: 0.72rem; font-weight: 600; color: #94a3b8; }
.track-step.done span, .track-step.active span { color: var(--theme-primary); }

@keyframes pulseSoft {
    0%, 100% { box-shadow: 0 0 0 5px rgba(var(--theme-primary-rgb),.25); }
    50% { box-shadow: 0 0 0 8px rgba(var(--theme-primary-rgb),.12); }
}

.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; }
@media (max-width: 767px) { .account-layout { grid-template-columns: 1fr; } }

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ── Page components (Tailwind companion) ── */
.ui-card {
    background: #fff; border-radius: 1rem; border: 1px solid #f1f5f9;
    box-shadow: 0 4px 24px -4px rgba(15,23,42,.06); overflow: hidden;
}
.ui-card-pad { padding: 1.5rem; }
.ui-summary {
    background: #fff; border-radius: 1rem; border: 1px solid #f1f5f9;
    padding: 1.5rem; box-shadow: 0 4px 24px -4px rgba(15,23,42,.06);
    position: sticky; top: 6rem;
}
.ui-summary h5 {
    font-weight: 700; margin-bottom: 1.25rem; padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9; font-size: 1rem;
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.6rem; font-size: 0.9rem; color: #64748b; }
.summary-row span:last-child { color: #0f172a; font-weight: 600; }
.summary-row.total {
    font-size: 1.1rem; font-weight: 800; color: var(--theme-primary);
    border-top: 2px solid #f1f5f9; padding-top: 0.75rem; margin-top: 0.75rem;
}
.summary-row.total span { color: var(--theme-primary); }

.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state i { font-size: 4rem; color: #cbd5e1; margin-bottom: 1rem; display: block; }
.empty-state h4 { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }

.qty-control {
    display: flex; align-items: center; border: 2px solid #e2e8f0;
    border-radius: 0.75rem; overflow: hidden; width: fit-content;
}
.qty-control button {
    width: 40px; height: 44px; border: none; background: #f8fafc;
    font-size: 1.1rem; cursor: pointer; transition: background 0.2s; color: #475569;
}
.qty-control button:hover:not(:disabled) { background: #e2e8f0; }
.qty-control button:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-control input {
    width: 52px; border: none; text-align: center; font-weight: 700;
    background: #fff; font-size: 0.9375rem;
}

.gallery-thumb {
    width: 72px; height: 72px; object-fit: cover; border-radius: 0.75rem;
    border: 2px solid transparent; cursor: pointer; transition: all 0.2s; opacity: 0.7;
}
.gallery-thumb:hover, .gallery-thumb.active {
    border-color: var(--theme-primary-light); opacity: 1; box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb),.15);
}

.image-zoom-wrap { overflow: hidden; cursor: zoom-in; border-radius: 1rem; border: 1px solid #f1f5f9; background: #fff; }
.zoomable-image { transition: transform 0.3s ease; width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.payment-option {
    cursor: pointer; transition: all 0.2s; border-color: #e2e8f0 !important;
}
.payment-option:has(input:checked) {
    border-color: var(--theme-primary-light) !important; background: var(--theme-primary-50);
}

.section-label {
    display: inline-block; font-size: 0.65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--theme-primary-600);
}
.stock-urgency { color: #ef4444; font-weight: 700; font-size: 0.85rem; animation: pulseSoft 2s infinite; }

/* FOMO purchase toast */
.fomo-widget {
    position: fixed;
    bottom: 5.5rem;
    left: 1rem;
    z-index: 9990;
    max-width: min(340px, calc(100vw - 2rem));
    pointer-events: none;
}
@media (min-width: 768px) {
    .fomo-widget { bottom: 1.5rem; }
}
.fomo-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 12px 32px -8px rgba(15,23,42,.2);
    pointer-events: auto;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.fomo-widget.fomo-visible .fomo-toast {
    transform: translateY(0);
    opacity: 1;
}
.fomo-toast-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: var(--theme-primary-50);
    color: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fomo-toast-body { flex: 1; min-width: 0; font-size: 0.8125rem; line-height: 1.45; }
.fomo-toast-text em { font-style: normal; color: var(--theme-primary); font-weight: 600; }
.fomo-toast-time { font-size: 0.7rem; }
.fomo-toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.15rem;
}
.fomo-toast-close:hover { color: #64748b; }
.fomo-viewer-count, .fomo-hot-streak { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


.order-success-card {
    background: #fff; border-radius: 1.5rem; box-shadow: 0 20px 40px -12px rgba(15,23,42,.12);
    padding: 3rem 2rem; text-align: center; max-width: 560px; margin: 0 auto;
}
.success-check {
    width: 80px; height: 80px; background: var(--theme-primary-100); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; font-size: 2.5rem; color: var(--theme-primary);
    animation: scaleIn 0.5s ease-out;
}

.star-rating { color: #f59e0b; font-size: 0.85rem; }
.star-rating i { margin-right: 1px; }

.cms-content { line-height: 1.75; color: #475569; }
.cms-content h2, .cms-content h3 { color: #0f172a; font-weight: 700; margin-top: 1.5rem; }

.text-decoration-line-through { text-decoration: line-through; }
.fs-6 { font-size: 1rem; }
.btn-link { background: none; border: none; color: #64748b; text-decoration: none; }
.btn-link:hover { color: var(--theme-primary); }
.disabled { pointer-events: none; opacity: 0.55; }

/* JS-driven visibility (do NOT use .hidden — conflicts with Tailwind responsive utilities) */
.is-hidden { display: none !important; }
.header-action-badge {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.header-action-badge.is-hidden {
    display: none !important;
}

.shadow-card { box-shadow: 0 4px 24px -4px rgba(15,23,42,.08); }
.shadow-card-hover { box-shadow: 0 20px 40px -12px rgba(15,23,42,.15); }
.flex-fill { flex: 1 1 auto; min-width: 0; }

/* Shop filter sidebar */
.filter-panel {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    box-shadow: 0 4px 24px -4px rgba(15,23,42,.06);
}
.filter-panel h6, .filter-panel .filter-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filter-panel .form-label {
    margin-bottom: 0.4rem;
}
.filter-panel .form-control,
.filter-panel .form-select {
    margin-bottom: 0;
    background: #f8fafc;
    border-color: #e2e8f0;
}
.filter-panel .form-control:focus,
.filter-panel .form-select:focus {
    background: #fff;
}
.filter-panel .grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* ── Shop page ── */
.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .shop-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 2rem;
    }
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

.shop-categories-bar {
    position: relative;
    z-index: 10;
}
.shop-categories-scroll {
    mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 24px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 24px), transparent);
    padding-left: 4px;
    padding-right: 4px;
}
.shop-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.shop-cat-pill em {
    font-style: normal;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #64748b;
}
.shop-cat-pill:hover {
    border-color: var(--theme-primary-300);
    color: var(--theme-primary);
    transform: translateY(-1px);
}
.shop-cat-pill.is-active {
    background: linear-gradient(135deg, var(--theme-primary-600), var(--theme-primary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px -4px rgba(var(--theme-primary-rgb),.45);
}
.shop-cat-pill.is-active em {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.shop-mobile-bar { margin-top: -0.5rem; }

.shop-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.875rem;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    position: relative;
}
.shop-toolbar-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--theme-primary-600);
}
.shop-toolbar-select {
    appearance: none;
    padding: 0.65rem 2rem 0.65rem 0.75rem;
    border-radius: 0.875rem;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}
.shop-toolbar-select-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.625rem;
    color: #94a3b8;
    pointer-events: none;
}

.shop-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.45);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.25s;
}
.shop-filter-overlay.is-visible {
    display: block;
    opacity: 1;
}

.shop-filters {
    position: relative;
    z-index: 20;
    width: 100%;
}
@media (min-width: 1024px) {
    .shop-filters {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: auto !important;
        transform: none !important;
        pointer-events: auto !important;
    }
    .shop-filter-overlay {
        display: none !important;
    }
}
@media (max-width: 1023px) {
    .shop-filters {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1050;
        width: min(320px, 88vw);
        transform: translateX(-105%);
        transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
        pointer-events: none;
    }
    .shop-filters.is-open {
        transform: translateX(0);
        pointer-events: auto;
    }
    .shop-filters:not(.is-open) {
        visibility: hidden;
    }
    .shop-filters.is-open {
        visibility: visible;
    }
    .shop-filters-inner {
        height: 100%;
        overflow-y: auto;
        border-radius: 0;
        border-left: none;
        border-top: none;
        border-bottom: none;
    }
}
.shop-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}
.shop-filters-close {
    width: 36px;
    height: 36px;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-filter-section {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
.shop-filter-section:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.shop-filter-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.65rem;
}

.shop-filter-search-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    background: var(--theme-primary-50);
    border: 1px solid var(--theme-primary-200);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--theme-primary-dark);
    margin-bottom: 0.5rem;
}

.shop-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 220px;
    overflow-y: auto;
}
.shop-category-option { cursor: pointer; }
.shop-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.shop-category-link.is-active .shop-category-chip {
    background: var(--theme-primary-50);
    border-color: var(--theme-primary-300);
    color: var(--theme-primary);
}
.shop-category-link.is-active .shop-category-chip em {
    color: var(--theme-primary-600);
}
.shop-category-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    border: 1.5px solid transparent;
    background: #f8fafc;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.15s;
}
.shop-category-chip em {
    font-style: normal;
    font-size: 0.6875rem;
    color: #94a3b8;
}
.shop-category-option:hover .shop-category-chip {
    background: var(--theme-primary-50);
    color: var(--theme-primary);
}
.shop-category-option input:checked + .shop-category-chip {
    background: var(--theme-primary-50);
    border-color: var(--theme-primary-300);
    color: var(--theme-primary);
}
.shop-category-option input:checked + .shop-category-chip em {
    color: var(--theme-primary-600);
}

.shop-price-presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.shop-price-preset {
    padding: 0.5rem 0.65rem;
    border-radius: 0.65rem;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.15s;
    cursor: pointer;
}
.shop-price-preset:hover,
.shop-price-preset.is-active {
    border-color: var(--theme-primary-300);
    background: var(--theme-primary-50);
    color: var(--theme-primary);
}

.shop-filter-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.shop-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    border: 1.5px dashed #cbd5e1;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}
.shop-clear-btn:hover {
    border-color: var(--theme-primary-300);
    color: var(--theme-primary);
    background: var(--theme-primary-50);
}

.shop-result-line {
    font-size: 0.9375rem;
    color: #64748b;
}
.shop-result-line strong {
    color: #0f172a;
    font-size: 1.125rem;
}

.shop-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}
.shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem 0.35rem 0.65rem;
    border-radius: 9999px;
    background: var(--theme-primary-50);
    border: 1px solid var(--theme-primary-200);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--theme-primary-dark);
}
.shop-chip button {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: rgba(22,101,52,.12);
    color: var(--theme-primary-dark);
    font-size: 0.875rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-chip button:hover { background: rgba(22,101,52,.22); }

.shop-view-toggle {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 0.875rem;
    border: 1.5px solid #e2e8f0;
    background: #fff;
}
.shop-view-btn {
    width: 36px;
    height: 36px;
    border-radius: 0.65rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.15s;
}
.shop-view-btn.is-active {
    background: var(--theme-primary-50);
    color: var(--theme-primary);
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    position: relative;
    min-height: 120px;
}
@media (min-width: 640px) {
    .shop-product-grid { gap: 1.25rem; }
}
@media (min-width: 768px) {
    .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.shop-product-grid .product-item {
    width: 100% !important;
    max-width: none;
    margin-bottom: 0 !important;
}
.shop-product-grid.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.65);
    backdrop-filter: blur(1px);
    border-radius: 1rem;
    z-index: 5;
}
.shop-product-grid.is-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--theme-primary-600);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    z-index: 6;
}
@keyframes spin { to { transform: rotate(360deg); } }

.shop-list-view {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
}
.shop-list-view .product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.shop-list-view .product-card > .relative {
    width: 140px;
    min-width: 140px;
    aspect-ratio: 1;
    flex-shrink: 0;
}
@media (min-width: 640px) {
    .shop-list-view .product-card > .relative { width: 200px; min-width: 200px; }
}
.shop-list-view .product-card > .relative .product-card-hover {
    display: none;
}
.shop-list-view .product-card > div:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.25rem !important;
}
.shop-list-view .product-card h3 {
    font-size: 1rem !important;
    -webkit-line-clamp: 1;
}
.shop-list-view .product-card .add-to-cart.w-full {
    max-width: 200px;
}

.shop-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc, #fff);
    border-radius: 1.5rem;
    border: 1px dashed #e2e8f0;
}
.shop-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 9999px;
    background: var(--theme-primary-50);
    color: var(--theme-primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}
.shop-empty-state h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.shop-empty-state p {
    color: #64748b;
    font-size: 0.9375rem;
}

.shop-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}
.shop-page-btn:hover {
    border-color: var(--theme-primary-300);
    color: var(--theme-primary);
}
.shop-page-btn.is-active {
    background: linear-gradient(135deg, var(--theme-primary-600), var(--theme-primary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px -4px rgba(var(--theme-primary-rgb),.4);
}
.shop-page-nav { padding: 0 0.65rem; }

.shop-trust-strip {
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #f8fafc, var(--theme-primary-50));
    border: 1px solid #e2e8f0;
}
.shop-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}
.shop-trust-item i { font-size: 1.25rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 991px) { .ui-summary { position: static; } }

.floating-wa {
    position: fixed; bottom: 5.5rem; right: 1.25rem; z-index: 9990;
    width: 56px; height: 56px; border-radius: 9999px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff; font-size: 1.75rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(37,211,102,.45);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
    animation: float 4s ease-in-out infinite;
}
.floating-wa::before {
    content: ''; position: absolute; inset: -4px; border-radius: inherit;
    background: rgba(37,211,102,.35); animation: pulseSoft 2s ease-in-out infinite; z-index: -1;
}
.floating-wa:hover {
    color: #fff; transform: scale(1.12);
    box-shadow: 0 12px 40px rgba(37,211,102,.55);
}
@media (max-width: 767px) {
    .floating-wa { bottom: 5rem; right: 1rem; width: 52px; height: 52px; font-size: 1.5rem; }
}

#searchResults.show { display: block !important; }
.search-results a.search-item {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem;
    text-decoration: none; color: inherit; transition: background 0.15s;
}
.search-results a.search-item:hover { background: var(--theme-primary-50); }
.search-results a.search-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 0.5rem; }

.line-clamp-2 {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Customer order detail */
.order-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (max-width: 991px) {
    .order-detail-layout { grid-template-columns: 1fr; }
}
.order-meta-chip {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}
.order-meta-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}
.order-items-list {
    border: 1px solid #f1f5f9;
    border-radius: 0.875rem;
    overflow: hidden;
}
.order-item-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.order-item-row:last-child { border-bottom: none; }
.order-item-thumb img,
.order-item-thumb-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 0.65rem;
    object-fit: cover;
    border: 1px solid #f1f5f9;
}
.order-item-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 1.25rem;
}
.order-item-name { font-weight: 600; color: #0f172a; margin: 0 0 0.15rem; }
.order-item-variant, .order-item-sku, .order-item-qty {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}
.order-item-total { font-weight: 700; color: var(--theme-primary); white-space: nowrap; }
.order-summary-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.875rem;
    padding: 1rem 1.125rem;
}
.order-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    font-size: 0.875rem;
}
.order-summary-grand {
    border-top: 2px solid #e2e8f0;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
}
.order-summary-grand span:last-child { color: var(--theme-primary); }
.order-summary-note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
}
.order-note-box {
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 0.875rem;
}
.order-note-box p { margin: 0.35rem 0 0; color: #64748b; }
.order-info-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.875rem;
    padding: 1rem 1.125rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}
.order-info-card h6 {
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}
.order-info-card p { margin: 0 0 0.35rem; color: #475569; line-height: 1.5; }
.order-info-name { font-weight: 600; color: #0f172a !important; }
.order-info-contact { font-size: 0.8rem; color: #64748b !important; }
.order-info-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.8rem;
}
.order-info-row:last-child { border-bottom: none; }
.order-info-row span:first-child { color: #94a3b8; }
.order-info-row span:last-child { text-align: right; font-weight: 600; color: #334155; }
.order-tracking-card { margin-top: 0; }

