/* Home page (hero + steps) */

/* ==========================
   Home: Flower-template hero
   ========================== */

.hero {
    margin-top: 0;
    position: relative;

    /* slightly shorter + cleaner on desktop */
    height: clamp(280px, 48vh, 380px);
    border: 1px solid rgba(0, 0, 0, 0.10);

    overflow: hidden;
}

/* Video layer behind content */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay (keeps readability on top of video) */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.08) 100%),
        rgba(235, 232, 228, 0.10);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: absolute;
    left: clamp(18px, 6vw, 56px);
    right: clamp(18px, 6vw, 56px);
    top: 50%;
    transform: translateY(-50%);
    max-width: min(520px, 100%);
    z-index: 2;
}

.hero h1 {
    margin: 0 0 14px;
    font-family: var(--font-head);
    font-weight: 300;
    font-size: clamp(48px, 9vw, 88px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f7f7f7;
    line-height: 0.92;
}

.hero p {
    margin: 0 0 18px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.90);
}

.hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-ghost {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

.btn-ghost.btn-ghost-alt {
    border-color: rgba(255, 255, 255, 0.40);
    color: rgba(255, 255, 255, 0.90);
    background: rgba(255, 255, 255, 0.03);
}

/* ==========================
   Home: Featured products grid
   ========================== */

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(16px, 2.5vw, 22px);
    padding-bottom: 6px;
    margin-top: 14px;
}

.products .card {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.products .catalog-media {
    height: auto;
    aspect-ratio: 1 / 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: #fff;
}

.products .catalog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.products .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.products .card>img {
    aspect-ratio: 1 / 1;
}

/* ==========================
   Home: Banners
   ========================== */

.banners {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.banner {
    height: clamp(150px, 18vw, 180px);
    border: 1px solid rgba(0, 0, 0, 0.10);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.24);
}

.banner .txt {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(14px, 2.2vw, 18px);
    text-align: center;
    padding: 0 18px;
    z-index: 1;
}

.banner-1 {
    background-image: url("https://ik.imagekit.io/kw8awoqvwi/bossb-co/banners/event_styling.webp");
}

.banner-2 {
    background-image: url("https://ik.imagekit.io/kw8awoqvwi/bossb-co/banners/flower_arrangements.webp");
}

.banner-3 {
    background-image: url("https://ik.imagekit.io/kw8awoqvwi/bossb-co/banners/bridal_boquet.webp");
}

/* Steps */
.steps {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

/* ==========================
   Home: How it works (collapsible)
   ========================== */

.hiw {
    padding: 0;
    overflow: hidden;
}

.hiw-summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 18px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.hiw-summary::-webkit-details-marker {
    display: none;
}

.hiw-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.hiw-meta {
    font-size: 13px;
}

.hiw-body {
    border-top: 1px solid var(--border);
    padding: 16px 18px 18px;
}

.hiw[open] .hiw-summary {
    background: rgba(17, 17, 17, 0.02);
}

.hiw .steps {
    margin-top: 0;
}

/* ==========================
   Home: Delivery areas
   ========================== */

.delivery-areas-card {
    gap: 14px;
}

.delivery-notes {
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(17, 17, 17, 0.02);
    border-radius: 14px;
    padding: 12px;
}

.delivery-notes-title {
    font-family: var(--font-head);
    font-weight: 700;
    margin-bottom: 8px;
}

.delivery-notes-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    display: grid;
    gap: 6px;
}

/* Anchor jump */
#why-us {
    scroll-margin-top: 22px;
}

/* Trust + testimonials */

.trust-strip {
    display: grid;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-soft);
    padding: 14px;
}

.trust-item {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.trust-title {
    font-family: var(--font-head);
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-text {
    font-size: 14px;
    margin: 0;
}

.testimonials {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.testimonial .quote {
    margin: 0 0 10px;
    font-size: 15px;
}

.testimonial .who {
    margin: 0;
    font-size: 13px;
}

/* IMPORTANT: force hero to stay 1-column on desktop */
@media (min-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

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

    .trust-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

/* About page */

.about-grid {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.about-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.about-list li {
    margin: 8px 0;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-grid {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.contact-value {
    font-family: var(--font-head);
    font-weight: 700;
    margin-bottom: 6px;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

/* ==========================
   Bouquet detail page polish
   ========================== */

.detail {
    display: grid;
    gap: 14px;
}

.detail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.detail-title {
    margin: 0 0 6px;
}

.detail-sub {
    margin: 0;
    max-width: 70ch;
}

.detail-price {
    text-align: right;
    min-width: 200px;
}

/* NEW: two-column layout (image left, controls right) */
.detail-layout {
    display: grid;
    gap: 14px;
}

@media (min-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.detail-card {
    padding: 16px;
}

.detail-h {
    margin: 0 0 6px;
}

.detail-help {
    margin: 0 0 10px;
}

.detail-right {
    display: grid;
    gap: 14px;
}

/* Image preview: EXACT same visual concept as bouquet tiles (square) */
.bouquet-preview {
    padding: 0;
    overflow: hidden;
}

.bouquet-preview-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffffff;
}

.bouquet-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA */
.detail-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.detail-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.hint {
    max-width: 42ch;
}

/* ================================
   FIX: REMOVE ROUNDING ON DROPDOWNS
   (Size / Colour / Add-ons)
   ================================ */

.detail select,
.detail input[type="text"],
.detail input[type="date"],
.detail textarea {
    border-radius: 0 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.detail .detail-card,
.detail .detail-cta {
    border-radius: 0;
}

/* ==========================
   Bouquets catalog page
   ========================== */

.catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.catalog-controls {
    padding: 14px;
    margin-top: 14px;
}

.catalog-controls-grid {
    display: grid;
    gap: 12px;
}

.catalog-field {
    display: grid;
    gap: 6px;
}

.catalog-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.catalog-actions {
    display: flex;
    align-items: end;
}

.catalog-meta {
    margin-top: 10px;
    font-size: 13px;
}

@media (min-width: 900px) {
    .catalog-controls-grid {
        grid-template-columns: 1.4fr 0.8fr 0.8fr auto;
        align-items: end;
    }
}

.catalog-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.catalog-card {
    overflow: hidden;
    padding: 0;
}

.catalog-media {
    aspect-ratio: 1 / 1;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(240px 160px at 30% 40%, rgba(17, 17, 17, 0.06), transparent 70%),
        radial-gradient(240px 160px at 70% 60%, rgba(17, 17, 17, 0.04), transparent 72%),
        #ffffff;
    overflow: hidden;
}

.catalog-media.no-img {
    display: block;
}

.catalog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-body {
    padding: 16px;
    display: grid;
    gap: 10px;
}

.catalog-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.catalog-desc {
    margin: 0;
}

.catalog-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}