/* ==========================================================================
   MoonFlower - Premium Handmade Flower Boutique Stylesheet
   Palette: Soft Blush Pink, Pure White, Warm Cream, Deep Plum Accents
   ========================================================================== */

:root {
    /* Color Palette */
    --plum-900: #290818;
    --plum-800: #380D21;
    --plum-700: #4A152B; /* Primary Dark Accent */
    --plum-600: #68203F;
    --plum-500: #853155;
    
    --blush-50: #FFF9FA;
    --blush-100: #FDEEF0;
    --blush-200: #F7D9DC; /* Primary Soft Blush */
    --blush-300: #EDBCC2;
    --blush-400: #E09AA3;
    --blush-500: #D07884;
    
    --cream-50: #FFFEFD;
    --cream-100: #FAF7F5; /* Primary Warm Background */
    --cream-200: #F2ECE8;
    --cream-300: #E5DDD8;
    
    --white: #FFFFFF;
    --text-main: #2D2529; /* High contrast body text */
    --text-muted: #6B5B62;
    --text-light: #94828A;
    --border-light: #EDE4E7;
    --border-card: #EADCE0;
    
    --success: #1E824C;
    --success-bg: #E8F8F0;
    --warning: #D35400;
    --warning-bg: #FEF5E7;
    --error: #C0392B;
    --error-bg: #FDEDEC;
    
    /* WhatsApp Official Green */
    --wa-green: #25D366;
    --wa-green-hover: #1EBE5D;
    --wa-dark: #128C7E;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Radii */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(41, 8, 24, 0.04);
    --shadow-sm: 0 3px 8px rgba(41, 8, 24, 0.06);
    --shadow-md: 0 8px 24px rgba(41, 8, 24, 0.08);
    --shadow-lg: 0 16px 40px rgba(41, 8, 24, 0.12);
    --shadow-hover: 0 12px 30px rgba(74, 21, 43, 0.15);
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
    --header-mobile-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    background-color: var(--cream-100);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

img, svg, picture {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--plum-800);
    line-height: 1.25;
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.35rem); }
h3 { font-size: clamp(1.3rem, 1.8vw + 0.6rem, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}
p:last-child {
    margin-bottom: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Icons */
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px; /* Touch friendly */
    padding: 12px 26px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-plum {
    background: var(--plum-700);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(74, 21, 43, 0.25);
}
.btn-plum:hover {
    background: var(--plum-900);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 21, 43, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--plum-700);
    border-color: var(--border-light);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
    background: var(--blush-100);
    border-color: var(--blush-300);
    color: var(--plum-900);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--wa-green);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
    background: var(--wa-green-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-sm {
    min-height: 40px;
    padding: 8px 18px;
    font-size: 13.5px;
}

.btn-lg {
    min-height: 54px;
    padding: 14px 34px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Announcement Bar */
.announcement-bar {
    background: var(--plum-800);
    color: var(--blush-100);
    font-size: 13px;
    font-weight: 500;
    padding: 9px 16px;
    text-align: center;
    position: relative;
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
    gap: 12px;
}

.announcement-bar a.announcement-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    margin-left: 6px;
}
.announcement-bar a.announcement-link:hover {
    color: var(--blush-200);
}

/* Site Header */
.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Desktop Nav */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--plum-700);
    transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--plum-700);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
}

.header-wa-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.header-wa-label {
    display: inline;
}

.header-wa-suffix {
    display: inline;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--cream-100);
    border: 1px solid var(--border-light);
    color: var(--plum-800);
    cursor: pointer;
    border-radius: var(--radius-sm);
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-nav-toggle:hover {
    background: var(--blush-100);
    color: var(--plum-900);
}

.mobile-nav-toggle svg {
    width: 22px;
    height: 22px;
}

/* Mobile Off-canvas Nav */
body.nav-open {
    overflow: hidden;
    touch-action: none;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(41, 8, 24, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 82vw;
    height: 100%;
    height: 100dvh;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(41, 8, 24, 0.15);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
    background: var(--blush-50);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-800);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.drawer-close-btn:hover {
    background: var(--blush-200);
    color: var(--plum-900);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: auto;
    padding: 0;
}

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: var(--blush-50);
    color: var(--plum-800);
    font-weight: 700;
    border-left: 3px solid var(--plum-700);
    padding-left: 11px;
}

.mobile-drawer-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */

/* Hero Section */
.hero-section {
    padding: 64px 0 80px;
    background: linear-gradient(170deg, var(--blush-100) 0%, var(--cream-100) 55%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--white);
    border: 1px solid var(--blush-200);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--plum-700);
    margin-bottom: 20px;
    box-shadow: var(--shadow-xs);
}

.hero-title {
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-highlights {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-card);
    max-width: 100%;
}

.hero-highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-highlight-item .icon {
    color: var(--plum-600);
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border: 8px solid var(--white);
    width: 100%;
    max-width: 460px;
}

.hero-image-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: var(--blush-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-800);
}

.floating-text strong {
    display: block;
    font-size: 14px;
    color: var(--plum-900);
}
.floating-text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Section Common Styling */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 680px;
    width: 100%;
    margin: 0 auto 52px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.section-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--plum-600);
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 14px;
}

.section-lead {
    font-size: 16px;
    color: var(--text-muted);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blush-300);
}

.category-icon-box {
    width: 64px;
    height: 64px;
    background: var(--blush-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    margin-bottom: 16px;
    transition: background 0.3s ease;
}

.category-card:hover .category-icon-box {
    background: var(--blush-200);
}

.category-title {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--plum-800);
}

.category-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Product Cards Grid - Base Desktop: 4 columns */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blush-300);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--cream-100);
}

.product-image-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 2;
    pointer-events: none;
    max-width: 85%;
}

.badge-discount {
    background: var(--plum-700);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(74, 21, 43, 0.2);
    white-space: nowrap;
}

.badge-availability {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    text-transform: capitalize;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.badge-available {
    background: rgba(30, 130, 76, 0.95);
    color: var(--white);
}

.badge-made-to-order {
    background: rgba(211, 84, 0, 0.95);
    color: var(--white);
}

.badge-out-of-stock {
    background: rgba(120, 120, 120, 0.95);
    color: var(--white);
}

.product-info {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.product-category-name {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--plum-500);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.35;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

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

.product-title a:hover {
    color: var(--plum-700);
}

.product-sku {
    font-size: 11.5px;
    color: var(--text-light);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--plum-800);
    letter-spacing: -0.2px;
}

.regular-price-crossed {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    width: 100%;
}

.btn-card-wa {
    width: 100%;
    min-height: 42px;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    gap: 8px;
}

.btn-card-wa .card-wa-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.card-wa-label {
    display: inline;
}

.card-wa-suffix {
    display: inline;
}

.card-inquiry-desktop {
    display: inline;
}

.card-inquiry-mobile {
    display: none;
}

.btn-card-inquiry,
.btn-order-inquiry {
    background: #128C7E;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(18, 140, 126, 0.35);
}

.btn-card-inquiry:hover,
.btn-order-inquiry:hover {
    background: #0d7468;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.45);
}

/* Brand Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.benefit-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: var(--shadow-xs);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--blush-100);
    color: var(--plum-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.benefit-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--plum-800);
}

.benefit-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Custom Bouquet Section */
.custom-bouquet-box {
    background: linear-gradient(135deg, var(--blush-100) 0%, var(--white) 100%);
    border: 1px solid var(--blush-200);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.custom-bouquet-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0 32px;
}

.custom-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--plum-800);
}
.custom-feat-item .icon {
    color: var(--plum-600);
}

.custom-bouquet-preview {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 6px solid var(--white);
}

.custom-bouquet-preview img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* WhatsApp Banner Section */
.cta-banner {
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-900) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 14px;
}

.cta-banner p {
    color: var(--blush-100);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 28px;
    opacity: 0.95;
}

/* ==========================================================================
   Shop Page & Filters
   ========================================================================== */

.shop-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-bottom: 36px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.category-pills-wrapper {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-btn {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    background: var(--cream-100);
    color: var(--text-main);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.pill-btn:hover {
    background: var(--blush-100);
    color: var(--plum-700);
}

.pill-btn.active {
    background: var(--plum-700);
    color: var(--white);
}

.shop-counter {
    font-size: 14px;
    color: var(--text-muted);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-card);
}
.empty-state-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    color: var(--blush-400);
}

/* ==========================================================================
   Product Details Page
   ========================================================================== */

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 52px;
    align-items: start;
    margin-bottom: 64px;
}

/* Gallery */
.gallery-wrapper {
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 100%;
    display: block;
}

.main-image-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-100);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    display: block;
}

.main-image-viewport img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.thumbnail-item {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    background: var(--white);
    transition: all 0.2s ease;
}

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

.thumbnail-item.active {
    border-color: var(--plum-700);
    box-shadow: var(--shadow-sm);
}

/* Detail Info */
.detail-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.detail-sku {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.detail-title {
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    margin-bottom: 16px;
}

.detail-price-card {
    background: var(--blush-50);
    border: 1px solid var(--blush-200);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.detail-current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--plum-900);
}

.detail-regular-price {
    font-size: 20px;
    color: var(--text-light);
    text-decoration: line-through;
}

.detail-discount-badge {
    background: var(--plum-700);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.detail-short-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Delivery Informational Box */
.delivery-info-pill {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 28px;
}

.delivery-pill-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--plum-800);
    margin-bottom: 8px;
}

.delivery-rates {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.free-delivery-tag {
    margin-top: 8px;
    display: inline-block;
    background: var(--blush-100);
    color: var(--plum-800);
    font-size: 12.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

/* WhatsApp Order Controls */
.order-controls-box {
    background: var(--white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.quantity-control label {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-main);
}

.qty-counter {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    background: var(--cream-100);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-800);
    transition: background 0.2s ease;
}

.qty-btn:hover {
    background: var(--blush-200);
}

.qty-input {
    width: 44px;
    text-align: center;
    font-weight: 600;
    border: none;
    background: transparent;
}

.qty-input:focus {
    outline: none;
}

.order-whatsapp-btn {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
}

.whatsapp-instruction {
    text-align: center;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Product Tabs / Details */
.detail-full-description {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px;
    line-height: 1.8;
}

.detail-full-description h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(41, 8, 24, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox-modal.open {
    display: flex;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}
.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

/* ==========================================================================
   About & Contact Pages
   ========================================================================== */

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.story-grid-reversed {
    grid-template-columns: 0.9fr 1.1fr;
}

.story-content h2 {
    margin-bottom: 18px;
}
.story-content p {
    font-size: 16.5px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.story-image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-md);
}

.story-image-card img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--blush-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    flex-shrink: 0;
}

.contact-item-text strong {
    display: block;
    font-size: 15px;
    color: var(--plum-900);
    margin-bottom: 4px;
}
.contact-item-text a, .contact-item-text span {
    font-size: 14.5px;
    color: var(--text-muted);
}
.contact-item-text a:hover {
    color: var(--plum-700);
    text-decoration: underline;
}

.social-links-row {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cream-100);
    color: var(--plum-800);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    transition: all 0.25s ease;
}

.social-btn:hover {
    background: var(--plum-700);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Custom Order Inquiry Form/Box on Contact Page */
.custom-inquiry-box {
    background: linear-gradient(145deg, var(--blush-50), var(--white));
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--blush-200);
    box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--plum-900);
    color: var(--blush-100);
    margin-top: auto;
    padding-top: 64px;
    border-top: 3px solid var(--plum-700);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 42px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    color: #DFCDD4;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #DFCDD4;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #DFCDD4;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item .icon {
    color: var(--blush-300);
    margin-top: 2px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: var(--wa-green);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    font-size: 13.5px;
    color: #BDA6B0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-credit a {
    color: var(--blush-200);
    font-weight: 600;
    text-decoration: underline;
}

.footer-credit a:hover {
    color: var(--white);
}

/* ==========================================================================
   Floating WhatsApp Button (Base Desktop)
   ========================================================================== */

.floating-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 1010;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    text-decoration: none;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
    color: #FFFFFF;
}

.floating-whatsapp-btn:active {
    transform: scale(0.96);
}

.floating-whatsapp-btn .whatsapp-float-svg {
    width: 32px;
    height: 32px;
    fill: #FFFFFF;
}

/* ==========================================================================
   Responsive Breakpoints & Comprehensive Mobile System
   Breakpoints: 1100px, 1024px, 860px, 720px, 600px, 340px
   ========================================================================== */

/* Laptop / Smaller Desktop (<= 1100px) */
@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-highlights {
        justify-content: center;
    }
    .hero-floating-card {
        left: 10px;
        bottom: -15px;
    }
    .product-detail-layout {
        grid-template-columns: 100%;
        gap: 32px;
        width: 100%;
    }
    .gallery-wrapper {
        position: static;
        width: 100%;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .story-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Medium Tablet & Header Navigation Switch (<= 860px) */
@media (max-width: 860px) {
    .nav-desktop {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .header-wa-suffix {
        display: none;
    }
    .header-wa-btn {
        padding: 6px 12px;
        font-size: 13px;
        min-height: 38px;
    }
    /* Strictly 2 products per row on tablet screens */
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .custom-bouquet-box {
        grid-template-columns: 1fr;
        padding: 36px 24px;
        gap: 32px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Standard Mobile Devices (<= 600px) - iPhone (375px, 390px, 393px, 414px, 430px) & Android (360px - 480px) */
@media (max-width: 600px) {
    :root {
        --header-height: 58px;
    }
    .container {
        padding-left: 14px;
        padding-right: 14px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .section {
        padding: 36px 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .section-header {
        margin: 0 auto 28px;
        width: 100%;
        max-width: 100%;
        padding: 0 4px;
        box-sizing: border-box;
    }

    /* Mobile Header */
    .header-inner {
        gap: 8px;
    }
    .header-logo img {
        height: 34px;
        max-width: 135px;
    }
    .header-actions {
        gap: 8px;
    }
    .header-wa-btn {
        padding: 6px 10px;
        font-size: 12.5px;
        min-height: 36px;
        gap: 5px;
    }
    .header-wa-icon {
        width: 16px;
        height: 16px;
    }
    .mobile-nav-toggle {
        width: 36px;
        height: 36px;
    }
    .mobile-nav-toggle svg {
        width: 20px;
        height: 20px;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 24px 0 36px;
    }
    .hero-title {
        font-size: clamp(1.75rem, 6.5vw, 2.2rem);
    }
    .hero-description {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-image-card img {
        height: 260px;
    }
    .hero-floating-card {
        display: none;
    }
    .hero-highlights {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        gap: 8px;
        margin-top: 20px;
    }
    .hero-highlight-item {
        font-size: 12px;
        padding: 5px 10px;
        flex: 0 1 auto;
    }

    /* 2 PRODUCTS PER ROW ON MOBILE — ENFORCED FOR HOME, SHOP, CATEGORY & RELATED */
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    /* Dedicated Mobile Product Card */
    .product-card {
        border-radius: var(--radius-sm);
    }
    .product-image-wrap {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
    .product-info {
        padding: 8px 8px 10px;
    }
    .product-badges {
        top: 6px;
        left: 6px;
        gap: 3px;
        max-width: 90%;
    }
    .badge-discount {
        font-size: 9.5px;
        padding: 2px 6px;
    }
    .badge-availability {
        font-size: 8.5px;
        padding: 1.5px 5px;
    }
    .product-category-name {
        font-size: 10px;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }
    .product-title {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 4px;
        min-height: 2.6em;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-sku {
        font-size: 10px;
        margin-bottom: 4px;
    }
    .product-price-row {
        gap: 4px;
        margin-top: auto;
        margin-bottom: 8px;
    }
    .current-price {
        font-size: 14.5px;
        font-weight: 700;
    }
    .regular-price-crossed {
        font-size: 11px;
    }
    .btn-card-wa {
        min-height: 36px;
        padding: 6px 8px;
        font-size: 12px;
        gap: 5px;
        border-radius: var(--radius-sm);
        white-space: nowrap;
        justify-content: center;
    }
    .btn-card-wa .card-wa-icon {
        width: 15px;
        height: 15px;
    }
    .card-wa-suffix {
        display: none !important;
    }
    .card-inquiry-desktop {
        display: none !important;
    }
    .card-inquiry-mobile {
        display: inline !important;
    }

    /* Mobile Shop Page Filter Chips */
    .shop-filter-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 10px;
        padding: 4px 0 0;
        background: transparent;
        border: none;
        margin-bottom: 18px;
        box-sizing: border-box;
    }
    .category-pills-wrapper {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0;
        padding: 2px 0 6px 0;
    }
    .category-pills-wrapper::-webkit-scrollbar {
        display: none;
    }
    .category-pills {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        min-width: 0;
        gap: 8px;
        margin: 0;
        padding: 0 16px 0 0;
    }
    /* Fallback if category-pills is used directly without wrapper */
    .shop-filter-bar > .category-pills {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0;
        padding: 2px 0 6px 0;
    }
    .category-pills::-webkit-scrollbar {
        display: none;
    }
    .pill-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 13px;
        padding: 7px 15px;
        border-radius: var(--radius-full);
    }
    .shop-counter {
        font-size: 12px;
        text-align: right;
        color: var(--text-muted);
        width: 100%;
    }

    /* Mobile Product Detail — GUARANTEED NON-COLLAPSING IMAGE */
    .product-detail-layout {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-bottom: 36px;
    }
    .gallery-wrapper {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: block;
    }
    .main-image-viewport {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        min-height: 280px;
        max-height: 85vw;
        border-radius: var(--radius-md);
        overflow: hidden;
        background: var(--cream-100);
        display: block;
    }
    .main-image-viewport img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .thumbnail-row {
        display: flex;
        gap: 8px;
        margin-top: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .thumbnail-row::-webkit-scrollbar {
        display: none;
    }
    .thumbnail-item {
        width: 58px;
        height: 58px;
        border-radius: var(--radius-sm);
        flex-shrink: 0;
    }
    .detail-title {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 12px;
    }
    .detail-price-card {
        padding: 12px 14px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 10px;
        margin-bottom: 18px;
    }
    .detail-current-price {
        font-size: 24px;
    }
    .detail-regular-price {
        font-size: 16px;
    }
    .detail-short-desc {
        font-size: 14.5px;
        margin-bottom: 20px;
    }
    .delivery-info-pill {
        padding: 12px 14px;
        margin-bottom: 20px;
    }
    .delivery-pill-header {
        font-size: 13.5px;
        margin-bottom: 6px;
    }
    .delivery-rates {
        gap: 12px;
        font-size: 12.5px;
    }
    .free-delivery-tag {
        font-size: 11.5px;
        padding: 2px 8px;
        margin-top: 6px;
    }
    .order-controls-box {
        padding: 16px 14px;
        margin-bottom: 24px;
    }
    .quantity-control {
        justify-content: space-between;
        margin-bottom: 16px;
    }
    .order-whatsapp-btn {
        min-height: 48px;
        font-size: 15px;
    }
    .detail-full-description {
        padding: 20px 16px;
    }

    /* Category Cards Mobile */
    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .category-card {
        padding: 16px 12px;
    }
    .category-icon-box {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
    }
    .category-title {
        font-size: 14px;
    }
    .category-desc {
        font-size: 11.5px;
        line-height: 1.4;
    }

    /* Benefits Grid Mobile */
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .benefit-card {
        padding: 16px 12px;
    }
    .benefit-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 10px;
    }
    .benefit-title {
        font-size: 13.5px;
        margin-bottom: 4px;
    }
    .benefit-desc {
        font-size: 11.5px;
        line-height: 1.4;
    }

    /* Custom Bouquet Box Mobile */
    .custom-bouquet-box {
        padding: 22px 14px;
    }
    .custom-bouquet-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Floating WhatsApp Button Mobile with iOS Safe Area */
    .floating-whatsapp-btn {
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        right: 16px;
        width: 48px;
        height: 48px;
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    }
    .floating-whatsapp-btn .whatsapp-float-svg {
        width: 24px;
        height: 24px;
    }

    /* Announcement Bar Mobile */
    .announcement-bar {
        font-size: 11.5px;
        padding: 5px 10px;
    }
}

/* Very Narrow Mobile (<= 340px) e.g. Galaxy Fold cover screen */
@media (max-width: 340px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px;
    }
    .product-info {
        padding: 6px 5px 8px;
    }
    .product-title {
        font-size: 11.5px;
    }
    .current-price {
        font-size: 13px;
    }
    .regular-price-crossed {
        font-size: 10px;
    }
    .btn-card-wa {
        font-size: 11px;
        padding: 4px 5px;
        min-height: 34px;
        gap: 3px;
    }
    .btn-card-wa .card-wa-icon {
        width: 13px;
        height: 13px;
    }
    .header-inner {
        gap: 4px;
    }
    .header-actions {
        gap: 4px;
    }
    .header-logo img {
        height: 28px;
        max-width: 110px;
    }
    .header-wa-btn {
        padding: 4px 6px;
        font-size: 11px;
        min-height: 32px;
        gap: 3px;
    }
    .mobile-nav-toggle {
        width: 32px;
        height: 32px;
    }
}

/* ==========================================================================
   Custom Bouquet Studio & Demo Catalog Components
   ========================================================================== */

/* Badges */
.badge-customizable {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #68203F, #380D21);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 6px rgba(56, 13, 33, 0.25);
}

.price-on-request {
    font-size: 17px !important;
    font-weight: 700;
    color: var(--plum-700);
    letter-spacing: -0.2px;
}

.custom-price-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-on-request-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0 0;
    line-height: 1.45;
}

/* Category Intro Banner in shop.php */
.custom-category-banner {
    background: linear-gradient(135deg, #FDEEF0 0%, #FAF7F5 100%);
    border: 1px solid var(--blush-300);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.custom-category-banner::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(237, 188, 194, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.custom-cat-banner-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--plum-800);
    margin: 10px 0 8px 0;
}

.custom-cat-banner-content p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.5;
    max-width: 650px;
    margin-bottom: 18px;
}

/* Custom Bouquet Studio Card on Product Detail */
.custom-studio-card {
    background: var(--white);
    border: 1.5px solid var(--blush-200);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
}

.custom-studio-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.custom-studio-header .icon-sparkle {
    width: 28px;
    height: 28px;
    color: var(--plum-600);
    flex-shrink: 0;
}

.custom-studio-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--plum-900);
    margin: 0 0 2px 0;
}

.custom-studio-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}

.custom-field-group {
    margin-bottom: 20px;
}

.custom-field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.custom-field-label .required-star {
    color: var(--error);
    font-weight: 700;
}

.custom-field-hint {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 4px;
}

/* Interactive Chips Grid */
.custom-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream-50);
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 13.5px;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    min-height: 42px;
    position: relative;
}

.custom-chip:hover {
    border-color: var(--blush-400);
    background: var(--blush-50);
}

.custom-chip.active {
    background: var(--blush-100);
    border-color: var(--plum-600);
    color: var(--plum-900);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(104, 32, 63, 0.12);
}

.custom-chip input[type="checkbox"],
.custom-chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.chip-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--text-light);
    color: transparent;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.custom-chip.active .chip-check-icon {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: #FFFFFF;
}

.chip-check-icon .icon-check {
    width: 12px;
    height: 12px;
}

/* Color Swatches */
.color-swatch-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}

/* 2-Column Row */
.custom-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.custom-qty-counter {
    max-width: 140px;
}

/* Inputs & Selects */
.custom-select,
.custom-input,
.custom-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select:focus,
.custom-input:focus,
.custom-textarea:focus {
    outline: none;
    border-color: var(--plum-600);
    box-shadow: 0 0 0 3px rgba(104, 32, 63, 0.1);
}

.custom-textarea {
    resize: vertical;
    min-height: 60px;
}

/* Error Banner */
.custom-builder-error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--error-bg);
    border: 1px solid #E6B0AA;
    color: var(--error);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 18px;
    animation: fadeInError 0.25s ease;
}

.custom-builder-error .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-order-controls {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.btn-card-customize {
    background: linear-gradient(135deg, var(--plum-700), var(--plum-900)) !important;
    color: #FFFFFF !important;
}

.btn-card-customize:hover {
    background: linear-gradient(135deg, var(--plum-600), var(--plum-800)) !important;
}

/* Mobile Adjustments for Studio Builder */
@media (max-width: 768px) {
    .custom-studio-card {
        padding: 16px 14px;
        margin-top: 18px;
    }
    .custom-row-2col {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .custom-qty-counter {
        max-width: 100%;
    }
    .custom-chip {
        font-size: 13px;
        padding: 8px 12px;
        min-height: 44px; /* Ensure 44px touch target on mobile */
    }
    .custom-category-banner {
        padding: 18px 16px;
    }
    .custom-cat-banner-content h2 {
        font-size: 20px;
    }
    .shop-filter-bar {
        min-width: 0;
        max-width: 100%;
    }
    .category-pills-wrapper {
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
}

