/*
Theme Name: Botiga Child
Theme URI: http://athemes.com/theme/botiga
Author: aThemes
Author URI: http://athemes.com
Template: botiga
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: botiga
*/
/* Change background of the specific block section */


/* Filter container styling */

/*home page banner*/

.custom-banner-curve {
    width: calc(100vw - 53px);
    max-width: calc(100vw - 53px) !important;
    min-height: 480px;
    height: 800px;
    margin: 0 32px;
    padding: 0 0 120px 0;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    background: #fff;
}

/* Background image */
.custom-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: brightness(0.72);
    pointer-events: none;
    user-select: none;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    /* NEW: Zoom out effect */
    transform: scale(0.92);
}

/* Content Box OVER the Curve */
.present-glass-box {
    position: absolute;
    left: 50%;
    bottom: -120px;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fff 85%, #ffe3f2 100%);
    color: #232323;
    border-radius: 32px;
    box-shadow: 0 12px 44px 0 rgba(181, 47, 117, 0.09);
    padding: 48px 48px 36px 48px;
    text-align: center;
    max-width: 92vw;
    min-width: 280px;
    z-index: 10;
    overflow: visible;
    border: 1.5px solid #ffe5f6;
    backdrop-filter: blur(3px);
}

/* Ribbons */
.ribbon-left,
.ribbon-right {
    position: absolute;
    top: 15px;
    bottom: 15px;
    width: 18px;
    border-radius: 10px;
    background: linear-gradient(180deg, #b52f75 60%, #ffe3f2 100%);
    opacity: 0.28;
    z-index: 3;
}

.ribbon-left {
    left: 24px;
}

.ribbon-right {
    right: 24px;
}

/* Bow */
.bow-modern {
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    height: 32px;
    width: 76px;
    z-index: 10;
    pointer-events: none;
}

.bow-modern .bow-left,
.bow-modern .bow-right {
    position: absolute;
    width: 32px;
    height: 32px;
    background: radial-gradient(circle at 40% 40%, #ffc1df 72%, #b52f75 100%);
    border-radius: 50%;
    top: 0;
}

.bow-modern .bow-left {
    left: 0;
    transform: rotate(-12deg) scaleX(1.13);
}

.bow-modern .bow-right {
    right: 0;
    transform: rotate(12deg) scaleX(1.13);
}

.bow-modern .bow-center {
    position: absolute;
    left: 50%;
    top: 11px;
    width: 18px;
    height: 18px;
    background: #b52f75;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 2.5px solid #fff;
    z-index: 10;
}

/* Inner content */
.present-glass-box h1 {
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 12px;
    color: #b52f75;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.present-glass-box p {
    font-size: 1.17rem;
    max-width: 520px;
    margin: 0 auto 22px;
    color: #4e3250;
}

.present-glass-box a {
    background: #b52f75;
    color: #fff;
    padding: 15px 44px;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(181, 47, 117, 0.14);
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
    border: none;
    transition: background 0.22s;
}

.present-glass-box a:hover {
    background: #e5538f;
}

/* Responsive */
/* Refined mobile (max-width: 700px) */

@media (max-width: 700px) {
    .custom-banner-curve {
        margin: 0;
        padding: 0 7px;
        box-sizing: border-box;
        width: 100vw !important;
        max-width: 100vw !important;
        min-height: 200px;
        height: 200px;
        border-radius: 0;
        overflow: visible;
        position: relative;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .custom-banner-bg {
        width: 430px;
        height: 200px;
        object-fit: cover;
        /* <-- Show full image! */
        object-position: center center;
        border-radius: 16px;
        left: 0;
        top: 0;
        position: relative;
        z-index: 1;
        filter: none;
        transform: none;
        display: block;
        background: #fff;
        /* Optional: background for transparent images */
        transition: none;
    }

    .present-glass-box {
        display: none !important;
    }

    .custom-banner-svg {
        display: none !important;
    }
}

.custom-banner-content h1 {
    font-size: 2.7rem;
    font-weight: bold;
    margin-bottom: 18px;
    color: #0a212a;
}

.custom-banner-content p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 24px;
    color: #466a7b;
}

.custom-banner-content a {
    background: #b82d75;
    color: #fff;
    padding: 15px 42px;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

/* Bottom Curve WITH SHADOW */
.custom-banner-svg {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 110px;
    z-index: 2;
}

@media (max-width: 700px) {
    .custom-separator-banner {
        height: 30px !important;
    }
}


/* shop page styles */

.botiga-sc-shipping-methods ul {
    overflow: visible !important;
}

.mfp-iframe-holder .mfp-content {
    max-width: 1200px !important;
}

.woocommerce #primary {
    width: 74%;
}

.woocommerce .container {
    max-width: 1600px;
}

.woocommerce-sorting-wrapper select {
    border: 0;
    padding: 10px 33px 10px 22px;
    max-width: 285px;
    min-height: auto;
}

@media (max-width: 768px) {
    .woocommerce #primary {
        width: 100% !important;
    }
}

.woocommerce #secondary {
    width: 40%;
}

@media (max-width: 768px) {
    .woocommerce #secondary {
        width: 100% !important;
    }
}

ul.products li.product img {
    display: block;
    border-radius: 20px;
}

/* @media (max-width: 768px) {
    .botiga-single-sticky-add-to-cart-wrapper-content {
        display: flex !important;
        flex-direction: column !important;     
        justify-content: center !important;   
        align-items: center !important;        
        min-height: 100px;           
        text-align: center;          
    }
} */

.woocommerce-shop .main-row {
    justify-content: center;
}

.btsf-terms-checkbox-label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Show up to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 180px;
    line-height: 1.2;
}

/* 1. Hide child category lists by default */
.btsf-filter-list-item>.btsf-filter-list {
    display: none;
    padding-left: 18px;
    /* Indent child categories if you want */
}

/* 2. Show child categories when the parent input is checked */
.btsf-filter-list-item:has(> .btsf-terms-checkbox > input:checked)>.btsf-filter-list {
    display: block;
}

/* (Optional) Cursor pointer for parent label */
.btsf-terms-checkbox-label {
    cursor: pointer;
}

/* (Optional) Add a visual indicator to parent categories with children */
.btsf-filter-list-item>.btsf-filter-list:before {
    content: "";
    /* add styles if you want an indicator/arrow */
}

.footer-links-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px 0;
    margin: 28px 0;
}

.footer-row {
    display: flex;
    gap: 14px 28px;
    justify-content: center;
}

.footer-row a {
    color: #21293c;
    background: #f4f7fa;
    border-radius: 2em;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 22px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    font-size: 1.11rem;
    box-shadow: 0 2px 10px 0 rgba(33, 41, 60, 0.04);
    white-space: nowrap;
    /* prevents word wrapping */
    min-width: 130px;
    /* guarantees width */
    text-align: center;
    display: inline-block;
}

.footer-row a:hover {
    color: #fff;
    background: #ffd464;
    text-decoration: none;
    box-shadow: 0 4px 16px 0 rgba(255, 212, 100, 0.17);
}

/* MOBILE FRIENDLY STACK: */
@media (max-width: 700px) {
    .footer-links-grid {
        width: 100%;
        gap: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    /* For 3 links in row, center last one across 2 columns */
    .footer-row:last-child {
        grid-template-columns: 1fr 1fr;
    }

    .footer-row:last-child a:nth-child(3) {
        grid-column: span 2;
        justify-self: center;
    }

    .footer-row a {
        width: 100%;
        min-width: unset;
        box-sizing: border-box;
        text-align: center;
        white-space: normal;
        margin: 0 auto;
        font-size: 1.07rem;
    }
}

@media (max-width: 850px) {

    .bhfb-row,
    .bhfb-cols-layout-equal {
        flex-direction: column !important;
        display: flex !important;
        align-items: center !important;
        gap: 20px 0 !important;
    }

    .bhfb-column {
        width: 100% !important;
        max-width: 400px;
        margin: 0 auto !important;
    }

    .footer-links-grid {
        width: 100%;
        margin: 18px 0;
    }

    .footer-row {
        flex-direction: column;
        gap: 8px 0;
        align-items: center;
    }

    .footer-row a {
        min-width: 140px;
        width: 80%;
        text-align: center;
    }

    .footer-widget,
    .footer-html,
    .header-shortcode {
        text-align: center;
    }
}

@media (min-width: 701px) {
    .bhfb-footer .container {
        max-width: 1600px;
    }
}

@media (max-width: 700px) {

    .wp-block-group,
    .wp-block-group__inner-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .wp-block-group__inner-container img {
        margin-left: auto;
        margin-right: auto;
        display: block;
        max-width: 100%;
        height: auto;
    }

    .wp-block-social-links {
        justify-content: center !important;
        margin: 0 auto !important;
    }
}

ul.wc-block-grid__products li.wc-block-grid__product img {
    border-radius: 10px;
}

@media (min-width: 900px) {

    /* Header: use flex & stacking for proper alignment */
    .bhfb-main_header_row {
        background: linear-gradient(90deg, #fff8fa 70%, #ffe1ef 100%);
        border-radius: 36px;
        box-shadow: 0 6px 36px 0 rgba(246, 111, 155, 0.11);
        max-width: 1560px;
        margin: 40px auto 0 auto;
        padding: 17px 17px 17px 17px;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 50;
        position: relative;
        font-family: 'Rubik', 'Montserrat', Arial, sans-serif;
    }

    /* LOGO: always on top, centered */
    .bhfb-main_header_row .bhfb-row.bhfb-cols-3 {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        gap: 0;
        padding: 0;
        margin: 0;
    }

    .bhfb-main_header_row .bhfb-column-2 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        order: 1;
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .bhfb-main_header_row .site-branding {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bhfb-main_header_row .custom-logo {
        max-height: 82px;
        width: auto;
        border-radius: 20px;
        box-shadow: 0 2px 16px #f4e1ef25;
        transition: box-shadow 0.2s;
    }

    .bhfb-main_header_row .custom-logo:hover {
        box-shadow: 0 8px 36px #f4a6d285;
    }

    /* MENU & ICONS ROW: new flex row below logo */
    .bhfb-main_header_row .header-menu-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 70px;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    /* Menu left */
    .bhfb-main_header_row .bhfb-column-1 {
        flex: 1 1 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        min-width: 0;
    }

    /* Icons right */
    .bhfb-main_header_row .bhfb-column-3 {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 22px;
        min-width: 190px;
    }

    /* MENU STYLES */
    .botiga-dropdown.main-navigation {
        background: none;
        box-shadow: none;
    }

    .botiga-dropdown-ul.menu {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
    }

    .botiga-dropdown-link {
        background: linear-gradient(90deg, #fff 80%, #ffe8f4 100%);
        color: #232323;
        font-weight: 700;
        font-size: 1.12rem;
        border-radius: 22px;
        padding: 13px 30px !important;
        border: 1.2px solid #ffe3f1;
        box-shadow: 0 1px 7px #f8c5e855;
        text-decoration: none;
        transition: all .18s cubic-bezier(.47, 1.64, .41, .84);
        white-space: nowrap;
        outline: none;
        position: relative;
        font-family: 'Rubik', Arial, sans-serif;
    }

    .botiga-dropdown-link:hover,
    .botiga-dropdown-li.current-menu-item .botiga-dropdown-link {
        background: linear-gradient(90deg, #ffe7f7 75%, #ffc7e8 100%);
        color: #e9508d;
        box-shadow: 0 4px 16px #f8c5e860;
        border-color: #fd7dc5;
        transform: translateY(-2px) scale(1.04);
    }

    .dropdown-symbol {
        margin-left: 6px;
        color: #ea339a;
    }

    /* Submenus (dropdowns) */
    .sub-menu.botiga-dropdown-ul {
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 8px 36px #f1aedc2e;
        margin-top: 10px;
        padding: 10px 0;
        min-width: 210px;
        border: 1.2px solid #ffe3f1;
        animation: submenuFadeIn .22s;
    }

    @keyframes submenuFadeIn {
        from {
            opacity: 0;
            transform: translateY(16px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .sub-menu .botiga-dropdown-link {
        color: #e9508d;
        background: none;
        border-radius: 12px;
        font-size: 1.08rem;
        padding: 9px 24px;
        border: none;
        font-weight: 500;
    }

    .sub-menu .botiga-dropdown-link:hover {
        background: #ffe1ef;
        color: #ea339a;
    }

}

/* --- ONLY for desktop, keep mobile styles clean --- */
@media (max-width: 899px) {
    .bhfb-main_header_row {
        max-width: 100% !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

.site-header-cart:hover .widget_shopping_cart,
.site-header-cart.focus .widget_shopping_cart {
    border-radius: 20px;
}

.widget_shopping_cart .widget_shopping_cart_content .woocommerce-mini-cart__buttons {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* ICONS (search, account, cart) */
.header-search,
.header-item.wc-account-link,
.header-item.cart-contents {
    background: linear-gradient(135deg, #fff 78%, #ffe1ef 100%);
    border-radius: 50%;
    min-width: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.18s, background 0.16s;
    position: relative;
    box-shadow: 0 1px 7px #ffe2f3b2;
    border: 1.2px solid #ffe3f1;
    font-size: 1.18em;
}

.header-search:hover,
.header-item.wc-account-link:hover,
.header-item.cart-contents:hover {
    background: #ffd7ec;
    box-shadow: 0 2px 16px #fda7d288;
}

.cart-contents {
    position: relative;
}



@keyframes badgeBounce {
    0% {
        transform: scale(0.7);
    }

    40% {
        transform: scale(1.15);
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 700px) {
    .menu-toggle {
        left: 20px;
    }

    .header-search {
        right: 20px;
    }

    .cart-count {
        position: absolute;
        right: -113px;
        background: #ff4e82;
        color: #fff;
        font-size: 0.92rem;
        font-weight: 800;
        border-radius: 50%;
        padding: 9.5px 13px;
        min-width: 25px;
        line-height: 1.55;
        box-shadow: 0 1px 4px #ffbdd4b0;
        animation: badgeBounce .7s;
    }

}

.cart-count {
    position: absolute;
    background: #ff4e82;
    top: -22px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: 50%;
    padding: 9.5px 13px;
    min-width: 25px;
    line-height: 1.55;
    box-shadow: 0 1px 4px #ffbdd4b0;
    animation: badgeBounce .7s;
}

/* PARENTS: direct children of the main menu UL */
#site-navigation-mobile .botiga-dropdown-ul.menu > li.botiga-dropdown-li > a.botiga-dropdown-link {
    font-weight: 700;        /* bolder */
    font-size: 1.125rem;     /* bigger than children */
    line-height: 1.25;
  }
  
  /* CHILDREN: anything inside .sub-menu */
  #site-navigation-mobile .sub-menu .botiga-dropdown-link {
    font-weight: 500;        /* regular/medium */
    font-size: 0.95rem;      /* smaller than parents */
    line-height: 1.25;
  }
  
  /* (Optional) grand-children even smaller, if you have nested submenus */
  #site-navigation-mobile .sub-menu .sub-menu .botiga-dropdown-link {
    font-weight: 400;
    font-size: 0.9rem;
  }
  
  /* ================================
   Smeshki Checkout skin (scoped)
   Only applies to the WooCommerce checkout page
   ======================================= */

body.woocommerce-checkout{
    /* theme tokens (adjust if needed) */
    --sd-pink-50:#fff1f6;
    --sd-pink-100:#ffe4ee;
    --sd-pink-400:#ff7fb0;
    --sd-pink-500:#ff5f9b;
    --sd-pink-600:#ff478d;
    --sd-gray-700:#2a2a2a;
    --sd-gray-500:#666;
    --sd-ring: 0 0 0 3px rgba(255,95,155,.18);
    --sd-radius-pill:999px;
    --sd-radius-card:18px;
    --sd-shadow:0 10px 24px rgba(0,0,0,.06);
  }
  
  /* page title */
  body.woocommerce-checkout .entry-header .page-title{
    font-size: clamp(34px, 3.2vw, 56px);
    font-weight: 700;
    color: var(--sd-gray-700);
    text-align:center;
    margin: 12px 0 18px;
  }
  
  /* layout */
  body.woocommerce-checkout .botiga-sc{ gap:28px; }
  
  /* left column cards */
  body.woocommerce-checkout .botiga-sc-content-item-block{
    background:#fff;
    border:1px solid var(--sd-pink-100);
    border-radius: var(--sd-radius-card);
    padding:22px 20px;
    box-shadow: var(--sd-shadow);
    margin-bottom:18px;
  }
  
  /* block headings */
  body.woocommerce-checkout .botiga-sc-heading{
    margin:0 0 14px;
    font-size:1.15rem;
    font-weight:700;
    color:var(--sd-gray-700);
  }
  
  /* inputs + selects */
  body.woocommerce-checkout .botiga-sc-form input.input-text,
  body.woocommerce-checkout .botiga-sc-form input[type="tel"],
  body.woocommerce-checkout .botiga-sc-form input[type="text"],
  body.woocommerce-checkout .botiga-sc-form select,
  body.woocommerce-checkout .botiga-sc-form textarea,
  body.woocommerce-checkout .select2-container .select2-selection--single{
    background:#fff;
    border:1.5px solid var(--sd-pink-100);
    border-radius:14px !important;
    padding:12px 14px;
    min-height:46px;
    box-shadow:none;
    transition:.15s border-color,.15s box-shadow,.15s background-color;
  }
  body.woocommerce-checkout .botiga-sc-form input:focus,
  body.woocommerce-checkout .botiga-sc-form select:focus,
  body.woocommerce-checkout .botiga-sc-form textarea:focus,
  body.woocommerce-checkout .select2-container--default .select2-selection--single:focus{
    border-color: var(--sd-pink-500);
    box-shadow: var(--sd-ring);
    outline:0;
  }
  
  /* select2 render */
  body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height:44px;
    padding-left:12px;
  }
  body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{
    height:44px;
  }
  
  /* labels */
  body.woocommerce-checkout .botiga-sc-form label{
    font-weight:600;
    color:var(--sd-gray-700);
  }
  
  /* coupon + apply button */
  body.woocommerce-checkout .botiga-sc-coupon .botiga-sc-coupon-code{
    border-radius: var(--sd-radius-pill);
    border:1.5px solid var(--sd-pink-100);
    height:48px;
    padding:0 16px;
  }
  body.woocommerce-checkout .botiga-sc-coupon .button.botiga-sc-apply-coupon{
    background: var(--sd-pink-500);
    color:#fff;
    border-radius: var(--sd-radius-pill);
    padding:11px 18px;
    margin-left:10px;
    border:0;
    transition:.15s transform,.15s background;
  }
  body.woocommerce-checkout .botiga-sc-coupon .button.botiga-sc-apply-coupon:hover{
    background: var(--sd-pink-600);
    transform: translateY(-1px);
  }
  
  /* summary cards (right column) */
  body.woocommerce-checkout .botiga-sc-cart-summary .botiga-sc-cart-summary-item{
    background:#fff;
    border:1px solid var(--sd-pink-100);
    border-radius: var(--sd-radius-card);
    box-shadow: var(--sd-shadow);
    padding:18px 16px;
    margin-bottom:18px;
  }
  
  /* product rows */
  body.woocommerce-checkout .botiga-sc-product{
    border:1px dashed var(--sd-pink-100);
    border-radius:16px;
    padding:12px;
    background: var(--sd-pink-50);
  }
  body.woocommerce-checkout .botiga-sc-product-thumbnail figure{
    border-radius:14px; overflow:hidden;
  }
  
  /* totals */
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th{ border:0; }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tr td:first-child{ color:var(--sd-gray-500); }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td strong{ font-size:1.15rem; }
  
  /* euro price muted */
  body.woocommerce-checkout .amount-eur{ color:#888; font-size:.92em; }
  
  /* shipping method cards */
  body.woocommerce-checkout .botiga-sc-shipping-methods label{
    display:flex; align-items:center; gap:10px;
    padding:12px 14px;
    border:1.5px solid var(--sd-pink-100);
    background:#fff;
    border-radius:16px;
    cursor:pointer;
    transition:.15s border-color,.15s box-shadow,.15s background;
  }
  body.woocommerce-checkout .botiga-sc-shipping-methods input[type="radio"]{
    accent-color: var(--sd-pink-500);
  }
  body.woocommerce-checkout .botiga-sc-shipping-method + .botiga-sc-shipping-method{ margin-top:10px; }
  body.woocommerce-checkout .botiga-sc-shipping-methods label:hover{
    border-color: var(--sd-pink-500);
    box-shadow: var(--sd-ring);
  }
  
  /* Econt dropdown spacing */
  body.woocommerce-checkout .woo-bg--econt-delivery{ margin:10px 0 0 34px; }
  
  /* submit button */
  body.woocommerce-checkout .button.botiga-sc-submit-button,
  body.woocommerce-checkout .woocommerce .button.alt{
    background: var(--sd-pink-500);
    color:#fff;
    border:0;
    border-radius: var(--sd-radius-pill);
    padding:14px 22px;
    font-weight:700;
    letter-spacing:.2px;
    width:100%;
    transition:.15s transform,.15s background;
  }
  body.woocommerce-checkout .button.botiga-sc-submit-button:hover,
  body.woocommerce-checkout .woocommerce .button.alt:hover{
    background: var(--sd-pink-600);
    transform: translateY(-1px);
  }
  
  /* Stripe separator tint */
  body.woocommerce-checkout #wc-stripe-express-checkout-button-separator{
    color:#a37; opacity:.9;
  }
  
  /* tidy rows */
  body.woocommerce-checkout .botiga-sc .row .form-row{ margin-bottom:12px; }
  
  /* hide helper fields we keep for Econt integration */
  body.woocommerce-checkout .econt-shadow{ display:none !important; }
  
  /* mobile */
  @media (max-width: 782px){
    body.woocommerce-checkout .botiga-sc-content-item-block{ padding:18px 14px; }
    body.woocommerce-checkout .botiga-sc-coupon .botiga-sc-coupon-code{ width:100%; margin-bottom:10px; }
    body.woocommerce-checkout .botiga-sc-coupon .button{ width:100%; }
  }

  /* Coupon row layout fix — checkout only */
body.woocommerce-checkout .botiga-sc-coupon{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px;
    border:1px solid var(--sd-pink-100);
    border-radius: var(--sd-radius-card);
    background: var(--sd-pink-50);
  }
  
  /* Input should fill the row */
  body.woocommerce-checkout .botiga-sc-coupon .botiga-sc-coupon-code{
    flex:1 1 auto;
    min-width:0;
    height:48px;
    border-radius: var(--sd-radius-pill);
    border:1.5px solid var(--sd-pink-100);
    padding:0 16px;
  }
  
  /* Make the anchor behave like a proper button */
  body.woocommerce-checkout .botiga-sc-coupon .button.botiga-sc-apply-coupon{
    position: static !important;        /* prevent overlaps */
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    height:48px;
    padding:0 18px;
    margin-left:0;                       /* we use gap now */
    border:0;
    border-radius: var(--sd-radius-pill);
    background: var(--sd-pink-500);
    color:#fff;
    transition:.15s transform,.15s background;
  }
  body.woocommerce-checkout .botiga-sc-coupon .button.botiga-sc-apply-coupon:hover{
    background: var(--sd-pink-600);
    transform: translateY(-1px);
  }
  
  /* Stack nicely on mobile */
  @media (max-width: 640px){
    body.woocommerce-checkout .botiga-sc-coupon{ flex-direction:column; }
    body.woocommerce-checkout .botiga-sc-coupon .button.botiga-sc-apply-coupon{ width:100%; }
  }
  
  
  body.woocommerce-checkout .econt-shadow { display:none !important; }
