/* ============================================
   OBUY 2026 — Design System Premium
   Child Theme: ekart / Parent: shopire
   ============================================ */

/* ─── 1. TOKENS ─── */
:root {
    /* Brand colors */
    --o-primary:        #FF7A00;
    --o-primary-hover:  #E86E00;
    --o-primary-light:  #FFF3E8;
    --o-primary-mid:    rgba(255,122,0,.15);

    /* Neutrals */
    --o-text:           #1A1A1A;
    --o-text-2:         #4A4A4A;
    --o-text-3:         #8A8A8A;
    --o-text-inv:       #FFFFFF;
    --o-bg:             #FFFFFF;
    --o-surface:        #F7F7F7;
    --o-surface-2:      #F0F0F0;
    --o-border:         #E0E0E0;
    --o-border-2:       #C8C8C8;

    /* Semantic */
    --o-success:        #16A34A;
    --o-error:          #DC2626;
    --o-warning:        #D97706;

    /* Typography */
    --font-head:        'Sora', system-ui, -apple-system, sans-serif;
    --font-body:        'Inter', system-ui, -apple-system, sans-serif;

    /* Radius */
    --r-xs:  4px;
    --r-sm:  8px;
    --r-md:  12px;
    --r-lg:  16px;
    --r-xl:  24px;
    --r-pill:100px;

    /* Shadows */
    --sh-xs: 0 1px 3px rgba(0,0,0,.07);
    --sh-sm: 0 2px 8px rgba(0,0,0,.08);
    --sh-md: 0 4px 20px rgba(0,0,0,.10);
    --sh-lg: 0 8px 36px rgba(0,0,0,.13);
    --sh-o:  0 4px 20px rgba(255,122,0,.28);

    /* Motion */
    --ease:  cubic-bezier(.16,1,.3,1);
    --dt:    200ms;
    --dt-lg: 320ms;
}

/* ─── 2. BASE ─── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--o-text);
    background: var(--o-bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1,h2,h3,h4,h5,h6,
.woocommerce-loop-product__title,
.entry-title,
.page-title,
.woocommerce-page h1,
.woocommerce-page h2 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--o-text);
    line-height: 1.25;
    letter-spacing: -.02em;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--o-primary); }
img { max-width: 100%; height: auto; }

/* ─── 3. HEADER ─── */
/* Topbar */
.header--six .wf_header-topbar,
.header--six .wf_mobilenav-topbar-content {
    background: #111827 !important;
    font-size: 13px;
    font-family: var(--font-body);
}

/* Navbar wrapper */
.header--six .wf_navbar-wrapper {
    background: #fff !important;
    border-bottom: 1px solid var(--o-border) !important;
    box-shadow: var(--sh-xs);
}

/* Logo */
.header--six .logo img,
.wf_header .logo img,
#wf_header .logo img,
.site-branding img,
.navbar-brand img {
    max-height: 52px !important;
    width: auto !important;
    object-fit: contain;
}

/* Nav links */
.header--six .wf_navbar-nav .wf_navbar-mainmenu > li > a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    color: var(--o-text) !important;
    transition: color var(--dt) var(--ease);
}
.header--six .wf_navbar-nav .wf_navbar-mainmenu > li > a:hover,
.header--six .wf_navbar-nav .wf_navbar-mainmenu > li.current-menu-item > a {
    color: var(--o-primary) !important;
}

/* Search bar */
.header--six .header-search-form .wf_search-field,
.header--six .header-search-form input.header-search-input {
    border-radius: var(--r-pill) !important;
    border: 1.5px solid var(--o-border) !important;
    background: var(--o-surface) !important;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color var(--dt) var(--ease), box-shadow var(--dt) var(--ease);
}
.header--six .header-search-form input.header-search-input:focus {
    border-color: var(--o-primary) !important;
    box-shadow: 0 0 0 3px var(--o-primary-mid) !important;
    outline: none !important;
}
.header--six .header-search-form .header-search-button {
    background: var(--o-primary) !important;
    border-radius: var(--r-pill) !important;
    color: #fff;
}
.header--six .header-search-form .header-search-button:hover {
    background: var(--o-primary-hover) !important;
}

/* Cart / account icons */
.header--six .wf_navbar-right .cart_count,
.header--six .wf_navbar-right .shopire-wcwl-items-count {
    background: var(--o-primary) !important;
    border: 2px solid #fff !important;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px; height: 18px;
    line-height: 14px !important;
    border-radius: var(--r-pill);
}

/* Dropdown menus */
.wf_navbar-nav .dropdown-menu,
.wf_navbar-nav .sub-menu {
    border: 1px solid var(--o-border);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    padding: 8px 0;
    animation: fadeDown var(--dt) var(--ease);
}
.wf_navbar-nav .dropdown-menu a,
.wf_navbar-nav .sub-menu a {
    font-size: 14px;
    padding: 9px 18px;
    border-radius: 0;
    transition: background var(--dt);
}
.wf_navbar-nav .dropdown-menu a:hover,
.wf_navbar-nav .sub-menu a:hover {
    background: var(--o-primary-light);
    color: var(--o-primary) !important;
}

@keyframes fadeDown {
    from { opacity:0; transform:translateY(-6px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ─── 4. PRODUCT CARDS ─── */
.woocommerce ul.products,
.products.columns-2,
.products.columns-3,
.products.columns-4 {
    gap: 20px;
    display: grid;
}
.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.products.columns-4 { grid-template-columns: repeat(4, 1fr); }

.woocommerce ul.products li.product {
    background: var(--o-bg) !important;
    border: 1px solid var(--o-border) !important;
    border-radius: var(--r-lg) !important;
    overflow: hidden;
    transition: box-shadow var(--dt) var(--ease), transform var(--dt) var(--ease);
    position: relative;
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product:hover {
    box-shadow: var(--sh-md) !important;
    transform: translateY(-2px);
}

/* Product image container */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce ul.products li.product a:has(img) {
    display: block;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--o-surface);
}
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product img.wp-post-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform var(--dt-lg) var(--ease);
    display: block;
}
.woocommerce ul.products li.product:hover .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product:hover img.wp-post-image {
    transform: scale(1.05);
}

/* Product body */
.woocommerce ul.products li.product .product-loop-wrapper,
.woocommerce ul.products li.product > a ~ * {
    padding: 14px 16px 16px;
}

/* Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--o-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color var(--dt);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: var(--o-primary);
}

/* Price */
.woocommerce ul.products li.product .price {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--o-primary) !important;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.woocommerce ul.products li.product .price del {
    font-size: 12px;
    font-weight: 400;
    color: var(--o-text-3) !important;
    opacity: .8;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* Add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
    background: var(--o-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
    width: 100%;
    text-align: center;
    display: block;
    transition: background var(--dt) var(--ease), box-shadow var(--dt) var(--ease);
    cursor: pointer;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
    background: var(--o-primary-hover) !important;
    box-shadow: var(--sh-o) !important;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale {
    background: var(--o-error) !important;
    color: #fff !important;
    border-radius: var(--r-pill) !important;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    min-width: unset;
    line-height: 1.4;
}

/* Rating stars */
.woocommerce ul.products li.product .star-rating {
    color: #F59E0B;
    font-size: 12px;
    margin-bottom: 6px;
}

/* ─── 5. SHOP ARCHIVE ─── */
.woocommerce-page .woocommerce-result-count,
.woocommerce-page .woocommerce-ordering {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--o-text-2);
}
.woocommerce-ordering select {
    border: 1.5px solid var(--o-border);
    border-radius: var(--r-sm);
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--o-bg);
    color: var(--o-text);
    appearance: none;
    cursor: pointer;
    transition: border-color var(--dt);
}
.woocommerce-ordering select:focus {
    border-color: var(--o-primary);
    outline: none;
}

/* Shop sidebar filters */
.woocommerce .widget_layered_nav ul,
.woocommerce .widget_price_filter .price_slider_wrapper,
.woocommerce .widget_product_categories ul {
    font-family: var(--font-body);
}
.woocommerce .widget_layered_nav ul li a,
.woocommerce .widget_product_categories ul li a {
    font-size: 14px;
    color: var(--o-text-2);
    transition: color var(--dt);
}
.woocommerce .widget_layered_nav ul li a:hover,
.woocommerce .widget_product_categories ul li a:hover {
    color: var(--o-primary);
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--o-primary);
    border-color: var(--o-primary);
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background: var(--o-primary-mid);
}
.woocommerce .widget_price_filter button {
    background: var(--o-primary) !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body);
    font-size: 13px;
    padding: 8px 16px;
}

/* Shop page header */
.woocommerce-page .page-title,
.woocommerce-shop .page-title,
.woocommerce-archive-title {
    font-family: var(--font-head);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--o-text);
    margin-bottom: 24px;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--o-text-3);
}
.woocommerce .woocommerce-breadcrumb a {
    color: var(--o-text-2);
    transition: color var(--dt);
}
.woocommerce .woocommerce-breadcrumb a:hover {
    color: var(--o-primary);
}

/* ─── 6. SINGLE PRODUCT ─── */
.single-product .woocommerce-product-gallery {
    border-radius: var(--r-lg);
    overflow: hidden;
}
.single-product .woocommerce-product-gallery img {
    border-radius: var(--r-md);
}
.single-product .product_title {
    font-family: var(--font-head);
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}
.single-product .price {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--o-primary) !important;
}
.single-product .price del {
    font-size: 18px;
    font-weight: 400;
    color: var(--o-text-3) !important;
}
.single-product .woocommerce-product-rating {
    margin-bottom: 16px;
}
.single-product .star-rating { color: #F59E0B; }
.single-product .woocommerce-product-details__short-description {
    font-size: 15px;
    color: var(--o-text-2);
    line-height: 1.65;
    margin: 16px 0;
}
.single-product .single_add_to_cart_button,
.single-product .button.alt {
    background: var(--o-primary) !important;
    border-color: var(--o-primary) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border-radius: var(--r-sm) !important;
    transition: background var(--dt) var(--ease), box-shadow var(--dt) var(--ease);
    letter-spacing: .01em;
}
.single-product .single_add_to_cart_button:hover {
    background: var(--o-primary-hover) !important;
    box-shadow: var(--sh-o) !important;
}
.single-product .quantity input.qty {
    border: 1.5px solid var(--o-border);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 15px;
    text-align: center;
    height: 48px;
    width: 70px;
}
.single-product .product_meta {
    font-size: 13px;
    color: var(--o-text-3);
    border-top: 1px solid var(--o-border);
    padding-top: 16px;
    margin-top: 16px;
}
/* Tabs */
.single-product .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid var(--o-border);
    margin-bottom: 24px;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 4px;
}
.single-product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: none !important;
    border-radius: var(--r-sm) var(--r-sm) 0 0;
    margin: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--o-text-2);
    padding: 10px 20px;
    display: block;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--dt), border-color var(--dt);
}
.single-product .woocommerce-tabs ul.tabs li.active a {
    color: var(--o-primary);
    border-bottom-color: var(--o-primary);
}

/* ─── 7. CART ─── */
.woocommerce-cart .woocommerce-cart-form table.shop_table {
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 14px;
    border: 1px solid var(--o-border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.woocommerce-cart .shop_table thead th {
    background: var(--o-surface);
    color: var(--o-text-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 1px solid var(--o-border);
}
.woocommerce-cart .shop_table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--o-border);
    vertical-align: middle;
}
.woocommerce-cart .shop_table .product-thumbnail img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--r-sm);
}
.woocommerce-cart .shop_table .product-name a {
    font-weight: 600;
    font-size: 14px;
    color: var(--o-text);
}
.woocommerce-cart .shop_table .product-price,
.woocommerce-cart .shop_table .product-subtotal {
    font-weight: 700;
    color: var(--o-primary);
}
.woocommerce-cart .cart_totals {
    background: var(--o-surface);
    border: 1px solid var(--o-border);
    border-radius: var(--r-lg);
    padding: 24px;
}
.woocommerce-cart .cart_totals h2 {
    font-size: 18px;
    margin-bottom: 16px;
}
.woocommerce-cart .cart_totals table {
    font-family: var(--font-body);
    font-size: 14px;
    width: 100%;
}
.woocommerce-cart .cart_totals tr td,
.woocommerce-cart .cart_totals tr th {
    padding: 10px 0;
    border-bottom: 1px solid var(--o-border);
}
.woocommerce-cart .cart_totals .order-total td,
.woocommerce-cart .cart_totals .order-total th {
    font-weight: 700;
    font-size: 16px;
    color: var(--o-text);
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    background: var(--o-primary) !important;
    border: none !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 16px 32px !important;
    border-radius: var(--r-sm) !important;
    display: block;
    text-align: center;
    transition: background var(--dt), box-shadow var(--dt);
    letter-spacing: .02em;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: var(--o-primary-hover) !important;
    box-shadow: var(--sh-o) !important;
}

/* ─── 8. CHECKOUT ─── */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
    font-family: var(--font-body);
}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid var(--o-border);
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.woocommerce-checkout .form-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--o-text-2);
    margin-bottom: 6px;
}
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    border: 1.5px solid var(--o-border);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 14px;
    padding: 10px 14px;
    color: var(--o-text);
    background: var(--o-bg);
    transition: border-color var(--dt), box-shadow var(--dt);
    width: 100%;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: var(--o-primary);
    box-shadow: 0 0 0 3px var(--o-primary-mid);
    outline: none;
}
.woocommerce-checkout #order_review table.shop_table {
    font-size: 14px;
    border: 1px solid var(--o-border);
    border-radius: var(--r-md);
    overflow: hidden;
}
.woocommerce-checkout #order_review .shop_table tfoot .order-total th,
.woocommerce-checkout #order_review .shop_table tfoot .order-total td {
    font-weight: 700;
    font-size: 15px;
    color: var(--o-text);
}
.woocommerce-checkout #place_order {
    background: var(--o-primary) !important;
    border: none !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 16px !important;
    border-radius: var(--r-sm) !important;
    width: 100%;
    display: block;
    transition: background var(--dt), box-shadow var(--dt);
}
.woocommerce-checkout #place_order:hover {
    background: var(--o-primary-hover) !important;
    box-shadow: var(--sh-o) !important;
}

/* ─── 9. MY ACCOUNT ─── */
.woocommerce-MyAccount-navigation {
    background: var(--o-surface);
    border: 1px solid var(--o-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    padding: 8px;
    margin-bottom: 0;
}
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0; margin: 0;
}
.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--o-text-2);
    transition: background var(--dt), color var(--dt);
}
.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--o-primary-light);
    color: var(--o-primary);
}
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--o-primary);
    color: #fff;
    font-weight: 600;
}

.woocommerce-MyAccount-content {
    background: var(--o-bg);
    border: 1px solid var(--o-border);
    border-radius: var(--r-lg);
    padding: 28px;
    font-family: var(--font-body);
    font-size: 14px;
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-size: 18px;
    margin-bottom: 16px;
}
.woocommerce-account .woocommerce-Address {
    border: 1px solid var(--o-border);
    border-radius: var(--r-md);
    padding: 20px;
    background: var(--o-surface);
}

/* ─── 10. STORE LISTING (DOKAN) ─── */
.dokan-store-listing-wrap .seller-listing-container {
    gap: 20px;
}
.dokan-store-listing-wrap .seller-listing-container .seller-listing {
    background: var(--o-bg);
    border: 1px solid var(--o-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: box-shadow var(--dt) var(--ease), transform var(--dt) var(--ease);
    box-shadow: var(--sh-xs);
}
.dokan-store-listing-wrap .seller-listing-container .seller-listing:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
}
.dokan-store-listing-wrap .seller-listing .seller-avatar {
    border-radius: 50%;
    border: 3px solid var(--o-primary-light);
}
.dokan-store-listing-wrap .seller-listing .seller-name a {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--o-text);
}
.dokan-store-listing-wrap .seller-listing .seller-name a:hover {
    color: var(--o-primary);
}
.dokan-store-listing-wrap .seller-listing .dokan-btn {
    background: var(--o-primary) !important;
    color: #fff !important;
    border-color: var(--o-primary) !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--dt), box-shadow var(--dt);
}
.dokan-store-listing-wrap .seller-listing .dokan-btn:hover {
    background: var(--o-primary-hover) !important;
    box-shadow: var(--sh-o) !important;
}

/* Store header (single vendor) */
.dokan-store-header .dokan-store-name {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--o-text);
}
.dokan-store-header .dokan-follow-store-btn,
.dokan-store-header .dokan-btn {
    background: var(--o-primary) !important;
    border-color: var(--o-primary) !important;
    color: #fff !important;
    border-radius: var(--r-sm) !important;
    font-weight: 600;
}

/* ─── 11. DOKAN DASHBOARD ─── */
.dokan-dashboard .dokan-dash-sidebar {
    background: var(--o-bg);
    border: 1px solid var(--o-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    padding: 8px;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--o-text-2);
    transition: background var(--dt), color var(--dt);
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-sidebar-menu li a:hover,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-sidebar-menu li.active a {
    background: var(--o-primary);
    color: #fff;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-sidebar-menu li a i {
    width: 18px;
    text-align: center;
    opacity: .8;
}

/* Dashboard widgets */
.dokan-dashboard .dokan-dash-content .dokan-widget-big-counter {
    background: var(--o-bg);
    border: 1px solid var(--o-border);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--sh-xs);
    transition: box-shadow var(--dt);
}
.dokan-dashboard .dokan-dash-content .dokan-widget-big-counter:hover {
    box-shadow: var(--sh-sm);
}
.dokan-dashboard .dokan-big-counter-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--o-text-3);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.dokan-dashboard .dokan-big-counter-count {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--o-primary);
}
.dokan-dashboard .dokan-btn,
.dokan-dashboard button[type=submit] {
    background: var(--o-primary) !important;
    border-color: var(--o-primary) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: var(--r-sm) !important;
    transition: background var(--dt), box-shadow var(--dt);
}
.dokan-dashboard .dokan-btn:hover,
.dokan-dashboard button[type=submit]:hover {
    background: var(--o-primary-hover) !important;
    box-shadow: var(--sh-o) !important;
}
.dokan-dashboard input[type=text],
.dokan-dashboard input[type=email],
.dokan-dashboard input[type=number],
.dokan-dashboard select,
.dokan-dashboard textarea {
    border: 1.5px solid var(--o-border) !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    padding: 9px 12px !important;
    transition: border-color var(--dt), box-shadow var(--dt) !important;
}
.dokan-dashboard input[type=text]:focus,
.dokan-dashboard input[type=email]:focus,
.dokan-dashboard textarea:focus {
    border-color: var(--o-primary) !important;
    box-shadow: 0 0 0 3px var(--o-primary-mid) !important;
    outline: none !important;
}

/* ─── 12. FOOTER ─── */
#wf_footer,
.wf_footer {
    background: #0F172A !important;
    color: #94A3B8 !important;
    border-top: 3px solid var(--o-primary) !important;
    font-family: var(--font-body);
    font-size: 14px;
}
.wf_footer .wf_footer-widget-area {
    padding: 56px 0 40px;
}
.wf_footer .widget-title,
.wf_footer h3,
.wf_footer h4 {
    font-family: var(--font-head) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #F1F5F9 !important;
    letter-spacing: .02em;
    margin-bottom: 18px !important;
    position: relative;
    padding-bottom: 10px;
}
.wf_footer .widget-title::after,
.wf_footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: var(--o-primary);
    border-radius: var(--r-pill);
}
.wf_footer .widget a,
.wf_footer a {
    color: #94A3B8 !important;
    transition: color var(--dt);
    font-size: 14px;
    line-height: 1.5;
}
.wf_footer .widget a:hover,
.wf_footer a:hover {
    color: var(--o-primary) !important;
}
.wf_footer ul {
    list-style: none;
    padding: 0; margin: 0;
}
.wf_footer ul li {
    margin-bottom: 10px;
}
.wf_footer .wf_footer-bottom,
.wf_footer .footer-bottom {
    background: #060C17 !important;
    border-top: 1px solid rgba(255,255,255,.07) !important;
    color: #64748B !important;
    font-size: 13px;
    padding: 16px 0 !important;
    text-align: center;
}
.wf_footer .wf_footer-bottom a {
    color: #94A3B8 !important;
}
.wf_footer .wf_footer-bottom a:hover {
    color: var(--o-primary) !important;
}

/* Footer logo */
.wf_footer .textwidget img,
.wf_footer .widget_text img {
    max-height: 48px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: .9;
}

/* ─── 13. SIDE CART (xoo-wsc) ─── */
.xoo-wsc-modal {
    font-family: var(--font-body);
}
.xoo-wsc-modal .xoo-wsc-header {
    background: var(--o-text);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
}
.xoo-wsc-modal .xoo-wsc-ft-btn-ac {
    background: var(--o-primary) !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body);
    font-weight: 700;
    transition: background var(--dt);
}
.xoo-wsc-modal .xoo-wsc-ft-btn-ac:hover {
    background: var(--o-primary-hover) !important;
}
.xoo-wsc-basket svg circle {
    fill: var(--o-primary) !important;
}

/* ─── 14. GLOBAL BUTTONS ─── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button .wp-block-button__link,
.dokan-btn,
.btn,
.button {
    font-family: var(--font-body) !important;
    border-radius: var(--r-sm) !important;
    font-weight: 600 !important;
    transition: background var(--dt) var(--ease), box-shadow var(--dt) var(--ease) !important;
}

/* ─── 15. FORMS GLOBAL ─── */
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=tel],
input[type=url],
input[type=search],
select,
textarea {
    border: 1.5px solid var(--o-border);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--o-text);
    background: var(--o-bg);
    padding: 10px 14px;
    transition: border-color var(--dt), box-shadow var(--dt);
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
    border-color: var(--o-primary);
    box-shadow: 0 0 0 3px var(--o-primary-mid);
    outline: none;
}

/* ─── 16. PAGINATION ─── */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
    display: flex;
    gap: 6px;
}
.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    border: 1.5px solid var(--o-border) !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px !important;
    color: var(--o-text-2) !important;
    transition: all var(--dt);
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: var(--o-primary) !important;
    color: var(--o-primary) !important;
    background: var(--o-primary-light) !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--o-primary) !important;
    border-color: var(--o-primary) !important;
    color: #fff !important;
}

/* ─── 17. NOTICES ─── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body);
    font-size: 14px;
    border-top: none !important;
    padding: 14px 20px !important;
}
.woocommerce-message { border-left: 4px solid var(--o-success) !important; background: #F0FDF4 !important; color: #166534 !important; }
.woocommerce-info    { border-left: 4px solid var(--o-primary) !important; background: var(--o-primary-light) !important; color: var(--o-text) !important; }
.woocommerce-error   { border-left: 4px solid var(--o-error) !important; background: #FEF2F2 !important; color: #991B1B !important; }
.woocommerce-message a.button,
.woocommerce-info a.button { float: none !important; margin-right: 12px; }

/* ─── 18. MOBILE ─── */
@media (max-width: 991px) {
    /* Z-index hierarchy */
    .wf_mobile_menu, #wf_mobile_menu, .wf_offcanvas-menu { z-index: 10000 !important; }
    .wf_mobilenav { z-index: 9999 !important; }
    .xoo-wsc-modal { z-index: 9998 !important; }
    .xoo-wsc-basket { z-index: 9000 !important; }
    .trp-language-switcher, .trp-floated-switcher {
        z-index: 8000 !important;
        bottom: 16px !important;
        right: 16px !important;
        position: fixed !important;
    }
    .wmc-currency-widget-wrap { z-index: 8001 !important; }

    /* Product grid mobile */
    .products.columns-3,
    .products.columns-4 { grid-template-columns: repeat(2, 1fr); }
    .products.columns-2 { grid-template-columns: 1fr; }

    /* Logo mobile */
    .header--six .wf_mobilenav .logo img,
    .mobile-logo img { max-height: 44px !important; }

    /* Cart totals stacked */
    .woocommerce-cart .cart-collaterals { padding: 0 16px; }

    /* Checkout single col */
    .woocommerce-checkout .col2-set { display: flex; flex-direction: column; }
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 { width: 100% !important; }

    /* Account nav horizontal scroll on mobile */
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        gap: 6px;
        padding-bottom: 4px;
    }
    .woocommerce-MyAccount-navigation ul li { flex-shrink: 0; }
    .woocommerce-MyAccount-navigation ul li a { white-space: nowrap; }
}

@media (max-width: 600px) {
    .products.columns-2,
    .products.columns-3,
    .products.columns-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
    .woocommerce ul.products li.product .price { font-size: 13px; }
    .woocommerce ul.products li.product .button { font-size: 12px !important; padding: 8px 12px !important; }

    .single-product .product_title { font-size: 20px; }
    .single-product .price { font-size: 20px; }
    .single-product .single_add_to_cart_button { padding: 14px 20px !important; font-size: 14px !important; }

    .woocommerce-checkout .form-row { float: none !important; width: 100% !important; padding: 0 !important; }

    #wf_footer .wf_footer-widget-area { padding: 36px 0 24px; }
}

/* ─── 19. ACCESSIBILITY ─── */
:focus-visible {
    outline: 2px solid var(--o-primary);
    outline-offset: 3px;
    border-radius: var(--r-xs);
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ─── 20. SCROLLBAR (webkit) ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--o-surface); }
::-webkit-scrollbar-thumb { background: var(--o-border-2); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--o-primary); }
/* ─── OBUY CARD COMPONENTS (appended) ─── */

/* Card layout */
.obuy-product-card.product { padding: 0 !important; }
.obuy-card-inner { display: flex; flex-direction: column; height: 100%; }

/* Media */
.obuy-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--o-surface);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.obuy-card-img-link { display: block; width: 100%; height: 100%; }
.obuy-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform var(--dt-lg) var(--ease);
}
.obuy-product-card:hover .obuy-card-media img { transform: scale(1.05); }

/* Badges */
.obuy-badge {
    position: absolute;
    top: 10px; left: 10px;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 10px;
    z-index: 2;
}
.obuy-badge--sale { background: var(--o-error); color: #fff; }

/* Body */
.obuy-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
    gap: 6px;
}

/* Vendor */
.obuy-card-vendor {
    font-size: 11px;
    font-weight: 600;
    color: var(--o-primary);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0;
}

/* Title */
.obuy-card-title {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--o-text) !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
}
.obuy-card-title a { color: inherit; }
.obuy-card-title a:hover { color: var(--o-primary) !important; }

/* Rating */
.obuy-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}
.obuy-card-rating .star-rating {
    font-size: 11px;
    color: #F59E0B;
    margin: 0;
}
.obuy-card-rating-count { font-size: 11px; color: var(--o-text-3); }

/* Footer: price + CTA */
.obuy-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--o-border);
}
.obuy-card-price {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--o-primary);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.obuy-card-price del { font-size: 11px; font-weight: 400; color: var(--o-text-3); }
.obuy-card-price ins { text-decoration: none; }

/* CTA button */
.obuy-card-cta {
    background: var(--o-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 8px 14px !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--dt) var(--ease), box-shadow var(--dt) var(--ease);
    flex-shrink: 0;
}
.obuy-card-cta:hover {
    background: var(--o-primary-hover) !important;
    box-shadow: var(--sh-o) !important;
    color: #fff !important;
}
.obuy-card-cta.loading::after {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: obuy-spin .6s linear infinite;
    margin-left: 6px;
    vertical-align: middle;
}

/* Sticky header scroll */
#wf_header.obuy-scrolled .wf_navbar-wrapper {
    box-shadow: var(--sh-sm) !important;
}

/* Spinner */
@keyframes obuy-spin { to { transform: rotate(360deg); } }

/* ─── HOME HERO SECTIONS ─── */
.wf_slider--eleven .slider .owl-item:nth-child(3n+1) .wf_slider-item { background: #FFF3E8; }
.wf_slider--eleven .slider .owl-item:nth-child(3n+2) .wf_slider-item { background: #F0F9FF; }
.wf_slider--eleven .slider .owl-item:nth-child(3n)   .wf_slider-item { background: #F0FDF4; }

/* Section titles */
.wf_section-title .title,
.section-title .title,
.wf_section > .wf-container > .title {
    font-family: var(--font-head) !important;
    font-size: clamp(20px, 3vw, 30px) !important;
    font-weight: 700 !important;
    color: var(--o-text) !important;
    letter-spacing: -.02em;
}

/* Category blocks premium */
.wf_product-category .cat-item,
.woocommerce-page .product-category {
    border-radius: var(--r-lg) !important;
    overflow: hidden;
    transition: box-shadow var(--dt) var(--ease), transform var(--dt) var(--ease);
}
.wf_product-category .cat-item:hover,
.woocommerce-page .product-category:hover {
    box-shadow: var(--sh-md) !important;
    transform: translateY(-2px);
}

/* ─── MOBILE card adjustments ─── */
@media (max-width: 600px) {
    .obuy-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
    .obuy-card-cta { width: 100%; text-align: center; padding: 10px !important; }
    .obuy-card-price { font-size: 14px; }
}

/* ─── REFINEMENT PATCH — OBUY 2026.1 ─── */

/* Logo proprement dimensionné via CSS (renforce le Customizer) */
.site--logo img,
.wf_mobilenav-logo img {
    height: auto !important;
    max-height: 52px !important;
    object-fit: contain !important;
}

/* ── Information trust badges ── */
.wf_information--two .wf_information {
    padding: 48px 0;
    background: var(--o-bg);
}
.wf_information .widget.widget_contact {
    border-radius: var(--r-lg) !important;
    border: 1px solid var(--o-border) !important;
    padding: 20px 18px !important;
    box-shadow: var(--sh-xs);
    transition: box-shadow var(--dt) var(--ease), transform var(--dt) var(--ease);
}
.wf_information .widget.widget_contact:hover {
    box-shadow: var(--sh-sm) !important;
    transform: translateY(-2px);
    border-color: var(--o-primary) !important;
}
.wf_information .widget.widget_contact i {
    background: var(--o-primary-light) !important;
    color: var(--o-primary) !important;
    border-radius: var(--r-md) !important;
    width: 52px !important; height: 52px !important;
    font-size: 20px !important;
}
.wf_information .widget.widget_contact .contact__body .title {
    font-family: var(--font-head) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--o-text) !important;
}
.wf_information .widget.widget_contact .contact__body .description {
    color: var(--o-text-3) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* ── Footer top trust bar ── */
.wf_footer-top .wf_footer-top-inner,
.wf_footer .wf_footer-top {
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 28px 0;
}
.wf_footer-top .widget_contact i {
    background: rgba(255,122,0,.15) !important;
    color: var(--o-primary) !important;
    border-radius: var(--r-sm) !important;
}
.wf_footer-top .contact__body .title {
    color: #F1F5F9 !important;
    font-family: var(--font-head) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.wf_footer-top .contact__body .description {
    color: #64748B !important;
    font-size: 13px !important;
}

/* ── Footer widget titles (underline accent) ── */
.wf_footer .widget-title,
.wf_footer h4 {
    position: relative;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}
.wf_footer .widget-title::after,
.wf_footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: var(--o-primary);
    border-radius: var(--r-pill);
}

/* ── Footer SVG icon rows ── */
.wf_footer .widget_text ul li {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin-bottom: 10px !important;
}
.wf_footer .widget_text ul li svg {
    flex-shrink: 0;
    color: var(--o-primary);
    opacity: .85;
}
.wf_footer .widget_text p {
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.65;
}

/* ── Product card — layout fix (override shopire specifics) ── */
.woocommerce ul.products li.product .product {
    display: flex !important;
    flex-direction: column !important;
}
.woocommerce ul.products li.product .product-single {
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
}
/* Remove shopire's extra wrapper padding */
.woocommerce ul.products li.product .product-action,
.woocommerce ul.products li.product .product-info {
    padding: 0 !important;
}

/* ── Archive page — sidebar + content ratio ── */
.woocommerce-page .woocommerce .col2-set .col-1 { width: 100%; }

/* ── Stripe/colors cleanup: remove red variables ── */
:root {
    --wf-main-color: var(--o-primary) !important;
    --wf-main-rgb: 255, 122, 0 !important;
    --wf-btn-color: var(--o-primary) !important;
}

/* ── CTA section (hurry/countdown) ── */
.wf_hurry_section.front-cta {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%) !important;
    border-radius: var(--r-xl);
    margin: 0 20px;
}
.wf_hurry_section .wf-btn {
    background: var(--o-primary) !important;
    border-color: var(--o-primary) !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
}

/* ── Popular products title ── */
.shopire-popular-product .section-title h2,
.wf_tabs .section-title .title {
    font-family: var(--font-head) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--o-text) !important;
}

/* ── Topbar: remove red, use orange ── */
.wf-btn--primary,
.wf_btn--primary {
    background-color: var(--o-primary) !important;
    border-color: var(--o-primary) !important;
}
.wf-btn--primary:hover,
.wf_btn--primary:hover {
    background-color: var(--o-primary-hover) !important;
    border-color: var(--o-primary-hover) !important;
}

/* ── Mobile nav improvements ── */
@media (max-width: 991px) {
    .wf_mobilenav-mainmenu-content .menu-item a {
        font-family: var(--font-body);
        font-size: 15px;
        font-weight: 500;
        padding: 12px 20px;
        color: var(--o-text);
        border-bottom: 1px solid var(--o-border);
        display: block;
    }
    .wf_mobilenav-mainmenu-content .menu-item a:hover {
        color: var(--o-primary);
        background: var(--o-primary-light);
    }
    .wf_information--two .wf_information { padding: 24px 0; }
    .wf_hurry_section.front-cta { margin: 0 12px; border-radius: var(--r-lg); }
}

/* ── Woo product: fix grid when shopire overrides ── */
@media (min-width: 992px) {
    .woocommerce-page ul.products.columns-4 { grid-template-columns: repeat(4, 1fr) !important; }
    .woocommerce-page ul.products.columns-3 { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ═══════════════════════════════════════════════════════════════
   OBUY 2026 — PATCH 2026-02-26
   Corrections: shop grid, Dokan colors, currency switcher,
                footer CTA, contact form, compare empty state
   ═══════════════════════════════════════════════════════════════ */

/* ─── SHOP GRID RESET — override shopire float/width overrides ─── */

/* Force grid layout, kill shopire float */
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    list-style: none;
}

/* Kill shopire's float:left + width:30.75% on li.product */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    flex: none !important;
}

/* obuy-card-inner height fill */
.obuy-product-card.product { padding: 0 !important; }
.obuy-card-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Title — no text break */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .obuy-card-title {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    letter-spacing: normal !important;
}

/* ─── Responsive grid overrides ─── */
@media (min-width: 1200px) {
    .woocommerce ul.products,
    ul.products { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .woocommerce ul.products,
    ul.products { grid-template-columns: repeat(3, 1fr) !important; }
    /* Kill shopire tablet float */
    .woocommerce ul.products.columns-3:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-3:not(.owl-carousel) li.product,
    .woocommerce ul.products.columns-4:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-4:not(.owl-carousel) li.product {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
    }
}
@media (max-width: 767px) {
    .woocommerce ul.products,
    ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .woocommerce ul.products.columns-2:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-2:not(.owl-carousel) li.product,
    .woocommerce ul.products.columns-3:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-3:not(.owl-carousel) li.product,
    .woocommerce ul.products.columns-4:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-4:not(.owl-carousel) li.product {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
    }
}

/* ─── Currency switcher — fix overflow ─── */
/* The widget uses: .woo-multi-currency.wmc-right.style-1.wmc-bottom.wmc-sidebar */
.woo-multi-currency.wmc-sidebar {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 500 !important;
    max-width: 60px;
}
.woo-multi-currency.wmc-sidebar .wmc-list-currencies {
    right: 0 !important;
    left: auto !important;
}
@media (max-width: 991px) {
    .woo-multi-currency.wmc-sidebar {
        top: auto !important;
        bottom: 80px !important;
        transform: none !important;
        right: 0 !important;
    }
}

/* ─── DOKAN — Remplacer violet/purple par orange OBUY ─── */

/* Override CSS variables */
:root {
    --dokan-button-background-color: var(--o-primary) !important;
    --dokan-store-color: var(--o-primary) !important;
}

/* dokan-btn-theme: violet → orange */
input[type='submit'].dokan-btn-theme,
a.dokan-btn-theme,
.dokan-btn-theme,
button.dokan-btn-theme,
.dokan-store-listing-filter-wrap .dokan-btn,
.dokan-geolocation-filter .dokan-btn {
    background-color: var(--o-primary) !important;
    border-color: var(--o-primary) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    border-radius: var(--r-sm) !important;
    transition: background 200ms, box-shadow 200ms !important;
}
input[type='submit'].dokan-btn-theme:hover,
a.dokan-btn-theme:hover,
.dokan-btn-theme:hover,
button.dokan-btn-theme:hover,
input[type='submit'].dokan-btn-theme:focus,
a.dokan-btn-theme:focus,
.dokan-btn-theme:focus,
button.dokan-btn-theme:focus,
input[type='submit'].dokan-btn-theme:active,
a.dokan-btn-theme:active,
.dokan-btn-theme:active,
button.dokan-btn-theme:active {
    background-color: var(--o-primary-hover) !important;
    border-color: var(--o-primary-hover) !important;
    color: #fff !important;
}

/* Dokan round arrow buttons on store listing */
.dokan-btn-theme.dokan-btn-round,
span.dokan-btn-theme.dokan-btn-round {
    background-color: var(--o-primary) !important;
    border-color: var(--o-primary) !important;
    color: #fff !important;
}

/* Dokan sidebar purple → orange */
.dokan-dashboard-sidebar,
.dokan-dashboard .dokan-dashboard-sidebar,
.dokan-store-sidebar {
    background-color: var(--o-bg) !important;
}

/* Dokan dashboard nav active/hover */
.dokan-dashboard .dokan-dashboard-menu > li.active > a,
.dokan-dashboard .dokan-dashboard-menu > li:hover > a,
.dokan-dashboard .dokan-dashboard-menu > li.active > a span,
.dokan-dashboard .dokan-dashboard-menu > li:hover > a span {
    background-color: var(--o-primary) !important;
    color: #fff !important;
}

/* Store listing filter bar */
.dokan-store-listing-filter-wrap {
    background: var(--o-surface) !important;
    border: 1px solid var(--o-border) !important;
    border-radius: var(--r-md) !important;
    padding: 12px 16px !important;
    margin-bottom: 24px !important;
}

/* Store listing cards */
.dokan-store-listing-wrap .dokan-single-store {
    background: var(--o-bg) !important;
    border: 1px solid var(--o-border) !important;
    border-radius: var(--r-lg) !important;
    overflow: hidden;
    transition: box-shadow 200ms, transform 200ms;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.dokan-store-listing-wrap .dokan-single-store:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
    transform: translateY(-2px);
}

/* Store info heading */
.dokan-store-listing-wrap .dokan-info h2,
.dokan-store-listing-wrap .dokan-info .dokan-store-name {
    font-family: var(--font-head) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--o-text) !important;
}

/* Store pagination */
.dokan-store-listing-wrap .dokan-store-listing-pagination .page-numbers,
.dokan-pagination .page-numbers {
    background: var(--o-bg) !important;
    border: 1.5px solid var(--o-border) !important;
    color: var(--o-text-2) !important;
    border-radius: var(--r-sm) !important;
    transition: all 200ms !important;
}
.dokan-store-listing-wrap .dokan-store-listing-pagination .page-numbers.current,
.dokan-store-listing-wrap .dokan-store-listing-pagination .page-numbers:hover,
.dokan-pagination .page-numbers.current,
.dokan-pagination .page-numbers:hover {
    background: var(--o-primary) !important;
    border-color: var(--o-primary) !important;
    color: #fff !important;
}

/* Dokan links / text colors that are purple */
.dokan-store-listing-wrap a,
.dokan-store-listing-filter-wrap .dokan-left * {
    color: var(--o-text-2) !important;
}
.dokan-store-listing-wrap a:hover {
    color: var(--o-primary) !important;
}

/* View toggle active state */
.dokan-store-listing-filter-wrap .list-grid-toggle a.active,
.dokan-store-listing-filter-wrap .dokan-grid-view.active,
.dokan-store-listing-filter-wrap .dokan-list-view.active {
    color: var(--o-primary) !important;
}

/* ─── FOOTER CTA "Nous contacter" button ─── */
.wf_footer .widget_text a[href*="contact"],
.wf_footer .widget_text .obuy-btn-contact {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    color: var(--o-primary) !important;
    border: 1.5px solid var(--o-primary) !important;
    border-radius: var(--r-sm) !important;
    padding: 9px 20px !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: 18px !important;
    transition: background 200ms, color 200ms !important;
    letter-spacing: .02em;
}
.wf_footer .widget_text a[href*="contact"]:hover {
    background: var(--o-primary) !important;
    color: #fff !important;
}

/* ─── Page Contact — CF7 form ─── */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    border: 1.5px solid var(--o-border) !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    width: 100% !important;
    transition: border-color 200ms, box-shadow 200ms !important;
    background: var(--o-bg) !important;
    color: var(--o-text) !important;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: var(--o-primary) !important;
    box-shadow: 0 0 0 3px var(--o-primary-mid) !important;
    outline: none !important;
}
.wpcf7 input[type="submit"],
.wpcf7-form .submit input {
    background: var(--o-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 12px 32px !important;
    cursor: pointer !important;
    transition: background 200ms, box-shadow 200ms !important;
}
.wpcf7 input[type="submit"]:hover {
    background: var(--o-primary-hover) !important;
    box-shadow: 0 4px 14px rgba(255,122,0,.35) !important;
}

/* ─── Compare page — empty state styles ─── */
.obuy-compare-empty {
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.obuy-compare-empty h3 {
    font-family: var(--font-head);
    font-size: 22px;
    color: var(--o-text);
}
.obuy-compare-empty p {
    font-size: 14px;
    color: var(--o-text-3);
}
.obuy-compare-empty .obuy-btn-primary {
    background: var(--o-primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    transition: background 200ms;
}
.obuy-compare-empty .obuy-btn-primary:hover { background: var(--o-primary-hover); }
/* ═══════════════════════════════════════════════════════════════
   END OBUY PATCH 2026-02-26
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   OBUY FINAL PATCH — cible exacte shopire woo-styles
   ═══════════════════════════════════════════════════ */

/* ── 1. SHOP GRID — override sélecteurs exacts shopire ── */

/* Reset le float context sur le conteneur */
.woocommerce ul.products:not(.owl-carousel),
.woocommerce-page ul.products:not(.owl-carousel) {
    display: grid !important;
    float: none !important;
    width: 100% !important;
    gap: 20px !important;
    grid-template-columns: repeat(4, 1fr) !important;
    align-items: start !important;
}
/* Même sélecteur que shopire → spécificité identique + !important gagne */
.woocommerce ul.products.columns-4:not(.owl-carousel),
.woocommerce-page ul.products.columns-4:not(.owl-carousel) {
    grid-template-columns: repeat(4, 1fr) !important;
}
.woocommerce ul.products.columns-3:not(.owl-carousel),
.woocommerce-page ul.products.columns-3:not(.owl-carousel) {
    grid-template-columns: repeat(3, 1fr) !important;
}
.woocommerce ul.products.columns-2:not(.owl-carousel),
.woocommerce-page ul.products.columns-2:not(.owl-carousel) {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* Reset li — même sélecteurs que shopire */
.woocommerce ul.products.columns-3:not(.owl-carousel) li.product,
.woocommerce-page ul.products.columns-3:not(.owl-carousel) li.product,
.woocommerce ul.products.columns-4:not(.owl-carousel) li.product,
.woocommerce-page ul.products.columns-4:not(.owl-carousel) li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
}
/* Tous les breakpoints shopire */
@media (min-width: 768px) and (max-width: 991px) {
    .woocommerce ul.products.columns-4:not(.owl-carousel),
    .woocommerce-page ul.products.columns-4:not(.owl-carousel) {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .woocommerce ul.products.columns-3:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-3:not(.owl-carousel) li.product,
    .woocommerce ul.products.columns-4:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-4:not(.owl-carousel) li.product {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    .woocommerce ul.products.columns-3:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-3:not(.owl-carousel) li.product,
    .woocommerce ul.products.columns-4:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-4:not(.owl-carousel) li.product {
        width: auto !important;
        float: none !important;
    }
    .woocommerce ul.products:not(.owl-carousel),
    .woocommerce-page ul.products:not(.owl-carousel) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 575px) {
    .woocommerce ul.products:not(.owl-carousel),
    .woocommerce-page ul.products:not(.owl-carousel) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .woocommerce ul.products.columns-2:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-2:not(.owl-carousel) li.product,
    .woocommerce ul.products.columns-4:not(.owl-carousel) li.product,
    .woocommerce-page ul.products.columns-4:not(.owl-carousel) li.product {
        width: auto !important;
        float: none !important;
    }
}

/* ── 2. Product card shopire inner structure ── */
.product-single {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #fff !important;
    border: 1px solid var(--o-border) !important;
    border-radius: var(--r-lg) !important;
    overflow: hidden !important;
    transition: box-shadow var(--dt) var(--ease), transform var(--dt) var(--ease) !important;
    box-shadow: none !important;
}
.product-single:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.10) !important;
    transform: translateY(-2px) !important;
}

.product-img {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: var(--o-surface) !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
}
.product-img img,
.product-img .attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 250ms var(--ease) !important;
}
.product-single:hover .product-img img { transform: scale(1.05) !important; }

/* Content zone */
.product-single .product-content,
.product-single .product-info {
    padding: 14px 14px 16px !important;
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
}

/* Title — no hyphens, 2 lines max */
.product-single .woocommerce-loop-product__title,
.product-single h2 {
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--o-text) !important;
    word-break: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 0 8px !important;
    white-space: normal !important;
}

/* Shopire product link inline → block */
.woocommerce ul.products li.product a {
    display: block !important;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.product-single .onsale {
    background: var(--o-error) !important;
    border-radius: var(--r-pill) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    color: #fff !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    margin: 0 !important;
    min-height: auto !important;
    line-height: 1.4 !important;
}

/* Price */
.product-single .price,
.woocommerce ul.products li.product .price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--o-primary) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin: auto 0 10px !important;
}
.product-single .price del { font-size: 11px !important; color: var(--o-text-3) !important; font-weight: 400 !important; }
.product-single .price ins { text-decoration: none !important; }

/* Add to cart */
.product-single .button,
.woocommerce ul.products li.product .button {
    background: var(--o-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--r-sm) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 9px 14px !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    transition: background var(--dt), box-shadow var(--dt) !important;
    font-family: var(--font-body) !important;
}
.product-single .button:hover { background: var(--o-primary-hover) !important; box-shadow: var(--sh-o) !important; }

/* ── 3. DOKAN — spécificité renforcée ── */
:root {
    --dokan-store-color: #FF7A00 !important;
    --dokan-button-background-color: #FF7A00 !important;
    --dokan-button-color: #ffffff !important;
    --dokan-button-hover-background-color: #E86E00 !important;
}

/* Filter bar orange */
.dokan-btn-theme,
.dokan-btn-theme:hover,
.dokan-btn-theme:active,
.dokan-btn-theme:focus,
.dokan-btn-theme:visited,
button.dokan-btn-theme,
a.dokan-btn-theme,
input[type=submit].dokan-btn-theme,
.dokan-store-listing-filter-wrap .dokan-btn,
.dokan-geolocation-filter button,
.dokan-store-listing-wrap .dokan-btn {
    background-color: #FF7A00 !important;
    border-color: #FF7A00 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
}
.dokan-btn-theme:hover,
.dokan-store-listing-filter-wrap .dokan-btn:hover {
    background-color: #E86E00 !important;
    border-color: #E86E00 !important;
}

/* Store listing arrows */
.dokan-store-listing-wrap .dokan-pagination-container a,
.dokan-store-listing-wrap .pagination a,
.dokan-store-listing-wrap .page-numbers,
.dokan-store-listing-pagination a,
.dokan-store-listing-pagination .page-numbers {
    background: #FF7A00 !important;
    color: #fff !important;
    border-color: #FF7A00 !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Store card header gradient */
.dokan-store-listing-wrap .dokan-single-store .store-thumb,
.dokan-store-listing-wrap .dokan-single-store .store-banner-img,
.dokan-store-listing-wrap .dokan-single-store .store-header {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%) !important;
    min-height: 150px !important;
}

/* Filter bar layout */
.dokan-store-listing-filter-wrap {
    background: var(--o-surface) !important;
    border: 1px solid var(--o-border) !important;
    border-radius: var(--r-md) !important;
    padding: 12px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-bottom: 24px !important;
}
.dokan-store-listing-filter-wrap .dokan-left,
.dokan-store-listing-filter-wrap .store-count {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--o-text-2) !important;
}

/* Store cards grid */
.dokan-store-listing-wrap .dokan-single-store,
.dokan-store-listing-wrap article {
    background: #fff !important;
    border: 1px solid var(--o-border) !important;
    border-radius: var(--r-lg) !important;
    overflow: hidden !important;
    transition: box-shadow 200ms, transform 200ms !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.07) !important;
}
.dokan-store-listing-wrap .dokan-single-store:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.10) !important;
    transform: translateY(-2px) !important;
}

/* Store name */
.dokan-store-listing-wrap .vendor-name,
.dokan-store-listing-wrap .store-name,
.dokan-store-listing-wrap h2,
.dokan-store-listing-wrap h3 {
    font-family: var(--font-head) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--o-text) !important;
}

/* ── 4. Currency switcher ── */
.wmc-currency-widget-wrap,
.woo-multi-currency.wmc-sidebar {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 900 !important;
    border-radius: 8px 0 0 8px !important;
    overflow: hidden;
    box-shadow: -2px 0 12px rgba(0,0,0,.10) !important;
}
.wmc-currency-widget-wrap .wmc-currency,
.woo-multi-currency .wmc-currency {
    background: #fff !important;
    border-bottom: 1px solid var(--o-border) !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--o-text) !important;
    padding: 8px 14px !important;
    cursor: pointer;
    transition: background 150ms !important;
}
.wmc-currency-widget-wrap .wmc-currency:hover,
.wmc-currency-widget-wrap .wmc-currency.wmc-active {
    background: #FF7A00 !important;
    color: #fff !important;
}

/* ── 5. Header premium final touches ── */
/* Topbar badge "Livraison" */
.header--six .wf_header-topbar {
    font-family: var(--font-body) !important;
    font-size: 13px !important;
}
/* Vente Flash button orange */
.wf_navbar-info-contact a.wf-btn,
.wf_navbar-info-contact .wf_btn--primary,
[class*="wf_btn--primary"],
a.wf_btn.wf-btn--primary {
    background: #FF7A00 !important;
    border-color: #FF7A00 !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

/* ── 6. Page title propre ── */
.woocommerce-products-header__title.page-title,
.entry-title,
.woocommerce-page .page-title {
    font-family: var(--font-head) !important;
    font-size: clamp(22px, 3vw, 32px) !important;
    font-weight: 700 !important;
    color: var(--o-text) !important;
    text-align: center;
    margin-bottom: 8px !important;
}

/* ── 7. Breadcrumb ── */
.woocommerce-breadcrumb {
    text-align: center;
    font-size: 13px !important;
    color: var(--o-text-3) !important;
}
.woocommerce-breadcrumb a { color: var(--o-text-2) !important; }
.woocommerce-breadcrumb a:hover { color: #FF7A00 !important; }

/* ═══════════════════════════════════════════════════════
   OBUY 2026 — RESTYLE v2
   Police · Inputs · Login · Boutique · Vendeurs · Contact
   ═══════════════════════════════════════════════════════ */

/* ── 0. FONT SWITCH — Plus Jakarta Sans ── */
:root {
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-head: 'Sora', sans-serif;
}
*, body, button, input, select, textarea {
    font-family: var(--font-body);
}
h1, h2, h3, .widget-title, .section-title {
    font-family: var(--font-head);
}

/* ── 1. INPUTS — cadres bien visibles ── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select,
.woocommerce-Input,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.dokan-form-control,
.comment-form input,
.comment-form textarea {
    border: 1.5px solid #C8D3E0 !important;
    border-radius: 10px !important;
    padding: 11px 16px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: #1E293B !important;
    background: #FAFBFC !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.05), inset 0 1px 2px rgba(0,0,0,.04) !important;
    transition: border-color 200ms, box-shadow 200ms, background 200ms !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.dokan-form-control:focus {
    border-color: #FF7A00 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(255,122,0,.12), 0 1px 3px rgba(0,0,0,.06) !important;
}
label,
.woocommerce form .form-row label {
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    display: block !important;
    letter-spacing: .01em !important;
}
.woocommerce form .form-row { margin-bottom: 18px !important; }
select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 36px !important;
}

/* ── 2. LOGIN / REGISTER — centré, chaleureux ── */
.woocommerce-account:not(.logged-in) .woocommerce,
.obuy-account .woocommerce {
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 40px 20px 60px !important;
}

/* Override old 2-col layout → centered card */
.obuy-login-wrap {
    max-width: 480px !important;
    margin: 0 auto !important;
}

/* The login-page we built in WC template */
.obuy-login-hero {
    display: none !important; /* on centre, pas de split */
}
.obuy-login-form-side {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 40px 40px 36px !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 40px rgba(0,0,0,.10) !important;
    background: #fff !important;
}
@media (max-width: 600px) {
    .obuy-login-form-side { padding: 28px 22px !important; }
}

/* Greeting header */
.obuy-login-form-side .obuy-login-greeting {
    text-align: center !important;
    margin-bottom: 28px !important;
}
.obuy-login-form-side .obuy-login-greeting h1 {
    font-family: var(--font-head) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin: 0 0 8px !important;
}
.obuy-login-form-side .obuy-login-greeting p {
    color: #64748B !important;
    font-size: 14px !important;
    margin: 0 !important;
}

/* Avatar emoji/icon */
.obuy-login-avatar {
    width: 64px !important;
    height: 64px !important;
    background: linear-gradient(135deg, #FF7A00 0%, #FFB347 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 16px !important;
    font-size: 28px !important;
    box-shadow: 0 4px 16px rgba(255,122,0,.30) !important;
}

/* Tabs */
.obuy-login-tabs {
    display: flex !important;
    background: #F1F5F9 !important;
    border-radius: 12px !important;
    padding: 4px !important;
    margin-bottom: 28px !important;
    gap: 0 !important;
}
.obuy-login-tab {
    flex: 1 !important;
    text-align: center !important;
    padding: 10px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748B !important;
    cursor: pointer !important;
    border-radius: 9px !important;
    transition: all 200ms !important;
    background: transparent !important;
    border: none !important;
}
.obuy-login-tab.active {
    background: #fff !important;
    color: #FF7A00 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.10) !important;
}

/* Stats stripe */
.obuy-login-stats {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid #F1F5F9 !important;
}
.obuy-login-stats .stat {
    text-align: center !important;
}
.obuy-login-stats .stat strong {
    display: block !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #FF7A00 !important;
    font-family: var(--font-head) !important;
}
.obuy-login-stats .stat span {
    font-size: 11px !important;
    color: #94A3B8 !important;
    font-weight: 500 !important;
}

/* WooCommerce default login fallback (if no template) */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* ── 3. SHOP — product cards raffinés ── */

/* Supprimer les séparateurs bizarres */
.woocommerce ul.products li.product hr,
.product-single hr,
.obuy-product-card hr {
    display: none !important;
}

/* Card wrapper — coins plus marqués, ombre subtile */
.woocommerce ul.products li.product .product-single,
.obuy-product-card {
    border: 1.5px solid #E8ECF0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    overflow: hidden !important;
    transition: box-shadow 250ms, transform 250ms, border-color 250ms !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.05) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.woocommerce ul.products li.product .product-single:hover,
.obuy-product-card:hover {
    border-color: #FF7A00 !important;
    box-shadow: 0 8px 30px rgba(255,122,0,.12) !important;
    transform: translateY(-3px) !important;
}

/* Zone image — ratio carré */
.product-img,
.obuy-card-media,
.woocommerce ul.products li.product .product-img {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #F8FAFC !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    position: relative !important;
}
.product-img img,
.obuy-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 300ms cubic-bezier(.4,0,.2,1) !important;
}
.product-single:hover .product-img img,
.obuy-product-card:hover .obuy-card-media img { transform: scale(1.06) !important; }

/* Badge promo */
.woocommerce ul.products li.product .onsale,
.obuy-badge-promo {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    background: #FF3B30 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    line-height: 1.5 !important;
    z-index: 2 !important;
}

/* Zone texte */
.product-single .product-content,
.product-single .product-info,
.obuy-card-body {
    padding: 14px 14px 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

/* Vendeur */
.obuy-card-vendor {
    font-size: 11px !important;
    color: #94A3B8 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
}

/* Titre produit */
.product-single .woocommerce-loop-product__title,
.product-single h2,
.obuy-card-title {
    font-family: var(--font-body) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #1E293B !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 0 4px !important;
    word-break: normal !important;
    hyphens: none !important;
}

/* Prix */
.product-single .price,
.woocommerce ul.products li.product .price,
.obuy-card-price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #FF7A00 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin: auto 0 0 !important;
}
.product-single .price del,
.obuy-card-price del {
    font-size: 11px !important;
    color: #94A3B8 !important;
    font-weight: 400 !important;
}
.product-single .price ins,
.obuy-card-price ins { text-decoration: none !important; }

/* Footer carte — prix + bouton */
.obuy-card-footer,
.product-single .product-action {
    padding: 10px 14px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

/* Bouton Add to cart */
.product-single .button,
.woocommerce ul.products li.product .button,
.obuy-card-footer .button {
    background: #FF7A00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: var(--font-body) !important;
    padding: 10px 14px !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    cursor: pointer !important;
    transition: background 200ms, transform 150ms, box-shadow 200ms !important;
    letter-spacing: .01em !important;
}
.product-single .button:hover,
.woocommerce ul.products li.product .button:hover {
    background: #E86E00 !important;
    box-shadow: 0 4px 14px rgba(255,122,0,.35) !important;
    transform: translateY(-1px) !important;
}

/* Page title boutique */
.obuy-shop .woocommerce-products-header {
    background: linear-gradient(135deg, #FFF7F0 0%, #FEF3E9 100%) !important;
    border-radius: 16px !important;
    padding: 32px 24px !important;
    margin-bottom: 28px !important;
    border: 1px solid #FFE4C8 !important;
}
.obuy-shop .woocommerce-products-header__title {
    color: #FF7A00 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

/* Sorting / result count bar */
.woocommerce-ordering select,
.woocommerce .woocommerce-ordering select {
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding: 8px 36px 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #fff !important;
}
.woocommerce-result-count {
    font-size: 13px !important;
    color: #64748B !important;
    font-weight: 500 !important;
}

/* ── 4. STORE LISTING — page vendeurs ── */

/* Barre de filtre */
.dokan-store-listing-filter-wrap {
    background: #fff !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 14px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-bottom: 28px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;
}
.dokan-store-listing-filter-wrap .store-count,
.dokan-store-listing-filter-wrap .dokan-left {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    font-family: var(--font-body) !important;
}

/* Cards vendeurs */
.dokan-store-listing-wrap .dokan-single-store,
.dokan-store-listing-wrap article.vendor-store {
    background: #fff !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    transition: box-shadow 250ms, transform 250ms, border-color 250ms !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.06) !important;
}
.dokan-store-listing-wrap .dokan-single-store:hover {
    border-color: #FF7A00 !important;
    box-shadow: 0 8px 30px rgba(255,122,0,.12) !important;
    transform: translateY(-3px) !important;
}

/* Bannière boutique — gradient premium */
.dokan-store-listing-wrap .dokan-single-store .store-thumb,
.dokan-store-listing-wrap .dokan-single-store .store-banner-img,
.dokan-store-listing-wrap .dokan-single-store .vendor-banner,
.dokan-store-listing-wrap .dokan-single-store .store-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F4C81 100%) !important;
    min-height: 130px !important;
    position: relative !important;
}
/* Overlay pattern sur la bannière */
.dokan-store-listing-wrap .dokan-single-store .store-thumb::before,
.dokan-store-listing-wrap .dokan-single-store .store-banner::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,.06)'/%3E%3C/svg%3E") !important;
    pointer-events: none !important;
}

/* Avatar vendeur */
.dokan-store-listing-wrap .dokan-single-store .vendor-profile-image img,
.dokan-store-listing-wrap .dokan-single-store .store-gravatar img {
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.18) !important;
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
}

/* Infos boutique */
.dokan-store-listing-wrap .dokan-single-store .store-content,
.dokan-store-listing-wrap .dokan-single-store .vendor-content {
    padding: 14px 16px 16px !important;
}
.dokan-store-listing-wrap .vendor-name,
.dokan-store-listing-wrap .store-name,
.dokan-store-listing-wrap h2,
.dokan-store-listing-wrap h3 {
    font-family: var(--font-head) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin-bottom: 4px !important;
}
.dokan-store-listing-wrap .store-rating,
.dokan-store-listing-wrap .dokan-rating {
    font-size: 12px !important;
    color: #64748B !important;
}

/* Lien "Visiter" */
.dokan-store-listing-wrap .store-btn,
.dokan-store-listing-wrap .vendor-shop-link {
    display: inline-block !important;
    background: #FF7A00 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 7px 16px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    margin-top: 10px !important;
    transition: background 200ms !important;
}
.dokan-store-listing-wrap .store-btn:hover { background: #E86E00 !important; }

/* Boutons filtre Dokan */
.dokan-btn-theme,
.dokan-btn-theme:hover,
.dokan-store-listing-filter-wrap .dokan-btn,
.dokan-geolocation-filter button,
.dokan-store-listing-wrap .dokan-btn {
    background-color: #FF7A00 !important;
    border-color: #FF7A00 !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 9px 18px !important;
}
.dokan-btn-theme:hover,
.dokan-store-listing-filter-wrap .dokan-btn:hover {
    background-color: #E86E00 !important;
    border-color: #E86E00 !important;
}

/* Grid 3 col */
.dokan-store-listing-wrap .dokan-store-listing {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}
@media (max-width: 768px) {
    .dokan-store-listing-wrap .dokan-store-listing {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .dokan-store-listing-wrap .dokan-store-listing {
        grid-template-columns: 1fr !important;
    }
}

/* ── 5. CONTACT / AIDE — page propre ── */
.page-template-contact .entry-content,
.page-id-contact .entry-content,
[class*="contact"] .entry-content,
[class*="aide"] .entry-content {
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* Conteneur formulaire contact */
.wpcf7,
.contact-form-wrap,
div[class*="contact-form"] {
    background: #fff !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.06) !important;
    max-width: 640px !important;
    margin: 0 auto !important;
}
@media (max-width: 600px) {
    .wpcf7, .contact-form-wrap { padding: 24px 18px !important; }
}

/* CF7 inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    transition: border-color 200ms, box-shadow 200ms !important;
    width: 100% !important;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #FF7A00 !important;
    box-shadow: 0 0 0 3px rgba(255,122,0,.10) !important;
    background: #fff !important;
}
.wpcf7 textarea { min-height: 130px !important; resize: vertical !important; }

/* Submit CF7 */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    background: #FF7A00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: var(--font-body) !important;
    cursor: pointer !important;
    transition: background 200ms, box-shadow 200ms !important;
    width: 100% !important;
    margin-top: 6px !important;
}
.wpcf7 input[type="submit"]:hover { background: #E86E00 !important; box-shadow: 0 4px 16px rgba(255,122,0,.30) !important; }

/* Info boxes contact (col gauche) */
.contact-info-box,
.wf_information .widget_contact {
    background: #fff !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 22px 20px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
    transition: border-color 200ms, box-shadow 200ms !important;
}
.contact-info-box:hover { border-color: #FF7A00 !important; box-shadow: 0 4px 14px rgba(255,122,0,.10) !important; }
.contact-info-box .icon {
    width: 44px !important; height: 44px !important;
    background: #FFF2E5 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #FF7A00 !important;
    font-size: 18px !important;
}

/* Titre page contact */
.page-contact .entry-title,
.page-aide .entry-title,
[class*="contact"] .entry-title,
[class*="aide"] .entry-title {
    font-family: var(--font-head) !important;
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    text-align: center !important;
    margin-bottom: 6px !important;
}

/* ── 6. CORRECTIONS GLOBALES ── */

/* Buttons globaux */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: #FF7A00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 11px 22px !important;
    transition: background 200ms, transform 150ms !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: #E86E00 !important;
    transform: translateY(-1px) !important;
}

/* Notices WooCommerce */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #FF7A00 !important;
    border-radius: 10px !important;
    font-family: var(--font-body) !important;
}
.woocommerce-error { border-radius: 10px !important; font-family: var(--font-body) !important; }

/* Scrollbar douce */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #FF7A00; }
