:root {
    --swz-black: #111111;
    --swz-off: #f6f5f2;
    --swz-gray: #767676;
    --swz-lgray: #b0b0b0;
    --swz-accent: #c9a96e;
    --swz-red: #d63333;
    --swz-white: #ffffff;
    --swz-green: #2a7a4a;
    --swz-border: #e8e8e8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    background: #fff;
    color: var(--swz-black);
    overflow-x: hidden;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 68px;
    }
}

/* ── ANNOUNCE ── */
.swz-announce-bar {
    overflow: hidden;
    padding: 10px 0;
    background: var(--swz-black);
}

.swz-marquee-track {
    display: flex;
    width: max-content;
    animation: swzMarquee 32s linear infinite;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

@keyframes swzMarquee {
    to {
        transform: translateX(-50%);
    }
}

.swz-marquee-item {
    padding: 0 48px;
}

.swz-marquee-sep {
    opacity: 0.3;
}

/* ── HEADER ── */
.swz-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.swz-logo {
    font-family: "Playfair Display", serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--swz-black);
    text-decoration: none;
    font-style: italic;
}

.swz-desk-nav {
    display: none;
    align-items: center;
    gap: 28px;
}

@media (min-width: 1024px) {
    .swz-desk-nav {
        display: flex;
    }
}

.swz-nav-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--swz-gray);
    text-decoration: none;
    position: relative;
    transition: color 0.25s;
    white-space: nowrap;
}

.swz-nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--swz-black);
    transition: width 0.3s;
}

.swz-nav-link:hover {
    color: var(--swz-black);
}

.swz-nav-link:hover::after {
    width: 100%;
}

.swz-nav-link--active {
    color: var(--swz-black);
}

.swz-nav-link--active::after {
    width: 100%;
}

.swz-nav-link--sale {
    color: var(--swz-red) !important;
}

.swz-header-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.swz-search-wrap {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .swz-search-wrap {
        display: block;
    }
}

.swz-search-input {
    background: #f4f4f4;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 9px 14px 9px 36px;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    width: 190px;
    outline: none;
    transition: all 0.3s;
}

.swz-search-input:focus {
    width: 350px;
    background: #fff;
    border-color: #ddd;
}

.swz-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: #aaa;
    pointer-events: none;
}

.swz-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s;
    position: relative;
}

.swz-icon-btn:hover {
    background: #f2f2f2;
}

.swz-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--swz-black);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── PAGE HERO / BREADCRUMB ── */
.swz-page-hero {
    background: var(--swz-black);
    padding: 56px 0 52px;
    position: relative;
    overflow: hidden;
}

.swz-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=40&w=1200")
        center/cover;
    opacity: 0.08;
}

.swz-page-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .swz-page-hero-inner {
        padding: 0 40px;
    }
}

.swz-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.swz-breadcrumb a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.swz-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.swz-breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.swz-page-title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 800;
    font-style: italic;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.swz-page-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
}

/* ── TOOLBAR ── */
.swz-toolbar {
    position: sticky;
    top: 68px;
    z-index: 40;
    overflow-x: hidden;
    background: #fff;
    border-bottom: 1px solid var(--swz-border);
}

.swz-toolbar-inner {
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.swz-toolbar-inner::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

@media (min-width: 1024px) {
    .swz-toolbar-inner {
        padding: 0 40px;
    }
}

.swz-toolbar-left {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
}

.swz-toolbar-left::-webkit-scrollbar {
    display: none;
}

.swz-cat-chip {
    white-space: nowrap;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--swz-gray);
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    font-family: "Manrope", sans-serif;
}

.swz-cat-chip:hover {
    color: var(--swz-black);
}

.swz-cat-chip.active {
    color: var(--swz-black);
    border-bottom-color: var(--swz-black);
}

.swz-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.swz-sort-select {
    background: #f4f4f4;
    border: 1px solid transparent;
    padding: 8px 12px;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.swz-sort-select:focus {
    border-color: #ccc;
}

.swz-view-btns {
    display: flex;
    gap: 4px;
}

.swz-view-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--swz-border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--swz-gray);
}

.swz-view-btn.active {
    background: var(--swz-black);
    color: #fff;
    border-color: var(--swz-black);
}

.swz-filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--swz-border);
    background: #fff;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s;
    color: var(--swz-black);
}

.swz-filter-btn:hover {
    background: var(--swz-black);
    color: #fff;
    border-color: var(--swz-black);
}

.swz-result-count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--swz-gray);
    white-space: nowrap;
    display: none;
}

@media (min-width: 640px) {
    .swz-result-count {
        display: block;
    }
}

/* ── LAYOUT ── */
.swz-page-body {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .swz-page-body {
        padding: 40px 40px 80px;
    }
}

/* ── FILTER SIDEBAR ── */
.swz-filter-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 130px;
    display: none;
}

@media (min-width: 1280px) {
    .swz-filter-sidebar {
        display: block;
    }
}

.swz-filter-section {
    border-bottom: 1px solid var(--swz-border);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.swz-filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* CLOSED (default) */
.swz-filter-section > div:nth-child(2) {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

/* OPEN */
.swz-filter-section > div:nth-child(2).open {
    max-height: none; /* allow full height */
}

/* CLOSED STATE */
.swz-filter-section > div:nth-child(2):not(.open) {
    max-height: 0;
    margin-top: 0 !important;
}

/* ICON ROTATION */
.swz-filter-title i,
.swz-filter-title svg {
    transition: transform 0.3s ease;
}

.swz-filter-title.active i,
.swz-filter-title.active svg {
    transform: rotate(180deg);
}

.swz-filter-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.swz-filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.swz-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    color: var(--swz-gray);
    transition: color 0.2s;
}

.swz-filter-option:hover {
    color: var(--swz-black);
}

.swz-filter-check {
    width: 16px;
    height: 16px;
    border: 1.5px solid #ccc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.swz-filter-option.checked .swz-filter-check {
    background: var(--swz-black);
    border-color: var(--swz-black);
}

.swz-filter-option.checked {
    color: var(--swz-black);
    font-weight: 600;
}

.swz-filter-option-count {
    margin-left: auto;
    font-size: 11px;
    color: var(--swz-lgray);
}

/* Color swatches */
.swz-color-options {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
}

.swz-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.swz-color-swatch:hover,
.swz-color-swatch.active {
    border-color: var(--swz-black);
    transform: scale(1.1);
}

/* Price Range */
.swz-price-range-wrap {
    padding: 0 4px;
}

.swz-price-range-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.swz-price-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: var(--swz-black);
    outline: none;
    border-radius: 2px;
    cursor: pointer;
}

.swz-price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--swz-black);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--swz-black);
}

/* Active Filters */
.swz-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.swz-active-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--swz-black);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.swz-active-tag:hover {
    background: #333;
}

/* ── PRODUCTS GRID ── */
.swz-products-area {
    flex: 1;
    min-width: 0;
}

.swz-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(1, 1fr);
    transition: all 0.3s;
}

@media (min-width: 640px) {
    .swz-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .swz-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .swz-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .swz-grid.swz-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.swz-grid.swz-grid-list {
    grid-template-columns: 1fr !important;
    gap: 16px;
}

/* Card */
.swz-prod-card {
    position: relative;
    background: #fff;
    border: 1px solid transparent;
    transition:
        border-color 0.25s,
        box-shadow 0.25s;
    cursor: pointer;
}

.swz-prod-card:hover {
    border-color: var(--swz-black);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.swz-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--swz-off);
}

.swz-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.swz-prod-card:hover .swz-card-img-wrap img {
    transform: scale(1.07);
}

.swz-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    padding: 4px 10px;
    font-family: "Manrope", sans-serif;
}

.swz-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateX(52px);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.swz-prod-card:hover .swz-card-actions {
    transform: translateX(0);
}

.swz-card-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    transition: all 0.22s;
    color: var(--swz-gray);
}

.swz-card-icon-btn:hover {
    background: var(--swz-black);
    color: #fff;
}

.swz-card-icon-btn.wished svg {
    fill: var(--swz-red);
    stroke: var(--swz-red);
}

.swz-quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    padding: 14px;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 5;
}

.swz-prod-card:hover .swz-quick-add {
    transform: none;
}

.swz-qa-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--swz-gray);
    text-align: center;
    margin-bottom: 8px;
}

.swz-size-row {
    display: flex;
    justify-content: start;
    gap: 6px;
    flex-wrap: wrap;
}

.swz-size-btn {
    height: 32px;
    min-width: 32px;
    padding: 0 6px;
    border: 1.5px solid #ddd;
    background: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.swz-size-btn:hover {
    background: var(--swz-black);
    color: #fff;
    border-color: var(--swz-black);
}

.swz-size-btn.oos {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.swz-add-btn {
    width: 100%;
    margin-top: 8px;
    background: var(--swz-black);
    color: #fff;
    border: none;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.swz-add-btn:hover {
    background: #333;
}

.swz-card-info {
    padding: 14px 10px 10px;
}

.swz-card-cat {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--swz-lgray);
    margin-bottom: 4px;
}

.swz-card-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: "Manrope", sans-serif;
}

.swz-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.swz-stars {
    color: var(--swz-accent);
    font-size: 11px;
}

.swz-rating-count {
    font-size: 11px;
    color: var(--swz-lgray);
}

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

.swz-price-now {
    font-size: 15px;
    font-weight: 700;
}

.swz-price-was {
    font-size: 13px;
    font-weight: 300;
    color: var(--swz-lgray);
    text-decoration: line-through;
}

.swz-price-off {
    font-size: 10px;
    font-weight: 700;
    color: var(--swz-red);
}

/* List view card */
.swz-grid.swz-grid-list .swz-prod-card {
    display: flex;
    align-items: stretch;
}

.swz-grid.swz-grid-list .swz-card-img-wrap {
    width: 180px;
    flex-shrink: 0;
    aspect-ratio: unset;
    height: 220px;
}

@media (min-width: 640px) {
    .swz-grid.swz-grid-list .swz-card-img-wrap {
        width: 220px;
        height: 260px;
    }
}

.swz-grid.swz-grid-list .swz-card-actions {
    transform: translateX(0);
}

.swz-grid.swz-grid-list .swz-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 24px;
}

.swz-grid.swz-grid-list .swz-card-name {
    font-size: 16px;
    margin-bottom: 8px;
}

.swz-grid.swz-grid-list .swz-card-desc {
    font-size: 13px;
    font-weight: 300;
    color: var(--swz-gray);
    line-height: 1.6;
    margin-bottom: 14px;
    max-width: 460px;
    display: block;
}

.swz-grid.swz-grid-list .swz-quick-add {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    margin-top: 14px;
}

.swz-grid.swz-grid-list .swz-size-row {
    justify-content: flex-start;
}

.swz-grid.swz-grid-list .swz-add-btn {
    max-width: 220px;
    margin-top: 10px;
}

/* Hide quick-add panel in grid mode via card-desc */
.swz-card-desc {
    display: none;
}

/* ── NO RESULTS ── */
.swz-no-results {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1/-1;
}

.swz-no-results h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 12px;
}

.swz-no-results p {
    color: var(--swz-gray);
    font-weight: 300;
    font-size: 14px;
}

/* ── LOAD MORE ── */
.swz-load-more-wrap {
    text-align: center;
    margin-top: 56px;
}

.swz-load-more-btn {
    padding: 15px 56px;
    border: 1.5px solid var(--swz-black);
    background: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
}

.swz-load-more-btn:hover {
    background: var(--swz-black);
    color: #fff;
}

/* ── MOBILE FILTER PANEL ── */
.swz-mobile-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 9990;
}

.swz-mobile-filter-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.swz-mobile-filter-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9991;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    max-height: 80vh;
    overflow-y: auto;
    padding: 28px 24px 32px;
    border-radius: 16px 16px 0 0;
}

.swz-mobile-filter-panel.open {
    transform: none;
}

.swz-mobile-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.swz-mobile-filter-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 22px;
    font-style: italic;
}

/* ── MOBILE BOTTOM NAV ── */
.swz-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    height: 68px;
    padding: 0 4px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    .swz-bottom-nav {
        display: flex;
        align-items: stretch;
    }
}

.swz-bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--swz-gray);
    transition: color 0.2s;
    padding: 8px 4px;
}

.swz-bnav-item:hover,
.swz-bnav-item.active {
    color: var(--swz-black);
}

.swz-bnav-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.swz-bnav-cart-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swz-bnav-icon-bg {
    background: var(--swz-black);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.swz-bnav-item--cart:hover .swz-bnav-icon-bg {
    transform: translateY(-2px);
}

.swz-bnav-badge {
    position: absolute;
    top: 8px;
    right: 15px;
    background: var(--swz-black);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ── CART DRAWER ── */
.swz-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    z-index: 9998;
}

.swz-cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.swz-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 460px;
    max-width: 100vw;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 9999;
    box-shadow: -16px 0 60px rgba(0, 0, 0, 0.14);
}

@media (max-width: 767px) {
    .swz-cart-drawer {
        width: 100vw;
    }
}

.swz-cart-drawer.open {
    transform: none;
}

.swz-cart-head {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.swz-cart-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 20px;
    font-style: italic;
}

.swz-cart-count-badge {
    background: var(--swz-black);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 999px;
}

.swz-cart-close {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.swz-cart-close:hover {
    background: #f3f3f3;
}

.swz-cart-progress-strip {
    padding: 14px 24px;
    background: #f8f8f6;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.swz-prog-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.swz-prog-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--swz-gray);
}

.swz-prog-val {
    font-size: 11px;
    font-weight: 700;
}

.swz-prog-track {
    height: 3px;
    background: #ebebeb;
    border-radius: 2px;
    overflow: hidden;
}

.swz-prog-fill {
    height: 100%;
    background: var(--swz-black);
    border-radius: 2px;
    transition: width 0.4s;
}

.swz-prog-msg {
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
    color: var(--swz-green);
}

.swz-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
}

.swz-cart-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.swz-cart-thumb {
    width: 84px;
    height: 104px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 1px;
}

.swz-cart-item-info {
    flex: 1;
    min-width: 0;
}

.swz-ci-cat {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--swz-gray);
    margin-bottom: 3px;
}

.swz-ci-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.swz-ci-variant {
    font-size: 13px;
    font-weight: 300;
    color: var(--swz-gray);
    margin-bottom: 14px;
}

.swz-ci-btm {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.swz-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1.5px solid #e0e0e0;
}

.swz-qty-btn {
    width: 33px;
    height: 33px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: "Manrope", sans-serif;
}

.swz-qty-btn:hover {
    background: var(--swz-black);
    color: #fff;
}

.swz-qty-display {
    width: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.swz-ci-price {
    font-size: 15px;
    font-weight: 700;
}

.swz-ci-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    align-self: flex-start;
    margin-top: 2px;
    transition: color 0.2s;
}

.swz-ci-remove:hover {
    color: var(--swz-red);
}

.swz-cart-footer {
    flex-shrink: 0;
    border-top: 1px solid #f0f0f0;
}

.swz-cart-totals {
    padding: 20px 24px;
}

.swz-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.swz-total-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--swz-gray);
}

.swz-total-val {
    font-size: 18px;
    font-weight: 700;
}

.swz-shipping-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--swz-green);
}

.swz-grand-row {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.swz-grand-label {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 18px;
    font-style: italic;
}

.swz-grand-val {
    font-family: "Playfair Display", serif;
    font-weight: 800;
    font-size: 24px;
}

.swz-cart-btns {
    padding: 0 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.swz-cart-view-btn {
    padding: 15px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.swz-cart-view-btn:hover {
    background: #f7f7f7;
}

.swz-cart-checkout-btn {
    padding: 15px;
    background: var(--swz-black);
    color: #fff;
    border: none;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
}

.swz-cart-checkout-btn:hover {
    opacity: 0.85;
}

/* Animate in cards */
@keyframes swzFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.swz-prod-card {
    animation: swzFadeUp 0.45s ease both;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #333;
}
