:root {
    --blue: #103948;
    --ink: #171922;
    --muted: #253047;
    --surface: #faf9ff;
    --button-muted: #e8e6eb;
    --card: #ffffff;
    --border: #e2e8f0;
}

[data-theme="dark"] {
    --ink: #f8fafc;
    --muted: #94a3b8;
    --surface: #0f172a;
    --button-muted: #1e293b;
    --card: #1e293b;
    --border: #334155;
    --blue: #4da4c3;
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

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

.site-header {
    display: block;
    min-height: auto;
    padding: 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-top-wrapper {
    background: #ffffff; /* White background matching design concept */
    border-bottom: 1px solid var(--border);
    width: 100%;
}

.header-nav-wrapper {
    background: var(--blue); /* Solid brand blue bar spanning 100% width */
    width: 100%;
}

.header-inner-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 12px 48px 12px 252px; /* 32px standard gap + 220px logo space */
    min-height: 80px;
    box-sizing: border-box;
}

.header-inner-bottom {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 48px 0 252px; /* 32px standard gap + 220px logo space */
    min-height: 52px;
    box-sizing: border-box;
}

.brand {
    position: absolute;
    top: 0;
    left: 0; /* Touch the very left edge of the screen */
    width: 220px; /* Sleeker, reduced width for laptop */
    height: 132px; /* Top height 80px + Bottom height 52px */
    background: #000000; /* Seamless blend with logo image */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
}

.brand img {
    width: 180px; /* Sleeker logo image width */
    height: auto;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand img:hover {
    transform: scale(1.02);
}

.trust-badge-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #fbbf24;
    font-size: 16px;
}

.header-contact-widgets {
    display: flex;
    gap: 32px;
    align-items: center;
    flex: 1 1 0%;
}

.contact-widget {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icons {
    display: flex;
    gap: 6px;
}

.contact-icons a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 16px;
    transition: all 0.25s ease;
}

.contact-icons a.whatsapp-btn {
    background: #25d366;
    color: #ffffff;
}

.contact-icons a.whatsapp-btn:hover {
    background: #1eb855;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-icons a.viber-btn {
    background: #7360f2;
    color: #ffffff;
}

.contact-icons a.viber-btn:hover {
    background: #5e4cdb;
    color: #ffffff;
    transform: translateY(-2px);
}

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

.contact-info span.phone-num {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

.contact-info span.highlight {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.4;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.main-nav > a,
.nav-item > a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.main-nav > a:hover,
.nav-item > a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.main-nav a.is-active {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 800;
}

.main-nav a.is-active::after {
    display: none;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    flex: 1 1 0%;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    z-index: 1001;
}

.search-container::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease;
}

.search-container:focus-within::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23103948' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
    transform: translateY(-50%) scale(1.05);
}

.search-container input {
    background: #f1f5f9;
    border: 2px solid transparent;
    color: #1e293b;
    padding: 0.7rem 1.25rem 0.7rem 2.6rem;
    border-radius: 14px;
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-sizing: border-box;
    max-width: calc(100vw - 160px);
    letter-spacing: 0.01em;
}

.search-container input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    transition: color 0.3s ease;
}

.search-container input:focus {
    background: #ffffff;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(16, 57, 72, 0.08), 0 4px 16px rgba(16, 57, 72, 0.06);
}

.search-container input:focus::placeholder {
    color: #cbd5e1;
}

.search-container:focus-within {
    max-width: 480px;
}

#search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
    max-height: 420px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    animation: searchDropIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#search-results::-webkit-scrollbar {
    width: 6px;
}

#search-results::-webkit-scrollbar-track {
    background: transparent;
}

#search-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

@keyframes searchDropIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.header-actions a,
.header-actions button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #1e293b;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.header-actions a:hover,
.header-actions button:hover {
    background: #e2e8f0;
    color: var(--blue);
    transform: translateY(-1px);
}

.header-actions svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 20;
    width: 274px;
    padding: 0;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;

    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.dropdown-link {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 20px;
    min-height: 76px;
    padding: 10px 18px 10px 24px;
    color: #1f293b;
    border-bottom: 1px solid #dddfe5;
    background: #fff;
}

.dropdown-link:last-child {
    border-bottom: 0;
}

.dropdown-link:hover,
.dropdown-link:focus {
    background: #f7f8fb;
}

.dropdown-link img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.dropdown-link span {
    color: #172033;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    flex: 1 1 0%;
}

.header-actions a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
}

.header-actions svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-actions .is-active-action svg {
    stroke: var(--blue);
}

.hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
    align-items: center;
    gap: 70px;
    min-height: calc(100vh - 96px);
    padding: 44px 48px 48px;
}

.hero-copy {
    max-width: 610px;
}

.hero h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(54px, 5.35vw, 74px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.hero h1 span {
    color: var(--blue);
}

.hero p {
    max-width: 605px;
    margin: 34px 0 49px;
    color: var(--muted);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.52;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 60px;
    padding: 16px 27px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.button:active {
    transform: scale(0.98);
}

.button-primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 6px 16px rgba(9, 102, 216, 0.25);
    border: none;
}

.button-primary:hover {
    background: #154c60;
    box-shadow: 0 8px 20px rgba(16, 57, 72, 0.35);
    transform: translateY(-2px);
}

.button-secondary {
    color: #1e293b;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.button-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

.hero-media {
    overflow: hidden;
    width: 100%;
    max-width: 604px;
    justify-self: end;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(31, 38, 58, 0.08);
}

.hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 604 / 433;
    object-fit: cover;
    object-position: 55% 50%;
}

.categories-section {
    padding: 64px 48px 96px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 64px;
}

.section-heading p {
    margin: 0 0 17px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: #05070d;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.section-heading a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.section-heading svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 400px;
    gap: 24px;
    margin-top: 2rem;
}

.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #f1f5f9;
    isolation: isolate;
    text-decoration: none;
}

.category-card.card-large {
    grid-column: span 4;
}

.category-card.card-small {
    grid-column: span 2;
}

.category-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.category-card:hover::after {
    opacity: 1;
}

.category-card h3 {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 2;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-card.card-small h3 {
    font-size: 1.5rem;
    left: 1.5rem;
    bottom: 1.5rem;
}

.category-card span {
    position: absolute;
    left: 40px;
    bottom: 39px;
    z-index: 2;
    color: #fff;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
}

.category-card:not(.is-featured) span {
    left: 39px;
    bottom: 40px;
    font-size: 27px;
}

.category-card:hover img,
.category-card:focus img {
    transform: scale(1.035);
}

.best-sellers {
    padding: 42px 48px 132px;
    background: #dedee2;
}

.best-sellers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 66px;
}

.best-sellers h2 {
    margin: 0;
    color: #05070d;
    font-size: 37px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.best-seller-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.best-seller-controls button {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    padding: 0;
    color: #05070d;
    border: 0;
    border-radius: 11px;
    background: #f7f7fb;
    cursor: pointer;
}

.best-seller-controls svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.best-seller-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.best-seller-card {
    overflow: hidden;
    border-radius: 7px;
    background: #fff;
    padding: 16px 16px 24px;
}

.best-seller-image {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: #f1f2f4;
}

.best-seller-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.best-seller-info {
    padding: 24px 8px 0;
}

.best-seller-info p {
    margin: 0 0 12px;
    color: #0061d7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    line-height: 1;
    text-transform: uppercase;
}

.best-seller-info h3 {
    margin: 0 0 8px;
    color: #05070d;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.best-seller-info span {
    display: block;
    margin-bottom: 18px;
    color: #172033;
    font-size: 14px;
    line-height: 1.25;
}

.customize-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: #05070d;
    border-radius: 8px;
    background: #e7e5ea;
    font-weight: 800;
}

.checkout-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 64px 48px 120px;
}

.checkout-intro {
    margin-bottom: 40px;
}

.checkout-intro h1 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.checkout-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 40px;
    align-items: start;
}

.checkout-forms {
    display: grid;
    gap: 32px;
}

.checkout-panel,
.order-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.checkout-panel {
    padding: 36px;
}

.checkout-panel-title {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 28px;
}

.panel-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    border-radius: 10px;
    background: var(--blue);
}

.panel-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkout-panel h2,
.order-summary h2 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.checkout-form {
    display: grid;
    gap: 20px;
}

.checkout-form label,
.payment-panel h3 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.checkout-form label span {
    display: block;
}

.checkout-form input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    font: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
}

.checkout-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(16, 57, 72, 0.08);
    background: var(--card);
    outline: none;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 16px;
}

.payment-panel {
    padding-bottom: 36px;
}

.same-billing {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    margin-bottom: 28px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    transition: all 0.2s;
}

.same-billing input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.same-billing span {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.payment-panel h3 {
    margin: 0 0 16px 4px;
}

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

.payment-option {
    position: relative;
    display: grid;
    align-content: center;
    min-height: 128px;
    padding: 20px;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-option.wide {
    grid-column: 1 / -1;
    min-height: 92px;
    padding-left: 64px;
}

.payment-option input {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.payment-option svg {
    width: 26px;
    height: 26px;
    margin-bottom: 12px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.payment-option.wide svg {
    position: absolute;
    left: 20px;
    top: 32px;
}

.payment-option strong {
    margin-bottom: 4px;
    font-size: 18px;
    line-height: 1.2;
    color: var(--ink);
}

.payment-option span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.payment-option:hover {
    border-color: var(--blue);
    background: var(--card);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 57, 72, 0.05);
}

.payment-option.is-selected,
.payment-option:has(input:checked) {
    border-color: var(--blue) !important;
    background: var(--card) !important;
    box-shadow: 0 0 0 2px var(--blue), 0 8px 24px rgba(16, 57, 72, 0.06) !important;
    transform: translateY(-3px);
}

.order-column {
    position: sticky;
    top: 24px;
}

.order-summary {
    padding: 36px;
}

.order-summary h2 {
    margin-bottom: 28px;
    color: var(--ink);
}

.order-items {
    display: grid;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.order-item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.order-item img {
    width: 80px;
    height: 80px;
    border-radius: 7px;
    object-fit: cover;
}

.order-item h3 {
    margin: 2px 0 6px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.order-item p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.order-item strong {
    color: var(--ink);
    font-size: 14px;
    white-space: nowrap;
}

.order-totals {
    display: grid;
    gap: 16px;
    margin: 26px 0 32px;
}

.order-totals div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
}

.order-totals dt,
.order-totals dd {
    margin: 0;
}

.order-totals dd {
    font-weight: 700;
    color: var(--ink);
}

.order-totals .order-total {
    align-items: baseline;
    margin-top: 12px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
}

.order-total dd {
    font-size: 22px;
    color: var(--blue);
}

.place-order {
    width: 100%;
    min-height: 68px;
    color: #fff;
    border: 0;
    border-radius: 10px;
    background: var(--blue);
    box-shadow: 0 8px 24px rgba(16, 57, 72, 0.25);
    font: inherit;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.place-order:hover {
    background: #154c60;
    box-shadow: 0 12px 30px rgba(16, 57, 72, 0.35);
    transform: translateY(-2px);
}

.place-order:active {
    transform: scale(0.98);
}

.terms-note {
    max-width: 350px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.45;
    text-align: center;
    text-transform: uppercase;
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 34px;
    margin-top: 38px;
    color: #a2a2a8;
}

.trust-icons svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Sabi Rewards Custom Styling */
.loyalty-redemption {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.loyalty-redemption h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--blue);
    margin-top: 0;
    margin-bottom: 0.5rem;
    letter-spacing: 1.2px;
    font-weight: 800;
}

.loyalty-redemption p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    color: var(--ink);
}

.points-input-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.points-input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--card);
    color: var(--ink);
    outline: none;
    transition: all 0.2s;
}

.points-input-group input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(16, 57, 72, 0.1);
}

.points-input-group button {
    background: var(--blue);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.points-input-group button:hover {
    background: #154c60;
    transform: translateY(-1.5px);
}

.points-rate-note {
    font-size: 0.75rem !important;
    color: var(--muted) !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
}

.loyalty-discount-row {
    color: #16a34a !important;
    font-weight: 700;
}

[data-theme="dark"] .loyalty-discount-row {
    color: #4ade80 !important;
}

/* Design Fidelity Card */
.design-fidelity-card {
    margin-top: 1.75rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.25s ease;
}

.fidelity-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
}

.fidelity-icon {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: var(--blue) !important;
    stroke-width: 2.5px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.fidelity-header h4 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.design-fidelity-card p {
    margin: 0 !important;
    font-size: 0.825rem !important;
    line-height: 1.5 !important;
    color: var(--muted) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.checkout-footer {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr;
    gap: 56px;
    padding: 66px 48px 58px;
    background: #dedee2;
    border-radius: 30px 30px 0 0;
}

.checkout-footer h2 {
    margin: 0 0 22px;
    color: #05070d;
    font-size: 22px;
    font-weight: 800;
}

.checkout-footer p {
    max-width: 280px;
    margin: 0;
    color: #677286;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.55;
    text-transform: uppercase;
}

.checkout-footer h3 {
    margin: 0 0 19px;
    color: #05070d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    line-height: 1;
    text-transform: uppercase;
}

.checkout-footer section {
    min-width: 0;
}

.checkout-footer a {
    display: block;
    margin-bottom: 16px;
    color: #566176;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    line-height: 1.2;
    text-transform: uppercase;
}

.checkout-footer form {
    display: grid;
    grid-template-columns: 1fr 46px;
    gap: 8px;
}

.checkout-footer input {
    min-width: 0;
    height: 45px;
    padding: 0 13px;
    color: #566176;
    border: 0;
    border-radius: 5px;
    background: #f5f4f8;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.checkout-footer button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 45px;
    color: #fff;
    border: 0;
    border-radius: 5px;
    background: var(--blue);
}

.checkout-footer button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.catalog-page {
    display: grid;
    grid-template-columns: 288px 1fr;
    gap: 48px;
    padding: 32px 48px 122px;
}

.filters {
    padding-top: 0;
}

.filters h2 {
    margin: 0 0 31px;
    color: #05070d;
    font-size: 18px;
    font-weight: 800;
}

.filter-block {
    margin-bottom: 28px;
}

.filter-block h3 {
    margin: 0 0 20px;
    color: #6a7386;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    line-height: 1.1;
    text-transform: uppercase;
}

.range-track {
    position: relative;
    height: 28px;
    margin-bottom: 2px;
}

.range-track::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 999px;
    background: #e4e3e8;
}

.range-track span {
    position: absolute;
    top: 5px;
    left: 47%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--blue);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    color: #07142b;
    font-size: 13px;
    font-weight: 600;
}

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

.swatch {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.swatch-black {
    background: #171922;
}

.swatch-blue {
    background: #2477ee;
}

.swatch-red {
    background: #c81d1d;
}

.swatch-brown {
    background: #ad4a03;
}

.swatch-gray {
    background: #dedee2;
    box-shadow: inset 0 0 0 2px #fff;
}

.filter-block label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 11px;
    color: #172033;
    font-size: 15px;
    line-height: 1.25;
}

.filter-block input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid #bbc4d4;
    border-radius: 4px;
    background: transparent;
}

.filter-block input[type="checkbox"]:checked {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: inset 0 0 0 3px #fff;
}

.filter-block select {
    width: 100%;
    height: 44px;
    padding: 0 38px 0 16px;
    color: #07142b;
    border: 0;
    border-radius: 8px;
    background: #f4f3f8;
    font: inherit;
    font-weight: 600;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 28px;
    margin-bottom: 40px;
}

.catalog-content {
    padding-top: 47px;
}

.catalog-toolbar h1 {
    margin: 0 0 3px;
    color: #05070d;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.catalog-toolbar p {
    margin: 0;
    color: #16223a;
    font-size: 15px;
}

.sort-bar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f2f1f6;
    border-radius: 16px;
    width: 100%;
    overflow: hidden;
}

.sort-bar-wrapper::before,
.sort-bar-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.sort-bar-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(242, 241, 246, 0.95), transparent);
}

.sort-bar-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(242, 241, 246, 0.95), transparent);
}

.sort-bar-wrapper.can-scroll-left::before {
    opacity: 1;
}

.sort-bar-wrapper.can-scroll-right::after {
    opacity: 1;
}

.sort-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px 6px 20px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    width: 100%;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.sort-bar::-webkit-scrollbar {
    display: none;
}

.sort-bar span {
    margin-right: 12px;
    color: #687386;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.sort-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 33px;
    padding: 0 16px;
    color: #142038;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}

.sort-bar a.active {
    color: var(--blue);
    background: #fff;
    box-shadow: 0 1px 5px rgba(29, 34, 47, 0.05);
}

/* Scroll Arrows */
.sort-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.2s;
    opacity: 0;
    pointer-events: none;
    padding: 0;
}

.sort-arrow:active {
    transform: translateY(-50%) scale(0.92);
    background: #f8fafc;
}

.sort-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

.sort-arrow.left-arrow {
    left: 6px;
}

.sort-arrow.right-arrow {
    right: 6px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 32px;
}

.product-card {
    min-width: 0;
}

.product-image {
    display: block;
    overflow: hidden;
    width: 100%;
    border-radius: 7px;
    background: #f3f3f6;
}

.product-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.product-meta h2 {
    margin: 0;
    color: #05070d;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #07142b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.rating span {
    color: #ffae00;
    font-size: 14px;
    line-height: 1;
}

.product-card p {
    margin: 9px 0 0;
    color: #16223a;
    font-size: 13px;
    line-height: 1.3;
}

.product-card strong {
    color: var(--blue);
    font-size: 14px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 78px;
}

.pagination a,
.pagination span {
    display: inline-grid;
    place-items: center;
    min-width: 48px;
    height: 48px;
    color: #05070d;
    border-radius: 8px;
    background: #f4f3f8;
    font-size: 16px;
    font-weight: 800;
}

.pagination a.current {
    color: #fff;
    background: var(--blue);
}

.pagination span {
    min-width: 30px;
    background: transparent;
}

.pagination svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.site-footer {
    position: relative;
    margin-top: 0;
    padding: 0 48px 80px;
    background: #dedee2;
    border-radius: 30px 30px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.home-page .site-footer {
    margin-top: 0;
}

.catalog-body .site-footer {
    margin-top: 128px;
}

.newsletter {
    position: relative;
    top: -94px;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(420px, 0.85fr);
    align-items: center;
    gap: 44px;
    max-width: 1184px;
    min-height: 188px;
    margin: 0 auto -14px;
    padding: 42px 48px;
    color: #fff;
    background: var(--blue);
    border-radius: 10px;
    box-shadow: 0 24px 46px rgba(37, 44, 61, 0.14);
}

.newsletter h2 {
    margin: 0 0 9px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.newsletter p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.48;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr 142px;
    gap: 9px;
}

.newsletter-form input,
.newsletter-form button {
    min-height: 56px;
    border: 0;
    border-radius: 7px;
    font: inherit;
}

.newsletter-form input {
    width: 100%;
    padding: 0 24px;
    color: #172033;
    background: #fff;
    font-size: 16px;
    outline: 3px solid transparent;
}

.newsletter-form input::placeholder {
    color: #657083;
}

.newsletter-form input:focus {
    outline-color: rgba(255, 255, 255, 0.48);
}

.newsletter-form button {
    color: var(--blue);
    background: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.newsletter-form button:hover,
.newsletter-form button:focus {
    background: #f3f7ff;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 1fr));
    gap: 54px;
    max-width: 1268px;
    margin: 0 auto;
}

.footer-brand h2 {
    margin: 0 0 26px;
    color: #041126;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.footer-brand p {
    max-width: 282px;
    margin: 0 0 24px;
    color: #364358;
    font-size: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #687386;
    border-radius: 50%;
}

.social-links a:hover,
.social-links a:focus {
    color: var(--blue);
}

.social-links svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-group h3 {
    margin: 0 0 24px;
    color: #687386;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.footer-group ul {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-group a {
    color: #344157;
    font-size: 16px;
    line-height: 1.25;
}

.footer-group a:hover,
.footer-group a:focus {
    color: var(--blue);
}

.cart-page {
    max-width: 1186px;
    margin: 0 auto;
    padding: 88px 0 144px;
}

.cart-intro {
    margin-bottom: 48px;
}

.cart-intro h1 {
    margin: 0 0 6px;
    color: #05070d;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.cart-intro p {
    margin: 0;
    color: #1f2b43;
    font-size: 14px;
    line-height: 1.5;
}

.cart-intro a {
    color: var(--blue);
    font-weight: 700;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 775px) 364px;
    gap: 48px;
    align-items: start;
}

.cart-list {
    display: grid;
    gap: 32px;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    gap: 24px;
    min-height: 232px;
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(9, 16, 30, 0.03);
}

.cart-item-image {
    width: 160px;
    height: 160px;
    border-radius: 4px;
    object-fit: cover;
}

.cart-item-main h2 {
    margin: 2px 0 6px;
    color: #05070d;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.22;
}

.cart-item-main p {
    margin: 0;
    color: #1c2a42;
    font-size: 14px;
    line-height: 1.45;
}

.upload-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 245px;
    min-height: 58px;
    margin-top: 17px;
    padding: 10px 15px 10px 10px;
    color: #233149;
    border-radius: 12px;
    background: #f1f0f6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.upload-pill span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    color: #0d78e5;
    border-radius: 10px;
    background: #fff;
}

.upload-pill svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-unit-price {
    text-align: right;
    white-space: nowrap;
}

.cart-unit-price strong {
    display: block;
    margin-bottom: 2px;
    color: #05070d;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.cart-unit-price span {
    color: #1e2b43;
    font-size: 14px;
}

.cart-item-bottom {
    grid-column: 2 / 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    align-self: end;
}

.quantity-stepper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    height: 32px;
    border-radius: 11px;
    background: #e8e6eb;
}

.quantity-stepper button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 32px;
    color: #5f6b7f;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.quantity-stepper span {
    min-width: 26px;
    color: #142033;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.cart-line-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.remove-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1f2b43;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.remove-item svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-line-actions > strong {
    min-width: 86px;
    color: var(--blue);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    text-align: right;
}

.cart-note {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 20px;
    padding: 25px 28px;
    color: #142033;
    border-left: 4px solid var(--blue);
    border-radius: 7px;
    background: #eef0f7;
}

.cart-note svg {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-note h2 {
    margin: 0 0 5px;
    color: #05070d;
    font-size: 16px;
    font-weight: 800;
}

.cart-note p {
    margin: 0;
    color: #1c2a42;
    font-size: 14px;
    line-height: 1.55;
}

.cart-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 22px;
}

.cart-summary-card,
.bulk-help-card {
    border-radius: 14px;
    background: #f0eff5;
}

.cart-summary-card {
    padding: 35px 32px 38px;
}

.cart-summary-card h2 {
    margin: 0 0 32px;
    color: #05070d;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.cart-summary-card dl {
    display: grid;
    gap: 18px;
    margin: 0 0 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(41, 49, 64, 0.08);
}

.cart-summary-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #1d2a42;
    font-size: 14px;
}

.cart-summary-card dt,
.cart-summary-card dd {
    margin: 0;
}

.cart-summary-card dd {
    color: #05070d;
    font-weight: 800;
}

.cart-summary-card .summary-total {
    align-items: baseline;
    margin-top: 4px;
    color: #05070d;
    font-size: 20px;
    font-weight: 800;
}

.summary-total dd {
    color: var(--blue);
    font-size: 28px;
}

.checkout-button {
    display: grid;
    place-items: center;
    min-height: 60px;
    margin-top: 10px;
    color: #fff;
    border-radius: 7px;
    background: var(--blue);
    box-shadow: 0 8px 14px rgba(16, 57, 72, 0.2);
    font-size: 18px;
    font-weight: 800;
}

.cart-summary-card > p {
    max-width: 250px;
    margin: 16px auto 0;
    color: #1f2b43;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
}

.cart-summary-card > p a {
    color: #0a438d;
    text-decoration: underline;
}

.accepted-payments {
    margin-top: 48px;
}

.accepted-payments h3 {
    margin: 0 0 23px;
    color: #243149;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.accepted-payments div {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #77777c;
}

.accepted-payments svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bulk-help-card {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    padding: 26px 28px;
    background: #f5f4f8;
    border: 1px solid rgba(41, 49, 64, 0.04);
}

.bulk-help-card svg {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bulk-help-card h2 {
    margin: 0 0 4px;
    color: #05070d;
    font-size: 14px;
    font-weight: 800;
}

.bulk-help-card p {
    margin: 0;
    color: #1c2a42;
    font-size: 12px;
    line-height: 1.35;
}

.cart-footer {
    margin-top: 0;
}

.product-page {
    max-width: 1224px;
    margin: 0 auto;
    padding: 58px 48px 138px;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: #687386;
    font-size: 13px;
    font-weight: 700;
}

.product-breadcrumb a {
    color: var(--blue);
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(420px, 0.96fr) minmax(420px, 1fr);
    gap: 54px;
    align-items: start;
}

.product-gallery {
    display: grid;
    gap: 16px;
}

.product-main-image {
    overflow: hidden;
    border-radius: 12px;
    background: #f1f0f5;
}

.product-main-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.product-thumbs button {
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 9px;
    background: #f2f1f6;
    cursor: pointer;
}

.product-thumbs button.is-selected {
    border-color: var(--blue);
}

.product-thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
}

.product-purchase {
    padding: 6px 0 0;
}

.product-kicker {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.product-purchase h1 {
    max-width: 560px;
    margin: 0;
    color: #05070d;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 22px;
    color: #1c2a42;
    font-size: 14px;
}

.product-rating span:first-child {
    color: #ffae00;
}

.product-rating strong {
    color: #05070d;
}

.product-purchase > p:not(.product-kicker) {
    max-width: 560px;
    margin: 0 0 28px;
    color: #253047;
    font-size: 18px;
    line-height: 1.55;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 28px;
    color: #5f6b7f;
    font-size: 15px;
}

.product-price strong {
    color: var(--blue);
    font-size: 34px;
    font-weight: 800;
}

.product-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    background: #f2f1f6;
}

.product-options label {
    display: grid;
    gap: 10px;
    color: #243149;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.product-options select,
.product-options input {
    min-width: 0;
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    color: #142033;
    border: 0;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.product-upload {
    grid-column: 1 / -1;
}

.product-upload input {
    padding-top: 14px;
}

.product-upload input::file-selector-button {
    height: 30px;
    margin-right: 12px;
    padding: 0 14px;
    color: var(--blue);
    border: 0;
    border-radius: 7px;
    background: rgba(16, 57, 72, 0.08);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.product-options button,
.product-options > a {
    display: grid;
    place-items: center;
    min-height: 58px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 800;
}

.product-options button {
    color: #fff;
    border: 0;
    background: var(--blue);
    box-shadow: 0 8px 14px rgba(16, 57, 72, 0.18);
    cursor: pointer;
}

.product-options > a {
    color: #05070d;
    background: #e7e5ea;
}

.product-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 56px;
}

.product-details-grid article {
    min-height: 178px;
    padding: 28px;
    border-radius: 14px;
    background: #fff;
}

.product-details-grid h2 {
    margin: 0 0 16px;
    color: #05070d;
    font-size: 20px;
    font-weight: 800;
}

.product-details-grid ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 19px;
    color: #253047;
    font-size: 15px;
    line-height: 1.45;
}

.product-details-grid p {
    margin: 0;
    color: #253047;
    font-size: 15px;
    line-height: 1.55;
}

.related-products {
    margin-top: 86px;
}

.product-section-heading {
    margin-bottom: 36px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.product-body .site-footer {
    margin-top: 0;
}

/* -----------------------------
   All Products Section
   ----------------------------- */
.all-products-section {
    padding: 5rem 48px;
}

.all-products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.all-products-kicker {
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

.all-products-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--ink);
}

.all-products-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--blue);
    border-radius: 8px;
    transition: all 0.2s;
}

.all-products-link:hover {
    background: var(--blue);
    color: white;
}

.filter-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.filter-container {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    flex: 1;
}

.filter-arrow {
    display: none; /* Hidden on desktop */
}

.filter-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.filter-pill:hover {
    border-color: var(--blue);
}

.filter-pill.active {
    border: 1.5px solid var(--blue);
    background: var(--blue);
    color: white;
}

/* -----------------------------
   Footer & Newsletter Section
   ----------------------------- */
.main-footer {
    margin-top: 5rem;
    background: #103948;
    color: #cbd5e1;
}

.newsletter-banner {
    background: linear-gradient(135deg, #092c39 0%, #103948 50%, #1f5f74 100%);
    padding: 4rem 3rem;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.newsletter-kicker {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.newsletter-desc {
    color: rgba(255,255,255,0.75);
    margin: 0.5rem 0 0;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.newsletter-input {
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    width: 260px;
    outline: none;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.newsletter-input:focus {
    border-color: rgba(255,255,255,0.8);
}

.newsletter-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-submit {
    padding: 0.875rem 2rem;
    background: white;
    color: #103948;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
    white-space: nowrap;
}

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

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 3rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 1000px) {
    .site-header {
        padding: 0;
    }

    .header-top-wrapper,
    .header-nav-wrapper {
        width: 100%;
    }

    .header-inner-top {
        padding: 12px 24px;
        min-height: 64px;
        gap: 16px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    .header-inner-bottom {
        padding: 0 24px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .brand {
        position: static;
        grid-column: 1;
        width: auto;
        height: auto;
        padding: 4px 8px;
        background: #000000;
        border-radius: 8px;
        box-shadow: none;
        display: flex;
        align-items: center;
    }

    .brand img {
        height: 42px;
        width: auto;
    }

    .header-contact-widgets {
        display: none;
    }

    .search-container {
        grid-column: 2;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .search-container input {
        width: 100%;
        max-width: 100%;
    }

    .header-actions {
        grid-column: 3;
        justify-self: end;
        gap: 12px;
    }

    .header-actions a,
    .header-actions button {
        width: 38px;
        height: 38px;
    }

    .main-nav {
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 0;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav > a,
    .nav-item > a {
        font-size: 14px;
        padding: 8px 12px;
    }

    .nav-item {
        position: static;
        min-height: auto;
    }

    .dropdown-menu {
        position: fixed;
        top: 110px;
        left: 24px;
        width: min(274px, calc(100vw - 48px));
        transform: translateY(10px);
    }

    .has-dropdown:hover .dropdown-menu,
    .has-dropdown:focus-within .dropdown-menu {
        transform: translateY(0);
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: auto;
        padding: 46px 24px 28px;
    }

    .hero-media {
        max-width: none;
        justify-self: stretch;
    }

    .categories-section {
        padding: 56px 24px 88px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        margin-bottom: 36px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card,
    .category-card.is-featured {
        grid-column: auto;
        min-height: 260px;
    }

    .best-sellers {
        padding: 38px 24px 112px;
    }

    .best-sellers-header {
        margin-bottom: 34px;
    }

    .best-seller-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .checkout-page {
        padding: 42px 24px 104px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .order-column {
        position: static;
    }

    .checkout-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 34px;
        padding: 54px 24px;
    }

    .cart-page {
        max-width: none;
        padding: 42px 24px 104px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        position: static;
    }

    .product-page {
        max-width: none;
        padding: 42px 24px 104px;
    }

    .product-hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .product-details-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-page {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 42px 24px 104px;
    }

    .filters {
        padding-top: 0;
    }

    .catalog-content {
        padding-top: 0;
    }

    .catalog-toolbar {
        grid-template-columns: 1fr;
    }

    .sort-bar {
        width: 100%;
        overflow-x: auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 20px;
    }

    .site-footer {
        margin-top: 110px;
        padding: 0 24px 56px;
    }

    .catalog-body .site-footer {
        margin-top: 96px;
    }

    .newsletter {
        top: -72px;
        grid-template-columns: 1fr;
        gap: 26px;
        min-height: auto;
        margin-bottom: -10px;
        padding: 34px;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 34px;
    }
}

@media (max-width: 560px) {
    .header-inner-top {
        padding: 10px 16px;
        gap: 12px 8px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        align-items: center;
    }

    .header-inner-bottom {
        padding: 0 16px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        padding: 3px 6px;
    }

    .brand img {
        height: 32px;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        gap: 8px;
    }

    .header-actions a,
    .header-actions button {
        width: 34px;
        height: 34px;
    }

    .header-actions svg {
        width: 18px;
        height: 18px;
    }

    .search-container {
        grid-column: 1 / span 2;
        grid-row: 2;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .search-container input {
        width: 100% !important;
        max-width: 100% !important;
    }

    .main-nav {
        gap: 8px;
    }

    .main-nav > a,
    .nav-item > a {
        font-size: 13px;
        padding: 6px 10px;
    }

    .dropdown-menu {
        top: 96px;
        left: 16px;
        width: min(274px, calc(100vw - 32px));
    }

    .hero {
        padding: 36px 18px 22px;
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 42px);
    }

    .hero p {
        margin: 24px 0 32px;
        font-size: 18px;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
        min-height: 56px;
    }

    .categories-section {
        padding: 46px 18px 74px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading a {
        font-size: 15px;
    }

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

    .category-card,
    .category-card.is-featured {
        min-height: 246px;
    }

    .category-card span,
    .category-card:not(.is-featured) span {
        left: 26px;
        bottom: 26px;
        font-size: 25px;
    }

    .best-sellers {
        padding: 34px 18px 92px;
    }

    .best-sellers-header {
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .best-sellers h2 {
        font-size: 31px;
    }

    .best-seller-controls {
        gap: 10px;
    }

    .best-seller-controls button {
        width: 42px;
        height: 42px;
    }

    .best-seller-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .checkout-page {
        padding: 32px 18px 86px;
    }

    .checkout-intro h1 {
        font-size: 40px;
    }

    .checkout-intro p {
        font-size: 17px;
    }

    .checkout-panel,
    .order-summary {
        border-radius: 18px;
    }

    .checkout-panel,
    .order-summary {
        padding: 24px;
    }

    .form-grid-3,
    .payment-options {
        grid-template-columns: 1fr;
    }

    .payment-option.wide {
        grid-column: auto;
    }

    .order-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .order-item img {
        width: 64px;
        height: 64px;
    }

    .order-item strong {
        grid-column: 2;
    }

    .checkout-footer {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 46px 18px;
        border-radius: 24px 24px 0 0;
    }

    .cart-page {
        padding: 32px 18px 86px;
    }

    .cart-intro h1 {
        font-size: 34px;
    }

    .cart-item-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .cart-item-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1.2;
    }

    .cart-unit-price {
        text-align: left;
    }

    .cart-item-bottom {
        grid-column: auto;
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-line-actions {
        justify-content: space-between;
        width: 100%;
    }

    .cart-note,
    .bulk-help-card {
        grid-template-columns: 1fr;
    }

    .product-page {
        padding: 32px 18px 92px;
    }

    .product-purchase h1 {
        font-size: 30px;
    }

    .product-purchase > p:not(.product-kicker) {
        font-size: 16px;
    }

    .product-options,
    .product-details-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .product-options {
        padding: 20px;
    }

    .product-options button,
    .product-options > a {
        min-height: 54px;
    }

    .catalog-page {
        padding: 32px 18px 92px;
    }

    .filters h2 {
        margin-bottom: 22px;
    }

    .catalog-toolbar h1 {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pagination {
        gap: 8px;
        margin-top: 48px;
    }

    .pagination a,
    .pagination span {
        min-width: 40px;
        height: 44px;
    }

    .site-footer {
        margin-top: 92px;
        padding: 0 18px 44px;
        border-radius: 24px 24px 0 0;
    }

    .catalog-body .site-footer {
        margin-top: 82px;
    }

    .newsletter {
        top: -56px;
        gap: 22px;
        padding: 28px 22px;
        border-radius: 9px;
    }

    .newsletter h2 {
        font-size: 25px;
    }

    .newsletter p {
        font-size: 16px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-brand h2 {
        margin-bottom: 16px;
    }

    .footer-group h3 {
        margin-bottom: 16px;
    }

    .footer-group ul {
        gap: 14px;
    }
}

/* Select Size Card Options Styling */
.size-selection-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
    margin-top: 8px;
}

.size-selection-label {
    color: #243149;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.product-options button.size-option-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 12px 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    cursor: pointer;
    min-height: auto;
    box-shadow: none;
    transition: all 0.2s ease;
}

.product-options button.size-option-btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #1e293b;
}

.product-options button.size-option-btn.is-active {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.product-options button.show-more-sizes-btn {
    background: transparent;
    border: none;
    color: #f43f5e;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding: 8px 0;
    width: fit-content;
    box-shadow: none;
    min-height: auto;
}

.product-options button.show-more-sizes-btn:hover {
    color: #e11d48;
    background: transparent;
}

@media (max-width: 560px) {
    .size-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Select Orientation Options Styling */
.orientation-selection-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    margin-top: 8px;
}

.orientation-selection-label {
    color: #243149;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.orientation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.product-options button.orientation-option-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 14px 10px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    min-height: auto;
    box-shadow: none;
    transition: all 0.2s ease;
}

.product-options button.orientation-option-btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #1e293b;
}

.product-options button.orientation-option-btn.is-active {
    border-color: #f43f5e;
    box-shadow: 0 0 0 1px #f43f5e;
    background: #ffffff;
    color: #1e293b;
}

/* Dynamic CSS Icons for Orientation */
.orientation-icon {
    display: inline-block;
    border: 2px solid currentColor;
    border-radius: 2px;
    background: transparent;
    transition: all 0.2s ease;
}

.orientation-icon.landscape {
    width: 16px;
    height: 10px;
}

.orientation-icon.portrait {
    width: 10px;
    height: 16px;
}

.orientation-icon.square {
    width: 12px;
    height: 12px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS OVERHAUL (max-width: 768px)
   ========================================================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002; /* Above the overlay and menu */
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-active {
    display: block;
    opacity: 1;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    /* -----------------------------
       Header & Navigation 
       ----------------------------- */
    .header-top-wrapper {
        background: var(--blue) !important; /* Theme color matching */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        position: relative !important;
        z-index: 2000 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    .header-inner-top {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        grid-template-rows: auto auto !important;
        padding: 0.75rem 1rem !important;
        gap: 16px 12px !important;
        align-items: center !important;
    }

    .mobile-menu-toggle {
        display: block;
        grid-column: 1 !important;
        grid-row: 1 !important;
        margin: 0 !important;
        color: #ffffff !important;
    }

    .brand {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin: 0 auto !important;
        background: #000000 !important;
        padding: 3px 8px !important;
        border-radius: 8px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: none !important;
    }
    
    .brand img {
        height: 34px !important;
        max-width: 120px !important;
        object-fit: contain !important;
    }

    /* Hide contact widgets on mobile header to save space */
    .header-contact-widgets {
        display: none;
    }

    .header-actions {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        width: auto !important;
        margin-top: 0 !important;
        display: flex !important;
        gap: 8px !important;
    }
    
    .header-actions a, .header-actions button {
        background: transparent !important;
        color: #ffffff !important;
        width: 38px !important;
        height: 38px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 50% !important;
        transition: background 0.2s ease !important;
    }
    
    .header-actions a:hover, .header-actions button:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .header-actions svg {
        stroke: currentColor !important;
        fill: none !important;
    }

    /* Redesign Search for Mobile - Full width below logo */
    .search-container {
        grid-column: 1 / span 3 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
    }
    
    .search-container input {
        background-color: #ffffff !important;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2364748b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') !important;
        background-repeat: no-repeat !important;
        background-position: 16px center !important;
        background-size: 18px !important;
        color: #0f172a !important;
        border: none !important;
        border-radius: 999px !important;
        padding: 12px 20px 12px 44px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
        transition: all 0.3s ease !important;
        width: 100% !important;
    }
    
    .search-container input:focus {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2) !important;
        outline: none !important;
    }
    
    .search-container input::placeholder {
        color: #94a3b8 !important;
        font-weight: 400 !important;
    }

    /* Slide-out Menu Navigation */
    .header-nav-wrapper {
        position: fixed;
        top: 0;
        left: -280px; /* Hide off-screen */
        width: 280px;
        height: 100vh;
        background: #ffffff;
        z-index: 1000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        padding-top: 140px !important; /* Space for the double-row mobile header */
    }

    .header-nav-wrapper.is-open {
        left: 0;
    }

    .header-inner-bottom {
        padding: 0;
    }

    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 1rem;
        gap: 0;
    }

    .main-nav > a, .nav-item > a {
        display: block !important;
        width: 100% !important;
        padding: 1.25rem 1rem !important;
        border-bottom: 1px solid #f1f5f9 !important;
        color: #0f172a !important;
        font-weight: 600 !important;
        font-size: 17px !important;
        text-decoration: none !important;
    }
    
    .nav-item {
        width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    /* Dropdowns in Mobile Menu */
    .nav-item.has-dropdown:hover .dropdown-menu,
    .nav-item.has-dropdown .dropdown-menu {
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        padding-left: 1rem !important;
        border-left: 2px solid #e2e8f0 !important;
        margin-top: 0.5rem !important;
        display: none !important; /* Hidden by default on mobile */
    }
    
    .nav-item.has-dropdown.is-open .dropdown-menu {
        display: block !important; /* Show when open */
    }
    
    .dropdown-link {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    
    .dropdown-link span {
        display: block !important;
        color: #0f172a !important;
        font-size: 16px !important;
    }
    
    /* -----------------------------
       Footer (2 Columns)
       ----------------------------- */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1; /* Brand takes full width */
    }

    /* -----------------------------
       Home Page 
       ----------------------------- */
    .hero {
        padding: 5rem 1rem 2rem 1rem; /* Increased top padding */
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }
    .hero-features {
        justify-content: center;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for categories */
        gap: 1rem;
    }
    
    .all-products-section {
        padding: 3rem 1rem;
    }
    
    .all-products-header {
        margin-bottom: 2rem;
    }
    
    .all-products-title {
        font-size: 1.75rem;
    }
    
    .filter-wrapper {
        margin-bottom: 2rem;
    }
    
    .filter-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 50%;
        color: var(--blue);
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        cursor: pointer;
        z-index: 2;
    }
    
    .filter-arrow.left {
        margin-right: 12px;
    }
    
    .filter-arrow.right {
        margin-left: 12px;
    }
    
    .filter-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }
    
    .filter-container::-webkit-scrollbar {
        display: none;
    }
    
    .filter-container .filter-pill {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for products on mobile */
        gap: 1rem;
    }
    
    /* Footer & Newsletter Mobile */
    .newsletter-banner {
        padding: 3rem 1.5rem;
    }
    
    .newsletter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .newsletter-form {
        width: 100%;
        flex-direction: column; /* Stack input and button */
        gap: 12px;
    }
    
    .newsletter-input {
        width: 100%;
    }
    
    .newsletter-submit {
        width: 100%;
    }
    
    .footer-grid {
        padding: 3rem 1.5rem 2rem;
        grid-template-columns: 1fr 1fr; /* Two columns for links on mobile */
        gap: 2.5rem;
    }
    
    .footer-grid > div:first-child {
        grid-column: 1 / -1; /* Brand column spans full width */
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 2rem;
    }

    /* -----------------------------
       Product Page 
       ----------------------------- */
    .product-hero {
        grid-template-columns: 1fr; /* Stack gallery and purchase details */
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
        top: auto;
    }
    
    .product-details-grid {
        grid-template-columns: 1fr; /* Stack details */
    }
    
    /* Make Buy button and quantity take full width on mobile */
    .quantity-wrapper {
        width: 100% !important;
    }
    .quantity-wrapper input {
        width: 100% !important;
        flex: 1;
    }

    /* -----------------------------
       Cart & Checkout
       ----------------------------- */
    .cart-grid {
        grid-template-columns: 1fr; /* Stack cart items and summary */
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        position: relative;
    }
    
    .cart-item-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .cart-item-quantity {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
    }
    
    .checkout-grid,
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Fix forms for mobile */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Stack input and button */
        width: 100%;
        max-width: 100%;
        gap: 12px !important;
    }
    
    .newsletter {
        padding: 2rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr; /* 1 column for very small screens */
    }
    .footer-content {
        grid-template-columns: 1fr; /* 1 column footer on very small screens */
    }
}

/* -----------------------------
   Premium Desktop Footer Redesign
   ----------------------------- */
@media (min-width: 1001px) {
    .main-footer {
        margin-top: 10rem;
        background: #103948;
    }
    
    .newsletter-banner {
        background: transparent;
        padding: 0 3rem;
        margin-top: -6rem; /* Pull up to overlap */
        position: relative;
        z-index: 10;
    }
    
    .newsletter-container {
        background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255,255,255,0.1);
        padding: 4rem 5rem;
        border-radius: 30px;
        box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
        align-items: center;
        flex-wrap: nowrap;
    }

    .newsletter-title {
        font-size: 2.75rem; 
        letter-spacing: -1px;
    }

    .newsletter-input {
        width: 350px;
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.1);
        background: rgba(0,0,0,0.4);
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    }
    
    .newsletter-input:focus {
        border-color: rgba(255,255,255,0.4);
        background: rgba(0,0,0,0.6);
    }
    
    .newsletter-submit {
        padding: 1.125rem 2.5rem;
        font-size: 1rem;
        border-radius: 14px;
        background: #ffffff;
        color: #050505;
        box-shadow: 0 4px 15px rgba(255,255,255,0.15);
    }
    
    .footer-grid {
        padding: 6rem 3rem 4rem; /* Extra top padding to clear the floating card */
        gap: 6rem;
    }
}

/* -----------------------------
   Product Reviews Section
   ----------------------------- */
.reviews-section {
    margin-top: 4rem;
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
    border: none;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.reviews-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.review-form-container {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.button-cancel {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.button-cancel:hover {
    background: #e2e8f0;
}

.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

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

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

.review-meta strong {
    font-size: 1.1rem;
    color: var(--ink);
}

.review-stars {
    color: #fbbf24;
    font-size: 1.1rem;
}

.stars-empty {
    color: #e2e8f0;
}

.review-text {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.review-date {
    color: #94a3b8;
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.review-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

.review-empty svg {
    margin-bottom: 1rem;
    color: #94a3b8;
}

.review-empty p {
    margin: 0;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .form-actions button {
        width: 100%;
    }
}

/* -----------------------------
   Catalog Sidebar & Mobile Filters
   ----------------------------- */
.catalog-sidebar {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.sidebar-header h2 {
    font-size: 1.25rem;
    margin: 0;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-filters {
    display: none;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.close-filters:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mobile-filter-bar {
    display: none;
    margin-bottom: 1.5rem;
}

.mobile-filters-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    font-weight: 600;
}

.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.filter-overlay.is-open {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .catalog-page {
        grid-template-columns: 1fr;
    }
    
    .mobile-filter-bar {
        display: block;
    }
    
    .catalog-sidebar {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        z-index: 1001;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(120%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem 1.5rem;
        box-sizing: border-box;
    }
    
    .catalog-sidebar.is-open {
        transform: translateY(0);
    }
    
    .close-filters {
        display: block;
    }
    
    .catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .sort-bar {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0px;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-top: 12px;
    }
    
    .product-meta h2 {
        white-space: normal;
        font-size: 12px;
        line-height: 1.4;
    }
    
    .rating {
        font-size: 11px;
    }
    
    .rating span {
        font-size: 12px;
    }
    
    .product-card p {
        font-size: 11px;
    }
}
