/* Compact catalogue with natural card heights. */
.curves-live-local .woocommerce ul.products,
.curves-live-local ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.curves-live-local ul.products li.curves-product-card {
    padding: 12px;
    border-radius: 18px;
    max-width: none;
    gap: 0;
    grid-template-columns: none;
}
.curves-card-photo { aspect-ratio: 1 / 1.05; border-radius: 12px; }
.curves-card-info { padding: 16px 3px 3px; gap: 7px; }
.curves-live-local ul.products li.curves-product-card .curves-card-info {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    width: 100%;
    min-width: 0;
    height: auto;
    grid-template-rows: none;
    text-align: start;
}
.curves-live-local ul.products li.curves-product-card .curves-card-info > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}
.curves-card-info .curves-card-category { height: auto; max-height: none; overflow: visible; }
.curves-card-info .curves-offer { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; letter-spacing: 0; }
.curves-card-info .curves-offer span { margin: 0; font-size: 11px; }
.curves-card-price .woocommerce-Price-amount,
.curves-card-price .woocommerce-Price-amount bdi { font-size: inherit !important; line-height: inherit; white-space: normal; }
.curves-card-price ins, .curves-card-price del { max-width: 100%; white-space: normal; }
.curves-card-media, .curves-card-photo { width: 100%; min-width: 0; }
.curves-live-local .curves-card-photo img,
.curves-live-local .curves-product-card:hover .curves-card-photo img {
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    filter: none !important;
}
.curves-live-local .curves-card-info h2.woocommerce-loop-product__title {
    font-size: 19px !important;
    line-height: 1.4 !important;
    min-height: 0;
    text-align: start;
}
.curves-card-category { font-size: 12px; text-align: start; }
.curves-card-code, .curves-offer, .curves-shipping-note { font-size: 12px; }
.curves-card-info .curves-card-price {
    min-height: 62px;
    font-size: 27px;
    text-align: start;
}
.curves-card-price del { font-size: 15px; }
.curves-card-info .curves-card-features { gap: 8px; margin: 6px 0 12px; }
.curves-card-features span { font-size: 12px; gap: 8px; }
.curves-card-features svg { width: 18px; height: 18px; flex-basis: 18px; }
.curves-card-info .curves-order-button {
    font-size: 16px;
    padding: 11px 12px;
    min-height: 46px;
    border-radius: 9px;
}
.curves-live-local #primary { min-width: 0; }
.curves-live-local .woocommerce-notices-wrapper { overflow-wrap: anywhere; }
.curves-live-local .woocommerce-ordering select { max-width: 100%; }
.curves-live-local .woocommerce form .form-row input.input-text,
.curves-live-local .woocommerce form .form-row textarea { max-width: 100%; }
.curves-live-local .woocommerce .quantity .qty { min-height: 44px; }

.curves-live-local .curves-payment-choice,
.curves-live-local .curves-transfer-methods {
    display: grid;
    gap: 8px;
    min-inline-size: 0;
    margin-block: 16px;
    padding: 12px;
    border: 1px solid #75633f;
    border-radius: 8px;
}
.curves-live-local :is(.curves-payment-choice,.curves-transfer-methods) label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-block-size: 44px;
}
.curves-live-local .deposit-box[hidden] { display: none !important; }
.curves-live-local .deposit-box .row { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; }
.curves-live-local .deposit-box .row:nth-child(2) strong { color:#dfbf72; }
.curves-live-local .curves-transfer-details { overflow-wrap:anywhere; }
.curves-live-local [data-curves-receipt] { display:block; max-inline-size:100%; }
.curves-footer .footer-bottom { direction:inherit; text-align:start; }
.curves-footer-credit { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:.5em; row-gap:3px; font-size:12px; min-width:0; }
.curves-footer-credit span { display:inline; }
.curves-footer .curves-footer-credit a { display:inline!important; white-space:nowrap; }
.curves-payment-footer { order:2; display:flex; align-items:center; gap:7px; }
.curves-payment-logo { display:grid; place-items:center; inline-size:58px; block-size:36px; border:1px solid #be964358; border-radius:6px; background:#15120f; }
.curves-payment-logo img { display:block; inline-size:44px; block-size:26px; object-fit:contain; }
.curves-payment-logo:is(.curves-payment-logo--instapay,.curves-payment-logo--vodafone)::before,
.curves-payment-logo:is(.curves-payment-logo--instapay,.curves-payment-logo--vodafone) img { grid-area:1 / 1; }
.curves-payment-logo:is(.curves-payment-logo--instapay,.curves-payment-logo--vodafone)::before { content:""; inline-size:44px; block-size:26px; border-radius:3px; background:var(--wallet-color); }
.curves-payment-logo--instapay { --wallet-color:#fff; }
.curves-payment-logo--vodafone { --wallet-color:#ed1924; }
.curves-payment-logo:is(.curves-payment-logo--instapay,.curves-payment-logo--vodafone) img { inline-size:26px; clip-path:inset(6% round 5px); transform:scale(1.1); }
body.curves-live-local .curves-policy-content { width:min(90%, 720px); margin-inline:auto; padding-block:clamp(24px, 5vw, 56px); color:#f3efe7; }
body.curves-live-local .curves-policy-content h1 { font-size:clamp(19px, 3vw, 29px); margin:0 0 22px; }
body.curves-live-local .curves-policy-content h2 { font-size:clamp(16px, 2.1vw, 21px); margin:22px 0 7px; }
body.curves-live-local .curves-policy-content :is(h1,h2) { color:#dfbf72; line-height:1.45; }
body.curves-live-local .curves-policy-content p { font-size:clamp(14px, 1.6vw, 16px); line-height:1.85; margin:0 0 12px; overflow-wrap:anywhere; }
@media (max-width: 680px) {
    .curves-footer .curves-footer-credit { flex-basis:100%; }
    .curves-footer .curves-payment-footer { margin-inline-start:auto; }
}

.curves-live-local.woocommerce-checkout #wcfmmp-user-locaton-map {
    max-inline-size: 100%;
}
.curves-live-local.woocommerce-checkout #leaflet_wcfmmp_user_location {
    min-inline-size: 0;
    max-inline-size: 100%;
}
.curves-live-local.woocommerce-checkout #leaflet_wcfmmp_user_location .search-input {
    max-inline-size: 100%;
}

@media (max-width: 767px) {
    body.curves-live-local .entry-content .select2-container {
        max-inline-size: 100%;
    }
    /* The men's landing page has a fixed Elementor side margin. */
    body.curves-live-local .elementor-element-26f8ff8 {
        min-inline-size: 0 !important;
        max-inline-size: 100% !important;
        flex: 1 1 100% !important;
        margin-inline: 0 !important;
        overflow-wrap: anywhere;
    }
    body.curves-live-local #yith-wcwl-form {
        max-inline-size: 100%;
        overflow-x: auto;
    }
    body.curves-live-local #yith-wcwl-form table:has(.wishlist-empty) thead {
        display: none;
    }
}
.curves-language-menu { max-width: calc(100vw - 32px); }

@media (min-width: 768px) and (max-width: 1199px) {
    .curves-live-local .woocommerce ul.products,
    .curves-live-local ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .curves-card-info .curves-card-price { font-size: 25px; }
}

@media (max-width: 767px) {
    /* Give photography its own space above the copy on narrow screens. */
    .curves-home .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        height: auto;
        min-height: max(780px, 105svh);
        max-height: none;
        padding-top: clamp(400px, 58svh, 610px);
        background: #000;
    }
    .hero .hero-photo {
        position: absolute;
        inset: 0 0 auto;
        width: 100%;
        height: 68%;
        z-index: -2;
    }
    .hero .hero-photo img { object-fit: cover; object-position: 77% top; }
    .curves-home .hero:after,
    [dir=rtl] .curves-home .hero:after {
        background: linear-gradient(0deg, #000 0%, #000 24%, #000d 35%, #0002 59%, transparent 77%);
    }
    .curves-home .hero-copy,
    [dir=rtl] .curves-home .hero-copy {
        width: 100%;
        padding: 38px 6% 44px !important;
        margin: 0;
        text-align: start;
        align-self: stretch;
    }
    .curves-home .hero-copy h1 {
        font-size: clamp(39px, 10.5vw, 60px);
        line-height: 1.08;
        margin-bottom: 18px;
        max-width: 520px;
    }
    [dir=rtl] .curves-home .hero-copy h1 {
        font-size: clamp(32px, 8.2vw, 46px);
        line-height: 1.5;
    }
    .curves-home .hero-copy .eyebrow { font-size: 11px; margin-bottom: 14px; }
    .curves-home .hero-copy p { max-width: 420px; font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-actions .btn { padding: 12px 10px; font-size: 13px; min-height: 48px; }
    .curves-header { padding-inline: 4%; gap: 6px; }
    .curves-header .tools { gap: 2px; }
    .curves-header .brand { width: 66px; }
    .mobile-toggle { margin-inline-start: auto; min-width: 44px; }
    section.content { padding: 38px 4%; }
    .section-head { align-items: start; gap: 12px; margin-bottom: 22px; }
    .section-head h2 { font-size: 31px; }
    .section-head .eyebrow { font-size: 10px; margin-bottom: 12px; }
    .section-head .underlink { font-size: 12px; flex-shrink: 0; max-width: 115px; }
    .curves-live-local .woocommerce ul.products,
    .curves-live-local ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .curves-live-local ul.products li.curves-product-card { padding: 8px; border-radius: 13px; width: 100%; }
    .curves-card-photo { aspect-ratio: 1 / 1.18; border-radius: 8px; }
    .curves-card-info { padding: 12px 2px 2px; gap: 6px; }
    .curves-live-local .curves-card-info h2.woocommerce-loop-product__title { font-size: 15px !important; line-height: 1.45 !important; }
    .curves-card-category, .curves-card-code, .curves-offer, .curves-shipping-note { font-size: 11px; line-height: 1.5; }
    .curves-card-info .curves-card-price { font-size: 21px; min-height: 57px; }
    .curves-card-price del { font-size: 12px; }
    .curves-card-info .curves-card-features { gap: 8px; margin: 4px 0 10px; }
    .curves-card-features span { font-size: 11px; gap: 6px; }
    .curves-card-features svg { width: 16px; height: 16px; flex-basis: 16px; }
    .curves-card-info .curves-order-button { font-size: 14px; min-height: 44px; padding: 10px 6px; }
    .curves-wishlist { inset-inline-end: 6px; bottom: 6px; }
    .curves-wishlist a { min-width: 44px !important; min-height: 44px !important; }
    .curves-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 24px 3%; }
    .curves-benefits>div { padding: 0 4px; }
    .curves-benefits h2 { font-size: 12px; }
    .curves-benefits p { font-size: 11px; }
    .curves-collection { min-height: 390px; border-radius: 12px; }
    .collection-caption h3 { font-size: 32px; }
    .curves-story { padding: 50px 12px; margin-inline: 4%; }
    .curves-story h2 { font-size: 34px; }
    .curves-footer { padding: 32px 5%; }
    .curves-footer .footer-bottom { flex-wrap: wrap; gap: 12px; }
    .curves-live-local .woocommerce div.product .product_title { font-size: 34px; line-height: 1.3; }
    .curves-live-local .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
    .curves-live-local .woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; }
    .curves-live-local .woocommerce .col2-set .col-1,
    .curves-live-local .woocommerce .col2-set .col-2 { width: 100%; float: none; }
    .curves-live-local .woocommerce form .form-row-first,
    .curves-live-local .woocommerce form .form-row-last { width: 100%; float: none; }
    .curves-live-local .woocommerce table.shop_table td { overflow-wrap: anywhere; }
    .curves-live-local .woocommerce table.shop_table td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; }
    .curves-live-local .woocommerce table.shop_table td.actions .coupon .input-text { width: 100%; }
}

@media (max-width: 359px) {
    .hero-actions { grid-template-columns: 1fr; }
    .curves-home .hero { min-height: 860px; }
    .curves-live-local .woocommerce ul.products,
    .curves-live-local ul.products { gap: 8px; }
    .curves-card-info .curves-card-price { font-size: 18px; }
    .curves-card-info .curves-order-button { font-size: 12px; }
}

@media (max-width: 767px) and (orientation: landscape) {
    .curves-home .hero { padding-block-start: 0; }
}
