@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'SloopScriptPro';
    src: url('../fonts/sloop-script-pro-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Theseasons family (weights and italics) */
@font-face {
    font-family: 'Theseasons';
    src: url('../fonts/fonnts.com-theseasons-reg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../fonts/fonnts.com-theseasons-it.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../fonts/fonnts.com-theseasons-lt.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../fonts/fonnts.com-theseasons-ltit.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../fonts/fonnts.com-theseasons-bd.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../fonts/fonnts.com-theseasons-bdit.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
    --light-pink: #F8C5F6;
    --dusty-pink: #CA8EB6;
    --hard-pink: #FF1167;
    --light-blue: #BFEFE4;
    --dusty-blue: #B0D7CC;
    --hard-blue: #1C98ED;
    --light-peach: #E8B4A3;
    --charcoal: #060A0E;
    --light-charcoal: #1C1F21;
    --hard-yellow: #FFEB38;
    --dusty-charcoal: #182736;
    --hard-white: #FFFFFF;
    --silver: #626C76;
}

body {
    background-color: var(--hard-white);
    color: var(--charcoal);
    font-family: 'Theseasons', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Ensure all semantic headings use the SloopScriptPro display font; body and UI use Theseasons */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'SloopScriptPro', cursive;
}

.hero {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 62%), url('../images/flowerfoundry-hero4.png');
    height: 100vh;
    background-size: cover;
    background-position: center center;
    justify-content: center;
    display: flex;
    align-items: center;
    text-align: center;
}

@media (min-width: 1500px) {
    .hero {
        height: 90vh;
    }
}

.hero .hero-content {
    margin-top: -90px;
}

.hero .hero-content .hero-title {
    font-family: 'Theseasons', sans-serif;
    color: var(--hard-white);
    font-size: 100px;
    font-weight: 700;
    margin-top: -50px;
    margin-left: 250px;
}

.hero .hero-content .hero-title1 span {
    font-family: 'SloopScriptPro';
    color: var(--hard-white);
    font-size: 180px;
    font-weight: 700;
    margin-left: -80px;
}

.hero .hero-content .hero-description {
    font-family: 'Theseasons', sans-serif;
    color: var(--hard-white);
    font-size: 24px;
    font-weight: 400;
    padding-bottom: 20px;
}

.hero .hero-content .shop-btn {
    padding: 15px 30px;
    background-color: var(--hard-white);
    color: var(--light-charcoal);
    text-decoration: none;
    font-size: 18px;
    border-radius: 15px;
    border: 1px solid var(--hard-white);
    font-weight: 600;
}

.hero .hero-content .shop-btn:hover {
    background-color: var(--light-peach);
    color: var(--hard-white);
    border: 1px solid var(--light-peach);
    transition: background-color 0.5s, color 0.5s, border 0.5s;
}

.hero .hero-content .hero-search {
    width: min(720px, 92vw);
    margin: 18px auto 0;
    display: flex;
    align-items: center;
    background-color: var(--hard-white);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero .hero-content .hero-search-input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 12px 18px;
    font-family: 'Theseasons', sans-serif;
    font-size: 20px;
    color: var(--dusty-charcoal);
    background-color: transparent;
}

.hero .hero-content .hero-search-input::placeholder {
    color: var(--silver);
}

.hero .hero-content .hero-search-btn {
    border: 0;
    background: transparent;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hero .hero-content .hero-search-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.hero .hero-content .hero-search:focus-within {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(191, 239, 228, 0.55);
}

.section-divider1 {
    background-color: var(--light-peach);
    border-top: 1px solid var(--light-peach);
    border-bottom: 1px solid var(--light-peach);
    padding: 18px 0;
    overflow: hidden;
    margin-top: -90px;
}

.section-divider1 .divider-track {
    width: 100%;
    overflow: hidden;
}

.section-divider1 .divider-marquee {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: divider-scroll 22s linear infinite;
}

.section-divider1 .divider-group {
    display: flex;
    align-items: center;
}

.section-divider1 .divider-item {
    font-family: 'Theseasons', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--dusty-charcoal);
    text-transform: uppercase;
    white-space: nowrap;
}

.section-divider1 .divider-accent {
    font-family: 'SloopScriptPro', cursive;
    font-weight: 600;
    font-size: 40px;
    letter-spacing: 0;
    color: var(--light-charcoal);
    text-transform: none;
}

.section-divider1 .divider-sep {
    padding: 0 18px;
    color: var(--dusty-charcoal);
    font-size: 18px;
    line-height: 1;
}

@keyframes divider-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-divider1 .divider-marquee {
        animation: none;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero .hero-content .hero-search-input {
        font-size: 18px;
        padding: 10px 14px;
    }

    .hero .hero-content .hero-search-icon {
        width: 20px;
        height: 20px;
    }
}

.categories {
    padding: 70px 0 30px;
}

.categories-title {
    margin: 0 0 26px;
    text-align: center;
    font-family: 'Theseasons', sans-serif;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--dusty-pink);
}

.categories-grid {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.category-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.category-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    fill: var(--hard-white);
}

.category-label {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    background-color: var(--light-peach);
    color: var(--hard-white);
    font-family: 'Theseasons', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 30px;
}

@media (max-width: 992px) {
    .categories {
        padding: 60px 0 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-image {
        height: 300px;
    }
}

.top-sellers {
    padding: 80px 20px 95px;
    position: relative;
    background-image: url('../images/top-selling.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    margin-top: -30px;
    overflow: hidden;
}

.top-sellers-flowers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.top-sellers-flower {
    position: absolute;
    width: 52px;
    height: 52px;
    object-fit: contain;
    opacity: 0.95;
}

.top-sellers-header,
.top-sellers .products-container {
    position: relative;
    z-index: 1;
}

/* Random-ish placement */
.top-sellers-flower.flower-1 {
    left: 6%;
    top: 10%;
    width: 58px;
    height: 58px;
    transform: rotate(-10deg);
}

.top-sellers-flower.flower-2 {
    left: 22%;
    top: 18%;
    width: 46px;
    height: 46px;
    transform: rotate(12deg);
}

.top-sellers-flower.flower-3 {
    left: 41%;
    top: 2%;
    width: 62px;
    height: 62px;
    transform: rotate(-6deg);
}

.top-sellers-flower.flower-4 {
    left: 64%;
    top: 22%;
    width: 48px;
    height: 48px;
    transform: rotate(18deg);
}

.top-sellers-flower.flower-5 {
    left: 76%;
    top: 14%;
    width: 60px;
    height: 60px;
    transform: rotate(-14deg);
}

.top-sellers-flower.flower-6 {
    left: 92%;
    top: 20%;
    width: 44px;
    height: 44px;
    transform: rotate(8deg);
}

.top-sellers-flower.flower-7 {
    left: 10%;
    top: 36%;
    width: 52px;
    height: 52px;
    transform: rotate(16deg);
}

.top-sellers-flower.flower-8 {
    left: 30%;
    top: 48%;
    width: 42px;
    height: 42px;
    transform: rotate(-8deg);
}

.top-sellers-flower.flower-9 {
    left: 52%;
    top: 38%;
    width: 50px;
    height: 50px;
    transform: rotate(10deg);
}

.top-sellers-flower.flower-10 {
    left: 66%;
    top: 44%;
    width: 56px;
    height: 56px;
    transform: rotate(-12deg);
}

.top-sellers-flower.flower-11 {
    left: 84%;
    top: 52%;
    width: 44px;
    height: 44px;
    transform: rotate(14deg);
}

.top-sellers-flower.flower-12 {
    left: 46%;
    top: 30%;
    width: 40px;
    height: 40px;
    transform: rotate(-18deg);
}

.top-sellers-header {
    margin: 0 0 34px;
    text-align: center;
}

.top-sellers-kicker {
    margin: 0;
    font-family: 'Theseasons', sans-serif;
    font-size: 44px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--hard-white);
}

.top-sellers-title {
    margin: -8px 0 0;
    font-family: 'SloopScriptPro', cursive;
    font-size: 120px;
    font-weight: 400;
    line-height: 0.95;
    color: var(--hard-pink);
}


.top-sellers .products-container {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
    justify-content: center;
}

.top-sellers .product-card {
    border: 0;
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(6, 10, 14, 0.10);
    overflow: hidden;
}

.top-sellers .product-card .card-body {
    text-align: center;
    padding: 18px 18px 16px;
}

.top-sellers .product-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 16px 0;
    background: linear-gradient(180deg, var(--hard-white), var(--hard-white));
}

.top-sellers .product-img {
    width: 100%;
    height: 210px;
    border-radius: 18px;
    object-fit: cover;
    background: var(--light-blue);
    border: 0;
    box-shadow: 0 10px 20px rgba(6, 10, 14, 0.08);
}

.top-sellers .product-card .card-title {
    font-family: 'Theseasons', sans-serif;
    font-weight: 700;
    color: var(--dusty-charcoal);
}

.top-sellers .availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-sellers .availability .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--hard-blue);
}

.top-sellers .price {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    color: var(--dusty-charcoal);
}

.top-sellers .btn.btn-cart {
    border-radius: 999px;
    background: var(--hard-pink);
    border: 1px solid var(--hard-pink);
    color: var(--hard-white);
    font-family: 'Theseasons', sans-serif;
    font-weight: 700;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.top-sellers .btn.btn-cart:hover {
    background: var(--hard-blue);
    color: var(--dusty-charcoal);
    border-color: var(--hard-blue);
}

@media (max-width: 992px) {
    .top-sellers {
        padding: 60px 20px;
    }

    .top-sellers-flower {
        width: 44px;
        height: 44px;
    }

    .top-sellers-kicker {
        font-size: 34px;
    }

    .top-sellers-title {
        font-size: 86px;
    }

    .top-sellers .products-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .top-sellers .product-img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .top-sellers .products-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .top-sellers .products-container {
        grid-template-columns: minmax(0, 320px);
    }

    .top-sellers .product-img {
        height: 200px;
    }
}

/* Scoped styling for the delivery-address modal to match the site theme */
.delivery-modal .modal-content {
    border-radius: 18px;
    border: 1px solid rgba(6, 10, 14, 0.08);
    box-shadow: 0 18px 55px rgba(6, 10, 14, 0.25);
    overflow: hidden;
    background: var(--hard-white);
    color: var(--charcoal);
    font-family: 'Roboto Condensed', sans-serif !important;
}

.delivery-modal .modal-header {
    background: var(--light-peach);
    border-bottom: 0;
    padding: 16px 18px;
}

.delivery-modal .modal-title {
    margin: 0;
    color: var(--hard-white);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.delivery-modal .btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 0.95;
}

.delivery-modal .modal-body {
    padding: 18px;
}

.delivery-modal .form-label {
    color: var(--dusty-charcoal);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.delivery-modal .form-control {
    border-radius: 12px;
    border: 1px solid rgba(6, 10, 14, 0.16);
    padding: 12px 14px;
    font-size: 18px;
    color: var(--dusty-charcoal);
}

.delivery-modal .form-control:focus {
    border-color: var(--dusty-blue);
    box-shadow: 0 0 0 3px rgba(191, 239, 228, 0.55);
}

.delivery-modal .form-text {
    color: var(--silver);
}

.delivery-modal .modal-footer {
    border-top: 0;
    padding: 0 18px 18px;
    gap: 10px;
}

.delivery-modal .btn {
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.delivery-modal .btn.btn-primary {
    background: var(--dusty-pink);
    border-color: var(--dusty-pink);
}

.delivery-modal .btn.btn-primary:hover,
.delivery-modal .btn.btn-primary:focus {
    background: var(--hard-pink);
    border-color: var(--hard-pink);
}

.delivery-modal .btn.btn-secondary {
    background: transparent;
    color: var(--dusty-charcoal);
    border-color: rgba(6, 10, 14, 0.22);
}

.delivery-modal .btn.btn-secondary:hover,
.delivery-modal .btn.btn-secondary:focus {
    background: rgba(6, 10, 14, 0.06);
    color: var(--dusty-charcoal);
    border-color: rgba(6, 10, 14, 0.28);
}