/**
 * Wedding Basket - Bespoke Luxury Hamper Builder Stylesheet
 * Brand colors: Royal Wine-Maroon (#7A0E1A, #580912), Antique Gold (#D4AF37), Porcelain Ivory (#FAF6F0, #FFFDF9), Deep Walnut (#2C1810)
 * Pure visual & responsive polish: 2-column luxury workspace, live hover-zoom, glassmorphic wine-maroon bar, mobile bottom-sheet drawer.
 */

/* ==========================================================================
   1. Luxury Canvas & Ambient Watermark Background
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.wb-hamper-page {
    background-color: #FAF6F0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 450px),
        radial-gradient(circle at 90% 80%, rgba(122, 14, 26, 0.035) 0%, transparent 550px);
    min-height: 100vh;
    padding-bottom: 110px !important; /* Clearance for floating bottom bar */
    position: relative;
    overflow-x: hidden !important;
}

/* Subtle Royal Decorative Watermark Filigree along outer edges */
.wb-hamper-page::before,
.wb-hamper-page::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    pointer-events: none;
    opacity: 0.12;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: contain;
}

.wb-hamper-page::before {
    top: 40px;
    left: -20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%23D4AF37' d='M100 0 C105 50 150 95 200 100 C150 105 105 150 100 200 C95 150 50 105 0 100 C50 95 95 50 100 0 Z'/%3E%3Ccircle cx='100' cy='100' r='30' fill='none' stroke='%23D4AF37' stroke-width='4'/%3E%3C/svg%3E");
}

.wb-hamper-page::after {
    bottom: 120px;
    right: -20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%23D4AF37' d='M100 0 C105 50 150 95 200 100 C150 105 105 150 100 200 C95 150 50 105 0 100 C50 95 95 50 100 0 Z'/%3E%3Ccircle cx='100' cy='100' r='30' fill='none' stroke='%23D4AF37' stroke-width='4'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Hero Banner
   ========================================================================== */
.wb-hamper-hero {
    background: linear-gradient(135deg, #2C1810 0%, #4A0E18 55%, #7A0E1A 100%);
    color: #FFFFFF;
    padding: 3.5rem 1rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wb-hamper-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #D4AF37 0%, #FAF5EE 50%, #D4AF37 100%);
    opacity: 0.85;
}

.wb-hamper-hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid #D4AF37;
    color: #F3E5AB;
    padding: 0.35rem 1.1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.wb-hamper-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: #FFFFFF;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.wb-hamper-hero p {
    font-size: 1.05rem;
    color: #F3ECE7;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   3. Step 1: Occasion Quick-Select Bar
   ========================================================================== */
.wb-occasion-bar-container {
    max-width: 1320px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.wb-occasion-quick-select-bar {
    background: #FFFDF9;
    border: 1px solid #E6D9C8;
    border-radius: 50px;
    padding: 0.55rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
}

.wb-occasion-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2C1810;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wb-occasion-pills {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.wb-occasion-pills::-webkit-scrollbar {
    display: none;
}

.wb-occasion-pill {
    background: #FAF6F0;
    border: 1px solid #E6D9C8;
    color: #5C4E46;
    padding: 0.45rem 1.15rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

.wb-occasion-pill:hover {
    border-color: #D4AF37;
    color: #7A0E1A;
    background: #FFFDF9;
    transform: translateY(-1px);
}

.wb-occasion-pill.active {
    background: #7A0E1A;
    border-color: #7A0E1A;
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(122, 14, 26, 0.28);
}

/* ==========================================================================
   4. Split Two-Column Layout (Catalog Left, Workspace Right)
   ========================================================================== */
.wb-hamper-split-container {
    max-width: 1320px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.wb-hamper-split-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start;
}

/* Catalog Panel (Left Column) */
.wb-catalog-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

/* Panel Headers */
.wb-panel-header {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #EDE4D8;
    padding-bottom: 0.75rem;
}

.wb-panel-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: #2C1810;
    margin: 0 0 0.3rem 0;
    letter-spacing: 0.3px;
}

.wb-panel-header p {
    font-size: 0.88rem;
    color: #8C7E74;
    margin: 0;
}

/* ==========================================================================
   5. Step 2: Basket Selection Cards (Left Column)
   ========================================================================== */
.wb-vertical-basket-panel {
    background: #FFFDF9;
    border: 1px solid #E6D9C8;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
}

.wb-baskets-vertical-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.wb-basket-card {
    border: 1px solid #E6D9C8;
    border-radius: 10px;
    background: #FFFDF9;
    padding: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
    display: flex;
    flex-direction: column;
}

.wb-basket-card:hover {
    border-color: #D4AF37;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.08);
    transform: translateY(-3px);
}

.wb-basket-card.selected {
    border: 1.5px solid #7A0E1A;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(122, 14, 26, 0.12);
}

.wb-basket-strip-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
}

.wb-basket-strip-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #FAF5EE;
    border: 1px solid #E6D9C8;
}

.wb-basket-strip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb-basket-strip-info {
    flex: 1;
    min-width: 0;
}

.wb-basket-strip-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 2px;
}

.wb-basket-strip-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #2C1810;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wb-basket-type-badge-mini {
    background: rgba(122, 14, 26, 0.08);
    color: #7A0E1A;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

.wb-basket-strip-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-top: 3px;
}

.wb-basket-from-price {
    color: #7A0E1A;
}

.wb-basket-from-price strong {
    font-size: 0.92rem;
}

.wb-basket-strip-indicator {
    color: #8C7E74;
    font-size: 0.74rem;
    font-weight: 500;
}

.wb-basket-radio-box {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D5C7BD;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.wb-basket-card:hover .wb-basket-radio-box {
    color: #D4AF37;
}

.wb-basket-card.selected .wb-basket-radio-box {
    color: #7A0E1A;
}

.wb-basket-card.selected .wb-basket-radio-svg circle {
    fill: #7A0E1A;
    stroke: #7A0E1A;
}

.wb-basket-card.selected .wb-basket-radio-svg polyline {
    stroke: #FFFFFF;
}

/* Expandable body with hover zoom & dimensions */
.wb-basket-expanded-body {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #EDE4D8;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.wb-basket-img-zoom-wrap {
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background: #FAF5EE;
}

.wb-basket-zoom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.wb-basket-card:hover .wb-basket-zoom-img {
    transform: scale(1.06);
}

.wb-basket-type-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(44, 24, 16, 0.85);
    backdrop-filter: blur(4px);
    color: #FAF5EE;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.wb-basket-details {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.wb-basket-material-text {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

/* Custom Size Selector (Inches) */
.wb-size-selector-wrap {
    margin-top: 0.25rem;
    padding-top: 0.45rem;
    border-top: 1px dashed #EDE4D8;
}

.wb-size-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #5C4E46;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wb-size-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.wb-size-pill {
    background: #FFFDF9;
    border: 1px solid #D5C7BD;
    color: #2C1810;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.wb-size-pill:hover {
    border-color: #D4AF37;
    background: #FAF5EE;
}

.wb-size-pill.active {
    background: #7A0E1A;
    color: #FFFFFF;
    border-color: #7A0E1A;
}

.wb-basket-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
}

.wb-basket-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.wb-basket-price-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #7A0E1A;
}

.wb-basket-mrp-val {
    font-size: 0.82rem;
    text-decoration: line-through;
    color: #94A3B8;
}

.wb-capacity-badge {
    background: #FAF5EE;
    border: 1px solid #E6D9C8;
    color: #7A0E1A;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* ==========================================================================
   6. Step 3: Items Selection Grid (Left Column)
   ========================================================================== */
.wb-items-selection-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Capacity Tracker Header */
.wb-sticky-capacity-bar {
    background: #FFFDF9;
    border: 1px solid #E6D9C8;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
}

.wb-capacity-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.wb-capacity-main-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2C1810;
    margin-right: 0.5rem;
}

.wb-capacity-count-badge {
    font-size: 0.92rem;
    font-weight: 700;
    color: #7A0E1A;
}

.wb-capacity-hint {
    font-size: 0.82rem;
    color: #64748b;
}

.wb-capacity-progress-track {
    width: 100%;
    height: 7px;
    background: #EDE4D8;
    border-radius: 4px;
    overflow: hidden;
}

.wb-capacity-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37 0%, #7A0E1A 100%);
    border-radius: 4px;
    transition: width 0.35s ease;
}

.wb-capacity-progress-fill.full {
    background: #7A0E1A;
}

.wb-capacity-full-alert {
    margin-top: 0.65rem;
    padding: 0.5rem 0.75rem;
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: 6px;
    color: #92400E;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Category Filter Tabs */
.wb-item-category-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
}

.wb-cat-tab {
    background: #FFFDF9;
    border: 1px solid #E6D9C8;
    color: #5C4E46;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: inherit;
}

.wb-cat-tab:hover {
    border-color: #D4AF37;
    background: #FAF5EE;
    color: #7A0E1A;
}

.wb-cat-tab.active {
    background: #7A0E1A;
    color: #FFFFFF;
    border-color: #7A0E1A;
    box-shadow: 0 2px 8px rgba(122, 14, 26, 0.25);
}

/* Compact Item Cards Grid (Clean Rectangular Cards) */
.wb-compact-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.25rem;
}

.wb-compact-item-card {
    border: 1px solid #E6D9C8;
    border-radius: 10px;
    background: #FFFDF9;
    box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
}

.wb-compact-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.08);
    border-color: #D4AF37;
}

.wb-compact-item-card.is-out-of-stock {
    opacity: 0.7;
    background: #FAF6F0;
}

/* High-res square product thumbnail with #FAF5EE background */
.wb-item-thumb-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: #FAF5EE;
}

.wb-item-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.wb-compact-item-card:hover .wb-item-thumb-img {
    transform: scale(1.06);
}

.wb-out-of-stock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 24, 16, 0.72);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wb-monogram-placeholder,
.wb-monogram-placeholder-mini {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAF5EE;
    border: 1px dashed #D4AF37;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #7A0E1A;
}

.wb-monogram-text {
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.wb-item-info-col {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.wb-item-cat-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #8C7E74;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.wb-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2C1810;
    margin: 0 0 0.25rem 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
}

.wb-item-unit-tag {
    font-size: 0.74rem;
    color: #64748b;
    margin-bottom: 0.65rem;
}

.wb-item-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #EDE4D8;
}

.wb-item-price-tag {
    font-size: 1.05rem;
    font-weight: 700;
    color: #7A0E1A;
}

/* Crisp rounded pill action button / Stepper */
.wb-item-qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #D4AF37;
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.15);
}

.wb-stepper-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #7A0E1A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.wb-stepper-btn:hover:not(:disabled) {
    background: #FAF5EE;
    color: #2C1810;
}

.wb-stepper-btn:disabled {
    color: #CBD5E1;
    cursor: not-allowed;
}

.wb-stepper-val {
    min-width: 24px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2C1810;
}

/* ==========================================================================
   7. RIGHT COLUMN: "YOUR BESPOKE HAMPER" Luxury Workspace
   ========================================================================== */
.wb-bespoke-workspace-col {
    position: sticky;
    top: 90px;
}

.wb-bespoke-workspace {
    background: #FFFDF9;
    border: 1px solid #E6D9C8;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

/* Workspace Header */
.wb-workspace-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    position: relative;
}

.wb-workspace-title-box {
    width: 100%;
    text-align: center;
}

.wb-workspace-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #2C1810;
    margin: 0 0 0.35rem 0;
    text-transform: uppercase;
}

/* Thin ornamental gold line with center floral accent (— ✽ —) */
.wb-ornamental-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    width: 85%;
}

.wb-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

.wb-divider-flower {
    color: #D4AF37;
    font-size: 0.85rem;
    line-height: 1;
}

.wb-workspace-close-btn {
    display: none; /* Only visible in mobile drawer */
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #8C7E74;
    cursor: pointer;
    line-height: 1;
    position: absolute;
    right: 0;
    top: -4px;
}

/* Selected Hamper Hero Display (Open luxury container preview) */
.wb-workspace-hero-display {
    background: #FAF6F0;
    border: 1px solid #EDE4D8;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.wb-hero-img-box {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFDF9;
    border: 1px solid #D4AF37;
    flex-shrink: 0;
}

.wb-hero-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.wb-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2C1810;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wb-hero-meta {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wb-hero-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.wb-hero-pill-badge {
    font-size: 0.74rem;
    font-weight: 600;
    color: #7A0E1A;
    background: rgba(122, 14, 26, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
}

.wb-hero-progress-track {
    width: 100%;
    height: 5px;
    background: #EDE4D8;
    border-radius: 3px;
    overflow: hidden;
}

.wb-hero-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37 0%, #7A0E1A 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.wb-hero-progress-fill.full {
    background: #7A0E1A;
}

/* Packaged Items Section in Workspace */
.wb-workspace-items-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wb-workspace-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    font-weight: 700;
    color: #2C1810;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #EDE4D8;
    padding-bottom: 0.45rem;
}

.wb-items-count-badge {
    background: #FAF5EE;
    border: 1px solid #D4AF37;
    color: #7A0E1A;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 12px;
}

.wb-bespoke-items-list {
    display: flex;
    flex-direction: column;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Horizontal item row with 48x48px thumbnail & hairline divider */
.wb-workspace-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #EDE4D8;
}

.wb-workspace-item-row:last-child {
    border-bottom: none;
}

.wb-workspace-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #FAF5EE;
    border: 1px solid #E6D9C8;
    flex-shrink: 0;
}

.wb-workspace-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb-monogram-placeholder-tiny {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #7A0E1A;
    background: #FAF5EE;
}

.wb-workspace-item-info {
    flex: 1;
    min-width: 0;
}

.wb-workspace-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.86rem;
    font-weight: 600;
    color: #2C1810;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wb-workspace-item-price {
    font-size: 0.76rem;
    color: #7A0E1A;
    font-weight: 600;
}

.wb-workspace-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.wb-workspace-item-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #D4AF37;
    border-radius: 16px;
    background: #FFFFFF;
    overflow: hidden;
}

.wb-ws-step-btn {
    background: none;
    border: none;
    width: 22px;
    height: 22px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #7A0E1A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wb-ws-step-btn:hover:not(:disabled) {
    background: #FAF5EE;
}

.wb-ws-step-btn:disabled {
    color: #CBD5E1;
    cursor: not-allowed;
}

.wb-ws-step-val {
    min-width: 18px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #2C1810;
}

.wb-workspace-trash-btn {
    background: none;
    border: none;
    color: #A09388;
    cursor: pointer;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.wb-workspace-trash-btn:hover {
    color: #7A0E1A;
}

/* Empty State */
.wb-workspace-empty-state {
    text-align: center;
    padding: 1.5rem 0.5rem;
    color: #8C7E74;
}

.wb-empty-icon {
    margin-bottom: 0.5rem;
}

.wb-empty-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2C1810;
    margin: 0 0 0.25rem 0;
}

.wb-empty-desc {
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0;
}

/* Workspace Summary Card & Proceed Button */
.wb-workspace-summary-card {
    background: #FAF6F0;
    border: 1px solid #EDE4D8;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wb-ws-calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #5C4E46;
}

.wb-ws-calc-row strong {
    color: #2C1810;
}

.wb-text-gold {
    color: #B8860B !important;
}

.wb-ws-divider {
    height: 1px;
    background: #EDE4D8;
    margin: 0.25rem 0;
}

.wb-ws-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.92rem;
    color: #2C1810;
}

.wb-ws-total-row strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #7A0E1A;
}

.wb-btn-ws-proceed {
    background: #7A0E1A;
    border: 1px solid #D4AF37;
    color: #FFF8EF;
    border-radius: 6px;
    padding: 10px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(122, 14, 26, 0.2);
}

.wb-btn-ws-proceed:hover {
    background: #580912;
    border-color: #F3E5AB;
    box-shadow: 0 6px 16px rgba(122, 14, 26, 0.3);
    transform: translateY(-1px);
}

/* ==========================================================================
   8. Glassmorphic Wine-Maroon Sticky Bottom Bar
   ========================================================================== */
.wb-sticky-bottom-bar {
    position: fixed !important;
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    height: 64px !important;
    max-width: 1280px !important;
    width: calc(100% - 32px) !important;
    background: linear-gradient(135deg, rgba(122, 14, 26, 0.94) 0%, rgba(88, 9, 18, 0.98) 100%) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 10px 30px rgba(44, 24, 16, 0.25), 0 0 20px rgba(122, 14, 26, 0.3) !important;
    z-index: 999 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.wb-bottom-bar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.wb-bottom-items-badge {
    color: #F3E5AB;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.wb-bottom-items-badge strong {
    color: #FFFFFF;
    font-size: 15px;
}

.wb-bottom-bar-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wb-bottom-total-label {
    color: #F3E5AB;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wb-bottom-total-val {
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
}

.wb-btn-glassmorphic-proceed {
    background: #580912;
    border: 1px solid #D4AF37;
    color: #FFF8EF;
    border-radius: 6px;
    padding: 10px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wb-btn-glassmorphic-proceed:hover {
    background: #7A0E1A;
    border-color: #F3E5AB;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   9. Mobile Floating Pill Button (Viewport <= 768px)
   ========================================================================== */
.wb-mobile-floating-bar {
    display: none;
    position: fixed;
    bottom: 14px;
    left: 16px;
    right: 16px;
    z-index: 998;
}

.wb-mobile-view-hamper-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #7A0E1A 0%, #580912 100%);
    border: 1.5px solid #D4AF37;
    border-radius: 9999px;
    color: #FFF8EF;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(122, 14, 26, 0.4), 0 0 12px rgba(212, 175, 55, 0.35);
    cursor: pointer;
    padding: 0 18px;
}

.wb-pill-icon-svg {
    display: inline-flex;
    align-items: center;
    color: #D4AF37;
}

.wb-pill-divider {
    color: rgba(212, 175, 55, 0.6);
}

.wb-pill-price {
    color: #F3E5AB;
    font-weight: 700;
    font-size: 14px;
}

.wb-pill-chevron {
    color: #D4AF37;
    font-size: 14px;
}

/* ==========================================================================
   10. Step 4 Slide-Over Personalisation Drawer
   ========================================================================== */
.wb-slideover-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 24, 16, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.wb-slideover-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 520px;
    background: #FFFDF9;
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    flex-direction: column;
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wb-slideover-backdrop.active,
.wb-slideover-drawer.active {
    display: flex;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wb-slideover-header {
    padding: 1.25rem 1.5rem;
    background: #FAF6F0;
    border-bottom: 1px solid #EDE4D8;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.wb-slideover-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #2C1810;
    margin: 0 0 0.25rem 0;
}

.wb-slideover-close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #8C7E74;
    cursor: pointer;
    line-height: 1;
}

.wb-slideover-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wb-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.wb-form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2C1810;
}

.wb-form-input,
.wb-form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E6D9C8;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #2C1810;
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.wb-form-input:focus,
.wb-form-textarea:focus {
    border-color: #7A0E1A;
    box-shadow: 0 0 0 3px rgba(122, 14, 26, 0.08);
}

.wb-ribbon-swatches-grid {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.wb-ribbon-swatch {
    background: #FAF6F0;
    border: 1.5px solid #E6D9C8;
    border-radius: 30px;
    padding: 0.45rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wb-ribbon-swatch:hover {
    border-color: #D4AF37;
    background: #FFFFFF;
}

.wb-ribbon-swatch.active {
    border-color: #7A0E1A;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(122, 14, 26, 0.15);
}

.wb-swatch-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.wb-swatch-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2C1810;
}

.wb-card-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

.wb-card-opt-box {
    border: 1px solid #E6D9C8;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #FAF6F0;
    transition: all 0.2s ease;
}

.wb-card-opt-box:hover {
    background: #FFFFFF;
    border-color: #D4AF37;
}

.wb-card-opt-box.selected {
    background: #FFFFFF;
    border-color: #7A0E1A;
    box-shadow: 0 2px 8px rgba(122, 14, 26, 0.1);
}

.wb-card-opt-title {
    font-weight: 600;
    color: #2C1810;
    font-size: 0.9rem;
}

.wb-card-opt-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.wb-card-opt-badge.free {
    background: #DEF7EC;
    color: #03543F;
}

.wb-card-opt-badge.fee {
    background: #FAF5EE;
    color: #7A0E1A;
}

.wb-drawer-review-card {
    background: #FAF6F0;
    border: 1px solid #EDE4D8;
    border-radius: 8px;
    padding: 1rem;
}

.wb-drawer-review-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #2C1810;
    margin: 0 0 0.5rem 0;
}

.wb-drawer-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 160px;
    overflow-y: auto;
}

.wb-drawer-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #5C4E46;
}

.wb-slideover-footer {
    padding: 1.25rem 1.5rem;
    background: #FAF6F0;
    border-top: 1px solid #EDE4D8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.wb-btn-add-cart {
    background: #7A0E1A;
    color: #FFFFFF;
    border: 1px solid #D4AF37;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(122, 14, 26, 0.25);
    white-space: nowrap;
}

.wb-btn-add-cart:hover {
    background: #580912;
    border-color: #F3E5AB;
}

.wb-btn-add-cart:disabled {
    background: #CBD5E1;
    cursor: not-allowed;
    box-shadow: none;
    border: none;
}

/* ==========================================================================
   11. 100% Mobile Responsiveness (Viewport <= 768px)
   ========================================================================== */
@media (max-width: 1024px) {
    .wb-hamper-split-layout {
        grid-template-columns: 1fr 360px;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Zero Horizontal Overflow */
    html, body, .wb-hamper-page {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .wb-hamper-page {
        padding-bottom: 84px !important;
    }

    .wb-hamper-hero {
        padding: 2.25rem 1rem 2rem;
    }

    .wb-hamper-hero h1 {
        font-size: 1.85rem;
    }

    .wb-hamper-hero p {
        font-size: 0.92rem;
    }

    .wb-occasion-bar-container {
        margin-top: 1rem;
    }

    .wb-occasion-quick-select-bar {
        border-radius: 12px;
        padding: 8px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .wb-occasion-pills {
        width: 100%;
    }

    .wb-hamper-split-container {
        margin: 1.25rem auto;
        padding: 0 10px;
    }

    /* Stack Two-Column Grid into 1-Column Layout */
    .wb-hamper-split-layout {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .wb-catalog-panel {
        width: 100%;
    }

    /* 2-Column Compact Product Cards (No squashing, clean font scaling) */
    .wb-compact-items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .wb-compact-item-card {
        border-radius: 8px;
    }

    .wb-item-info-col {
        padding: 0.65rem;
    }

    .wb-item-title {
        font-size: 0.82rem;
        height: 2.6em;
        line-height: 1.3;
        margin-bottom: 0.15rem;
    }

    .wb-item-cat-label {
        font-size: 0.62rem;
    }

    .wb-item-unit-tag {
        font-size: 0.68rem;
        margin-bottom: 0.45rem;
    }

    .wb-item-price-tag {
        font-size: 0.92rem;
    }

    .wb-stepper-btn {
        width: 24px;
        height: 24px;
        font-size: 0.95rem;
    }

    .wb-stepper-val {
        min-width: 18px;
        font-size: 0.78rem;
    }

    /* Right Column Bespoke Hamper becomes a smooth Slide-Up Bottom Sheet Drawer */
    .wb-bespoke-workspace-col {
        position: static;
    }

    .wb-workspace-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(44, 24, 16, 0.6);
        backdrop-filter: blur(4px);
        z-index: 1000;
        animation: fadeIn 0.25s ease;
    }

    .wb-workspace-backdrop.active {
        display: block;
    }

    .wb-bespoke-workspace {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        border: 1.5px solid #D4AF37;
        box-shadow: 0 -10px 30px rgba(44, 24, 16, 0.25);
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 1.25rem 1rem 1.5rem;
        overflow-y: auto;
    }

    .wb-bespoke-workspace.mobile-open {
        transform: translateY(0);
    }

    .wb-workspace-close-btn {
        display: block;
    }

    /* Dedicated Floating View Hamper Pill Button on Mobile */
    .wb-mobile-floating-bar {
        display: block;
    }

    /* Hide desktop bottom bar on mobile so floating pill takes clear priority */
    .wb-sticky-bottom-bar {
        display: none !important;
    }
}
