/* BASE HTML */
/* Base Styles - static/css/base.css */

/* ===================
   CSS RESET & GLOBALS
   =================== */
:root {
    --mc-bg: #fff;
    --mc-fg: #0f172a; /* slate-900 */
    --mc-muted: #64748b; /* slate-500 */
    --mc-border: #e2e8f0; /* slate-200 */
    --mc-ring: #93c5fd; /* sky-300 */
    --mc-accent: #2563eb; /* blue-600 */
    --mc-accent-hover: #1d4ed8;
    --mc-danger: #ef4444; /* red-500 */
    --logo-pink: #ce2e82;
    --logo-blue: #48a0ce;
    --bg1: #c084fc;
    --bg2: #ce2e82;
}

.nav-item--pink {
    --bg1: #c084fc;
    --bg2: #ce2e82;
}

.nav-item--blue {
    --bg1: #0ea5e9;
    --bg2: #48a0ce;
}

.nav-item--teal {
    --bg1: #34d399;
    --bg2: #059669;
}

.nav-item--violet {
    --bg1: #a78bfa;
    --bg2: #7c3aed;
}

.nav-item--amber {
    --bg1: #f59e0b;
    --bg2: #d97706;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove default margins and paddings */
h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

/* Form elements */
input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ===================
   UTILITY CLASSES
   =================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


.icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

/* Visibility utilities */
.hidden {
    display: none !important;
}

.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;
}

/* ===================
   ACCOUNT & AUTH PAGES
   =================== */

.auth-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px 72px;
}

.auth-panel {
    max-width: 480px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

.auth-panel--wide {
    max-width: 1120px;
    padding: 20px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.auth-title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 1.75rem;
    line-height: 1.2;
}

.auth-copy {
    margin: 0 0 22px;
    color: #6b7280;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-field label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-weight: 600;
}

.auth-field input,
.auth-field select,
.auth-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    background: #fff;
}

.auth-field textarea {
    min-height: 96px;
    padding-top: 10px;
    padding-bottom: 10px;
    resize: vertical;
}

.auth-field input:disabled {
    color: #6b7280;
    background: #f9fafb;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    border-color: #ec4899;
    outline: 3px solid rgba(236, 72, 153, .18);
}

.auth-field--check label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.auth-field--check input {
    width: 18px;
    min-height: 18px;
    padding: 0;
}

.auth-errors,
.auth-field-errors {
    margin: 8px 0 0;
    color: #b91c1c;
    font-size: .92rem;
    line-height: 1.45;
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.auth-primary,
.auth-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.auth-primary {
    border: 0;
    color: #fff;
    background: #ec4899;
}

.auth-secondary {
    border: 1px solid #d1d5db;
    color: #374151;
    background: #fff;
}

.auth-secondary--danger {
    color: #b91c1c;
    border-color: #fecaca;
}

.auth-links {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.auth-links a {
    color: #be185d;
    font-weight: 600;
    text-decoration: none;
}

.account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;
}

.account-stack {
    display: grid;
    gap: 22px;
}

.account-section {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.account-stack .account-section,
.address-edit-section {
    margin-top: 0;
}

.account-section-title {
    margin: 0 0 18px;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.3;
}

.auth-panel--wide .account-section .auth-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.auth-panel--wide .account-section .auth-errors,
.auth-panel--wide .account-section .auth-field--check,
.auth-panel--wide .account-section .auth-actions,
.auth-panel--wide .account-section .auth-field--address1,
.auth-panel--wide .account-section .auth-field--econt_office_label {
    grid-column: 1 / -1;
}

.address-list {
    display: grid;
    gap: 14px;
}

.address-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.address-card p {
    margin: 8px 0 0;
    color: #4b5563;
    line-height: 1.55;
}

.address-card-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.address-card-title span {
    padding: 3px 8px;
    border-radius: 999px;
    color: #065f46;
    background: #d1fae5;
    font-size: .78rem;
    font-weight: 700;
}

.address-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.account-orders-list {
    --account-order-row-height: 72px;
    --account-order-row-gap: 10px;
    display: grid;
    gap: var(--account-order-row-gap);
    max-height: calc((var(--account-order-row-height) * 5) + (var(--account-order-row-gap) * 4));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    margin-right: -6px;
}

.account-orders-list::-webkit-scrollbar {
    width: 8px;
}

.account-orders-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}

.account-orders-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.account-orders-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.account-order {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    min-height: var(--account-order-row-height, auto);
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.account-order strong {
    color: #111827;
}

.account-order span {
    color: #6b7280;
}

@media (max-width: 640px) {
    .auth-page {
        padding-top: 28px;
    }

    .auth-panel {
        padding: 18px;
    }

    .account-header,
    .address-card {
        display: grid;
        grid-template-columns: 1fr;
    }

    .account-stack,
    .auth-panel--wide .account-section .auth-form,
    .account-order {
        grid-template-columns: 1fr;
    }

    .account-section {
        padding: 18px;
    }
}

/* ===================
   HEADER STYLES
   =================== */

.header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header Top Bar */
.header-top {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
}

.header-socials {
    display: flex;
    gap: .5rem;
}

.social-link-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .12);
}

.social-link:hover {
    filter: brightness(1.1);
}

.hide-sm {
    display: none;
}

@media (min-width: 640px) {
    .hide-sm {
        display: inline;
    }
}

/* ── Language switcher ───────────────────────────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.lang-flags {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px;
}

.lang-flag-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
    opacity: 0.5;
    line-height: 1;
    padding: 0;
}

.lang-flag-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    opacity: 0.85;
    transform: scale(1.1);
}

.lang-flag-btn.active {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.lang-flag-btn img {
    display: block;
    border-radius: 2px;
    width: 24px;
    height: auto;
}

.lang-flag-btn {
    width: auto;
    height: auto;
    padding: 4px 6px;
}

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .lang-flag-btn {
        font-size: 1.6rem;
        width: 38px;
        height: 38px;
    }
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    align-items: center;
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #6b7280;
}

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

/* Search Bar Styling */
.search-container {
    display: flex;
    align-items: center;
    flex: 1;
    /*max-width: 500px;*/
    margin: 0 2rem;
    position: relative;
    /*box-shadow: var(--pill-shadow);*/
    border-radius: 25px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #ffffff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0;
    /*border: 2px solid transparent;*/
    transition: all 0.3s ease;

}

.search-form:focus-within {
    border-color: var(--logo-pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
    background: #ffffff;
}

.search-input {
    flex: 1;
    border: none;
    background: #ffffff;
    padding: 0.45rem 0.9rem;
    font-size: 14px;
    color: #333;
    outline: none;
    border-radius: 25px;
}

.search-input::placeholder {
    color: #666;
    font-size: 14px;
}

.search-btn {
    background: var(--logo-pink);
    border: none;
    padding: 12px 20px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 50px;
}

.search-btn:hover {
    background: #e55a8a;
    transform: translateY(-1px);
}

.search-btn:active {
    transform: translateY(0);
}

.search-btn svg {
    width: 18px;
    height: 18px;
    color: white;
    stroke-width: 2;
}

/* SEARCH SUGGESTION STYLING */
.suggest-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 120;
    max-height: 340px;
    overflow: auto
}

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

.suggest-item {
    border-bottom: 1px solid #f7f9fc
}

.suggest-item:last-child {
    border-bottom: 0
}

.suggest-link {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    align-items: center
}

.suggest-link:hover {
    background: #f7f9fc
}

.suggest-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 64px;
    background: #f2f5f9
}

.suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.suggest-meta {
    min-width: 0
}

.suggest-title {
    font-weight: 700;
    color: #2b2f3a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.suggest-price {
    color: #3b4453;
    font-weight: 600;
    margin-top: 2px
}

.suggest-empty {
    padding: 14px;
    color: #666666;
}

.is-hidden {
    display: none !important
}


/* Language Selector */
.language-selector {
    position: relative;
}

.language-form {
    position: relative;
    display: flex;
    align-items: center;
}

.language-select {
    appearance: none;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px 24px 4px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-select:hover {
    border-color: #9ca3af;
}

.language-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.select-arrow {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    color: #6b7280;
    pointer-events: none;
}

/* Header Main */
.header-main {
    background: #ffffff;
    padding: 16px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 32px;
    height: 32px;
    gap: 4px;
    cursor: pointer;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #374151;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover .hamburger-line {
    background-color: #1f2937;
}

/* Logo */
/* Base Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 12px;
    outline: none;
}


.logo:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

.logo-icon {
    flex-shrink: 0;
    width: 150px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1;
    font-style: italic;
    margin: auto;
    font-family: "Roboto Condensed", sans-serif;
}


.logo-heart .logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 157, 0.3));
}

.logo-heart:hover .logo-icon svg {
    transform: scale(1.1);
    animation: heartbeat 0.6s ease-in-out;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Desktop Navigation */
/* Only show this toggle on desktop, not mobile */
@media (min-width: 768px) {
    .nav-desktop-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 0.9rem;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.4);
        background: #ffffff;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 500;
        color: #0f172a;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
        transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s;
    }

    .nav-desktop-toggle:hover {
        background: #f9fafb;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.09);
        transform: translateY(-1px);
    }

    .nav-desktop-toggle:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    }

    .nav-desktop-toggle__icon {
        width: 18px;
        height: 18px;
        stroke-width: 1.8;
    }

    .nav-desktop-toggle__label {
        white-space: nowrap;
    }

    /* Hidden by default; opened via JS */
    .nav-desktop {
        margin: 10px 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-4px);
        transition: max-height 0.2s ease-out,
        opacity 0.2s ease-out,
        transform 0.2s ease-out,
        visibility 0s linear 0.2s;
    }

    .nav-desktop.nav-desktop--open {
        max-height: 500px; /* enough to show all categories */
        overflow: visible;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .nav-desktop.nav-desktop--open .nav-item {
        pointer-events: auto;
    }
}


.nav-desktop {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-desktop .nav-item {
    pointer-events: none;
}

.nav-item {
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    /*padding: .55rem 1rem;*/
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--bg1), var(--bg2));
    color: var(--pill-fg);
    text-decoration: none;
    /*white-space: nowrap;*/
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: var(--pill-shadow);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 0;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #cccccc;
}

.nav-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

:root {
    --pill-fg: #fff;
    --pill-shadow: 0 8px 20px rgba(2, 6, 23, .12), 0 1px 0 rgba(255, 255, 255, .18) inset;
    --pill-shadow-hover: 0 14px 30px rgba(2, 6, 23, .16), 0 1px 0 rgba(255, 255, 255, .22) inset;
    --dd-bg: #fff;
    --dd-fg: #0f172a;
    --dd-border: rgba(2, 6, 23, .06);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dd-bg);
    color: var(--dd-fg);
    border: 1px solid var(--dd-border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, .18), 0 2px 8px rgba(2, 6, 23, .06);
    min-width: 240px;
    padding: .6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.98);
    transition: opacity .16s ease, transform .17s ease;
    z-index: 100;
}

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

.dropdown::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 18px;
    width: 12px;
    height: 12px;
    background: var(--dd-bg);
    border-left: 1px solid var(--dd-border);
    border-top: 1px solid var(--dd-border);
    transform: rotate(45deg);
}

.dropdown-content {
    display: grid;
    gap: .25rem;
}


.dropdown-link {
    display: block;
    padding: .5rem .75rem;
    border-radius: .5rem;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}

.dropdown-link:hover {
    background: rgba(14, 165, 233, .10);
    color: var(--bg1);
}

/* Header Actions */
.header-actions-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    /*width: 40px;*/
    /*height: 40px;*/
    border-radius: 8px;
    color: #6b7280;
    background: transparent;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* Cart */
.cart-container {
    position: relative;
}

.account-btn,
.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #6b7280;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.account-btn:hover,
.cart-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Shared quantity controls */
.qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem; /* 32px */
    height: 2rem;
    border-radius: .5rem; /* 8px */
    border: 1px solid var(--mc-border);
    background: var(--mc-bg);
    color: var(--mc-fg);
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform .06s ease, background .15s ease, border-color .15s ease, color .15s ease;
    user-select: none;
}

.qty-btn:hover {
    background: color-mix(in srgb, var(--mc-bg) 85%, var(--mc-accent) 15%);
    border-color: color-mix(in srgb, var(--mc-border) 60%, var(--mc-accent) 40%);
}

.qty-btn:active {
    transform: translateY(1px) scale(0.98);
}

.qty-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--mc-ring) 30%, transparent);
}

.qty-btn[disabled],
.qty-btn[aria-disabled="true"] {
    opacity: .5;
    cursor: not-allowed;
}

.mini-cart {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 450px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 200;
}

.cart-container:hover .mini-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-content {
    /*padding: 16px;*/
}

.mini-cart-loading {
    text-align: center;
    color: #6b7280;
    padding: 32px 16px;
}

/* ===================
   MOBILE NAVIGATION
   =================== */

.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-nav-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

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

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

.mobile-nav-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.mobile-nav-close svg {
    width: 20px;
    height: 20px;
}


.mobile-lang-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 16px 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

.mobile-lang-switcher__label {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 800;
}

.mobile-lang-switcher__options {
    display: inline-flex;
    gap: 8px;
}

.mobile-lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.mobile-lang-switcher__btn img {
    display: block;
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.mobile-lang-switcher__btn:hover,
.mobile-lang-switcher__btn.active {
    border-color: #f9a8d4;
    background: #fdf2f8;
    color: #be185d;
}

.mobile-nav-items {
    padding: 16px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-link {
    display: block;
    padding: 16px 20px;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background-color: #f8fafc;
    color: #1f2937;
}

.mobile-nav-children {
    background-color: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav-child-link {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #6b7280;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-child-link:hover,
.mobile-nav-child-link:active {
    background-color: #f3f4f6;
    color: #374151;
}

/* Overlay - Remove since mobile nav handles its own background */
.overlay {
    display: none;
}

/* ===================
   MAIN CONTENT STYLES
   =================== */

.main {
    min-height: calc(100vh - 200px);
    position: relative;
}

.content {
    padding: 10px 0;
}

/* ===================
   TOAST NOTIFICATIONS
   =================== */

/* ---- Toast (single) ---- */
.toast {
    position: fixed;
    inset: auto 16px 16px auto; /* bottom-right */
    max-width: min(92vw, 420px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;

    padding: 12px 14px;
    border-radius: 12px;
    background: color-mix(in srgb, #0b3b2f 88%, white 12%); /* deep green w/ depth */
    color: #eafff6;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .18),
    0 2px 8px rgba(0, 0, 0, .12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    font: 500 14px/1.35 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    z-index: 3000;

    opacity: 0;
    transform: translateY(10px) translateX(10px) scale(.98);
    pointer-events: auto;
    transition: opacity .25s ease,
    transform .25s ease,
    background-color .2s ease;
}

/* show / hide helpers you can toggle in JS */
.toast.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.toast.is-hiding {
    opacity: 0;
    transform: translateY(8px);
}

/* Optional icon slot (use <svg class="toast__icon">…</svg>) */
.toast__icon {
    width: 18px;
    height: 18px;
    opacity: .9;
}

/* Text */
.toast__text {
    margin: 0;
    padding: 0 2px 0 0;
    word-break: break-word;
}

/* Close button */
.toast__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: .85;
    transition: background-color .15s ease, opacity .15s ease, transform .04s ease-in-out;
}

.toast__close:hover {
    background: rgba(255, 255, 255, .08);
    opacity: 1;
}

.toast__close:active {
    transform: scale(.96);
}

.toast__close svg {
    width: 16px;
    height: 16px;
}

/* Progress bar (optional) */
.toast__progress {
    grid-column: 1 / -1;
    height: 3px;
    margin: 6px -2px -4px -2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .18);
    overflow: hidden;
}

.toast__progress > span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #34d399, #10b981);
    transform-origin: left;
    animation: toast-progress linear forwards;
}

@keyframes toast-progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Variants */
.toast--success {
    background: color-mix(in srgb, #065f46 90%, white 10%);
    color: #eafff6;
}

.toast--info {
    background: color-mix(in srgb, #0b3a75 90%, white 10%);
    color: #eef5ff;
}

.toast--warn {
    background: color-mix(in srgb, #7a4e00 90%, white 10%);
    color: #fff8e6;
}

.toast--error {
    background: color-mix(in srgb, #7a1a1a 90%, white 10%);
    color: #ffecec;
}

/* Light theme tweak (optional) */
@media (prefers-color-scheme: light) {
    .toast {
        background: #0f5132;
        color: #eafff6;
    }
}

/* Mobile: keep notifications inside the viewport */
@media (max-width: 520px) {
    .toast {
        inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px;
        width: auto;
        max-width: none;
        border-radius: 10px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        transform: translateY(10px) scale(.98);
    }

    .toast.is-visible {
        transform: translateY(0) scale(1);
    }
}


/* ===================
   FLASH MESSAGES
   =================== */

.messages-container {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.message {
    padding: 12px 0;
}

.message-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid;
}

.message-success .message-content {
    background: #ecfdf5;
    border-left-color: #10b981;
    color: #065f46;
}

.message-error .message-content {
    background: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.message-warning .message-content {
    background: #fffbeb;
    border-left-color: #f59e0b;
    color: #92400e;
}

.message-info .message-content {
    background: #eff6ff;
    border-left-color: #3b82f6;
    color: #1e40af;
}

.message-text {
    font-weight: 500;
}

.message-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    color: currentColor;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.message-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.message-close svg {
    width: 14px;
    height: 14px;
}

/* ===================
   FOOTER STYLES
   =================== */

.footer {
    background: #1f2937;
    color: #d1d5db;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 32px;
}

.footer-section {
    text-align: center;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo .logo-tagline {
    color: #9ca3af;
    font-size: 0.75rem;
    /*text-transform: uppercase;*/
    letter-spacing: 0.1em;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 24px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #374151;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4b5563;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #374151;
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: #9ca3af;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-text {
    font-size: 0.875rem;
    color: #9ca3af;
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    padding: 4px 8px;
    background: #374151;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}


/* HOME PAGE */
/* ===================
   HOMEPAGE CONTAINER
   =================== */

.home-container {
    /*max-width: 1600px;*/
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================
   HERO CAROUSEL STYLES
   =================== */

.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #111827;
    height: 460px;
    max-width: 1600px;
    margin: 18px auto 64px auto;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.66) 36%, rgba(15, 23, 42, 0.28) 67%, rgba(15, 23, 42, 0.08) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.10) 0%, rgba(15, 23, 42, 0.42) 100%);
}

.slide-text {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 780px;
    padding: 48px 84px;
}

.slide-title {
    max-width: none;
    font-size: 2.75rem;
    font-weight: 750;
    line-height: 1.08;
    margin-bottom: 18px;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.30);
}

.slide-description {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.125rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.30);
}

.slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 8px;
    background-color: #ec4899;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 10px 26px rgba(236, 72, 153, 0.32);
}

.slide-button:hover {
    background-color: #be185d;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(190, 24, 93, 0.34);
}

.slide-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.slide-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    transform: scale(1.02);
}

/* Carousel Navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(8px);
}

.carousel-arrow:hover {
    background: white;
    color: #be185d;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.20);
}

.carousel-arrow-left {
    left: 18px;
}

.carousel-arrow-right {
    right: 18px;
}

/* Carousel Dots */
.hero-carousel .carousel-dots {
    position: absolute;
    left: 84px;
    right: auto;
    bottom: 28px;
    transform: none;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-carousel .carousel-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-dot.active {
    width: 30px;
    border-radius: 5px;
    background-color: #fff;
}

.slide-image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.22)),
    url("/static/img/clothes.jpg") center/cover no-repeat;
}

/* ===================
   SECTIONS STYLES
   =================== */
/* Enhanced Homepage Styles - Add these to your existing CSS */

/* ===================
   SECTION HEADERS
   =================== */
.section-header {
    text-align: center;
    margin-bottom: 42px;
    padding: 0 16px;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    max-width: 600px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* ===================
   FEATURES SECTION
   =================== */
.features-section {
    padding: 34px 0;
    background: transparent;
    position: relative;
    z-index: 5;
    max-width: 1600px;
    margin: 18px auto 64px auto;
}

.static-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin: 0 auto;
    padding: 0;
}

.feature-card {
    text-align: left;
    padding: 22px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 18px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #be185d;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.feature-description {
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.58;
}

/* ===================
   ENHANCED CATEGORIES
   =================== */
/* ===================
   CATEGORIES CAROUSEL
   =================== */

.categories-carousel-container {
    position: relative;
    margin-bottom: 48px;
}

.categories-carousel {
    overflow: hidden;
    border-radius: 16px;
}

.categories-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
}

.category-slide {
    flex: 0 0 calc(20% - 18px); /* 4 slides on desktop */
    min-width: 0;
}

.category-slide .category-card {
    display: block;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.category-slide .category-card:hover {
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}

.category-slide .category-image {
    height: 160px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
}

.category-slide .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-slide .category-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.category-slide .category-content {
    padding: 18px;
    text-align: center;
}

.category-slide .category-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.3;
}

.category-slide .category-parent {
    font-size: .875rem; /* smaller than name */
    color: #64748b; /* slate-500 */
    margin-top: .15rem;
}

.category-parent {
    font-size: .875rem; /* smaller than name */
    color: #64748b; /* slate-500 */
    margin-top: .15rem;
}

.category-slide .category-count {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.carousel-nav-btn:hover:not(:disabled) {
    background: #fff;
    color: #be185d;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.carousel-nav-prev {
    left: 8px;
}

.carousel-nav-next {
    right: 8px;
}

/* Dots Navigation */
.categories-section .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.categories-section .carousel-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.categories-section .carousel-dot.active {
    background-color: #ff6b9d;
    transform: scale(1.2);
}

.categories-section .carousel-dot:hover {
    background-color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .category-slide {
        flex: 0 0 calc(33.333% - 16px); /* 3 slides on medium screens */
    }

    .view-layout {
        display: none;
    }
}

@media (max-width: 767px) {
    .category-slide {
        flex: 0 0 calc(50% - 8px); /* 2 slides on small screens */
    }

    .categories-carousel {
        padding: 0;
    }

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

    .carousel-nav-prev {
        left: 4px;
    }

    .carousel-nav-next {
        right: 4px;
    }

    .category-slide .category-image {
        height: 140px;
    }

    .category-slide .category-content {
        padding: 16px;
    }

    .category-slide .category-name {
        font-size: 1rem;
    }

    .view-layout {
        display: none;
    }
}

@media (max-width: 479px) {
    .category-slide {
        flex: 0 0 100%;
    }

    .categories-carousel {
        padding: 0;
    }

    .category-slide .category-image {
        height: 120px;
    }
}

/* Touch/Swipe indicator */
@media (max-width: 768px) {
    .categories-track {
        cursor: grab;
    }

    .categories-track:active {
        cursor: grabbing;
    }
}

/* Loading state */
.categories-carousel-container.loading .categories-track {
    opacity: 0.7;
    pointer-events: none;
}

/* Smooth scrolling for accessibility */
@media (prefers-reduced-motion: reduce) {
    .categories-track {
        transition: none;
    }

    .category-slide .category-card,
    .category-slide .category-image img,
    .carousel-nav-btn {
        transition: none;
    }
}

/* background strip */
/* ===================
   MISSION STRIP
   =================== */
.mission-strip {
    padding: 72px 24px;
    margin: 0 0 72px 0;
    background: #111827;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.mission-strip-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mission-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(180px, 46vw);
}

.mission-eyebrow img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.mission-tagline {
    margin: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.mission-sub {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    max-width: 540px;
}

@media (max-width: 640px) {
    .mission-strip {
        padding: 52px 20px;
    }

    .mission-tagline {
        font-size: 1.5rem;
    }

    .mission-sub {
        font-size: 0.9rem;
    }
}

/* ===================
   ENHANCED PRODUCTS
   =================== */
.featured-section {
    max-width: 1600px;
    margin: auto;
}

.section-action {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px;
    background: #ec4899;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 26px rgba(236, 72, 153, 0.28);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    background: #be185d;
    box-shadow: 0 14px 30px rgba(190, 24, 93, 0.32);
    color: white;
    text-decoration: none;
}

/* ===================
   AGE GROUPS SECTION
   =================== */
.age-groups-section {
    margin-bottom: 80px;
}

.age-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.age-group-card {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    background: white;
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.age-group-card--image {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image: linear-gradient(180deg, rgba(17, 24, 39, 0.08) 0%, rgba(17, 24, 39, 0.24) 45%, rgba(17, 24, 39, 0.78) 100%),
    var(--age-card-bg);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.age-group-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.age-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ce2e82;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.age-icon svg {
    width: 28px;
    height: 28px;
}

.age-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.age-group-card--image .age-title {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.age-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.age-group-card--image .age-description {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.age-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #ec4899;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.age-btn:hover {
    background: #be185d;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* ===================
   WHY CHOOSE US SECTION
   =================== */
.why-choose-section {
    max-width: 1600px;
    margin: 0 auto 80px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    padding: 42px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 32px;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    background: #fafafa;
}

.why-icon {
    width: 44px;
    height: 44px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #be185d;
    flex-shrink: 0;
}

.why-icon svg {
    width: 24px;
    height: 24px;
}

.why-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.why-content p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.why-choose-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}

.why-choose-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===================
   CARE TIPS SECTION
   =================== */
.care-tips-section {
    max-width: 1600px;
    margin: 0 auto 80px;
}

.care-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 30px 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
}

.tip-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #be185d;
    margin-bottom: 16px;
    display: inline-block;
}

.tip-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.tip-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* CATEGORY PAGE */
/* Category Page Styles */
.category-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    margin-bottom: 10px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #ff6b9d;
    text-decoration: none;
}

.breadcrumb-separator {
    color: #d1d5db;
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: #1f2937;
    font-weight: 500;
}

/* Category Header */
.category-header {
    text-align: center;
    /*margin-bottom: 3rem;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    /*margin-bottom: 1rem;*/
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-description {
    color: #6b7280;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    /*margin-top: 1.5rem;*/
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    /*display: inline-flex;*/
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b9d;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Child Categories Navigation */
.child-categories {
    position: sticky;
    top: 80px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.child-categories-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.child-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.child-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Filters and Sorting */
.filters-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 1rem;
}

.filters-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.filter-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
    color: #374151;
    min-width: 120px;
}

.results-count {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.product-badge-abs {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title-link:hover {
    color: #ff6b9d;
    text-decoration: none;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.icon {
    width: 32px;
    height: 32px;
    display: inline-block;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #d1d5db;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: #d1d5db;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 1rem;
}

.empty-state-description {
    color: #9ca3af;
    margin-bottom: 2rem;
}

.empty-state-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-state-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .view-layout {
        display: none;
    }

    .category-page {
        padding: 1rem 0;
    }

    .category-container {
        padding: 0 16px;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .child-categories {
        top: 60px;
        padding: 1rem;
    }

    .child-categories-grid {
        gap: 0.5rem;
    }

    .child-category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .filters-section {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filters-left {
        flex-direction: column;
        align-items: stretch;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .product-content {
        padding: 1rem;
    }

    .product-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .add-to-cart-btn {
        justify-content: center;
    }
}

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

    .breadcrumb-list {
        font-size: 0.8rem;
    }
}

/* PRODUCT DETAIL */
/* Product Detail Page Styles */
.product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Product Image Section */
.product-image-section {
    height: fit-content;
}

.main-image-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    cursor: zoom-in; /* ← shows zoom cursor on hover */
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* keep for enter/leave smoothness */
    transform-origin: center center;
}

.main-image-container:hover .main-image {
    transform: scale(1.15);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.zoom-indicator {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Thumbnails */
.thumbnails-container {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 72px;
    height: 72px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color .15s;
    flex-shrink: 0;
}

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

.thumbnail:hover {
    border-color: #9ca3af;
}

.thumbnail.active {
    border-color: #ff6b9d;
}

/* Product Info Section */
.product-info {
    padding-top: 1rem;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.product-category {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.product-category-link {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-category-link:hover {
    color: #e55a8a;
    text-decoration: none;
}

.product-price-details {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

/* Product Actions */
.product-actions {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #f1f5f9;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quantity-label {
    font-weight: 600;
    color: #374151;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
}

.quantity-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f3f4f6;
    color: #ff6b9d;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    background: transparent;
    outline: none;
}

.add-to-cart-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.add-to-cart-btn {
    flex: 1;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.wishlist-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.wishlist-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
    background: #fef7f0;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    background: white;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Product Description */
.product-description {
    background: white;
    border-radius: 16px;
    padding: 1rem 1rem 1rem 0;
}

.description-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description-content {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

.description-content p {
    margin-bottom: 1rem;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.qty-inline .only-list {
    display: flex;
    align-items: center;
}

/* Product Specs */
.product-specs {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #f1f5f9;
}

.size-badge {
    display: inline-block;
    padding: 4px 8px;
    margin: 2px 4px 2px 0;
    border-radius: 6px;
    background: #f3f4f6;
    font-weight: 600;
    font-size: 14px;
}

.specs-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.spec-label {
    font-weight: 500;
    color: #6b7280;
}

.spec-value {
    font-weight: 600;
    color: #1f2937;
}

/* Share Section */
.share-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    /*margin-top: 2rem;*/
    border: 1px solid #f1f5f9;
    text-align: center;
}

.share-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
}

.share-btn.whatsapp {
    background: #25d366;
}

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

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-container {
        padding: 0 16px;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-price {
        font-size: 1.875rem;
    }

    .product-actions {
        padding: 1.5rem;
    }

    .add-to-cart-container {
        flex-direction: column;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        gap: 0.75rem;
    }

    .share-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .product-detail-page {
        padding: 1rem 0;
    }

    .thumbnails-container {
        gap: 0.5rem;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .quantity-controls {
        flex: 1;
    }
}

/* Animation */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-info > * {
    animation: slideInUp 0.6s ease-out;
}

.product-info > *:nth-child(1) {
    animation-delay: 0.1s;
}

.product-info > *:nth-child(2) {
    animation-delay: 0.2s;
}

.product-info > *:nth-child(3) {
    animation-delay: 0.3s;
}

.product-info > *:nth-child(4) {
    animation-delay: 0.4s;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */

@media (max-width: 768px) {
    /* Features Section */
    .features-section {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 32px;
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }

    /* Age Groups */
    .age-groups-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    /* Why Choose Us */
    .why-choose-section {
        padding: 40px 20px;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }

    .why-choose-image img {
        height: 300px;
    }

    /* Care Tips */
    .care-tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tip-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    /* Features */
    .features-grid {
        padding: 0 12px;
    }

    /* Why Choose Us */
    .why-choose-section {
        padding: 32px 16px;
    }

    .why-choose-title {
        font-size: 1.5rem;
    }

    .why-item {
        gap: 12px;
    }

    .why-icon {
        width: 40px;
        height: 40px;
    }

    .why-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Age Groups */
    .age-groups-grid {
        grid-template-columns: 1fr;
    }

    .age-group-card {
        padding: 24px 20px;
    }
}

/* ===================
   ANIMATIONS
   =================== */

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation triggers */
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.age-group-card {
    animation: fadeInUp 0.6s ease-out;
}

.age-group-card:nth-child(1) {
    animation-delay: 0.1s;
}

.age-group-card:nth-child(2) {
    animation-delay: 0.2s;
}

.age-group-card:nth-child(3) {
    animation-delay: 0.3s;
}

.age-group-card:nth-child(4) {
    animation-delay: 0.4s;
}

.tip-card {
    animation: fadeInUp 0.6s ease-out;
}

.tip-card:nth-child(1) {
    animation-delay: 0.1s;
}

.tip-card:nth-child(2) {
    animation-delay: 0.2s;
}

.tip-card:nth-child(3) {
    animation-delay: 0.3s;
}

.tip-card:nth-child(4) {
    animation-delay: 0.4s;
}

.why-item {
    animation: slideInFromLeft 0.6s ease-out;
}

.why-item:nth-child(1) {
    animation-delay: 0.1s;
}

.why-item:nth-child(2) {
    animation-delay: 0.2s;
}

.why-item:nth-child(3) {
    animation-delay: 0.3s;
}

.why-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* ===================
   HOVER EFFECTS
   =================== */

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

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

/* ===================
   ACCESSIBILITY
   =================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states */
.age-btn:focus,
.view-all-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.3);
}

.section-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0;
}

/* ── Parent Categories Section ── */
.parent-categories-section {
    max-width: 1600px;
    margin: 0 auto 72px;
}

.parent-categories-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.parent-cat-banner {
    position: relative;
    display: block;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.parent-cat-banner:hover {
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    transform: translateY(-4px);
}

.parent-cat-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.parent-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.parent-cat-banner:hover .parent-cat-image img {
    transform: scale(1.06);
}

.parent-cat-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
}

.parent-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.30) 42%, rgba(15, 23, 42, 0.80) 100%);
    transition: background 0.3s ease;
}

.parent-cat-banner:hover .parent-cat-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.34) 42%, rgba(15, 23, 42, 0.84) 100%);
}

.parent-cat-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.parent-cat-name {
    display: block;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.parent-cat-cta {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0;
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.parent-cat-banner:hover .parent-cat-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive — 2 columns on tablet, 1 on small mobile */
@media (max-width: 768px) {
    .parent-categories-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .parent-cat-banner {
        height: 180px;
    }

    .parent-cat-name {
        font-size: 1rem;
    }
}

@media (max-width: 420px) {
    .parent-categories-strip {
        grid-template-columns: 1fr;
    }

    .parent-cat-banner {
        height: 160px;
    }
}

/* Categories Section */
.categories-section {
    max-width: 1600px;
    margin: 0 auto 72px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.category-card {
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
    transform: translateY(-4px);
}

.category-image {
    height: 120px;
    overflow: hidden;
}

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

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.category-name {
    padding: 12px;
    text-align: center;
    font-weight: 500;
}

/* Featured Products Section */
.featured-section {
    max-width: 1600px;
    margin: 0 auto 72px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
    transform: translateY(-4px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative; /* Make sure this is set */
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.66);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
    pointer-events: none; /* This prevents the overlay from interfering with mouse events */
}

/* Use :hover on the product-card instead of individual elements */
.product-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

.quick-view {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0;
    pointer-events: none; /* Prevent text from interfering */
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    min-height: 220px;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 12px;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    /*margin-top: auto;*/
    gap: 0.5rem;
}

.only-list {
    display: none;
}

/* when you toggle .is-list on #productsGrid and .product-card (as you do) */
#productsGrid.is-list .only-list,
.product-card.is-list .only-list {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
}

.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    background-color: #ec4899;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #be185d;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(190, 24, 93, 0.22);
}

.add-to-cart-btn svg {
    width: 14px;
    height: 14px;
}

/* Empty State */
.empty-state {
    color: #6b7280;
    text-align: center;
    padding: 32px;
    grid-column: 1 / -1;
}

/* Checkout Page Styles */
.checkout-page {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 80vh;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.checkout-header {
    text-align: center;
    margin-bottom: 1rem;
}

.checkout-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.checkout-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Main Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

/* Order Summary */
.order-summary {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-items {
    margin-bottom: 1.5rem;
}

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

.cart-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
    line-height: 1.3;
}

.item-quantity {
    color: #6b7280;
    font-size: 0.875rem;
}

.item-price {
    font-weight: 600;
    color: #1f2937;
    flex-shrink: 0;
}

.item-size-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    color: #234182;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
}


.summary-totals {
    border-top: 2px solid #f3f4f6;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.total-label {
    color: #6b7280;
}

.total-value {
    font-weight: 600;
    color: #1f2937;
}

.final-total {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.final-total .total-label,
.final-total .total-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

/* Checkout Form */
.checkout-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.form-section {
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-label.required::after {
    content: ' *';
    color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Delivery Options */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.delivery-option:hover {
    border-color: #ff6b9d;
    background: #fef7f0;
}

.delivery-option.selected {
    border-color: #ff6b9d;
    background: #fef7f0;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.delivery-header {
    display: flex;
    align-items: center;
}

.delivery-title {
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.delivery-price {
    font-weight: 600;
    color: #ff6b9d;
}

.delivery-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-left: 1.5rem;
}

.delivery-radio {
    margin-right: 0.75rem;
    accent-color: #ff6b9d;
}

/* Conditional Fields */
.conditional-fields {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.conditional-fields.hidden {
    display: none;
}

/* Submit Button */
.submit-section {
    border-top: 2px solid #f3f4f6;
    padding-top: 2rem;
    margin-top: 2rem;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f0f9ff;
    border-radius: 8px;
    color: #0369a1;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .order-summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-container {
        padding: 0 16px;
    }

    .checkout-title {
        font-size: 2rem;
    }

    .checkout-steps {
        padding: 1rem;
    }

    .step-label {
        display: none;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .checkout-form,
    .order-summary {
        padding: 1.5rem;
    }

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

    .delivery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .checkout-page {
        padding: 1rem 0;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

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

/* Loading Animation */
.loading-spinner {
    animation: spin 1s linear infinite;
}

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

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Cart Page Styles */

/* ===================
   CART PAGE LAYOUT
   =================== */
.cart-page {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 80vh;
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 0 20px;*/
}

/* ===================
   CART HEADER
   =================== */
.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.cart-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* ===================
   CART CONTENT LAYOUT
   =================== */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

/* ===================
   CART ITEMS SECTION
   =================== */
.cart-items-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.cart-items-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 1rem;
}

.items-count {
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 600px;
    overflow: auto;
}

/* ===================
   CART ITEM STYLING
   =================== */
.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: white;
    border: 1px solid #e5e7eb;
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: #f3f4f6;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-info {
    margin-bottom: 1rem;
}

.item-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    /*margin-bottom: 0.5rem;*/
    line-height: 1.4;
}

.item-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-name a:hover {
    color: #ff6b9d;
    text-decoration: none;
}

.item-category {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.item-price-unit {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
}

.item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* ===================
   QUANTITY CONTROLS
   =================== */
.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #f3f4f6;
    color: #ff6b9d;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-display {
    padding: 0 1rem;
    font-weight: 600;
    color: #1f2937;
    min-width: 40px;
    text-align: center;
}

.item-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.total-label {
    color: #6b7280;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.total-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.125rem;
}

.remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remove-btn:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* ===================
   CART SUMMARY
   =================== */
.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    /*position: sticky;*/
    /*top: 100px;*/
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-details {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.summary-label {
    color: #6b7280;
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: #1f2937;
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 0;
}

.summary-total {
    border-top: 2px solid #f3f4f6;
    padding-top: 1rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.summary-total .summary-label,
.summary-total .summary-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

/* ===================
   SUMMARY ACTIONS
   =================== */
.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-delivery {
    white-space: nowrap;
}

.checkout-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    color: white;
    text-decoration: none;
}

.continue-shopping-btn {
    background: white;
    color: #6b7280;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.continue-shopping-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
    background: #fef7f0;
    text-decoration: none;
}

.security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f0f9ff;
    border-radius: 8px;
    color: #0369a1;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===================
   DELIVERY INFO
   =================== */
.delivery-info {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.delivery-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    /*margin-bottom: 1rem;*/
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.delivery-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.delivery-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.delivery-text strong {
    color: #1f2937;
    font-weight: 600;
}

.delivery-text span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* ===================
   EMPTY CART
   =================== */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    color: #d1d5db;
}

.empty-cart-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.empty-cart-description {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.start-shopping-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.start-shopping-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    color: white;
    text-decoration: none;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .summary-card {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .mini-cart {
        display: none;
    }

    .cart-title {
        font-size: 2rem;
    }

    .cart-breadcrumb {
        font-size: 0.8rem;
        padding: 1rem;
    }

    .cart-items-section {
        padding: 1.5rem;
    }

    .summary-card {
        padding: 1.5rem;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cart-item .item-name {
        justify-content: center;
    }

    .item-image {
        align-self: center;
        width: 80px;
        height: 80px;
    }

    .item-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .quantity-controls {
        order: 1;
    }

    .item-total {
        order: 2;
    }

    .remove-btn {
        order: 3;
    }
}

@media (max-width: 480px) {
    .cart-page {
        padding: 1rem 0;
    }

    .cart-items-section,
    .summary-card {
        padding: 1rem;
    }

    .empty-cart {
        padding: 2rem 1rem;
    }

    .empty-cart-icon {
        width: 80px;
        height: 80px;
    }

    .empty-cart-title {
        font-size: 1.5rem;
    }

    .empty-cart-description {
        font-size: 1rem;
    }

    .delivery-options {
        gap: 0.75rem;
    }

    .delivery-option {
        padding: 0.75rem;
        flex-direction: column;
        align-items: unset;
        gap: 0.25rem;
    }

    .delivery-description {
        margin-left: unset;
    }

    .delivery-icon {
        width: 32px;
        height: 32px;
    }
}

/* ===================
   ANIMATIONS
   =================== */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item {
    animation: fadeIn 0.5s ease-out;
}

.cart-item:nth-child(1) {
    animation-delay: 0.1s;
}

.cart-item:nth-child(2) {
    animation-delay: 0.2s;
}

.cart-item:nth-child(3) {
    animation-delay: 0.3s;
}

.cart-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* ===================
   LOADING STATES
   =================== */
.cart-item.updating {
    opacity: 0.7;
    pointer-events: none;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.remove-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===================
   HOVER EFFECTS
   =================== */
@media (hover: hover) {
    .cart-item:hover .item-image img {
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }
}

/* Focus states */
.qty-btn:focus,
.remove-btn:focus,
.checkout-btn:focus,
.continue-shopping-btn:focus,
.start-shopping-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.3);
}

.breadcrumb-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.3);
    border-radius: 4px;
}

/* ===================
   PRINT STYLES
   =================== */
@media print {
    .cart-page {
        background: white;
    }

    .summary-actions,
    .remove-btn,
    .quantity-controls {
        display: none;
    }

    .cart-item {
        background: white;
        border: 1px solid #ccc;
    }
}


/* PAGINATION */
.pagerbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.pagerbar-left {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pager-btn {
    display: inline-block;
    padding: .4rem .8rem;
    border-radius: 9999px; /* pill */
    background: #e5e7eb; /* gray-200 */
    color: #111827; /* gray-900 */
    text-decoration: none;
    font-weight: 600;
    transition: filter .15s ease, transform .06s ease;
}

.pager-btn:hover {
    filter: brightness(0.95);
}

.pager-btn:active {
    transform: translateY(1px);
}

.pager-btn.is-disabled {
    opacity: .5;
    pointer-events: none;
}

.pager-current {
    display: inline-block;
    min-width: 2rem;
    text-align: center;
    padding: .4rem .8rem;
    border-radius: 8px;
    background: var(--logo-pink);
    color: #fff;
    font-weight: 700;
}

.pagerbar-right {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #e5e7eb; /* adjust for dark header; change to gray-700 for light */
}

.pager-label {
    font-size: .95rem;
    opacity: .9;
}

.pager-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: .35rem .9rem .35rem .6rem;
    border-radius: .5rem;
    border: 1px solid #1f2937; /* gray-800 (dark) */
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: #fff;
    font-weight: 700;
    line-height: 1.25rem;
    position: relative;
    cursor: pointer;
}

.pager-select:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .35);
    border-color: #2563eb;
}

@media (max-width: 640px) {
    .pagerbar {
        width: 100%;
        overflow: hidden;
        padding: 0 8px;
    }

    .pagerbar-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: .45rem;
        max-width: 100%;
    }

    .pager-btn,
    .pager-current,
    .pager-ellipsis {
        min-width: 42px;
        min-height: 42px;
        padding: .45rem .65rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        line-height: 1;
    }

    .pager-btn {
        font-size: .95rem;
    }
}

@media (max-width: 390px) {
    .pagerbar {
        padding: 0 4px;
    }

    .pagerbar-left {
        gap: .35rem;
    }

    .pager-btn,
    .pager-current,
    .pager-ellipsis {
        min-width: 38px;
        min-height: 38px;
        padding: .4rem .5rem;
        font-size: .88rem;
    }
}

/* Light theme tweak (optional) */
@media (prefers-color-scheme: light) {
    .pager-btn {
        background: #e5e7eb;
        color: #111827;
    }

    .pagerbar-right {
        color: #374151;
    }

    .pager-select {
        border-color: #e5e7eb;
        background: #2563eb;
        color: #fff;
    }
}

/* default (grid) */
.product-description[hidden] {
    display: none !important;
}

/* list layout tweaks */
.products-grid.is-list {
    grid-template-columns: 1fr !important;
}

.product-card.is-list {
    display: flex !important;
    gap: 1rem;
    align-items: flex-start;
    flex-direction: row;
}

.product-card.is-list .product-image-container {
    flex: 0 0 220px;
}

/* adjust */
.product-card.is-list .product-content {
    flex: 1 1 auto;
}

/* reveal description in list */
.product-card.is-list .product-description {
    display: block !important;
    margin-top: .35rem;
    color: #64748b;
    line-height: 1.45;
}

/* ===================
   ITEM COMPONENTS
   =================== */
.item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
    line-height: 1.4;
    /*margin-bottom: 0.25rem;*/
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.item-quantity {
    font-weight: 500;
}

.item-price {
    font-weight: 500;
}

.item-total {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: auto;
    /*margin-left: 0.5rem;*/
}

.remove-item-btn:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* Delivery progress bar (enhancement) */
.shipping-progress {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.shipping-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    transition: width 0.5s ease;
    border-radius: 2px;
}

/* POS System Styles - Add this to your CSS file */

/* ===================
   POS PAGE LAYOUT
   =================== */
.pos-page {
    padding: 1rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.pos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================
   POS HEADER
   =================== */
.pos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.pos-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.pos-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #ecfdf5;
    border-radius: 20px;
    border: 1px solid #10b981;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
}

.status-indicator.active {
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-text {
    color: #065f46;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ===================
   POS LAYOUT
   =================== */
.pos-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* ===================
   SCANNER SECTION
   =================== */
.scanner-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scanner-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.scanner-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.scan-counter {
    background: #f0f9ff;
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid #38bdf8;
}

.scanner-form {
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.input-container {
    flex: 1;
    position: relative;
}

.scanner-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.scanner-input:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.add-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.add-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===================
   SCANNER TIPS
   =================== */
.scanner-tips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #ff6b9d;
}

.tip svg {
    color: #10b981;
    flex-shrink: 0;
}

/* ===================
   QUICK ACTIONS
   =================== */
.quick-actions {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.quick-actions-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.quick-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.quick-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
    background: #fef7f0;
}

/* ===================
   RECEIPT SECTION
   =================== */
.receipt-section {
    position: sticky;
    top: 20px;
}

.receipt-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.receipt-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.receipt-title {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.receipt-number {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ===================
   RECEIPT ITEMS
   =================== */
.receipt-items {
    max-height: 400px;
    overflow-y: auto;
    background: white;
}

.receipt-items::-webkit-scrollbar {
    width: 4px;
}

.receipt-items::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.receipt-items::-webkit-scrollbar-thumb {
    background: #ff6b9d;
    border-radius: 2px;
}

.receipt-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.receipt-item:hover {
    background: #f8fafc;
}

.receipt-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
    margin-right: 1rem;
}

.item-name {
    font-weight: 600;
    color: #1f2937;
    /*margin-bottom: 0.5rem;*/
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-details {
    display: flex;
    flex-direction: column;
    /*gap: 0.25rem;*/
}

.item-code {
    color: #6b7280;
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    width: fit-content;
}

.item-category {
    color: #6b7280;
    font-size: 0.75rem;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.item-price {
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
    /*margin-top: auto;*/
}

.remove-item-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* ===================
   EMPTY RECEIPT
   =================== */
.empty-receipt {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8fafc;
    color: #6b7280;
}

.empty-icon {
    color: #d1d5db;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.empty-message {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.empty-submessage {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ===================
   RECEIPT SUMMARY
   =================== */
.receipt-summary {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 2rem;
}

.summary-rows {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.summary-label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
}

.summary-value {
    font-weight: 600;
    color: #1f2937;
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 0;
}

.total-row {
    border-top: 2px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.total-row .summary-label,
.total-row .summary-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

/* ===================
   PAYMENT METHODS
   =================== */
.payment-methods {
    margin-bottom: 1.5rem;
}

.payment-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.payment-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 0.75rem;
    border-radius: 10px;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.payment-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
    background: #fef7f0;
}

.payment-btn.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    border-color: #ff6b9d;
}

.payment-btn.active:hover {
    background: linear-gradient(135deg, #e55a8a 0%, #a855f7 100%);
    color: white;
}

/* ===================
   FINALIZE FORM
   =================== */
.finalize-form {
    margin-top: 1.5rem;
}

.finalize-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.finalize-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.finalize-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1024px) {
    .pos-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .receipt-section {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .pos-container {
        padding: 0 16px;
    }

    .pos-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }

    .pos-title {
        font-size: 1.5rem;
    }

    .scanner-card,
    .receipt-card {
        padding: 1.5rem;
    }

    .receipt-summary {
        padding: 1.5rem;
    }

    .input-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .receipt-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .item-controls {
        align-self: stretch;
        justify-content: space-between;
    }

    .actions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .quick-btn {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .pos-page {
        padding: 0.5rem 0;
    }

    .scanner-card,
    .receipt-card {
        padding: 1rem;
    }

    .receipt-header,
    .receipt-summary {
        padding: 1rem;
    }

    .receipt-item {
        padding: 1rem;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .scanner-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* ===================
   KEYBOARD SHORTCUTS
   =================== */
.keyboard-shortcuts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.keyboard-shortcuts.show {
    opacity: 1;
}

.shortcut-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.shortcut-key {
    background: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
}

/* ===================
   ANIMATIONS
   =================== */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.receipt-item {
    animation: slideInFromTop 0.3s ease-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.scanner-input.error {
    border-color: #ef4444;
    animation: shake 0.3s ease-in-out;
}

/* ===================
   PRINT STYLES
   =================== */
@media print {
    .pos-page {
        background: white;
    }

    .pos-header,
    .scanner-section,
    .quick-actions,
    .payment-methods,
    .finalize-form {
        display: none;
    }

    .pos-layout {
        grid-template-columns: 1fr;
    }

    .receipt-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .receipt-header {
        background: #f5f5f5;
        color: black;
    }

    .receipt-summary {
        background: white;
    }
}

/* ===================
   ACCESSIBILITY
   =================== */
@media (prefers-reduced-motion: reduce) {
    .status-indicator.active {
        animation: none;
    }
}

/* Focus states */
.scanner-input:focus,
.quick-btn:focus,
.payment-btn:focus,
.finalize-btn:focus,
.add-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.3);
}

.remove-item-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.3);
}

/* Order Confirmation Page Styles - Add this to your CSS file */

/* ===================
   CONFIRMATION PAGE LAYOUT
   =================== */
.confirmation-page {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.confirmation-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================
   SUCCESS HEADER
   =================== */
.success-header {
    text-align: center;
    margin-bottom: 3rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    transform: scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon svg {
    width: 50px;
    height: 50px;
}

.success-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.success-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================
   CARD STYLES
   =================== */
.order-details-card,
.tracking-card,
.next-steps-card,
.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

/* ===================
   ORDER DETAILS CARD
   =================== */
.order-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 1rem;
}

.order-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    color: #1f2937;
    font-weight: 600;
    font-size: 1.125rem;
}

.order-number {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    position: relative;
}

.order-number:hover::after {
    content: '{% trans "Натисни за копиране" %}';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    font-size: 0.75rem;
    color: #6b7280;
    font-family: inherit;
    white-space: nowrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ecfdf5;
    color: #065f46;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid #10b981;
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.total-amount {
    color: #10b981;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===================
   TRACKING CARD
   =================== */
.tracking-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 1rem;
}

.tracking-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.tracking-content {
    display: grid;
    gap: 2rem;
}

.tracking-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tracking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.tracking-label {
    color: #6b7280;
    font-weight: 500;
}

.tracking-number {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #1f2937;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

.download-label-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.download-label-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

/* ===================
   TRACKING STEPS
   =================== */
.tracking-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 1rem;
}

.tracking-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-text {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    max-width: 80px;
}

.step.active .step-text {
    color: #10b981;
    font-weight: 600;
}

/* ===================
   NEXT STEPS CARD
   =================== */
.next-steps-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ===================
   CONTACT CARD
   =================== */
.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-description {
    color: #6b7280;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact-option:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info strong {
    color: #1f2937;
    font-weight: 600;
}

.contact-info span {
    color: #6b7280;
}

/* ===================
   ACTION BUTTONS
   =================== */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    color: white;
    text-decoration: none;
}

.secondary-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.secondary-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
    background: #fef7f0;
}

/* ===================
   COPY NOTIFICATION
   =================== */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
    animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Contacts Page CSS - static/css/contacts.css */

/* ===================
   CONTACTS CONTAINER
   =================== */

.contacts-container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================
   PAGE HEADER
   =================== */

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================
   CONTACT INFO CARDS
   =================== */

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

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

.contact-card-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.contact-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.contact-text {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.contact-text a {
    color: #0284c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* ===================
   MAIN CONTENT GRID
   =================== */

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

/* ===================
   SECTION HEADERS
   =================== */

.section-header {
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #6b7280;
    line-height: 1.6;
}

/* ===================
   CONTACT FORM
   =================== */

.contact-form-section {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.required {
    color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    color: #1f2937;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.6;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox:checked + .checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.form-checkbox:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Submit Button */
.form-actions {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ===================
   MAP SECTION
   =================== */

.map-section {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.google-map {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-width: 280px;
    z-index: 10;
}

.map-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.map-address {
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
}

.map-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #2563eb;
}

.map-link svg {
    width: 16px;
    height: 16px;
}

/* ===================
   FAQ SECTION
   =================== */

.faq-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 48px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.faq-item {
    padding-bottom: 24px;
    border-bottom: 1px solid #f3f4f6;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-answer {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    .contacts-container {
        padding: 0 32px;
    }

    .page-title {
        font-size: 3rem;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

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

    .map-container {
        height: 800px;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contacts-grid {
        gap: 80px;
    }

    .contact-form-section,
    .map-section {
        padding: 24px;
    }

    .map-overlay {
        bottom: 24px;
        left: 24px;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .contacts-container {
        padding: 0 40px;
    }

    .contacts-grid {
        grid-template-columns: 3fr 2fr;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .contacts-container {
        padding: 0 16px;
    }

    .page-header {
        margin-bottom: 32px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .contact-info-grid {
        gap: 16px;
        margin-bottom: 48px;
    }

    .contact-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contacts-grid {
        gap: 32px;
        margin-bottom: 48px;
    }

    .contact-form-section,
    .map-section {
        padding: 24px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .form-row {
        gap: 16px;
        margin-bottom: 20px;
    }

    .map-container {
        height: 300px;
    }

    .map-overlay {
        position: static;
        margin-top: 16px;
        max-width: 100%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .faq-section {
        padding: 32px 24px;
    }

    .faq-grid {
        gap: 24px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Very Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .contacts-container {
        padding: 0 12px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .contact-card {
        padding: 16px;
    }

    .contact-form-section,
    .map-section,
    .faq-section {
        padding: 20px;
    }
}

/* Form Validation Styles */
.form-input:invalid,
.form-select:invalid,
.form-textarea:invalid {
    border-color: #ef4444;
}

.form-input:invalid:focus,
.form-select:invalid:focus,
.form-textarea:invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Loading State for Submit Button */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.loading .btn-icon {
    animation: spin 1s linear infinite;
}

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

/* Success/Error Messages */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
}

.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #d1fae5;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Accessibility Improvements */
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.submit-btn:focus,
.checkbox-label:focus-within {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

/* Fulfillment Dashboard Styles - Add this to your CSS file */

/* ===================
   FULFILLMENT PAGE LAYOUT
   =================== */
.fulfillment-page {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.fulfillment-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================
   FULFILLMENT HEADER
   =================== */
.fulfillment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.header-content {
    flex: 1;
}

.fulfillment-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.fulfillment-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
}

.header-stats {
    display: flex;
    gap: 1rem;
}

.stat-card {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================
   QUICK ACTIONS BAR
   =================== */
.quick-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.actions-left {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.filter-btn:hover {
    background: #f1f5f9;
    border-color: #d1d5db;
}

.filter-btn.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    border-color: #ff6b9d;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.actions-right {
    display: flex;
    gap: 0.75rem;
}

.refresh-btn,
.export-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.refresh-btn:hover,
.export-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
    background: #fef7f0;
}

/* ===================
   ORDERS TABLE
   =================== */
.orders-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.orders-table-container {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.orders-table th {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    text-align: left;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.orders-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.order-row {
    transition: all 0.3s ease;
}

.order-row:hover {
    background: #f8fafc;
}

.order-row:last-child td {
    border-bottom: none;
}

/* Table Column Specific Styles */
.col-checkbox {
    width: 50px;
    text-align: center;
}

.bulk-checkbox,
.order-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #ff6b9d;
    cursor: pointer;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.fulfillment-page .order-number {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #1f2937;
    font-size: 0.875rem;
}

.order-total {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
}

.customer-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 200px;
}

.customer-name {
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-email {
    color: #6b7280;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.status-pending .status-dot {
    background: #f59e0b;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.status-processing .status-dot {
    background: #3b82f6;
}

.status-ready {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.status-ready .status-dot {
    background: #10b981;
}

.status-shipped {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #a855f7;
}

.status-shipped .status-dot {
    background: #a855f7;
}

.items-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.items-count {
    font-weight: 700;
    color: #fff;
    font-size: 1.125rem;
}

.items-label {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Tracking Information */
.fulfillment-page .tracking-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.tracking-number {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #1f2937;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.copy-tracking-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-tracking-btn:hover {
    color: #ff6b9d;
    background: #fef7f0;
}

.no-tracking {
    color: #9ca3af;
    font-style: italic;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-main {
    font-weight: 600;
    color: #1f2937;
}

.date-time {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Action Buttons */
.fulfillment-page .action-buttons {
    display: flex;
    margin: 0;
    gap: 0.5rem;
}

.action-btn {
    background: none;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}

.process-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
    background: #fef7f0;
    text-decoration: none;
}

.print-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}

/* ===================
   BULK ACTIONS
   =================== */
.bulk-actions {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    margin-top: 1rem;
    border-radius: 0 0 20px 20px;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.bulk-actions-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-count {
    font-weight: 600;
    font-size: 1rem;
}

.bulk-buttons {
    display: flex;
    gap: 1rem;
}

.bulk-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.bulk-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===================
   EMPTY STATE
   =================== */
.empty-fulfillment {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.empty-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 1rem;
}

.empty-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.refresh-empty-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.refresh-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

/* ===================
   COPY NOTIFICATION
   =================== */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
    animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1200px) {
    .fulfillment-header {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }

    .header-stats {
        justify-content: center;
    }

    .stat-card {
        min-width: 100px;
    }
}

@media (max-width: 768px) {
    .fulfillment-container {
        padding: 0 16px;
    }

    .fulfillment-header {
        padding: 1.5rem;
    }

    .fulfillment-title {
        font-size: 2rem;
    }

    .quick-actions-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .actions-left {
        flex-wrap: wrap;
        justify-content: center;
    }

    .actions-right {
        justify-content: center;
    }

    .header-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-card {
        min-width: auto;
    }

    /* Hide some table columns on mobile */
    .col-customer,
    .col-date {
        display: none;
    }

    .orders-table th,
    .orders-table td {
        padding: 1rem 0.75rem;
    }

    .bulk-actions-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .bulk-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .bulk-btn {
        flex: 1;
        min-width: 0;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .fulfillment-page {
        padding: 1rem 0;
    }

    .fulfillment-header {
        padding: 1rem;
    }

    .fulfillment-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    /* Further simplify mobile table */
    .col-tracking {
        display: none;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }

    .action-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.7rem;
    }

    .empty-fulfillment {
        padding: 2rem 1rem;
    }

    .empty-icon {
        width: 80px;
        height: 80px;
    }

    .empty-title {
        font-size: 1.5rem;
    }

    .empty-description {
        font-size: 1rem;
    }
}

/* ===================
   LOADING STATES
   =================== */
.order-row.processing {
    opacity: 0.7;
    pointer-events: none;
}

.orders-table-container.loading {
    position: relative;
}

.orders-table-container.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* ===================
   PRINT STYLES
   =================== */
@media print {
    .fulfillment-page {
        background: white;
    }

    .quick-actions-bar,
    .bulk-actions,
    .col-actions,
    .col-checkbox {
        display: none;
    }

    .orders-section {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .order-row:hover {
        background: transparent;
    }
}

/* ===================
   ACCESSIBILITY
   =================== */
@media (prefers-reduced-motion: reduce) {
    .status-dot {
        animation: none;
    }
}

/* Focus states */
.filter-btn:focus,
.refresh-btn:focus,
.export-btn:focus,
.action-btn:focus,
.bulk-btn:focus,
.refresh-empty-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.3);
}

.bulk-checkbox:focus,
.order-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.3);
}

.copy-tracking-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.3);
}

/* Order Fulfillment Processing Styles */
/* All styles are scoped to .fulfillment-process-page to prevent conflicts */

/* ===================
   FULFILLMENT PROCESS PAGE
   =================== */
.fulfillment-process-page {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.fulfillment-process-page .fulfillment-process-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================
   PROCESS HEADER
   =================== */
.fulfillment-process-page .process-header {
    background: white;
    border-radius: 20px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.fulfillment-process-page .header-main {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0;
    /*margin-bottom: 2rem;*/
}

.fulfillment-process-page .back-btn {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    padding: 0.50rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin: auto;
}

.fulfillment-process-page .back-btn:hover {
    background: #f1f5f9;
    border-color: #d1d5db;
    color: #374151;
    text-decoration: none;
}

.fulfillment-process-page .order-info {
    flex: 1;
    align-items: center;
    vertical-align: middle;
}

.fulfillment-process-page .order-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.fulfillment-process-page .order-number {
    font-size: 1.5rem;
}

.fulfillment-process-page .order-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
    font-size: 1rem;
}

.fulfillment-process-page .customer-name {
    font-weight: 600;
    color: #374151;
    font-family: 'Courier New', monospace;
}

.fulfillment-process-page .separator {
    color: #d1d5db;
}

.fulfillment-process-page .order-date {
    font-family: 'Courier New', monospace;
}

/* ===================
   PROGRESS BAR
   =================== */
.fulfillment-process-page .progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.fulfillment-process-page .progress-steps {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.fulfillment-process-page .progress-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 32px;
    right: 32px;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.fulfillment-process-page .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.fulfillment-process-page .step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fulfillment-process-page .step.completed .step-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.fulfillment-process-page .step.active .step-circle {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    animation: fulfillment-pulse 2s infinite;
}

.fulfillment-process-page .step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
}

.fulfillment-process-page .step.completed .step-label,
.fulfillment-process-page .step.active .step-label {
    color: #1f2937;
    font-weight: 600;
}

.fulfillment-process-page .progress-percentage {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.fulfillment-process-page .progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.fulfillment-process-page .progress-track {
    width: 200px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.fulfillment-process-page .progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: width 0.6s ease;
    border-radius: 4px;
}

/* ===================
   PROCESS LAYOUT
   =================== */
.fulfillment-process-page .process-layout {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ===================
   SCANNER SECTION
   =================== */
.fulfillment-process-page .scanner-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fulfillment-process-page .scanner-card,
.fulfillment-process-page .shipping-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.fulfillment-process-page .scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.fulfillment-process-page .scanner-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.fulfillment-process-page .scan-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    font-size: 0.875rem;
    font-weight: 500;
}

.fulfillment-process-page .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
}

.fulfillment-process-page .status-indicator.active {
    background: #10b981;
    animation: fulfillment-pulse 2s infinite;
}

.fulfillment-process-page .scanner-form {
    margin-bottom: 2rem;
}

.fulfillment-process-page .scan-input-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.fulfillment-process-page .input-container {
    flex: 1;
    position: relative;
}

.fulfillment-process-page .scan-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Courier New', monospace;
}

.fulfillment-process-page .scan-input:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.fulfillment-process-page .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.fulfillment-process-page .scan-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.fulfillment-process-page .scan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.fulfillment-process-page .scan-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.fulfillment-process-page .scan-tips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fulfillment-process-page .tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #10b981;
}

.fulfillment-process-page .tip svg {
    color: #10b981;
    flex-shrink: 0;
}

/* ===================
   SHIPPING CARD
   =================== */
.fulfillment-process-page .shipping-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
}

.fulfillment-process-page .shipping-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.fulfillment-process-page .shipping-details {
    display: flex;
    /*flex-direction: column;*/
    gap: 1rem;
    justify-content: space-between;
}

.fulfillment-process-page .shipping-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fulfillment-process-page .shipping-label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
}

.fulfillment-process-page .tracking-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fulfillment-process-page .tracking-number {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #1f2937;
    background: #f3f4f6;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.fulfillment-process-page .copy-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.fulfillment-process-page .copy-btn:hover {
    color: #ff6b9d;
    background: #fef7f0;
}

.fulfillment-process-page .label-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.fulfillment-process-page .label-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

/* ===================
   ITEMS SECTION
   =================== */
.fulfillment-process-page .items-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.fulfillment-process-page .items-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.fulfillment-process-page .items-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.fulfillment-process-page .items-stats {
    display: flex;
    gap: 2rem;
}

.fulfillment-process-page .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fulfillment-process-page .stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.fulfillment-process-page .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.fulfillment-process-page .pending-stat .stat-number {
    color: #f59e0b;
}

.fulfillment-process-page .picked-stat .stat-number {
    color: #10b981;
}

/* ===================
   ITEMS GRID
   =================== */
.fulfillment-process-page .items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.fulfillment-process-page .items-column {
    display: flex;
    flex-direction: column;
    max-height: 600px;
}

.fulfillment-process-page .column-header {
    margin-bottom: 1rem;
}

.fulfillment-process-page .column-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.fulfillment-process-page .item-count {
    color: #6b7280;
    font-weight: 400;
}

.fulfillment-process-page .items-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fulfillment-process-page .items-list::-webkit-scrollbar {
    width: 4px;
}

.fulfillment-process-page .items-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.fulfillment-process-page .items-list::-webkit-scrollbar-thumb {
    background: #ff6b9d;
    border-radius: 2px;
}

/* ===================
   ITEM CARDS
   =================== */
.fulfillment-process-page .item-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    background: white;
}

.fulfillment-process-page .pending-item {
    background: #fffbeb;
    border-color: #fbbf24;
    border-left: 4px solid #f59e0b;
}

.fulfillment-process-page .picked-item {
    background: #ecfdf5;
    border-color: #34d399;
    border-left: 4px solid #10b981;
}

.fulfillment-process-page .item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fulfillment-process-page .item-info {
    flex: 1;
    margin-right: 1rem;
}

.fulfillment-process-page .item-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-size: 0.875rem;
}

.fulfillment-process-page .item-serial {
    font-family: 'Courier New', monospace;
    color: #6b7280;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.fulfillment-process-page .item-location,
.fulfillment-process-page .item-timestamp {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #6b7280;
    font-size: 0.75rem;
}

.fulfillment-process-page .item-status {
    flex-shrink: 0;
}

.fulfillment-process-page .status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: fulfillment-pulse 2s infinite;
}

.fulfillment-process-page .status-dot.pending {
    background: #f59e0b;
}

.fulfillment-process-page .status-dot.picked {
    background: #10b981;
}

/* ===================
   EMPTY STATES
   =================== */
.fulfillment-process-page .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

.fulfillment-process-page .empty-state svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.fulfillment-process-page .empty-message {
    font-weight: 500;
    color: #6b7280;
}

/* ===================
   COPY NOTIFICATION
   =================== */
.fulfillment-process-page .copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
    animation: fulfillment-slideInFromRight 0.3s ease-out;
}

/* ERROR PAGES STYLING */
/* Error pages */
.error-page {
    padding: 4rem 1rem 5rem;
}

.error-container {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fee2e2, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.error-code {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #0f172a;
    margin: 0.25rem 0;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0.3rem 0 0.75rem;
}

.error-message {
    font-size: 0.98rem;
    color: #6b7280;
    margin-bottom: 1.75rem;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.error-actions .primary-btn,
.error-actions .secondary-btn {
    min-height: 2.75rem;
}

/* ===================
   ANIMATIONS
   =================== */
@keyframes fulfillment-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes fulfillment-slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fulfillment-slideInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fulfillment-process-page .item-card {
    animation: fulfillment-slideInUp 0.3s ease-out;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1200px) {
    .fulfillment-process-page .process-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fulfillment-process-page .scanner-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .fulfillment-process-page .fulfillment-process-container {
        padding: 0 16px;
    }

    .fulfillment-process-page .process-header {
        padding: 1.5rem;
    }

    .fulfillment-process-page .header-main {
        flex-direction: column;
        gap: 1rem;
    }

    .fulfillment-process-page .order-title {
        font-size: 1.5rem;
    }

    .fulfillment-process-page .progress-bar {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .fulfillment-process-page .progress-steps {
        justify-content: center;
        gap: 1rem;
    }

    .fulfillment-process-page .progress-percentage {
        align-items: center;
    }

    .fulfillment-process-page .scanner-card,
    .fulfillment-process-page .shipping-card,
    .fulfillment-process-page .items-section {
        padding: 1.5rem;
    }

    .fulfillment-process-page .scan-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .fulfillment-process-page .items-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fulfillment-process-page .items-column {
        height: 400px;
    }

    .fulfillment-process-page .items-stats {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .fulfillment-process-page {
        padding: 1rem 0;
    }

    .fulfillment-process-page .process-header {
        padding: 1rem;
    }

    .fulfillment-process-page .order-title {
        font-size: 1.25rem;
    }

    .fulfillment-process-page .progress-steps {
        gap: 0.5rem;
    }

    .fulfillment-process-page .step-label {
        font-size: 0.75rem;
    }

    .fulfillment-process-page .scanner-card,
    .fulfillment-process-page .shipping-card,
    .fulfillment-process-page .items-section {
        padding: 1rem;
    }

    .fulfillment-process-page .scan-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .fulfillment-process-page .items-column {
        height: 300px;
    }
}

/* ===================
   ACCESSIBILITY
   =================== */
@media (prefers-reduced-motion: reduce) {
    .fulfillment-process-page .status-indicator.active,
    .fulfillment-process-page .status-dot {
        animation: none;
    }
}

/* Focus states */
.fulfillment-process-page .scan-input:focus,
.fulfillment-process-page .back-btn:focus,
.fulfillment-process-page .scan-btn:focus,
.fulfillment-process-page .copy-btn:focus,
.fulfillment-process-page .label-download-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.3);
}


/* ===================
   ACCESSIBILITY
   =================== */
@media (prefers-reduced-motion: reduce) {
    .status-indicator.active,
    .status-dot {
        animation: none;
    }
}

/* Focus states */
.scan-input:focus,
.back-btn:focus,
.scan-btn:focus,
.copy-btn:focus,
.label-download-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.3);
}

/* ===================
   RESPONSIVE DESIGN
   =================== */

/* Mobile Search Styles */
@media (max-width: 768px) {
    .search-container {
        display: none;
    }

    .search-btn svg {
        color: #000;
    }

    .mobile-search-container {
        display: block;
        padding: 1rem;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        background: #f8f9fa;
        border-radius: 20px;
        padding: 0;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }

    .mobile-search-form:focus-within {
        border-color: #ff6b9d;
        box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
        background: #ffffff;
    }

    .mobile-search-input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 10px 15px;
        font-size: 14px;
        color: #333;
        outline: none;
    }

    .mobile-search-btn {
        background: #ff6b9d;
        border: none;
        padding: 10px 15px;
        border-radius: 18px;
        margin: 2px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .mobile-search-btn:hover {
        background: #e55a8a;
    }

    .mobile-search-btn svg {
        width: 16px;
        height: 16px;
        color: white;
    }
}

/* Desktop-specific styles */
@media (min-width: 769px) {
    .mobile-search-container {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .search-container {
        max-width: 350px;
        margin: 0 1rem;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .nav-desktop-toggle {
        display: none;
    }

    .suggest-panel {
        top: 100%;
    }
}

/* Enhanced navbar layout */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*padding: 1rem 0;*/
    gap: 1rem;
}

@media (min-width: 769px) {
    .navbar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 2rem;
    }
}

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

/* Header actions adjustments */
.header-actions-main {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Remove the old search button since we have a proper search bar now */
.action-btn.search-btn {
    display: none;
}

@media (max-width: 768px) {
    .action-btn.search-btn {
        display: flex;
    }
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    /* Hide mobile menu button on tablet+ */
    .mobile-menu-btn {
        display: none;
    }

    /* Show desktop navigation */
    .nav-desktop {
        display: flex;
    }

    /* Header adjustments */
    .header-main {
        padding: 20px 0;
    }

    .logo-text {
        font-size: 2rem;
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 48px;
        text-align: left;
    }

    .footer-section:first-child {
        text-align: left;
    }

    .footer-description {
        margin-left: 0;
        margin-right: 0;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom-content {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    .header-top {
        padding: 10px 0;
    }

    .header-main {
        padding: 24px 0;
    }

    .nav-desktop {
        gap: 48px;
    }

    .header-actions-main {
        gap: 20px;
    }

    .footer-content {
        padding: 64px 0 40px;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .nav-desktop {
        gap: 10px;
        justify-content: space-between;
        /*max-width: 800px;*/
    }

    .nav-link {
        font-size: 1rem;
        padding: 10px 14px;
    }
}

/* Small Mobile Adjustments (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-top {
        padding: 6px 0;
    }

    .header-main {
        padding: 12px 0;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-tagline {
        font-size: 0.7rem;
    }

    .header-actions-main {
        gap: 12px;
    }

    .mini-cart {
        min-width: 280px;
        right: -32px;
    }

    .footer-content {
        gap: 24px;
        padding: 32px 0 24px;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .toast {
        inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
    }
}

/* Very Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .navbar {
        gap: 12px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .mobile-nav-content {
        width: 260px;
    }
}

@media (max-width: 520px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .checkout-container,
    .checkout-form,
    .checkout-layout,
    .checkout-page,
    .cart-container,
    .category-container {
        min-width: 0;
    }

    .checkout-form,
    .order-summary,
    .summary-card,
    .delivery-info {
        width: 100%;
        max-width: 100%;
    }

    .form-input,
    .form-select,
    .form-textarea,
    .checkout-btn {
        max-width: 100%;
    }

    .checkout-btn {
        white-space: normal;
    }

    .ssl-notice,
    .security-note {
        overflow-wrap: anywhere;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .toast,
    .messages-container {
        display: none !important;
    }

    .main {
        min-height: auto;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .home-container {
        padding: 0 32px;
    }

    .hero-carousel {
        height: 500px;
    }

    .slide-text {
        padding: 48px 80px;
    }

    .slide-title {
        font-size: 3rem;
    }

    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .category-image {
        height: 140px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-arrow {
        display: flex;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-carousel {
        height: 520px;
    }

    .slide-text {
        max-width: 820px;
    }

    .slide-title {
        font-size: 3.25rem;
    }

    .slide-description {
        font-size: 1.25rem;
    }

    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .product-image {
        height: 240px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .home-container {
        padding: 0 40px;
    }

    .slide-text {
        padding: 56px 100px;
    }
}

/* Mobile First Adjustments */
@media (max-width: 767px) {

    .carousel-dots {
        display: none !important;
    }

    .categories-carousel .carousel-dots {
        display: none !important;
    }

    .home-container {
        padding: 0 16px;
    }

    .hero-carousel {
        height: 390px;
        border-radius: 8px;
    }

    .slide-overlay {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.34) 0%, rgba(15, 23, 42, 0.86) 100%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.40), rgba(15, 23, 42, 0.18));
    }

    .slide-image img {
        object-position: center;
    }

    .slide-content {
        width: 100%;
        align-items: flex-end;
    }

    .slide-text {
        padding: 28px 24px 32px;
        max-width: 100%;
    }

    .slide-title {
        font-size: 2rem;
        max-width: none;
        white-space: normal;
    }

    .slide-description {
        font-size: 1rem;
        max-width: 36rem;
    }

    .carousel-arrow {
        display: none;
    }

    .categories-grid {
        gap: 12px;
    }

    .category-image {
        height: 100px;
    }

    .products-grid {
        gap: 16px;
    }

    .product-card {
        padding: 12px;
    }

    .product-image {
        height: 180px;
    }

    .product-title {
        font-size: 1rem;
    }

    .add-to-cart-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-carousel {
        height: 340px;
    }

    .slide-text {
        padding: 22px 18px 26px;
        width: 100%;
    }

    .slide-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .slide-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .slide-button {
        min-height: 42px;
        padding: 0 16px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .category-name {
        padding: 8px;
        font-size: 0.9rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   Shared styles for: delivery, returns, about, terms, privacy, cookies
   ══════════════════════════════════════════════════════════════ */

/* ── Page wrapper ────────────────────────────────────────────── */
.static-page {
    padding: 48px 0 80px;
    min-height: 60vh;
}

.static-page .container {
    max-width: 860px;
}

/* ── Header ──────────────────────────────────────────────────── */
.static-page__header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid #f3f4f6;
}

.static-page__header h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

.static-page__lead {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.static-page__meta {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 8px 0 0;
}

/* ── Sections ────────────────────────────────────────────────── */
.static-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f3f4f6;
}

.static-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.static-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 3px solid #f9a8c9;
}

.static-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 24px 0 12px;
}

.static-section p {
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 12px;
}

.static-section a {
    color: #234182;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.static-section a:hover {
    color: #1a3060;
}

/* ── Lists ───────────────────────────────────────────────────── */
.static-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.static-list li {
    padding-left: 24px;
    position: relative;
    color: #4b5563;
    line-height: 1.65;
}

.static-list li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: #f9a8c9;
    font-weight: 700;
}

.static-list--check li::before {
    content: "✓";
    color: #16a34a;
}

.static-list--cross li::before {
    content: "✗";
    color: #dc2626;
}

/* ── Info cards (delivery) ───────────────────────────────────── */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 8px;
}

.info-card {
    background: #fdf8f4;
    border: 1px solid #f0e4e4;
    border-radius: 12px;
    padding: 24px;
}

.info-card__icon {
    color: #f9a8c9;
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.info-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 8px;
}

.info-card__price {
    font-size: 0.85rem !important;
    color: #234182 !important;
    font-weight: 600;
}

/* ── Highlight box ───────────────────────────────────────────── */
.highlight-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 20px 24px;
}

.highlight-box svg {
    flex-shrink: 0;
    color: #234182;
    margin-top: 2px;
}

.highlight-box strong {
    display: block;
    color: #1e3a5f;
    margin-bottom: 6px;
}

.highlight-box p {
    margin: 0;
    font-size: 0.92rem;
}

/* ── Steps (returns) ─────────────────────────────────────────── */
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step__number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #234182;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.step__content h3 {
    margin: 4px 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.step__content p {
    margin: 0;
    font-size: 0.92rem;
    color: #4b5563;
}

/* ── About page ──────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: center;
}

@media (max-width: 640px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        display: none;
    }
}

.about-image img {
    width: 100%;
    max-width: 260px;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.feature {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.feature__icon {
    color: #f9a8c9;
    margin-bottom: 12px;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.feature p {
    font-size: 0.88rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.static-section--cta {
    text-align: center;
}

.static-section--cta h2 {
    border-left: none;
    padding-left: 0;
    text-align: center;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 0.92rem;
    transition: background 0.15s, border-color 0.15s;
}

.contact-link:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.contact-link--btn {
    background: #234182;
    color: #fff !important;
    border-color: #234182;
}

.contact-link--btn:hover {
    background: #1a3060;
    border-color: #1a3060;
}

/* ── Legal pages table ───────────────────────────────────────── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin: 0 0 16px;
}

.data-table th {
    background: #f9fafb;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.data-table td {
    padding: 10px 14px;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    vertical-align: top;
    line-height: 1.5;
}

.data-table tr:nth-child(even) td {
    background: #f9fafb;
}

.data-table code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #234182;
}

/* ── Note box ────────────────────────────────────────────────── */
.static-note {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #92400e;
    margin-top: 16px;
}

/* ── Legal page tweaks ───────────────────────────────────────── */
.static-page--legal .static-section h2 {
    border-left-color: #234182;
}

/* ===================
   STOREFRONT CONSISTENCY PASS
   =================== */
:root {
    --store-accent: #ec4899;
    --store-accent-dark: #be185d;
    --store-ink: #111827;
    --store-muted: #6b7280;
    --store-border: rgba(15, 23, 42, 0.08);
    --store-soft: #f8fafc;
    --store-card-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    --store-card-shadow-hover: 0 16px 34px rgba(15, 23, 42, 0.11);
    --store-radius: 10px;
}

.category-container,
.product-detail-page,
.cart-container,
.checkout-container,
.contacts-container,
.static-page .container {
    max-width: 1400px;
}

.category-container,
.product-detail-page,
.cart-page,
.checkout-page,
.contacts-container,
.static-page {
    color: var(--store-ink);
}

.cart-page,
.checkout-page,
.contacts-container,
.static-page {
    background: #fff;
}

.page-header,
.cart-header,
.checkout-header,
.static-page__header {
    margin-bottom: 42px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.category-title,
.cart-title,
.checkout-title,
.page-title,
.static-page__header h1 {
    color: var(--store-ink);
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: 0;
}

.section-subtitle,
.checkout-subtitle,
.static-page__lead,
.empty-state-description,
.empty-cart-description,
.contact-description {
    color: var(--store-muted);
    line-height: 1.65;
}

.product-card,
.cart-items-section,
.summary-card,
.delivery-info,
.checkout-form,
.order-summary,
.contact-card-contacts,
.contact-form-section,
.map-section,
.faq-section,
.info-card,
.feature,
.highlight-box,
.account-section,
.address-card,
.account-order,
.auth-panel,
.product-image-section {
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    box-shadow: var(--store-card-shadow);
    background: #fff;
}

.product-card,
.contact-card-contacts,
.feature,
.address-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover,
.contact-card-contacts:hover,
.feature:hover,
.address-card:hover {
    transform: translateY(-3px);
    border-color: rgba(236, 72, 153, 0.18);
    box-shadow: var(--store-card-shadow-hover);
}

.product-image-container,
.main-image-container,
.thumbnail,
.item-image,
.empty-state,
.empty-cart {
    border-radius: var(--store-radius);
}

.product-image,
.main-image,
.thumbnail img,
.item-image img {
    border-radius: 8px;
}

.product-title-link,
.item-name a,
.breadcrumb-link,
.contact-card-contacts a,
.static-section a {
    color: var(--store-ink);
}

.product-title-link:hover,
.item-name a:hover,
.breadcrumb-link:hover,
.contact-card-contacts a:hover,
.static-section a:hover {
    color: var(--store-accent);
}

.product-price,
.total-value,
.summary-total .summary-value,
.price-current,
.product-price-detail {
    color: var(--store-accent-dark);
}

.product-badge-abs,
.item-size strong,
.default-badge,
.static-page__meta {
    background: #fdf2f8;
    color: var(--store-accent-dark);
    border: 1px solid #fbcfe8;
}

.filters-section,
.sort-select,
.form-input,
.form-select,
.form-textarea,
.quantity-input,
.auth-field input,
.auth-field textarea,
.account-field input,
.account-field select,
.account-field textarea {
    border-color: #d1d5db;
    border-radius: 8px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.quantity-input:focus,
.auth-field input:focus,
.auth-field textarea:focus,
.account-field input:focus,
.account-field select:focus,
.account-field textarea:focus {
    border-color: var(--store-accent);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.14);
    outline: none;
}

.add-to-cart-btn,
.checkout-btn,
.submit-button,
.submit-btn,
.start-shopping-btn,
.empty-state-btn,
.contact-link--btn,
.office-locator-btn,
.auth-submit,
.account-primary-btn,
.address-add-btn,
.primary-btn {
    border: 1px solid var(--store-accent);
    border-radius: 8px;
    background: var(--store-accent);
    color: #fff;
    box-shadow: 0 8px 18px rgba(236, 72, 153, 0.22);
}

.add-to-cart-btn:hover,
.checkout-btn:hover,
.submit-button:hover,
.submit-btn:hover,
.start-shopping-btn:hover,
.empty-state-btn:hover,
.contact-link--btn:hover,
.office-locator-btn:hover,
.auth-submit:hover,
.account-primary-btn:hover,
.address-add-btn:hover,
.primary-btn:hover {
    border-color: var(--store-accent-dark);
    background: var(--store-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(190, 24, 93, 0.24);
}

.continue-shopping-btn,
.secondary-btn,
.contact-link,
.wishlist-btn,
.share-btn,
.pager-btn,
.child-category-btn,
.category-nav-link,
.qty-btn,
.remove-btn {
    border-radius: 8px;
}

.continue-shopping-btn,
.secondary-btn,
.contact-link,
.wishlist-btn,
.share-btn,
.pager-btn,
.child-category-btn,
.category-nav-link {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

.share-btn {
    color: #fff;
}

.continue-shopping-btn:hover,
.secondary-btn:hover,
.contact-link:hover,
.wishlist-btn:hover,
.share-btn:hover,
.pager-btn:hover,
.child-category-btn:hover,
.category-nav-link:hover,
.child-category-btn.active,
.category-nav-link.active {
    border-color: #f9a8d4;
    background: #fdf2f8;
    color: #be185d;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(190, 24, 93, 0.12);
}

.qty-btn {
    border-color: #e5e7eb;
    background: #fff;
    color: #374151;
}

.qty-btn:hover {
    border-color: #f9a8d4;
    background: #fdf2f8;
    color: var(--store-accent-dark);
}

.contact-link.contact-link--btn,
.contact-link.contact-link--btn:hover {
    border-color: var(--store-accent);
    background: var(--store-accent);
    color: #fff !important;
}

.contact-link.contact-link--btn:hover {
    border-color: var(--store-accent-dark);
    background: var(--store-accent-dark);
}

.remove-btn {
    border: 1px solid #fecaca;
    background: #fff;
    color: #b91c1c;
}

.remove-btn:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

.checkout-steps .step.active,
.step__number,
.delivery-icon,
.contact-icon,
.feature__icon,
.empty-cart-icon,
.empty-state-icon {
    color: var(--store-accent);
}

.step__number,
.contact-icon,
.delivery-icon {
    background: #fdf2f8;
}

.summary-divider,
.cart-item,
.order-item,
.static-section,
.data-table th,
.data-table td {
    border-color: #e5e7eb;
}

.security-notice,
.security-badge,
.static-note,
.office-selected-display {
    border-radius: 8px;
}

.highlight-box,
.static-note {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #7c2d12;
}

.highlight-box svg,
.highlight-box strong,
.data-table code,
.static-page--legal .static-section h2 {
    color: var(--store-accent-dark);
}

.static-page--legal .static-section h2,
.static-section h2 {
    border-left-color: var(--store-accent);
}

.data-table th {
    background: var(--store-soft);
}

.data-table tr:nth-child(even) td {
    background: #fafafa;
}

.office-dropdown {
    border-color: #d1d5db;
    border-radius: 0 0 8px 8px;
}

.office-option:hover,
.office-option.active {
    background: #fdf2f8;
}

.office-selected-display {
    background: #fdf2f8;
    border-color: #fbcfe8;
}

.office-selected-display strong {
    color: var(--store-accent-dark);
}

.office-map-inner {
    border-radius: var(--store-radius);
}

.office-map-header {
    background: var(--store-ink);
}

@media (max-width: 768px) {
    .page-header,
    .cart-header,
    .checkout-header,
    .static-page__header {
        margin-bottom: 30px;
        padding-bottom: 18px;
    }

    .cart-items-section,
    .summary-card,
    .delivery-info,
    .checkout-form,
    .order-summary,
    .contact-form-section,
    .map-section,
    .faq-section,
    .product-image-section {
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    }
}

/* Product detail needs a centered full-width page; the inner container owns width. */
.product-detail-page {
    width: 100%;
    max-width: none;
    padding: 24px 0 72px;
    background: #fff;
}

.product-detail-page .product-container {
    width: min(1400px, calc(100% - 40px));
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.product-detail-page .product-layout {
    grid-template-columns: minmax(420px, 0.95fr) minmax(480px, 1.05fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 40px;
}

.product-detail-page .product-image-section,
.product-detail-page .product-info {
    min-width: 0;
    padding: 22px;
}

.product-detail-page .product-info {
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    box-shadow: var(--store-card-shadow);
    background: #fff;
}

.product-detail-page .main-image-container {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 5;
    margin: 0;
    border-radius: var(--store-radius);
    background: var(--store-soft);
    box-shadow: none;
}

.product-detail-page .main-image {
    object-fit: contain;
    background: var(--store-soft);
}

.product-detail-page .main-image-container:hover .main-image {
    transform: none;
}

.product-detail-page .thumbnails-container {
    margin-top: 14px;
}

.product-detail-page .product-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-detail-page .product-badge,
.product-detail-page .product-title,
.product-detail-page .product-category,
.product-detail-page .product-price-details,
.product-detail-page .product-description,
.product-detail-page .product-actions,
.product-detail-page .add-to-cart-container,
.product-detail-page .product-features {
    margin-bottom: 0;
}

.product-detail-page .product-title {
    font-size: clamp(1.65rem, 2.4vw, 2.25rem);
    line-height: 1.16;
}

.product-detail-page .product-price-details {
    background: none;
    color: var(--store-accent-dark);
    -webkit-text-fill-color: currentColor;
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
}

.product-detail-page .product-actions {
    border-radius: var(--store-radius);
    background: var(--store-soft);
    padding: 24px;
}

.product-detail-page .add-to-cart-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
}

.product-detail-page .add-to-cart-btn,
.product-detail-page .wishlist-btn {
    min-height: 56px;
}

.product-detail-page .product-specs,
.product-detail-page .share-section {
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    box-shadow: var(--store-card-shadow);
    background: #fff;
}

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

    .product-detail-page .main-image-container {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 640px) {
    .product-detail-page {
        padding-top: 16px;
    }

    .product-detail-page .product-container {
        width: min(100% - 24px, 1400px);
    }

    .product-detail-page .product-image-section,
    .product-detail-page .product-info,
    .product-detail-page .product-specs,
    .product-detail-page .share-section {
        padding: 16px;
    }

    .product-detail-page .quantity-selector,
    .product-detail-page .add-to-cart-container {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }
}

/* Product cards use .product-info as plain content, not a nested panel. */
.product-card .product-info,
.product-card .product-content {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.product-card .product-link {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.product-card .product-image {
    margin-bottom: 0;
    aspect-ratio: 1 / 0.9;
    height: auto;
    min-height: 220px;
    background: var(--store-soft);
}

.product-card .product-title {
    margin: 0 0 8px;
    min-height: 2.7em;
    font-size: 1.05rem;
    line-height: 1.35;
}

.product-card .category-parent {
    color: var(--store-muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.product-card .product-footer {
    gap: 12px;
    margin-top: auto;
}

.product-card .product-price {
    color: var(--store-accent-dark);
    font-size: 1.02rem;
}

/* Product detail final layout */
.product-detail-page .product-layout {
    grid-template-areas:
        "media info"
        "specs share";
    grid-template-columns: minmax(440px, 0.92fr) minmax(520px, 1.08fr);
    gap: 32px;
}

.product-detail-page .product-image-section {
    grid-area: media;
}

.product-detail-page .product-info {
    grid-area: info;
    align-self: start;
}

.product-detail-page .product-specs {
    grid-area: specs;
}

.product-detail-page .share-section {
    grid-area: share;
}

.product-detail-page .product-image-section,
.product-detail-page .product-info,
.product-detail-page .product-specs,
.product-detail-page .share-section {
    border: 1px solid var(--store-border);
    border-radius: 10px;
    box-shadow: var(--store-card-shadow);
}

.product-detail-page .main-image-container {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-page .main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.product-detail-page .product-badge {
    align-self: flex-start;
    display: inline-flex;
    width: auto;
    max-width: 100%;
    border-radius: 999px;
    padding: 8px 16px;
    background: var(--store-accent);
    color: #fff;
    box-shadow: 0 10px 18px rgba(236, 72, 153, 0.18);
}

.product-detail-page .product-badge svg {
    flex: 0 0 auto;
}

.product-detail-page .description-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.product-detail-page .product-actions {
    display: flex;
    align-items: center;
    min-height: 112px;
}

.product-detail-page .quantity-selector {
    margin: 0;
    flex-wrap: wrap;
}

.product-detail-page .quantity-controls {
    border-width: 1px;
    border-radius: 10px;
    overflow: hidden;
}

.product-detail-page .quantity-btn,
.product-detail-page .quantity-input {
    height: 44px;
}

.product-detail-page .quantity-btn {
    width: 44px;
}

.product-detail-page .wishlist-btn {
    width: 56px;
    padding: 0;
}

.product-detail-page .product-features {
    gap: 10px;
}

.product-detail-page .feature-tag {
    border-radius: 999px;
    background: #fff;
    border-color: #e5e7eb;
    padding: 10px 14px;
}

.product-detail-page .product-specs,
.product-detail-page .share-section {
    padding: 28px;
}

.product-detail-page .specs-title,
.product-detail-page .share-title {
    margin: 0 0 22px;
    font-size: 1.18rem;
    line-height: 1.25;
}

.product-detail-page .specs-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail-page .spec-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 0 0 16px;
    border-bottom: 1px solid #e5e7eb;
}

.product-detail-page .spec-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.product-detail-page .spec-label {
    color: var(--store-muted);
    font-weight: 650;
    line-height: 1.6;
}

.product-detail-page .spec-value {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    color: var(--store-ink);
    line-height: 1.5;
}

.product-detail-page .size-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 7px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-detail-page .share-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 176px;
    text-align: center;
}

.product-detail-page .share-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.product-detail-page .share-btn {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.product-detail-page .share-btn svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 1100px) {
    .product-detail-page .product-layout {
        grid-template-areas:
            "media"
            "info"
            "specs"
            "share";
        grid-template-columns: 1fr;
    }
}

/* Hero images: preserve photo proportions and avoid the stretched wide-banner look. */
.home-container .hero-carousel {
    height: clamp(420px, 34vw, 560px);
}

.home-container .slide-image {
    background: #111827;
}

.home-container .slide-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-image, none) center / cover no-repeat;
    filter: blur(18px);
    transform: scale(1.08);
    opacity: 0.68;
}

.home-container .slide-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.18);
}

.home-container .slide-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center right;
    transform: none;
    background: transparent;
    z-index: 1;
}

.home-container .slide-overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.54) 0%, rgba(15, 23, 42, 0.34) 36%, rgba(15, 23, 42, 0.10) 68%, rgba(15, 23, 42, 0.04) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.18) 100%);
}

@media (min-width: 1200px) {
    .home-container .hero-carousel {
        max-width: 1600px;
    }
}

@media (max-width: 767px) {
    .home-container .hero-carousel {
        height: 380px;
    }

    .home-container .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        opacity: 0.72;
    }

    .home-container .slide-image::after {
        content: "";
        background: linear-gradient(180deg, rgba(17, 24, 39, 0.26) 0%, rgba(17, 24, 39, 0.90) 100%);
    }
}

@media (max-width: 640px) {
    .product-detail-page .product-layout {
        gap: 18px;
    }

    .product-detail-page .product-actions {
        min-height: 0;
        padding: 18px;
    }

    .product-detail-page .product-specs,
    .product-detail-page .share-section {
        padding: 18px;
    }

    .product-detail-page .spec-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-detail-page .add-to-cart-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-detail-page .wishlist-btn {
        width: 100%;
    }
}

/* ===================
   NAVBAR REDESIGN
   =================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.header .container {
    max-width: 1600px;
}

.header-top {
    padding: 7px 0;
    background: #111827;
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.header-top-content {
    min-height: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.header .header-actions {
    gap: 10px;
    min-width: 0;
}

.header-phone,
.social-link-header,
.shipping-info {
    color: rgba(255, 255, 255, 0.78);
}

.header-phone {
    font-size: 0.86rem;
    font-weight: 650;
}

.header-phone:hover,
.social-link-header:hover {
    color: #fff;
}

.social-link-header {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.social-link-header:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.header-info {
    justify-content: center;
}

.shipping-info {
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

.lang-switcher {
    justify-self: end;
    margin: 0;
}

.lang-flags {
    gap: 4px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-flag-btn {
    width: 30px;
    height: 24px;
    padding: 3px 5px;
    border-radius: 999px;
    opacity: 0.72;
}

.lang-flag-btn:hover,
.lang-flag-btn.active {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
    opacity: 1;
    transform: none;
}

.lang-flag-btn img {
    width: 21px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.header-main {
    padding: 14px 0 12px;
    background: #fff;
}

.navbar {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    gap: clamp(18px, 2.6vw, 42px);
    align-items: center;
}

.logo {
    width: 148px;
    min-width: 148px;
    padding: 0;
    border-radius: 8px;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 100%;
}

.footer-logo .logo-icon {
    width: 50%;
}

.logo-icon img {
    display: block;
    width: 100%;
    height: auto;
}

.logo-tagline {
    margin-top: -4px;
    color: #64748b;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.search-container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    cursor: text;
}

.search-form {
    min-height: 44px;
    background: #fff;
    border-radius: inherit;
}

.search-form:focus-within {
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.search-input {
    min-height: 44px;
    padding: 0 18px;
    color: #111827;
    font-size: 0.92rem;
    border-radius: inherit;
}

.search-input::placeholder {
    color: #94a3b8;
}

.suggest-panel {
    top: calc(100% + 10px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.header-actions-main {
    gap: 10px;
}

.nav-desktop-toggle,
.header .account-btn,
.header .cart-btn,
.action-btn.search-btn,
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.nav-desktop-toggle {
    width: auto;
    min-width: 130px;
    padding: 0 15px;
    gap: 8px;
    font-weight: 700;
}

.nav-desktop-toggle:hover,
.header .account-btn:hover,
.header .cart-btn:hover,
.action-btn.search-btn:hover,
.mobile-menu-btn:hover {
    border-color: #f9a8d4;
    background: #fdf2f8;
    color: #be185d;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(190, 24, 93, 0.12);
}

.nav-desktop-toggle__icon,
.header .account-btn .icon,
.header .cart-btn .icon,
.action-btn.search-btn .icon {
    width: 21px;
    height: 21px;
    stroke-width: 1.9;
}

.header .cart-container {
    position: relative;
    width: auto;
    max-width: none;
}

.cart-badge {
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef4444;
    font-size: 0.72rem;
    line-height: 1;
}

.nav-desktop {
    width: 100%;
    margin: 12px 0 0;
    padding: 10px;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-desktop.nav-desktop--open {
    max-height: 520px;
}

.nav-desktop .nav-item {
    pointer-events: auto;
}

.nav-desktop:not(.nav-desktop--open),
.nav-desktop:not(.nav-desktop--open) .nav-item,
.nav-desktop:not(.nav-desktop--open) .nav-link,
.nav-desktop:not(.nav-desktop--open) .dropdown {
    pointer-events: none;
}

.nav-desktop:not(.nav-desktop--open) {
    visibility: hidden;
}

.nav-item {
    background: transparent;
    box-shadow: none;
    border-radius: 8px;
    color: #334155;
    letter-spacing: 0;
}

.nav-link {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 8px;
    color: #334155;
    font-weight: 750;
    font-size: 0.92rem;
}

.nav-link:hover,
.nav-item:hover .nav-link {
    background: #fff;
    color: #be185d;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.nav-arrow {
    color: currentColor;
}

.dropdown {
    top: calc(100% + 8px);
    min-width: 230px;
    padding: 8px;
    border-radius: 10px;
    border-color: rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    z-index: 3000;
}

.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.dropdown-link {
    padding: 10px 12px;
    border-radius: 8px;
    color: #334155;
    font-weight: 650;
}

.dropdown-link:hover {
    background: #fdf2f8;
    color: #be185d;
}

.mobile-menu-btn {
    display: none;
    padding: 0;
}

.hamburger-line {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
}

.mobile-search-container {
    padding: 0 16px 12px;
    background: #fff;
    border-bottom: 1px solid #eef2f7;
}

.nav-mobile {
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(5px);
}

.mobile-nav-content {
    width: min(340px, 88vw);
    background: #fff;
    box-shadow: 20px 0 60px rgba(15, 23, 42, 0.22);
}

.mobile-nav-header {
    background: #111827;
    color: #fff;
}

.mobile-nav-close {
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 8px;
}

.mobile-nav-link {
    border-radius: 8px;
    color: #111827;
    font-weight: 800;
}

.mobile-nav-link:hover,
.mobile-nav-link:active,
.mobile-nav-child-link:hover,
.mobile-nav-child-link:active {
    background: #fdf2f8;
    color: #be185d;
}

.mobile-nav-children {
    margin: 6px 0 12px 12px;
    padding-left: 12px;
    border-left: 2px solid #fbcfe8;
}

.mobile-nav-child-link {
    border-radius: 8px;
    color: #475569;
}

@media (max-width: 1100px) {
    .navbar {
        grid-template-columns: auto minmax(220px, 1fr) auto;
        gap: 18px;
    }

    .logo {
        width: 128px;
        min-width: 128px;
    }

    .nav-desktop-toggle__label {
        display: none;
    }

    .nav-desktop-toggle {
        min-width: 44px;
        width: 44px;
        padding: 0;
        justify-content: center;
    }

    .footer-logo .logo-icon {
        margin: auto;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-main {
        padding: 10px 0;
    }

    .navbar {
        grid-template-columns: 44px minmax(92px, 1fr) auto;
        gap: 10px;
    }

    .mobile-menu-btn {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .logo {
        width: 116px;
        min-width: 116px;
        justify-self: start;
    }

    .logo-tagline {
        display: none;
    }

    .search-container,
    .nav-desktop,
    .nav-desktop-toggle {
        display: none;
    }

    .header-actions-main {
        gap: 8px;
        justify-content: flex-end;
    }

    .action-btn.search-btn {
        display: inline-flex;
    }

    .header .account-btn,
    .header .cart-btn,
    .action-btn.search-btn,
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        box-shadow: none;
    }

    .mini-cart {
        right: -8px;
        width: min(340px, calc(100vw - 24px));
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .logo {
        width: 104px;
        min-width: 104px;
    }

    .header-actions-main {
        gap: 6px;
    }

    .header .account-btn,
    .header .cart-btn,
    .action-btn.search-btn,
    .mobile-menu-btn {
        width: 38px;
        height: 38px;
    }
}

/* Staff navigation */
.staff-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.staff-nav-btn:hover {
    border-color: #f9a8d4;
    background: #fdf2f8;
    color: #be185d;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(190, 24, 93, 0.12);
}

.staff-nav-btn .icon {
    width: 19px;
    height: 19px;
}

.mobile-nav-item--staff {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #fbcfe8;
    border-radius: 10px;
    background: #fdf2f8;
}

.mobile-nav-item--staff .mobile-nav-link {
    margin-bottom: 6px;
    background: #fff;
}

.mobile-nav-item--staff .mobile-nav-link:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .staff-nav-btn span {
        display: none;
    }

    .staff-nav-btn {
        width: 44px;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .staff-nav-btn {
        display: none;
    }
}

/* ===================
   STAFF WORKSPACE CONSISTENCY
   =================== */
.pos-page,
.fulfillment-page,
.fulfillment-process-page {
    background: #f8fafc;
    color: #111827;
}

.pos-container,
.fulfillment-container,
.fulfillment-process-container {
    width: min(1600px, calc(100% - 40px));
    max-width: 1600px;
    padding: 28px 0 64px;
}

.pos-header,
.fulfillment-header,
.fulfillment-process-page .process-header,
.scanner-card,
.quick-actions,
.receipt-card,
.quick-actions-bar,
.orders-section,
.fulfillment-process-page .scanner-card,
.fulfillment-process-page .shipping-card,
.fulfillment-process-page .items-section,
.fulfillment-process-page .items-column,
.empty-fulfillment {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.pos-header,
.fulfillment-header,
.fulfillment-process-page .process-header {
    padding: 28px;
    margin-bottom: 24px;
}

.pos-title,
.fulfillment-title,
.fulfillment-process-page .order-title {
    color: #111827;
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: 0;
}

.pos-title svg,
.fulfillment-title svg,
.scanner-title svg,
.receipt-title svg,
.items-title svg,
.shipping-title svg {
    color: #ec4899;
}

.pos-status,
.scan-counter,
.status-badge,
.fulfillment-process-page .scan-status {
    border-radius: 999px;
}

.scanner-card,
.quick-actions,
.receipt-card,
.fulfillment-process-page .scanner-card,
.fulfillment-process-page .shipping-card,
.fulfillment-process-page .items-section {
    padding: 24px;
}

.receipt-card,
.orders-section {
    overflow: hidden;
}

.receipt-header,
.fulfillment-process-page .column-header {
    /* background: #111827; */
    color: #fff;
}

.scanner-input,
.fulfillment-process-page .scan-input {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    min-height: 48px;
    background: #fff;
}

.scanner-input:focus,
.fulfillment-process-page .scan-input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.14);
}

.add-btn,
.filter-btn.active,
.refresh-empty-btn,
.fulfillment-process-page .scan-btn,
.fulfillment-process-page .label-download-btn {
    border: 1px solid #ec4899;
    border-radius: 8px;
    background: #ec4899;
    color: #fff;
    box-shadow: 0 10px 22px rgba(236, 72, 153, 0.20);
}

.add-btn:hover,
.refresh-empty-btn:hover,
.fulfillment-process-page .scan-btn:hover,
.fulfillment-process-page .label-download-btn:hover {
    border-color: #be185d;
    background: #be185d;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(190, 24, 93, 0.22);
}

.quick-btn,
.payment-btn,
.refresh-btn,
.export-btn,
.fulfillment-page .action-btn,
.bulk-btn,
.fulfillment-process-page .back-btn,
.fulfillment-process-page .copy-btn {
    border-radius: 8px;
}

.quick-btn:hover,
.payment-btn:hover,
.refresh-btn:hover,
.export-btn:hover,
.fulfillment-page .action-btn:hover,
.fulfillment-process-page .back-btn:hover,
.fulfillment-process-page .copy-btn:hover {
    border-color: #f9a8d4;
    background: #fdf2f8;
    color: #be185d;
}

.payment-btn.active,
.finalize-btn {
    border: 1px solid #16a34a;
    background: #16a34a;
    color: #fff;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.18);
}

.finalize-btn:hover,
.payment-btn.active:hover {
    background: #15803d;
    border-color: #15803d;
}

.orders-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.orders-table td {
    background: #fff;
}

.order-row:hover td {
    background: #fdf2f8;
}

.status-pending {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fed7aa;
}

.status-sent,
.status-shipped {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.status-done,
.status-ready {
    background: #ecfdf5;
    color: #047857;
    border-color: #bbf7d0;
}

.status-canceled {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.items-count,
.fulfillment-process-page .stat-number {
    color: #be185d;
}

.tracking-number,
.item-code,
.fulfillment-process-page .tracking-number,
.fulfillment-process-page .item-serial {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
}

.fulfillment-process-page .process-layout {
    gap: 24px;
}

.fulfillment-process-page .header-main {
    background: transparent;
    padding: 0;
}

.fulfillment-process-page .items-grid {
    gap: 18px;
}

.fulfillment-process-page .item-card {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.fulfillment-process-page .pending-item {
    border-left-color: #f59e0b;
}

.fulfillment-process-page .picked-item {
    border-left-color: #16a34a;
}

@media (max-width: 768px) {
    .pos-container,
    .fulfillment-container,
    .fulfillment-process-container {
        width: min(100% - 24px, 1600px);
        padding: 18px 0 44px;
    }

    .pos-header,
    .fulfillment-header,
    .fulfillment-process-page .process-header,
    .scanner-card,
    .quick-actions,
    .receipt-card,
    .quick-actions-bar,
    .fulfillment-process-page .scanner-card,
    .fulfillment-process-page .shipping-card,
    .fulfillment-process-page .items-section {
        padding: 18px;
    }
}


/* ===================
   SEARCH RESULTS PAGE
   =================== */
.search-results-page {
    padding-top: 34px;
    padding-bottom: 72px;
}

.search-results-header {
    text-align: left;
}

.search-results-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 14px;
    padding: 0 11px;
    border: 1px solid #fbcfe8;
    border-radius: 999px;
    background: #fdf2f8;
    color: #be185d;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.search-results-header .category-title {
    overflow-wrap: anywhere;
}

.search-results-header .section-subtitle {
    margin-top: 10px;
}

.search-empty-state {
    max-width: 760px;
    margin: 0 auto;
    border-width: 1px;
    border-color: #e2e8f0;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .search-results-page {
        padding-top: 22px;
        padding-bottom: 48px;
    }
}

/* Home page accessibility fixes */
.home-container .section-subtitle,
.home-container .feature-description,
.home-container .category-parent,
.home-container .category-count,
.home-container .tip-description {
    color: #4b5563;
}

.home-container .carousel-dot {
    position: relative;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
}

.home-container .carousel-dot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background: currentColor;
}

.home-container .hero-carousel .carousel-dot {
    color: rgba(255, 255, 255, 0.78);
}

.home-container .hero-carousel .carousel-dot.active {
    width: 44px;
    background: transparent;
}

.home-container .hero-carousel .carousel-dot.active::after {
    width: 30px;
    background: #fff;
}

.home-container .categories-section .carousel-dot {
    color: #64748b;
}

.home-container .categories-section .carousel-dot.active {
    background: transparent;
    transform: none;
    color: #be185d;
}

.home-container .categories-section .carousel-dot:hover {
    background: transparent;
    color: #475569;
}

.home-container .age-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.home-container .why-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

/* Refreshed mini-cart component. Scoped to avoid older cart styles leaking into the dropdown. */
.mini-cart .minicart-container {
    width: min(410px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 8px;
    box-shadow: 0 18px 54px rgba(17, 24, 39, .18);
    overflow: hidden;
    position: relative;
}

.mini-cart .minicart-container::before,
.mini-cart .minicart-container::after {
    content: none;
    display: none;
}

.mini-cart .minicart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 16px 12px;
    background: #fff;
    color: #111827;
    border-bottom: 1px solid #eef2f7;
}

.mini-cart .minicart-eyebrow {
    margin: 0 0 3px;
    color: #6b7280;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mini-cart .minicart-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.mini-cart .items-count {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #eef4ff;
    color: #234182;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
}

.mini-cart .minicart-header-link {
    color: #234182;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.mini-cart .minicart-items {
    max-height: min(430px, 58vh);
    overflow-y: auto;
    padding: 8px 0;
    background: #fff;
}

.mini-cart .minicart-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

.mini-cart .minicart-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 0;
    transition: background-color .15s ease;
}

.mini-cart .minicart-item + .minicart-item {
    border-top: 1px solid #f3f4f6;
}

.mini-cart .minicart-item:hover {
    background: #f8fafc;
}

.mini-cart .minicart-item__image,
.mini-cart .minicart-item__placeholder {
    width: 70px;
    height: 82px;
    border-radius: 8px;
    background: #f3f4f6;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #9ca3af;
}

.mini-cart .minicart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini-cart .minicart-item__body,
.mini-cart .minicart-item__topline {
    min-width: 0;
}

.mini-cart .minicart-item__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.mini-cart .minicart-item__name {
    color: #111827;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.mini-cart .minicart-remove {
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.mini-cart .minicart-remove:hover {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff5f5;
}

.mini-cart .minicart-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 8px 0 10px;
    color: #6b7280;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.3;
}

.mini-cart .minicart-item__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mini-cart .minicart-stepper {
    display: grid;
    grid-template-columns: 34px 42px 34px;
    height: 34px;
    border: 1px solid #d9dee8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    flex: 0 0 auto;
}

.mini-cart .minicart-stepper button,
.mini-cart .minicart-stepper input {
    width: 100%;
    height: 100%;
    border: 0;
    border-right: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    text-align: center;
    font-size: .9rem;
    font-weight: 800;
}

.mini-cart .minicart-stepper button:last-child,
.mini-cart .minicart-stepper input:last-child {
    border-right: 0;
}

.mini-cart .minicart-stepper button {
    cursor: pointer;
}

.mini-cart .minicart-stepper button:hover {
    background: #f8fafc;
}

.mini-cart .minicart-stepper input::-webkit-inner-spin-button,
.mini-cart .minicart-stepper input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.mini-cart .minicart-item__line-total {
    color: #111827;
    font-size: .86rem;
    font-weight: 700;
    text-align: right;
    line-height: 1.25;
}

.mini-cart .minicart-footer {
    padding: 14px 16px 16px;
    background: #fbfcff;
    border-top: 1px solid #eef2f7;
}

.mini-cart .minicart-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #111827;
}

.mini-cart .minicart-total span {
    font-size: .9rem;
    font-weight: 500;
}

.mini-cart .minicart-total strong {
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
}

.mini-cart .minicart-delivery-note {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: .78rem;
    line-height: 1.45;
}

.mini-cart .minicart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 12px;
}

.mini-cart .view-cart-btn,
.mini-cart .checkout-btn {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.15;
    box-shadow: none;
    transform: none;
}

.mini-cart .view-cart-btn {
    background: #fff;
    color: #111827;
    border: 1px solid #d9dee8;
}

.mini-cart .view-cart-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #111827;
}

.mini-cart .checkout-btn {
    background: #29458f;
    color: #fff;
    border: 1px solid #29458f;
}

.mini-cart .checkout-btn:hover {
    background: #223c7e;
    border-color: #223c7e;
    color: #fff;
}

.mini-cart .security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #4b5563;
    font-size: .78rem;
    font-weight: 800;
    background: #ecfdf3;
    padding: 10px;
    border-radius: 8px;
}

.mini-cart .empty-minicart {
    padding: 28px 18px;
    text-align: center;
}

.mini-cart .empty-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    color: #9ca3af;
}

.mini-cart .empty-minicart h4 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
}

.mini-cart .empty-minicart p {
    margin: 0;
    color: #6b7280;
    font-size: .85rem;
    line-height: 1.45;
}

@media (max-width: 480px) {
    .mini-cart .minicart-container {
        width: calc(100vw - 24px);
    }

    .mini-cart .minicart-item {
        grid-template-columns: 62px minmax(0, 1fr);
        padding: 10px 12px;
    }

    .mini-cart .minicart-item__image,
    .mini-cart .minicart-item__placeholder {
        width: 62px;
        height: 74px;
    }

    .mini-cart .minicart-item__controls,
    .mini-cart .minicart-actions {
        grid-template-columns: 1fr;
    }

    .mini-cart .minicart-item__controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .mini-cart .minicart-item__line-total {
        text-align: left;
    }
}
