/* Spherenet login button theme */
#spherenet-login-btn {
    background: #1a4fd7;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    padding: 13px 0;
    font-size: 1.08rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
}
#spherenet-login-btn:hover {
    background: #153fae;
}
#spherenet-login-btn img {
    height: 22px;
    width: 22px;
    vertical-align: middle;
    margin-right: 6px;
}

/* Cart overlay membrane: always fills screen, 50% transparent when active */
.cart-overlay {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    transition: opacity 0.3s;
}
.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
/* Cart sidebar: hidden by default, slides in from right on desktop */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 95vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.13);
    z-index: 1002;
    transition: right 0.35s cubic-bezier(.77,0,.18,1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.cart-sidebar.active {
    right: 0;
}
@media (max-width: 600px) {
    .cart-sidebar {
        width: 100vw;
        min-width: 0;
        right: -100vw;
        max-width: 100vw;
    }
    .cart-sidebar.active {
        right: 0;
    }
}

.cart-items-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 52vh;
    overflow-y: auto;
    padding: 0 0 12px 0;
}

/* Cart overlay membrane: always fills screen, 50% transparent when active */
.cart-overlay {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    transition: opacity 0.3s;
}
.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
    padding: 24px 28px 32px 28px;
    border-top: 1px solid #eee;
    background: #fafbff;
    text-align: center;
}
.cart-total-label {
    color: #888;
    font-size: 1.08rem;
}
.cart-total-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #222;
    margin: 8px 0 4px 0;
}
.cart-free-delivery {
    color: #1a4fd7;
    font-size: 1.02rem;
    margin-bottom: 18px;
}
.cart-checkout-btn {
    width: 100%;
    background: var(--cheese-yellow, #ffe066);
    color: #222;
    font-weight: 600;
    border: none;
    border-radius: 24px;
    padding: 12px 0;
    font-size: 1.08rem;
    cursor: pointer;
    transition: background 0.2s;
}
.cart-checkout-btn:disabled {
    background: #eee;
    color: #aaa;
    cursor: not-allowed;
}
@media (max-width: 600px) {
    .cart-sidebar {
        width: 100vw;
        min-width: 0;
        right: -100vw;
    }
    .cart-sidebar.active {
        right: 0;
    }
}
/* --- HEADER SCROLLED STATE --- */
.header.scrolled {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: background 0.25s, box-shadow 0.25s;
}
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700|Open+Sans:400,700|Lato:400,700|Lora:400,700&display=swap');
/* Cheeseboy Store Main Theme - Clean, Professional, Cheesy Colors */

:root {
    --cheese-yellow: #ffe066;
    --cheese-red: #d7263d;
    --cheese-white: #fff;
    --cheese-black: #222;
    --cheese-grey: #f7f7f7;
    --cheese-accent: #fbbf24;
    --page-gutter: clamp(12px, 2.4vw, 28px);
}
body {
    font-family: 'Open Sans', 'Lato', 'Lora', 'Myriad Pro', 'Playfair Display', Arial, Helvetica, sans-serif;
    background: var(--cheese-grey, #f7f7f7);
    color: var(--cheese-black, #222);
    margin: 0;
    padding: 0;
}

main {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    box-sizing: border-box;
}

main .banner {
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
}

/* --- SHARED PAGE HEADER (NON-STOREFRONT VIEWS) --- */
.common-header {
    background: #fff;
    border-bottom: 1px solid #ececec;
    padding: 12px 0;
}

.common-header-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
}

.common-header-left,
.common-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.common-brand-link {
    text-decoration: none;
    color: #1d1d1d;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.common-brand-link img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.common-page-title {
    color: #8a8a8a;
    font-size: 0.92rem;
    font-weight: 600;
}

.common-back-link,
.common-login-link,
.common-logout-link,
.page-tabs a {
    color: #434343;
    text-decoration: none;
    font-size: 0.88rem;
    border-bottom: 1px solid #d6d6d6;
}

.common-back-link:hover,
.common-login-link:hover,
.common-logout-link:hover,
.page-tabs a:hover {
    color: #1a1a1a;
    border-bottom-color: #999;
}

.page-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.common-user-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #222;
    font-size: 0.9rem;
}

.common-user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

body > .header:not(.common-header) {
    margin-top: 0;
}

.page-title-bar {
    max-width: 1040px;
    margin: 20px auto 12px auto;
    padding: 0 16px;
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #212121;
}

/* --- NAVBAR --- */
.navbar {
    flex: 0 0 25%;
    display: flex;
    align-items: center;
    gap: 24px;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.navbar a {
    color: #111;
    background: none;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 6px 18px;
    margin: 0 2px;
    transition: border 0.2s, color 0.2s;
}
.navbar a.active {
    color: #a10c1c;
    border: 1px solid #a10c1c;
    text-decoration: none;
}
.navbar a:hover {
    color: #a10c1c;
    border: 1px solid #a10c1c;
    background: rgba(161,12,28,0.07);
}

/* --- HEADER FLEX LAYOUT --- */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px 0 32px;
    height: 90px;
    background: linear-gradient(179deg, rgba(255,245,196,0.09) 80%, rgba(219,174,173,0.09) 100%);
    border-bottom: none;
    box-shadow: none;
}
.header .logo-area {
    flex: 0 0 15%;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: flex-end;
}
.header .logo-area img {
    height: 54px;
    width: auto;
    vertical-align: middle;
}
.header .logo-area span {
    font-family: 'Astralaga','Playfair Display',serif;
    font-size: 2.1rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #a10c1c;
}
.header .search-form {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    margin-left: 0;
    justify-content: flex-start;
}
.header .search-input {
    font-size: 1.1rem;
    padding: 7px 16px;
    border-radius: 8px;
    border: 3px solid #111;
    outline: none;
    min-width: 160px;
    width: 100%;
    background: #fff;
    color: #111;
    padding: 6px 17px;
    transition: border 0.2s;
}
.header .search-input:focus {
    border-color: #a10c1c;
}

.page-search-wrap {
    display: none;
    max-width: none;
    width: 100%;
    margin: 16px auto 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.page-search-form {
    display: block;
    width: 80%;
    margin: 0 auto;
}

.page-search-input {
    width: 100%;
    min-width: 0;
    height: 54px;
    font-size: 1rem;
    padding: 0 16px;
    border-radius: 12px;
}
.header .actions {
    flex: 0 0 10%;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: flex-end;
}

/* --- ACTIONS ANCHOR UNIFIED STYLE --- */
.header .actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 32px;
    min-height: 32px;
    height: 32px;
    width: 32px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    color: #888;
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 0.18s, background 0.18s;
    border-radius: 8px;
}
.header .actions a:hover {
    color: #d7263d;
    background: rgba(215,38,61,0.07);
    border-radius: 8px;
}

/* --- BANNER FONT & STICKY --- */
.banner {
    font-size: 1.05rem;
    line-height: 1.4;
    font-family: 'Open Sans', 'Lato', 'Lora', 'Myriad Pro', Arial, Helvetica, sans-serif;
    color: #222;
    background: #d5cdcd !important;
    width: 100vw;
    min-width: 100%;
    height: 30vh;
    max-height: 320px;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* --- MAKE HEADER STICKY --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* --- PRODUCT GRID --- */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    justify-items: center;
    align-items: stretch;
    margin: 48px auto 0 auto;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1300px;
}

/* --- HEADER FONT --- */
.header {
    font-family: 'Astralaga', 'Playfair Display', serif;
}

.header {
    background: linear-gradient(179deg, #fff5c4 80%, #dbaead 100%);
    color: #331d1c;
    padding: 32px 0 16px 0;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
    border-bottom: 1px solid var(--cheese-red);
}

/* --- CART LINK FONT --- */
.header .cart-link, .header .login-link {
    font-family: 'Lato', 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 16px;
    background: var(--cheese-white, #fff);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    font-weight: 500;
}

/* --- PRODUCT CARD REFINEMENT --- */
.product-card {
    background: #f1f1f1;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    width: 240px;
    padding: 18px 16px 16px 16px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-card .wishlist {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #b8b8b8;
    width: 20px;
    height: 20px;
    margin: 0;
    transition: color 0.2s;
    z-index: 2;
    cursor: pointer;
}

.product-card .wishlist svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.product-card .wishlist.active {
    color: #d7263d;
}

.product-card .add-to-cart-icon {
    position: absolute;
    top: 10px;
    right: 38px;
    color: #b8b8b8;
    width: 20px;
    height: 20px;
    margin: 0;
    transition: color 0.2s, opacity 0.3s;
    z-index: 2;
    cursor: pointer;
}

.product-card .add-to-cart-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.product-card .add-to-cart-icon:hover {
    color: #d7263d;
}

.product-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 5px;
    align-self: flex-start;
}

.product-card h3 {
    font-size: 1.08rem;
    margin: 0 0 6px 0;
    color: #5f5858;
    font-weight: 600;
    text-align: left;
}

.product-card .description {
    font-size: 0.97rem;
    color: #444;
    margin-bottom: 8px;
    text-align: left;
}

.product-card .price {
    font-weight: bold;
    margin-bottom: 0;
    font-size: 1.08rem;
    color: #222;
    text-align: left;
}

.product-card .colors-trigger {
    margin-top: 4px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 0.95rem;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.product-card .colors-trigger:hover {
    color: #d7263d;
}

.product-viewer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 20px;
}

.product-viewer-modal {
    background: #fff;
    width: min(620px, 94vw);
    border-radius: 12px;
    padding: 22px;
    position: relative;
}

.product-viewer-modal img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: #f6f6f6;
    border-radius: 8px;
    margin-bottom: 14px;
}

.product-viewer-modal h3 {
    margin: 0 0 6px;
    color: #222;
}

.product-viewer-modal .viewer-desc {
    margin: 0 0 8px;
    color: #555;
}

.product-viewer-modal .viewer-price {
    font-size: 1.1rem;
    color: #111;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-viewer-modal .viewer-color-title {
    color: #444;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-viewer-modal .viewer-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-viewer-modal .swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.22);
}

.product-viewer-modal .viewer-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
    color: #444;
}

.product-card button {
    display: none;
}

.footer {
    text-align: center;
    color: #7a7a7a;
    padding: 36px 24px 22px;
    font-size: 0.94rem;
    line-height: 1.55;
    font-weight: 400;
    border-top: 1px solid #ececec;
    background: #fcfcfc;
    position: relative;
}

.footer-legal-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #8f8f8f;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-legal-sep {
    color: #d1d1d1;
}

.footer-legal-link {
    color: #6a6a6a;
}

.footer-sections {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 22px 0 10px 0;
}
.footer-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    background: none;
    border: none;
}
.footer-col {
    min-width: 170px;
    max-width: 220px;
    text-align: left;
    padding: 0 18px;
}

.footer-col + .footer-col {
    border-left: 1px solid #efefef;
}

.footer-title,
.footer-col h4 {
    font-size: 0.82rem;
    color: #1e1e1e;
    background: none;
    border: none;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 8px;
    background: none;
    border: none;
}
.footer-col ul li a {
    color: #505050;
    text-decoration: none;
    background: none;
    border: none;
    font-size: 0.91rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.005em;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: #111;
    text-decoration: none;
}
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer .address {
    color: #9a9a9a;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 18px;
    letter-spacing: 0.02em;
}

.footer a {
    color: #505050;
    text-decoration: none;
}

.footer a:hover {
    color: #111;
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 18px 18px;
    }
    .footer-row {
        gap: 18px;
        justify-content: flex-start;
    }
    .footer-col {
        min-width: 145px;
        padding: 0;
    }
    .footer-col + .footer-col {
        border-left: none;
    }
}


/* --- HEADER HEIGHT & FONT --- */
.header {
    height: 60px;
    min-height: 60px;
    padding: 0 24px 0 24px;
}
.header .logo-area span {
    font-size: 1.3rem;
    line-height: 60px;
}
.navbar {
    font-size: 1rem;
    padding: 0;
    gap: 18px;
}
.header .search-input {
    font-size: 0.98rem;
    padding: 5px 10px;
    min-width: 120px;
}

/* --- FIX ACTIONS ICON VERTICAL ALIGNMENT --- */
.header .actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 32px;
    min-height: 32px;
    height: 32px;
    width: 32px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    color: #888;
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 0.18s, background 0.18s;
    border-radius: 8px;
}
.header .actions a:hover {
    color: #d7263d;
    background: rgba(215,38,61,0.07);
}
.header .actions .icon-heart,
.header .actions .icon-login,
.header .actions .icon-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.15rem;
    line-height: 1;
}
.header .actions .icon-heart {
    color: #e5d0d0;
}
.header .actions .cart-count {
    display: none;
    position: absolute;
    top: -7px;
    right: -10px;
    background: #d7263d;
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 12px;
    min-width: 18px;
    text-align: center;
    z-index: 2;
}

/* --- HEADER FULL WIDTH, CONTENT CENTERED --- */
.header {
    width: 100vw;
    min-width: 100%;
    max-width: 100vw;
    margin: 0;
    left: 0;
    right: 0;
    position: relative;
    display: flex;
    justify-content: center;
    background: linear-gradient(179deg, rgba(255,245,196,0.09) 80%, rgba(219,174,173,0.09) 100%);
}
.header .header-inner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    gap: 32px;
}


/* --- ENSURE HEADER IS STICKY AT TOP --- */
.header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    width: 100vw;
    min-width: 100%;
    max-width: 100vw;
    margin: 0;
    left: 0;
    right: 0;
    background: linear-gradient(179deg, rgba(255,245,196,0.09) 80%, rgba(219,174,173,0.09) 100%);
}

/* --- TOP BAR TYPOGRAPHY + ICON POLISH --- */
.header .header-inner,
.header .logo-area,
.header .navbar,
.header .search-input,
.header .actions a {
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.header .logo-area span {
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.09em;
    font-size: 1.2rem;
    color: #8f0f1d;
}

.navbar a {
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.015em;
}

.header .search-input {
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-width: 2px;
}

.header .actions {
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.header .actions a {
    color: #6a6a6a;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.header .actions a:hover {
    color: #161616;
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.header .actions .icon-heart,
.header .actions .icon-login,
.header .actions .icon-cart {
    width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header .actions .icon-heart svg,
.header .actions .icon-login svg,
.header .actions .icon-cart svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.header .actions .icon-heart {
    color: #8f0f1d;
}

.header-cheese-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -2px;
    margin-right: 2px;
}

.header-cheese-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-toggle {
    display: none;
    border: 1px solid #e4e4e4;
    background: #fff;
    color: #2c2c2c;
    border-radius: 10px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
    background: #f6f6f6;
    border-color: #cfcfcf;
}

.nav-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- CART SIDEBAR MODERN CLEAN PASS --- */
#cart-sidebar.cart-sidebar {
    right: -440px;
    width: 420px;
    max-width: 96vw;
    background: #ffffff;
    box-shadow: -12px 0 42px rgba(12, 16, 24, 0.14);
    border-left: 1px solid #f0f0f0;
    overflow: hidden;
}

#cart-sidebar.cart-sidebar.active {
    right: 0;
}

#cart-overlay.cart-overlay {
    background: rgba(10, 12, 16, 0.5);
    backdrop-filter: blur(1px);
}

#cart-sidebar .cart-header {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #efefef;
    background: rgba(255, 255, 255, 0.97);
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
}

#cart-sidebar .cart-header h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1d1d1d;
}

#cart-sidebar .close-cart-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ececec;
    border-radius: 999px;
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5e5e5e;
    background: #fff;
    transition: all 0.2s ease;
}

#cart-sidebar .close-cart-btn:hover {
    color: #121212;
    border-color: #d9d9d9;
    background: #f8f8f8;
}

#cart-sidebar .cart-items-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding: 14px 14px 12px;
    background: #fcfcfc;
}

#cart-sidebar .cart-item {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 12px;
    padding: 13px 13px 12px;
    border: 1px solid #ededed;
    border-radius: 12px;
    background: #ffffff;
}

#cart-sidebar .cart-item:last-child {
    margin-bottom: 0;
}

#cart-sidebar .cart-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#cart-sidebar .cart-item-title {
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 650;
    color: #1e1e1e;
    line-height: 1.35;
}

#cart-sidebar .cart-item-price {
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #8f0f1d;
    white-space: nowrap;
}

#cart-sidebar .cart-item-desc {
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    font-size: 0.84rem;
    font-weight: 450;
    color: #6a6a6a;
    line-height: 1.45;
}

#cart-sidebar .cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

#cart-sidebar .cart-item-remove,
#cart-sidebar .cart-item-checkout,
#cart-sidebar .cart-clear-btn,
#cart-sidebar .cart-checkout-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 13px;
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

#cart-sidebar .cart-item-remove,
#cart-sidebar .cart-clear-btn {
    background: #f1f1f1;
    color: #3f3f3f;
}

#cart-sidebar .cart-item-checkout,
#cart-sidebar .cart-checkout-btn {
    background: #ffe066;
    color: #1f1f1f;
}

#cart-sidebar .cart-item-remove:hover,
#cart-sidebar .cart-clear-btn:hover,
#cart-sidebar .cart-item-checkout:hover,
#cart-sidebar .cart-checkout-btn:hover {
    transform: translateY(-1px);
}

#cart-sidebar .cart-summary {
    border-top: 1px solid #efefef;
    background: #ffffff;
    padding: 14px 16px 16px;
}

#cart-sidebar .cart-total-label {
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #8c8c8c;
    text-transform: uppercase;
}

#cart-sidebar .cart-total-value {
    margin: 5px 0 2px;
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    font-size: 1.22rem;
    font-weight: 800;
    color: #1f1f1f;
}

#cart-sidebar .cart-total-items {
    font-family: 'Manrope', 'IBM Plex Sans', Arial, sans-serif;
    font-size: 0.82rem;
    color: #7f7f7f;
}

#cart-sidebar .cart-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

#cart-sidebar .cart-clear-btn {
    flex: 1;
}

#cart-sidebar .cart-checkout-btn {
    flex: 2;
}

#cart-sidebar .cart-checkout-btn:disabled {
    background: #ececec;
    color: #a8a8a8;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {
    #cart-sidebar.cart-sidebar {
        width: 100vw;
        right: -100vw;
        border-left: none;
    }

    #cart-sidebar .cart-header {
        padding: 16px;
    }

    #cart-sidebar .cart-items-list {
        padding: 12px;
    }

    #cart-sidebar .cart-summary {
        padding: 12px;
    }
}

/* --- RESPONSIVE SUPPORT: TABLETS + MOBILES --- */
@media (max-width: 1024px) {
    .header {
        height: auto;
        min-height: 0;
        padding: 10px 14px;
    }

    .header .header-inner {
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 12px;
        padding: 0 20px;
    }

    .header .logo-area {
        flex: 0 0 auto;
        justify-content: flex-start;
        order: 1;
    }

    .header .actions {
        flex: 0 0 auto;
        margin-left: auto;
        gap: 10px;
        order: 3;
    }

    .header .navbar {
        order: 2;
        flex: 1 1 auto;
        overflow-x: visible;
        white-space: nowrap;
        gap: 10px;
        padding-bottom: 0;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .header .navbar::-webkit-scrollbar {
        display: none;
    }

    .header .search-form {
        display: none;
    }

    .page-search-wrap {
        display: block;
    }

    .header .search-input {
        width: 100%;
        min-width: 0;
        height: 50px;
    }

    #tab-header {
        margin-top: 18px !important;
        padding: 0 10px 14px 10px !important;
    }

    .product-list {
        gap: 20px;
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 8px 10px;
    }

    .header-cheese-icon {
        width: 17px;
        height: 17px;
        margin-left: 0;
        margin-right: 0;
    }

    .header .logo-area span {
        font-size: 1rem;
        letter-spacing: 0.07em;
    }

    .header .navbar a {
        font-size: 0.88rem;
        padding: 6px 10px;
    }

    .header .search-input {
        font-size: 0.9rem;
        padding: 0 12px;
        height: 52px;
    }

    .page-search-wrap {
        margin-top: 12px;
        padding: 0 10px;
    }

    .header .actions a {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
    }

    .header .actions .icon-heart,
    .header .actions .icon-login,
    .header .actions .icon-cart {
        width: 17px;
        height: 17px;
    }

    .product-list {
        grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
        gap: 16px;
        max-width: 100%;
    }

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

@media (max-width: 600px) {
    .nav-toggle {
        display: inline-flex;
        order: 2;
        margin-left: auto;
    }

    .header .actions {
        order: 3;
        margin-left: 0;
    }

    .header .navbar {
        display: none;
        order: 4;
        width: 100%;
        padding: 8px;
        border: 1px solid #ececec;
        border-radius: 12px;
        background: #fff;
        gap: 8px;
        overflow-x: visible;
        white-space: normal;
    }

    .header .header-inner.nav-open .navbar {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 430px) {
    .header .header-inner {
        gap: 8px;
        padding: 0 20px;
    }

    .header .navbar a {
        font-size: 0.84rem;
        padding: 5px 9px;
    }

    .header .search-input {
        border-width: 1.5px;
    }

    .page-search-wrap {
        padding: 0 8px;
    }

    #tab-header {
        padding: 0 8px 12px 8px !important;
    }

    .footer {
        padding-left: 14px;
        padding-right: 14px;
    }
}
