/* ==========================================================
   CHANT M STAGE 8
   OCCASIONS / SHOP / WOOCOMMERCE
   ========================================================== */

/* TOP BAR */

.chant-topbar {
    background:#c76f75;
    color:white;
}

.chant-topbar span {
    opacity:.52;
}


/* ==========================================================
   OCCASIONS
   ========================================================== */

.cm8-occasions-hero {
    padding:115px 0 100px;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(237,198,230,.90),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fffaf7,
            #fff3fb
        );
}

.cm8-occasion-hero-copy {
    max-width:830px;
}

.cm8-occasion-hero-copy h1 {
    font-size:clamp(60px,8vw,105px);
    letter-spacing:-.045em;
}

.cm8-occasion-hero-copy p {
    max-width:620px;
    color:#756b72;
    font-size:18px;
}

.cm8-occasion-list {
    display:grid;
    gap:25px;
}

.cm8-big-occasion {
    display:grid;
    grid-template-columns:1.08fr .92fr;
    min-height:380px;
    overflow:hidden;
    border:1px solid rgba(69,43,62,.10);
    border-radius:30px;
    background:white;
    transition:.3s ease;
}

.cm8-big-occasion:hover {
    transform:translateY(-5px);
    box-shadow:0 28px 75px rgba(59,33,50,.09);
}

.cm8-big-occasion:nth-child(even) {
    grid-template-columns:.92fr 1.08fr;
}

.cm8-big-occasion:nth-child(even)
.cm8-big-occasion-image {
    order:2;
}

.cm8-big-occasion-image {
    position:relative;
    min-height:380px;
    background-size:cover;
    background-position:center;
}

.cm8-big-occasion-image:after {
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(24,15,21,.17)
        );
}

.cm8-occasion-index {
    position:absolute;
    z-index:2;
    left:27px;
    top:27px;
    width:47px;
    height:47px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(8px);
    font-size:10px;
    font-weight:700;
    letter-spacing:.12em;
}

.cm8-big-occasion-copy {
    padding:55px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.cm8-big-occasion-copy > small {
    color:#a36f94;
    text-transform:uppercase;
    letter-spacing:.13em;
    font-size:9px;
    font-weight:700;
}

.cm8-big-occasion-copy h2 {
    margin:8px 0 12px;
    font-size:48px;
}

.cm8-big-occasion-copy p {
    max-width:440px;
    color:#756b72;
}

.cm8-arrow-link {
    margin-top:15px;
    font-size:11px;
    font-weight:700;
}

.cm8-custom-event {
    padding-top:20px;
}

.cm8-custom-event-inner {
    padding:60px;
    border-radius:34px;
    color:white;
    background:#171317;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}

.cm8-custom-event-inner h2 {
    max-width:650px;
}

.cm8-custom-event-inner p {
    max-width:600px;
    color:rgba(255,255,255,.62);
}


/* ==========================================================
   SINGLE OCCASION
   ========================================================== */

.cm8-single-hero {
    padding:75px 0 30px;
    background:#fffaf7;
}

.cm8-single-hero-grid {
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:60px;
    align-items:center;
}

.cm8-single-copy {
    padding:45px 0;
}

.cm8-back-link {
    display:inline-block;
    margin-bottom:40px;
    color:#867980;
    font-size:11px;
    font-weight:700;
}

.cm8-single-copy h1 {
    font-size:clamp(58px,7vw,92px);
    letter-spacing:-.045em;
}

.cm8-single-copy > p {
    max-width:560px;
    color:#736970;
    font-size:17px;
}

.cm8-single-meta {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:30px;
}

.cm8-single-meta span {
    padding:9px 13px;
    border-radius:999px;
    background:white;
    border:1px solid rgba(69,43,62,.10);
    font-size:10px;
    font-weight:700;
}

.cm8-single-image {
    min-height:520px;
    border-radius:36px;
    background:
        linear-gradient(
            145deg,
            #eed2e5,
            #f5e4d7
        );
    background-size:cover;
    background-position:center;
    box-shadow:0 30px 80px rgba(63,36,55,.11);
}

.cm8-products-heading {
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
    margin-bottom:38px;
}

.cm8-products-heading h2 {
    margin-bottom:0;
}

.cm8-products-heading > span {
    color:#8a7b84;
    font-size:11px;
}

.cm8-empty-collection {
    min-height:340px;
    padding:55px;
    display:grid;
    grid-template-columns:100px 1fr;
    gap:35px;
    align-items:center;
    border:1px solid rgba(67,42,60,.10);
    border-radius:30px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(237,198,230,.34),
            transparent 28%
        ),
        white;
}

.cm8-empty-heart {
    width:90px;
    height:90px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    color:#edc6e6;
    background:#171317;
    font-size:40px;
}

.cm8-empty-collection small {
    color:#a27095;
    font-size:9px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.cm8-empty-collection h2 {
    margin:6px 0 8px;
}

.cm8-empty-collection p {
    color:#756b72;
}


/* ==========================================================
   SHOP
   ========================================================== */

.cm8-shop-hero {
    padding:80px 0 25px;
    background:#fffaf7;
}

.cm8-shop-hero-grid {
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:60px;
    align-items:center;
}

.cm8-shop-hero-copy h1 {
    font-size:clamp(60px,7vw,95px);
    letter-spacing:-.045em;
}

.cm8-shop-hero-copy > p {
    max-width:580px;
    color:#756b72;
    font-size:17px;
}

.cm8-shop-reassurance {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:28px;
}

.cm8-shop-reassurance span {
    padding:9px 14px;
    border-radius:999px;
    border:1px solid rgba(68,42,61,.10);
    background:white;
    font-size:10px;
    font-weight:700;
}

.cm8-shop-hero-image {
    min-height:480px;
    border-radius:34px;
    background:
        linear-gradient(
            145deg,
            #efd2e6,
            #f7e4d6
        );
    background-size:cover;
    background-position:center;
    box-shadow:0 30px 75px rgba(59,33,51,.11);
}

.cm8-shop-categories {
    padding-bottom:40px;
}

.cm8-shop-category-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.cm8-shop-category {
    overflow:hidden;
    border-radius:25px;
    background:white;
    border:1px solid rgba(67,42,60,.10);
    transition:.3s;
}

.cm8-shop-category:hover {
    transform:translateY(-6px);
    box-shadow:0 22px 65px rgba(59,33,51,.09);
}

.cm8-shop-category-image {
    aspect-ratio:1.45 / 1;
    background-size:cover;
    background-position:center;
    transition:transform .4s ease;
}

.cm8-shop-category:hover
.cm8-shop-category-image {
    transform:scale(1.035);
}

.cm8-shop-category-copy {
    padding:22px;
}

.cm8-shop-category-copy small {
    color:#a06d92;
    font-size:9px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.cm8-shop-category-copy h3 {
    margin:6px 0 13px;
    font-size:28px;
}

.cm8-shop-category-copy > span {
    font-size:11px;
    font-weight:700;
}

.cm8-shop-products {
    background:#fffaf7;
}

.cm8-empty-shop {
    max-width:830px;
    margin:auto;
    padding:70px 45px;
    text-align:center;
    border-radius:34px;
    background:white;
    border:1px solid rgba(69,43,62,.10);
}

.cm8-empty-shop-heart {
    width:75px;
    height:75px;
    margin:0 auto 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f8e8f4;
    font-size:31px;
}

.cm8-empty-shop > small {
    color:#9e6b90;
    font-size:9px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.14em;
}

.cm8-empty-shop h2 {
    max-width:610px;
    margin:8px auto 12px;
}

.cm8-empty-shop p {
    max-width:600px;
    margin:0 auto 25px;
    color:#766b73;
}


/* ==========================================================
   PRODUCT LIST
   ========================================================== */

.woocommerce ul.products {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.woocommerce ul.products:before,
.woocommerce ul.products:after {
    display:none;
}

.woocommerce ul.products li.product {
    width:auto !important;
    float:none !important;
    margin:0 !important;
    padding:0 0 20px;
    border-radius:24px;
    overflow:hidden;
    background:white;
    border:1px solid rgba(67,42,60,.09);
    transition:.3s;
}

.woocommerce ul.products li.product:hover {
    transform:translateY(-5px);
    box-shadow:0 22px 60px rgba(58,32,50,.09);
}

.woocommerce ul.products li.product a img {
    margin:0 0 19px !important;
    aspect-ratio:1 / 1;
    object-fit:cover;
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
    margin-left:20px !important;
    margin-right:20px !important;
}

.woocommerce ul.products li.product h2 {
    font-family:"Cormorant Garamond",serif;
    font-size:25px !important;
    color:#171317;
}

.woocommerce ul.products li.product .price {
    color:#a36e94 !important;
    font-weight:700 !important;
}

.woocommerce ul.products li.product .button {
    width:calc(100% - 40px);
    min-height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:white;
    background:#171317;
}


/* ==========================================================
   SINGLE PRODUCT
   ========================================================== */

.cm8-woo-inner {
    padding:75px 0 100px;
    background:#fffaf7;
}

.single-product
.woocommerce div.product {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

.single-product
.woocommerce div.product div.images,
.single-product
.woocommerce div.product div.summary {
    width:100%;
    float:none;
}

.single-product
.woocommerce div.product .product_title {
    font-size:clamp(43px,5vw,65px);
    letter-spacing:-.035em;
}

.single-product
.woocommerce div.product p.price {
    color:#a16c91;
    font-size:24px;
}

.single-product
.woocommerce-product-gallery img {
    border-radius:28px;
}

.single-product
.woocommerce div.product form.cart .button {
    border-radius:999px;
    background:#171317;
}

.single-product
.quantity .qty {
    min-height:50px;
    border:1px solid rgba(67,42,60,.14);
    border-radius:999px;
}

.single-product
.woocommerce-tabs {
    grid-column:1 / -1;
}


/* ==========================================================
   CART / CHECKOUT / ACCOUNT
   ========================================================== */

.woocommerce-cart .cm8-woo-inner,
.woocommerce-checkout .cm8-woo-inner,
.woocommerce-account .cm8-woo-inner {
    min-height:65vh;
}

.woocommerce table.shop_table {
    overflow:hidden;
    border-radius:20px;
    background:white;
    border:1px solid rgba(67,42,60,.10);
}

.woocommerce table.shop_table th {
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.09em;
}

.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-billing-fields,
.woocommerce-additional-fields {
    border-radius:25px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    border-radius:999px !important;
    background:#171317 !important;
    color:white !important;
    min-height:44px;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background:#171317 !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container--default
.select2-selection--single {
    min-height:50px;
    border-radius:13px;
    border:1px solid rgba(67,42,60,.13);
    background:white;
}

.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height:48px;
}

.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height:48px;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    border-radius:16px;
    border-top:0;
    background:white;
    box-shadow:0 12px 35px rgba(55,31,48,.05);
}

.woocommerce-info:before,
.woocommerce-message:before {
    color:#b67ca5;
}

.woocommerce-account
.woocommerce-MyAccount-navigation {
    padding:20px;
    border-radius:22px;
    background:white;
    border:1px solid rgba(67,42,60,.10);
}

.woocommerce-account
.woocommerce-MyAccount-content {
    padding:30px;
    border-radius:22px;
    background:white;
    border:1px solid rgba(67,42,60,.10);
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:900px) {

    .cm8-shop-category-grid,
    .woocommerce ul.products {
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:760px) {

    .chant-topbar .cm-top-left {
        display:block;
        text-align:center;
        font-size:8px;
    }

    .chant-topbar .cm-top-right {
        display:none;
    }

    .cm8-occasions-hero {
        padding:75px 0 60px;
    }

    .cm8-big-occasion,
    .cm8-big-occasion:nth-child(even),
    .cm8-single-hero-grid,
    .cm8-shop-hero-grid,
    .single-product
    .woocommerce div.product {
        grid-template-columns:1fr;
    }

    .cm8-big-occasion:nth-child(even)
    .cm8-big-occasion-image {
        order:0;
    }

    .cm8-big-occasion-image {
        min-height:280px;
    }

    .cm8-big-occasion-copy {
        padding:30px 25px;
    }

    .cm8-big-occasion-copy h2 {
        font-size:38px;
    }

    .cm8-custom-event-inner {
        padding:40px 25px;
        display:block;
    }

    .cm8-custom-event-inner .btn {
        margin-top:25px;
    }

    .cm8-single-hero {
        padding-top:50px;
    }

    .cm8-single-copy {
        padding:10px 0;
    }

    .cm8-single-image {
        min-height:330px;
    }

    .cm8-empty-collection {
        padding:35px 25px;
        grid-template-columns:1fr;
    }

    .cm8-products-heading {
        display:block;
    }

    .cm8-shop-hero {
        padding-top:55px;
    }

    .cm8-shop-hero-image {
        min-height:330px;
    }

    .cm8-shop-category-grid,
    .woocommerce ul.products {
        grid-template-columns:1fr;
    }

    .single-product
    .woocommerce div.product {
        gap:25px;
    }

}
