/*
Theme Name: OULKA theme v4.10.0
Theme URI: https://oulka.com
Author: OULKA
Author URI: https://oulka.com
Description: A modern, minimal fashion and clothing brand theme designed for the best shopping experience. Clean typography, elegant layouts, and WooCommerce-ready.
Version: 4.10.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oulka
Tags: e-commerce, fashion, custom-menu, custom-logo, featured-images, theme-options, translation-ready, one-column, two-columns
*/

/* ============================================
   CSS CUSTOM PROPERTIES
============================================ */
:root { 
    /* Colors */
    --ef-primary: #3a2b22;
    --ef-secondary: #f9f9f9;
    --ef-accent: #d4af37;
    --ef-accent-dark: #b8932d;
    --ef-text: #342820;
    --ef-text-light: #7a6a5f;
    --ef-white: #ffffff;
    --ef-black: #000000;
    --ef-border: #e7ddd3;
    --ef-bg-light: #f8f5f2;
    --ef-bg-overlay: rgba(58, 43, 34, 0.45);
    --ef-success: #4caf50;
    --ef-error: #e53935;

    /* Typography */
    --ef-font-heading: 'Playfair Display', Georgia, serif;
    --ef-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ef-font-accent: 'Cormorant Garamond', Georgia, serif;

    /* Spacing */
    --ef-spacing-xs: 0.5rem;
    --ef-spacing-sm: 1rem;
    --ef-spacing-md: 2rem;
    --ef-spacing-lg: 4rem;
    --ef-spacing-xl: 6rem;
    --ef-spacing-xxl: 8rem;

    /* Layout */
    --ef-container-width: 1320px;
    --ef-container-narrow: 960px;
    --ef-sidebar-width: 300px;
    --ef-header-height: 80px;

    /* Transitions */
    --ef-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ef-transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Shadows */
    --ef-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --ef-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --ef-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --ef-radius-sm: 4px;
    --ef-radius-md: 8px;
    --ef-radius-lg: 16px;
}

/* ============================================
   RESET & BASE
============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ef-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ef-text);
    background-color: var(--ef-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ef-primary);
    text-decoration: none;
    transition: var(--ef-transition);
}

a:hover {
    color: var(--ef-accent);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ef-font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ef-primary);
    margin-bottom: var(--ef-spacing-sm);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--ef-spacing-sm);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   UTILITY CLASSES
============================================ */
.ef-container {
    width: 100%;
    max-width: var(--ef-container-width);
    margin: 0 auto;
    padding: 0 var(--ef-spacing-md);
}

.ef-container--narrow {
    max-width: var(--ef-container-narrow);
}

.ef-section {
    padding: var(--ef-spacing-xl) 0;
}

.ef-section--sm {
    padding: var(--ef-spacing-lg) 0;
}

.ef-section--lg {
    padding: var(--ef-spacing-xxl) 0;
}

.ef-section--bg {
    background-color: var(--ef-bg-light);
}

.ef-text-center { text-align: center; }
.ef-text-uppercase { text-transform: uppercase; letter-spacing: 0.15em; }

.ef-section-header {
    text-align: center;
    margin-bottom: var(--ef-spacing-lg);
}

.ef-section-header h2 {
    position: relative;
    display: inline-block;
}

.ef-section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--ef-accent);
    margin: var(--ef-spacing-sm) auto 0;
}

.ef-section-header p {
    color: var(--ef-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: var(--ef-spacing-sm) auto 0;
}

.ef-label {
    font-family: var(--ef-font-body);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ef-accent);
    margin-bottom: var(--ef-spacing-xs);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--ef-white);
    border-radius: var(--ef-radius-sm);
    box-shadow: var(--ef-shadow-md);
    clip: auto !important;
    color: var(--ef-primary);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   BUTTONS
============================================ */
.ef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    font-family: var(--ef-font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--ef-transition);
    text-decoration: none;
    line-height: 1;
}

.ef-btn--primary {
    background: var(--ef-primary);
    color: var(--ef-white);
    border-color: var(--ef-primary);
}

.ef-btn--primary:hover {
    background: transparent;
    color: var(--ef-primary);
}

.ef-btn--outline {
    background: transparent;
    color: var(--ef-primary);
    border-color: var(--ef-primary);
}

.ef-btn--outline:hover {
    background: var(--ef-primary);
    color: var(--ef-white);
}

.ef-btn--accent {
    background: var(--ef-accent);
    color: var(--ef-white);
    border-color: var(--ef-accent);
}

.ef-btn--accent:hover {
    background: var(--ef-accent-dark);
    border-color: var(--ef-accent-dark);
    color: var(--ef-white);
}

.ef-btn--white {
    background: var(--ef-white);
    color: var(--ef-primary);
    border-color: var(--ef-white);
}

.ef-btn--white:hover {
    background: transparent;
    color: var(--ef-white);
    border-color: var(--ef-white);
}

.ef-btn--sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.7rem;
}

.ef-btn--lg {
    padding: 1.125rem 3.5rem;
    font-size: 0.85rem;
}

/* ============================================
   HEADER
============================================ */
.ef-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--ef-white);
    transition: var(--ef-transition);
}

.ef-header--scrolled {
    box-shadow: var(--ef-shadow-sm);
}

.ef-header--transparent {
    background: transparent;
}

.ef-header--transparent.ef-header--scrolled {
    background: var(--ef-white);
}

/* Top Bar */
.ef-topbar {
    background: var(--ef-primary);
    color: var(--ef-white);
    font-size: 0.8rem;
    padding: 0.5rem 0;
    letter-spacing: 0.05em;
    text-align: center;
    transition: var(--ef-transition);
}

.ef-topbar a {
    color: var(--ef-white);
    text-decoration: underline;
}

.ef-topbar a:hover {
    color: var(--ef-accent);
}

.ef-header--scrolled .ef-topbar {
    transform: translateY(-100%);
    height: 0;
    padding: 0;
    overflow: hidden;
}

/* Main Header */
.ef-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--ef-header-height);
    padding: 0 0.75rem;
    max-width: var(--ef-container-width);
    margin: 0 auto;
}

.ef-header__center,
.ef-header__right {
    display: flex;
    align-items: center;
    gap: var(--ef-spacing-md);
}

.ef-header__center {
    flex: 1;
    justify-content: center;
}

.ef-header__right {
    justify-content: flex-end;
}

.ef-header__logo {
    flex: 0 0 auto;
}

.ef-header__logo a {
    display: flex;
    align-items: center;
}

.ef-header__logo img {
    max-height: 50px;
    width: auto;
}

.ef-header__logo .ef-site-title {
    font-family: var(--ef-font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ef-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ef-header--transparent .ef-site-title {
    color: var(--ef-primary);
}

.ef-header--transparent.ef-header--scrolled .ef-site-title {
    color: var(--ef-primary);
}

/* Navigation */
.ef-nav {
    display: flex;
    align-items: center;
}

.ef-nav__list {
    display: flex;
    align-items: center;
    gap: var(--ef-spacing-md);
}

.ef-nav__list li {
    position: relative;
}

.ef-nav__list > li > a {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ef-primary);
    padding: 0.5rem 0;
    position: relative;
}

.ef-header--transparent .ef-nav__list > li > a {
    color: var(--ef-primary);
}

.ef-header--transparent.ef-header--scrolled .ef-nav__list > li > a {
    color: var(--ef-primary);
}

.ef-nav__list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ef-accent);
    transition: var(--ef-transition);
}

.ef-nav__list > li > a:hover::after,
.ef-nav__list > li.current-menu-item > a::after {
    width: 100%;
}

/* Dropdown */
.ef-nav__list .sub-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 220px;
    background: var(--ef-white);
    box-shadow: var(--ef-shadow-md);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ef-transition);
    z-index: 100;
}

.ef-nav__list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ef-nav__list .sub-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--ef-text);
}

.ef-nav__list .sub-menu a:hover {
    background: var(--ef-bg-light);
    color: var(--ef-accent);
}

/* Header Icons */
.ef-header__icons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.ef-header__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--ef-primary);
    font-size: 1.2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25rem;
}

.ef-header--transparent .ef-header__icon {
    color: var(--ef-primary);
}

.ef-header--transparent.ef-header--scrolled .ef-header__icon {
    color: var(--ef-primary);
}

.ef-header__icon:hover {
    color: var(--ef-accent);
}

.ef-header__icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.ef-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--ef-accent);
    color: var(--ef-white);
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu Toggle */
.ef-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.ef-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ef-primary);
    transition: var(--ef-transition);
}

.ef-header--transparent .ef-menu-toggle span {
    background: var(--ef-primary);
}

.ef-header--transparent.ef-header--scrolled .ef-menu-toggle span {
    background: var(--ef-primary);
}

.ef-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.ef-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.ef-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
============================================ */
.ef-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--ef-primary);
}

.ef-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease;
}

.ef-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ef-bg-overlay);
}

.ef-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--ef-white);
    padding: var(--ef-spacing-md);
    max-width: 800px;
}

.ef-hero__subtitle {
    font-family: var(--ef-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--ef-accent);
    margin-bottom: var(--ef-spacing-sm);
}

.ef-hero__title {
    font-family: var(--ef-font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--ef-white);
    line-height: 1.1;
    margin-bottom: var(--ef-spacing-md);
}

.ef-hero__desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto var(--ef-spacing-md);
    line-height: 1.8;
}

.ef-hero__actions {
    display: flex;
    gap: var(--ef-spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CATEGORIES GRID
============================================ */
.ef-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ef-spacing-sm);
}

.ef-category-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-radius: var(--ef-radius-sm);
}

.ef-category-card--wide {
    grid-column: span 2;
    aspect-ratio: auto;
}

.ef-category-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: var(--ef-transition-slow);
}

.ef-category-card:hover .ef-category-card__img {
    transform: scale(1.05);
}

.ef-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--ef-spacing-md);
    color: var(--ef-white);
}

.ef-category-card__title {
    font-family: var(--ef-font-heading);
    font-size: 1.5rem;
    color: var(--ef-white);
    margin-bottom: 0.25rem;
}

.ef-category-card__count {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.ef-category-card__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* ============================================
   PRODUCTS GRID
============================================ */
.ef-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ef-spacing-md);
}

.ef-product-card {
    position: relative;
}

.ef-card-clickable {
    cursor: pointer;
}

.ef-card-clickable:focus-visible {
    outline: 2px solid var(--ef-primary);
    outline-offset: 3px;
}

.ef-product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--ef-bg-light);
    border-radius: var(--ef-radius-sm);
    margin-bottom: var(--ef-spacing-sm);
}

.ef-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ef-transition-slow);
}

.ef-product-card:hover .ef-product-card__image img {
    transform: scale(1.05);
}

.ef-product-card__actions {
    position: absolute;
    bottom: var(--ef-spacing-sm);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--ef-transition);
}

.ef-product-card:hover .ef-product-card__actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ef-product-card__action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ef-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--ef-shadow-sm);
    transition: var(--ef-transition);
    color: var(--ef-primary);
}

.ef-product-card__action-btn:hover {
    background: var(--ef-primary);
    color: var(--ef-white);
}

.ef-product-card__action-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.ef-product-card__badge {
    position: absolute;
    top: var(--ef-spacing-sm);
    left: var(--ef-spacing-sm);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--ef-radius-sm);
}

.ef-product-card__badge--sale {
    background: var(--ef-error);
    color: var(--ef-white);
}

.ef-product-card__badge--new {
    background: var(--ef-primary);
    color: var(--ef-white);
}

.ef-product-card__info {
    text-align: center;
}

.ef-product-card__category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ef-text-light);
    margin-bottom: 0.25rem;
}

.ef-product-card__title {
    font-family: var(--ef-font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ef-primary);
    margin-bottom: 0.5rem;
}

.ef-product-card__title a {
    color: inherit;
}

.ef-product-card__title a:hover {
    color: var(--ef-accent);
}

.ef-product-card__price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ef-primary);
}

.ef-product-card__price del {
    color: var(--ef-text-light);
    font-weight: 400;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.ef-product-card__price ins {
    text-decoration: none;
    color: var(--ef-error);
}

/* ============================================
   FEATURED BANNER / LOOKBOOK
============================================ */
.ef-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.ef-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ef-bg-overlay);
}

.ef-banner__content {
    position: relative;
    z-index: 2;
    color: var(--ef-white);
    max-width: 500px;
}

.ef-banner__content h2 {
    color: var(--ef-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--ef-spacing-sm);
}

.ef-banner__content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--ef-spacing-md);
    font-size: 1.05rem;
}

/* Split Banner */
.ef-split-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ef-spacing-sm);
}

.ef-split-banner__item {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: var(--ef-radius-sm);
}

.ef-split-banner__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--ef-transition);
}

.ef-split-banner__item:hover::after {
    background: rgba(0, 0, 0, 0.45);
}

.ef-split-banner__content {
    position: relative;
    z-index: 2;
    color: var(--ef-white);
    padding: var(--ef-spacing-md);
}

.ef-split-banner__content h3 {
    color: var(--ef-white);
    font-size: 2rem;
    margin-bottom: var(--ef-spacing-sm);
}

/* ============================================
   FEATURES / USP STRIP
============================================ */
.ef-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ef-spacing-md);
    text-align: center;
    border-top: 1px solid var(--ef-border);
    border-bottom: 1px solid var(--ef-border);
    padding: var(--ef-spacing-lg) 0;
}

.ef-feature {
    padding: var(--ef-spacing-sm);
}

.ef-feature__icon {
    margin-bottom: var(--ef-spacing-sm);
    color: var(--ef-accent);
}

.ef-feature__icon svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    margin: 0 auto;
}

.ef-feature__title {
    font-family: var(--ef-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.ef-feature__text {
    color: var(--ef-text-light);
    font-size: 0.85rem;
}

/* ============================================
   NEWSLETTER
============================================ */
.ef-newsletter {
    padding: var(--ef-spacing-xl) 0;
    background:
        radial-gradient(75% 120% at 0% 0%, rgba(212, 175, 55, 0.14), transparent 68%),
        linear-gradient(180deg, #ffffff 0%, #f7f3ef 100%);
    color: var(--ef-primary);
}

.ef-newsletter--home {
    position: relative;
    overflow: visible;
}

.ef-newsletter--home::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(-1 * clamp(10px, 2.4vw, 20px));
    height: clamp(80px, 11vw, 132px);
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        #fbf8f4 0%,
        rgba(251, 248, 244, 0.88) 46%,
        rgba(252, 250, 246, 0.42) 74%,
        rgba(255, 255, 255, 0) 100%
    );
}

.ef-newsletter--home > .ef-container {
    position: relative;
    z-index: 2;
}

.ef-newsletter__panel {
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid #e8dfd6;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(58, 43, 34, 0.08);
    padding: clamp(1.4rem, 3.6vw, 2.35rem);
    text-align: center;
}

.ef-newsletter__eyebrow {
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
    color: #8e7962;
    font-weight: 700;
}

.ef-newsletter h2 {
    color: var(--ef-primary);
    margin-bottom: 0.5rem;
}

.ef-newsletter--home .ef-newsletter__panel h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--ef-accent);
    margin: var(--ef-spacing-sm) auto 0;
}

.ef-newsletter__lead {
    color: #62584f;
    margin-bottom: 1.1rem;
}

.ef-newsletter--home .ef-newsletter__panel h2 {
    max-width: 700px;
    margin: 0 auto 0.65rem;
    font-size: clamp(1.08rem, 2vw, 1.48rem);
    line-height: 1.34;
    letter-spacing: 0.01em;
    font-weight: 600;
}

.ef-newsletter--home .ef-newsletter__lead {
    max-width: 740px;
    margin: 0 auto 1.2rem;
    font-size: clamp(0.9rem, 1.35vw, 1rem);
    line-height: 1.62;
}

.ef-newsletter__form {
    display: flex;
    max-width: 780px;
    margin: 0 auto;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.ef-newsletter__form input[type="email"],
.ef-newsletter__form input[type="text"],
.ef-newsletter__form input[type="tel"] {
    flex: 1 1 220px;
    min-height: 50px;
    padding: 0.95rem 1rem;
    border: 1px solid #d7ccc0;
    border-radius: 12px;
    background: #fff;
    color: var(--ef-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--ef-transition);
}

.ef-newsletter__form input[type="email"]::placeholder,
.ef-newsletter__form input[type="text"]::placeholder,
.ef-newsletter__form input[type="tel"]::placeholder {
    color: #9a8f86;
}

.ef-newsletter__form input[type="email"]:focus,
.ef-newsletter__form input[type="text"]:focus,
.ef-newsletter__form input[type="tel"]:focus {
    border-color: #3a2b22;
    box-shadow: 0 0 0 3px rgba(58, 43, 34, 0.08);
}

.ef-newsletter__form button {
    min-height: 50px;
    padding: 0.9rem 1.45rem;
    background: #3a2b22;
    color: var(--ef-white);
    border: 1px solid #3a2b22;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--ef-transition);
}

.ef-newsletter__form button:hover {
    background: #231912;
    border-color: #231912;
}

.ef-newsletter__form--contact button {
    flex: 0 0 auto;
}

.ef-newsletter__status {
    max-width: 780px;
    margin: 0 auto 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.ef-newsletter__status--success {
    background: #ebf9f1;
    border: 1px solid #b8e7ce;
    color: #1f6f48;
}

.ef-newsletter__status--error {
    background: #fff1f1;
    border: 1px solid #f0c0c0;
    color: #8f2b2b;
}

.ef-newsletter__hint {
    margin-top: 0.85rem;
    margin-bottom: 0;
    color: #7b6f64;
    font-size: 0.88rem;
}

.ef-newsletter__contact-line {
    margin-top: 1rem;
    margin-bottom: 0;
    color: #5b5249;
    font-size: 0.9rem;
}

.ef-newsletter__contact-line a {
    color: #3a2b22;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .ef-newsletter--home .ef-newsletter__panel h2 {
        font-size: 1.02rem;
        line-height: 1.42;
    }

    .ef-newsletter--home .ef-newsletter__lead {
        font-size: 0.9rem;
        line-height: 1.58;
    }
}

/* ============================================
   INSTAGRAM FEED
============================================ */
.ef-instagram {
    text-align: center;
}

.ef-instagram__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.ef-instagram__item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.ef-instagram__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ef-transition);
}

.ef-instagram__item:hover img {
    transform: scale(1.08);
    opacity: 0.8;
}

/* ============================================
   FOOTER
============================================ */
.ef-footer {
    background: var(--ef-primary);
    color: rgba(255, 255, 255, 0.7);
}

.ef-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.ef-footer a:hover {
    color: var(--ef-accent);
}

.ef-footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--ef-spacing-lg);
    padding: var(--ef-spacing-xl) 0;
}

.ef-footer__brand .ef-site-title {
    font-family: var(--ef-font-heading);
    font-size: 1.5rem;
    color: var(--ef-white);
    margin-bottom: var(--ef-spacing-sm);
    display: block;
}

.ef-footer__brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: var(--ef-spacing-md);
}

.ef-footer__social {
    display: flex;
    gap: 1rem;
}

.ef-footer__social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ef-transition);
}

.ef-footer__social a:hover {
    border-color: var(--ef-accent);
    background: var(--ef-accent);
    color: var(--ef-white);
}

.ef-footer__social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.ef-footer__col h4 {
    color: var(--ef-white);
    font-family: var(--ef-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--ef-spacing-md);
}

.ef-footer__col ul li {
    margin-bottom: 0.75rem;
}

.ef-footer__col ul li a {
    font-size: 0.9rem;
}

.ef-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--ef-spacing-md) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.ef-footer__payments {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.ef-footer__payments img {
    height: 24px;
    opacity: 0.6;
}

/* ============================================
   BLOG / POSTS
============================================ */
.ef-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ef-spacing-md);
}

.ef-post-card {
    overflow: hidden;
}

.ef-post-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    border-radius: var(--ef-radius-sm);
    margin-bottom: var(--ef-spacing-sm);
}

.ef-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ef-transition-slow);
}

.ef-post-card:hover .ef-post-card__image img {
    transform: scale(1.05);
}

.ef-post-card__meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ef-text-light);
    margin-bottom: 0.5rem;
}

.ef-post-card__meta a {
    color: var(--ef-accent);
}

.ef-post-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ef-post-card__title a:hover {
    color: var(--ef-accent);
}

.ef-post-card__excerpt {
    color: var(--ef-text-light);
    font-size: 0.9rem;
}

/* Single Post */
.ef-single-post {
    max-width: var(--ef-container-narrow);
    margin: 0 auto;
    padding-top: calc(var(--ef-header-height) + var(--ef-spacing-lg));
}

.ef-single-post__header {
    text-align: center;
    margin-bottom: var(--ef-spacing-lg);
    padding: var(--ef-spacing-lg) 0;
}

.ef-single-post__content {
    font-size: 1.05rem;
    line-height: 1.9;
}

.ef-single-post__content p {
    margin-bottom: 1.5rem;
}

.ef-single-post__content img {
    border-radius: var(--ef-radius-sm);
    margin: var(--ef-spacing-md) 0;
}

.ef-single-post__content blockquote {
    border-left: 3px solid var(--ef-accent);
    padding-left: var(--ef-spacing-md);
    margin: var(--ef-spacing-md) 0;
    font-family: var(--ef-font-accent);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--ef-text-light);
}

/* ============================================
   PAGES
============================================ */
.ef-page-header {
    background: var(--ef-bg-light);
    text-align: center;
    padding: calc(var(--ef-header-height) + var(--ef-spacing-lg)) var(--ef-spacing-md) var(--ef-spacing-lg);
}

.ef-page-header h1 {
    margin-bottom: var(--ef-spacing-xs);
}

.ef-breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--ef-text-light);
}

.ef-breadcrumbs a {
    color: var(--ef-text-light);
}

.ef-breadcrumbs a:hover {
    color: var(--ef-accent);
}

.ef-breadcrumbs .separator {
    color: var(--ef-border);
}

.ef-page-content {
    padding: var(--ef-spacing-xl) 0;
}

/* ============================================
   SIDEBAR
============================================ */
.ef-content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr var(--ef-sidebar-width);
    gap: var(--ef-spacing-lg);
}

.ef-sidebar .widget {
    margin-bottom: var(--ef-spacing-md);
    padding-bottom: var(--ef-spacing-md);
    border-bottom: 1px solid var(--ef-border);
}

.ef-sidebar .widget:last-child {
    border-bottom: none;
}

.ef-sidebar .widget-title {
    font-family: var(--ef-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--ef-spacing-sm);
    padding-bottom: var(--ef-spacing-xs);
    border-bottom: 2px solid var(--ef-accent);
    display: inline-block;
}

.ef-sidebar .widget ul li {
    margin-bottom: 0.5rem;
}

.ef-sidebar .widget ul li a {
    color: var(--ef-text);
    font-size: 0.9rem;
}

.ef-sidebar .widget ul li a:hover {
    color: var(--ef-accent);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
============================================ */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ef-spacing-md);
    margin-top: 1.25rem !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 0.8rem;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

.woocommerce ul.products li.product a img {
    border-radius: var(--ef-radius-sm);
    aspect-ratio: 3/4;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--ef-font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0 0.25rem;
    text-align: center;
}

.woocommerce ul.products li.product .price {
    text-align: center;
    color: var(--ef-primary);
    font-weight: 600;
}

.woocommerce ul.products li.product .price del {
    color: var(--ef-text-light);
    opacity: 0.7;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--ef-error);
    font-weight: 600;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--ef-primary) !important;
    color: var(--ef-white) !important;
    font-family: var(--ef-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--ef-primary) !important;
    transition: var(--ef-transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce ul.products li.product .button:hover {
    background: transparent !important;
    color: var(--ef-primary) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    background: var(--ef-accent) !important;
    border-color: var(--ef-accent) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
    background: var(--ef-accent-dark) !important;
    border-color: var(--ef-accent-dark) !important;
    color: var(--ef-white) !important;
}

.woocommerce span.onsale {
    background: var(--ef-error);
    color: var(--ef-white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--ef-radius-sm);
    padding: 0.25rem 0.75rem;
    min-height: auto;
    min-width: auto;
    line-height: 1.5;
}

/* Single Product */
.woocommerce div.product {
    padding-top: calc(var(--ef-header-height) + var(--ef-spacing-md));
}

.woocommerce div.product div.images {
    border-radius: var(--ef-radius-sm);
    overflow: hidden;
}

.woocommerce div.product .product_title {
    font-family: var(--ef-font-heading);
    font-size: 2rem;
}

.woocommerce div.product p.price {
    font-size: 1.5rem;
    color: var(--ef-primary);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 var(--ef-spacing-md);
    border-bottom: 1px solid var(--ef-border);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none;
    background: none;
    padding: 0;
    margin: 0 var(--ef-spacing-md) 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--ef-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--ef-spacing-sm) 0;
    color: var(--ef-text-light);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--ef-primary);
    border-bottom: 2px solid var(--ef-accent);
}

/* Cart */
.woocommerce table.shop_table {
    border: 1px solid var(--ef-border);
    border-radius: 0;
}

.woocommerce table.shop_table th {
    font-family: var(--ef-font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius-sm);
    font-size: 0.9rem;
    transition: var(--ef-transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--ef-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

/* Thank You */
.ef-thankyou-wrap {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.ef-thankyou-wrap .ef-thankyou-card {
    background: var(--ef-white);
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--ef-shadow-sm);
}

.ef-thankyou-wrap .ef-thankyou-card--hero {
    padding: 1.5rem;
    border-top: 3px solid #1e8e3e;
    text-align: left;
}

.ef-thankyou-wrap .ef-thankyou-card--failed {
    border-color: #f2d8da;
    background: #fff9f9;
}

.ef-thankyou-wrap .ef-thankyou-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e8e3e;
    background: #eef8f1;
    flex: 0 0 50px;
}

.ef-thankyou-wrap .ef-thankyou-icon svg {
    width: 24px;
    height: 24px;
}

.ef-thankyou-wrap .ef-thankyou-title {
    margin: 0;
    font-size: 1.55rem;
    color: var(--ef-primary);
}

.ef-thankyou-wrap .ef-thankyou-status { display: flex; align-items: center; gap: 1rem; }
.ef-thankyou-wrap .ef-thankyou-status__copy { min-width: 0; }
.ef-thankyou-wrap .ef-thankyou-status__copy .ef-thankyou-kicker { display: block; margin-bottom: 0.2rem; }

.ef-thankyou-wrap .ef-thankyou-subtitle {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.ef-thankyou-wrap .ef-thankyou-summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ef-border);
}

.ef-thankyou-wrap .ef-thankyou-summary-head .ef-thankyou-subtitle { margin: 0.2rem 0 0; }
.ef-thankyou-wrap .ef-thankyou-kicker {
    color: #1e7a3b;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ef-thankyou-wrap .ef-thankyou-order-reference { text-align: right; }
.ef-thankyou-wrap .ef-thankyou-order-reference span,
.ef-thankyou-wrap .ef-thankyou-order-reference small { display: block; color: var(--ef-text-light); font-size: 0.75rem; }
.ef-thankyou-wrap .ef-thankyou-order-reference strong { display: block; margin: 0.1rem 0; color: var(--ef-primary); font-size: 1.05rem; }

.ef-thankyou-wrap .ef-thankyou-products { display: grid; }
.ef-thankyou-wrap .ef-thankyou-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ef-border);
}
.ef-thankyou-wrap .ef-thankyou-product__image,
.ef-thankyou-wrap .ef-thankyou-product__image img { width: 72px; height: 88px; }
.ef-thankyou-wrap .ef-thankyou-product__image { overflow: hidden; background: #f4f4f4; }
.ef-thankyou-wrap .ef-thankyou-product__image img { display: block; object-fit: cover; }
.ef-thankyou-wrap .ef-thankyou-product__info { display: grid; gap: 0.25rem; min-width: 0; color: var(--ef-text-light); font-size: 0.82rem; }
.ef-thankyou-wrap .ef-thankyou-product__info > strong { color: var(--ef-primary); font-size: 0.95rem; line-height: 1.35; }
.ef-thankyou-wrap .ef-thankyou-product__options p { display: inline; margin: 0; }
.ef-thankyou-wrap .ef-thankyou-product__options .wc-item-meta { margin: 0; padding: 0; list-style: none; }
.ef-thankyou-wrap .ef-thankyou-product__options .wc-item-meta li { display: inline; }
.ef-thankyou-wrap .ef-thankyou-product__options .wc-item-meta li + li::before { content: " · "; }
.ef-thankyou-wrap .ef-thankyou-product__price { white-space: nowrap; color: var(--ef-primary); }

.ef-thankyou-wrap .ef-thankyou-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 1.5rem;
    padding-top: 1.2rem;
}
.ef-thankyou-wrap .ef-thankyou-detail-title { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.ef-thankyou-wrap .ef-thankyou-detail-title h3 { margin: 0; color: var(--ef-primary); font-size: 0.95rem; }
.ef-thankyou-wrap .ef-thankyou-detail-title svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.ef-thankyou-wrap .ef-thankyou-delivery { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; color: var(--ef-text-light); font-size: 0.88rem; }
.ef-thankyou-wrap .ef-thankyou-delivery > strong { color: var(--ef-primary); }
.ef-thankyou-wrap .ef-thankyou-delivery > a { color: var(--ef-primary); font-weight: 600; }
.ef-thankyou-wrap .ef-thankyou-totals { display: grid; align-content: start; }
.ef-thankyou-wrap .ef-thankyou-totals > div:not(.ef-thankyou-detail-title) { display: flex; justify-content: space-between; gap: 1rem; padding: 0.38rem 0; color: var(--ef-text-light); font-size: 0.85rem; }
.ef-thankyou-wrap .ef-thankyou-totals > .is-total { margin-top: 0.35rem; padding-top: 0.7rem !important; border-top: 1px solid var(--ef-border); color: var(--ef-primary) !important; font-size: 1rem !important; }

.ef-thankyou-wrap .ef-thankyou-text {
    margin: 0.35rem 0 0;
    color: var(--ef-text-light);
    max-width: 620px;
    line-height: 1.55;
}

.ef-thankyou-wrap .ef-thankyou-confirmation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ef-border);
}
.ef-thankyou-wrap .ef-thankyou-confirmation__contact { display: grid; gap: 0.15rem; }
.ef-thankyou-wrap .ef-thankyou-confirmation__contact > span { color: var(--ef-text-light); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }

.ef-thankyou-wrap .ef-thankyou-contact-number {
    display: inline-block;
    margin: 0;
    color: var(--ef-primary);
    font-size: 1.05rem;
    font-weight: 700;
}

.ef-thankyou-wrap .ef-thankyou-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.ef-thankyou-wrap .ef-thankyou-meta__item {
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius-md);
    padding: 0.85rem 0.95rem;
    background: #fffdfb;
}

.ef-thankyou-wrap .ef-thankyou-meta__label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ef-text-light);
}

.ef-thankyou-wrap .ef-thankyou-meta__value {
    font-size: 0.96rem;
    color: var(--ef-primary);
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.ef-thankyou-wrap .ef-thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.ef-thankyou-wrap .ef-thankyou-actions .ef-btn {
    min-height: 44px;
}

.ef-thankyou-wrap .ef-thankyou-actions--confirm {
    justify-content: flex-end;
    margin-top: 0;
}

.ef-thankyou-wrap .ef-thankyou-actions--confirm .ef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ef-thankyou-wrap .ef-thankyou-actions--confirm .ef-btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.ef-thankyou-wrap .woocommerce-order-details,
.ef-thankyou-wrap .woocommerce-customer-details {
    margin-top: 0.4rem;
    padding: 1.3rem;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius-lg);
    background: var(--ef-white);
    box-shadow: var(--ef-shadow-sm);
}

.ef-thankyou-wrap .woocommerce-order-details .woocommerce-order-details__title,
.ef-thankyou-wrap .woocommerce-customer-details .woocommerce-column__title {
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
}

.ef-thankyou-wrap .woocommerce-order-details table.shop_table,
.ef-thankyou-wrap .woocommerce-customer-details address {
    margin: 0;
}

.ef-thankyou-wrap .woocommerce-customer-details address {
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius-md);
    background: #fffdfb;
    padding: 1rem;
}

.woocommerce-order .woocommerce-order-overview.order_details {
    list-style: none;
}

@media (max-width: 767px) {
    .ef-thankyou-wrap .ef-thankyou-card {
        padding: 1rem;
    }

    .ef-thankyou-wrap .ef-thankyou-card--hero {
        padding: 1rem;
    }

    .ef-thankyou-wrap .ef-thankyou-status { align-items: flex-start; gap: 0.75rem; }
    .ef-thankyou-wrap .ef-thankyou-icon { width: 44px; height: 44px; flex-basis: 44px; }
    .ef-thankyou-wrap .ef-thankyou-title { font-size: 1.3rem; }
    .ef-thankyou-wrap .ef-thankyou-confirmation { align-items: stretch; flex-direction: column; }

    .ef-thankyou-wrap .ef-thankyou-meta {
        grid-template-columns: 1fr;
    }

    .ef-thankyou-wrap .ef-thankyou-summary-head { align-items: center; }
    .ef-thankyou-wrap .ef-thankyou-product { grid-template-columns: 62px minmax(0, 1fr); }
    .ef-thankyou-wrap .ef-thankyou-product__image,
    .ef-thankyou-wrap .ef-thankyou-product__image img { width: 62px; height: 76px; }
    .ef-thankyou-wrap .ef-thankyou-product__price { grid-column: 2; }
    .ef-thankyou-wrap .ef-thankyou-details-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .ef-thankyou-wrap .ef-thankyou-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ef-thankyou-wrap .ef-thankyou-actions .ef-btn {
        width: 100%;
    }
}

/* ============================================
   SEARCH OVERLAY
============================================ */
.ef-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--ef-transition);
}

.ef-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ef-search-overlay__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--ef-primary);
    line-height: 1;
}

.ef-search-overlay__form {
    width: 100%;
    max-width: 600px;
    padding: 0 var(--ef-spacing-md);
}

.ef-search-overlay__form input[type="search"] {
    width: 100%;
    font-family: var(--ef-font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    border: none;
    border-bottom: 2px solid var(--ef-primary);
    padding: var(--ef-spacing-sm) 0;
    background: transparent;
    outline: none;
    text-align: center;
    color: var(--ef-primary);
}

.ef-search-overlay__form input[type="search"]::placeholder {
    color: var(--ef-text-light);
}

/* ============================================
   PAGINATION
============================================ */
.ef-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--ef-spacing-lg) 0;
}

.ef-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ef-border);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--ef-transition);
}

.ef-pagination .page-numbers.current,
.ef-pagination .page-numbers:hover {
    background: var(--ef-primary);
    color: var(--ef-white);
    border-color: var(--ef-primary);
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--ef-primary);
    color: var(--ef-white);
}

/* ============================================
   404 PAGE
============================================ */
.ef-404 {
    text-align: center;
    padding: calc(var(--ef-header-height) + var(--ef-spacing-xxl)) var(--ef-spacing-md) var(--ef-spacing-xxl);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ef-404__number {
    font-family: var(--ef-font-heading);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--ef-bg-light);
    line-height: 1;
}

.ef-404 h1 {
    font-size: 2rem;
    margin-bottom: var(--ef-spacing-sm);
}

.ef-404 p {
    color: var(--ef-text-light);
    margin-bottom: var(--ef-spacing-md);
    max-width: 400px;
}

/* ============================================
   FORMS
============================================ */
.ef-form input[type="text"],
.ef-form input[type="email"],
.ef-form input[type="password"],
.ef-form input[type="search"],
.ef-form input[type="tel"],
.ef-form input[type="url"],
.ef-form textarea,
.ef-form select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius-sm);
    font-size: 0.9rem;
    transition: var(--ef-transition);
    background: var(--ef-white);
}

.ef-form input:focus,
.ef-form textarea:focus,
.ef-form select:focus {
    border-color: var(--ef-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

/* ============================================
   CUSTOM SINGLE PRODUCT PAGE
============================================ */
.ef-single-product {
    padding-top: 0;
}

.ef-sp-breadcrumbs {
    padding: var(--ef-spacing-sm) 0;
    border-bottom: 1px solid var(--ef-border);
}

.ef-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--ef-text-light);
    flex-wrap: wrap;
}

.ef-breadcrumb a {
    color: var(--ef-text-light);
    transition: var(--ef-transition);
}

.ef-breadcrumb a:hover {
    color: var(--ef-accent);
}

.ef-breadcrumb__sep {
    color: var(--ef-border);
}

.ef-breadcrumb__current {
    color: var(--ef-primary);
    font-weight: 500;
}

/* Product Layout */
.ef-sp-main {
    padding: var(--ef-spacing-lg) 0;
}

.ef-sp-main .ef-container {
    max-width: 1480px;
    padding: 0 0.75rem;
}

.ef-sp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ef-spacing-xl);
    align-items: start;
    min-width: 0;
}

/* Both grid children must not exceed their column */
.ef-sp-layout > * {
    min-width: 0;
    max-width: 100%;
}

.ef-sp-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2rem;
    z-index: 2;
}

/* Gallery */
.ef-sp-gallery {
    position: sticky;
    top: calc(var(--ef-header-height) + var(--ef-spacing-md));
    min-width: 0;
    overflow: hidden;
}

.ef-sp-gallery__main {
    position: relative;
    border-radius: var(--ef-radius-sm);
    overflow: hidden;
    background: var(--ef-bg-light);
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3/4;
}

.ef-sp-gallery__main img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.ef-sp-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2rem;
    z-index: 2;
}

.ef-sp-badge--sale {
    background: var(--ef-error);
    color: var(--ef-white);
}

.ef-sp-gallery__thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ef-border) transparent;
}

.ef-sp-gallery__thumbs::-webkit-scrollbar {
    height: 4px;
}
.ef-sp-gallery__thumbs::-webkit-scrollbar-thumb {
    background: var(--ef-border);
    border-radius: 4px;
}

.ef-sp-gallery__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 96px;
    border-radius: var(--ef-radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--ef-bg-light);
    padding: 0;
    transition: var(--ef-transition);
}

.ef-sp-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ef-sp-gallery__thumb.active,
.ef-sp-gallery__thumb:hover {
    border-color: var(--ef-accent);
}

.ef-sp-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.ef-sp-info {
    padding: var(--ef-spacing-sm) 0;
}

.ef-sp-category {
    display: none;
}

.ef-sp-title {
    font-family: var(--ef-font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--ef-primary);
}

.ef-sp-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 1rem;
}

.ef-sp-price del {
    font-size: 1.1rem;
    color: var(--ef-text-light);
    opacity: 0.6;
    margin-right: 0.5rem;
}

.ef-sp-price ins {
    text-decoration: none;
    color: #d4af37;
}

.ef-sp-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ef-text-light);
    margin-bottom: 0;
}

.ef-sp-divider {
    height: 1px;
    background: var(--ef-border);
    margin: 1.5rem 0;
}

/* Size Selector */
.ef-sp-option {
    margin-bottom: 1.25rem;
}

.ef-sp-option__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ef-sp-option__title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ef-primary);
}

.ef-sp-option__selected {
    font-size: 0.85rem;
    color: var(--ef-accent);
    font-weight: 500;
}

.ef-sp-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ef-sp-size-btn,
.ef-sp-custom-variant-btn {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid var(--ef-border);
    border-radius: var(--ef-radius-sm);
    background: var(--ef-white);
    color: var(--ef-primary);
    cursor: pointer;
    padding: 0 0.75rem;
    transition: all 0.2s ease;
    position: relative;
}

.ef-sp-size-btn:hover,
.ef-sp-custom-variant-btn:hover {
    border-color: var(--ef-primary);
}

.ef-sp-size-btn.active,
.ef-sp-custom-variant-btn.active {
    background: var(--ef-primary);
    border-color: var(--ef-primary);
    color: var(--ef-white);
}

.ef-sp-size-btn.is-out-of-stock {
    opacity: 0.55;
    cursor: not-allowed;
    border-color: #e2b2b6;
    color: #7a5b5f;
    background: #fff8f8;
}

.ef-sp-size-btn.is-out-of-stock:hover {
    border-color: #e2b2b6;
}

.ef-sp-size-btn.is-out-of-stock::before,
.ef-sp-size-btn.is-out-of-stock::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 50%;
    height: 2px;
    background: #d32439;
    transform-origin: center;
    pointer-events: none;
}

.ef-sp-size-btn.is-out-of-stock::before {
    transform: translateY(-50%) rotate(32deg);
}

.ef-sp-size-btn.is-out-of-stock::after {
    transform: translateY(-50%) rotate(-32deg);
}

/* Color Selector */
.ef-sp-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ef-sp-color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    padding: 3px;
    background: transparent;
    transition: all 0.2s ease;
    position: relative;
}

.ef-sp-color-btn__swatch {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--swatch-color);
}

.ef-sp-color-btn--split {
    width: 50px;
    border-radius: 999px;
}

.ef-sp-color-btn--split .ef-sp-color-btn__swatch {
    border-radius: 999px;
    background: linear-gradient(
        to right,
        var(--swatch-color) 0,
        var(--swatch-color) 50%,
        var(--swatch-color-second) 50%,
        var(--swatch-color-second) 100%
    );
}

.ef-sp-color-btn--bordered .ef-sp-color-btn__swatch {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.ef-sp-color-btn:hover {
    border-color: var(--ef-text-light);
}

.ef-sp-color-btn.active {
    border-color: var(--ef-primary);
    box-shadow: 0 0 0 1px var(--ef-primary);
}

.ef-sp-color-btn.is-out-of-stock {
    opacity: 0.55;
    cursor: not-allowed;
}

.ef-sp-color-btn.is-out-of-stock::before,
.ef-sp-color-btn.is-out-of-stock::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 50%;
    height: 2px;
    background: #d32439;
    transform-origin: center;
    pointer-events: none;
    z-index: 2;
}

.ef-sp-color-btn.is-out-of-stock::before {
    transform: translateY(-50%) rotate(45deg);
}

.ef-sp-color-btn.is-out-of-stock::after {
    transform: translateY(-50%) rotate(-45deg);
}

/* Order Buttons */
.ef-sp-order {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ef-sp-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid;
    border-radius: var(--ef-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.ef-sp-order-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    stroke: none;
}

.ef-sp-order-btn--whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: var(--ef-white);
}

.ef-sp-order-btn--whatsapp:hover {
    background: #1DA851;
    border-color: #1DA851;
    color: var(--ef-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.ef-sp-order-btn--whatsapp svg {
    fill: currentColor;
}

.ef-sp-order-btn--phone {
    background: var(--ef-white);
    border-color: var(--ef-primary);
    color: var(--ef-primary);
}

.ef-sp-order-btn--phone svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ef-sp-order-btn--phone:hover {
    background: var(--ef-primary);
    color: var(--ef-white);
}

/* Product Meta */
.ef-sp-meta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ef-border);
}

.ef-sp-meta__item {
    font-size: 0.8rem;
    color: var(--ef-text-light);
    margin-bottom: 0.25rem;
}

/* Order Form */
.ef-sp-order-form {
    margin: 2rem 0 1.5rem 0;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    background: #f9f9f9;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius-lg);
    box-shadow: 0 10px 28px rgba(58, 43, 34, 0.08);
    width: 100%;
    max-width: none;
}
.ef-sp-order-form__title {
    margin: 0 0 1rem;
    color: var(--ef-primary);
    font-size: clamp(0.9rem, 1.2vw, 0.98rem);
    font-weight: 500;
    line-height: 1.5;
}
.ef-order-form__fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.ef-order-form input[type="text"],
.ef-order-form input[type="tel"] {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius-sm);
    background: var(--ef-white);
    color: var(--ef-primary);
    transition: border-color 0.2s;
}
.ef-order-form input[type="text"]:focus,
.ef-order-form input[type="tel"]:focus {
    border-color: var(--ef-accent);
    outline: none;
}
.ef-sp-order-btn--submit {
    background: var(--ef-primary);
    border-color: var(--ef-primary);
    color: var(--ef-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
    padding: 0.88rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 8px 18px rgba(58, 43, 34, 0.16);
}
.ef-sp-order-btn--submit:hover {
    background: #2e221b;
    border-color: #2e221b;
    color: var(--ef-white);
}
.ef-order-success {
    color: var(--ef-success);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 1rem;
}
.ef-order-error {
    color: var(--ef-error);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 1rem;
}

/* Livraison Popup Button */
.ef-livraison-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.85rem 1rem;
    background: transparent;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius-sm);
    color: var(--ef-text);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
}

.ef-livraison-trigger:hover {
    border-color: var(--ef-primary);
    background: var(--ef-bg-light);
}

.ef-livraison-trigger svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

/* Livraison Popup Modal */
.ef-livraison-popup {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ef-livraison-popup.active {
    opacity: 1;
    visibility: visible;
}

.ef-livraison-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.ef-livraison-popup__content {
    position: relative;
    background: var(--ef-white);
    width: 90%;
    max-width: 620px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 1.8rem;
    border-radius: var(--ef-radius-lg);
    border: 1px solid var(--ef-border);
    z-index: 2;
}

.ef-livraison-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ef-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.2s;
}

.ef-livraison-popup__close:hover {
    color: var(--ef-primary);
}

.ef-livraison-popup__title {
    font-family: var(--ef-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ef-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.ef-livraison-popup__items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ef-livraison-popup__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.ef-livraison-popup__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ef-accent-dark);
}

.ef-livraison-popup__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.ef-livraison-popup__item-title {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ef-primary);
    margin-bottom: 0.2rem;
}

.ef-livraison-popup__item-text {
    font-size: 0.88rem;
    color: var(--ef-text-light);
    line-height: 1.6;
    margin: 0;
}

.ef-sp-meta__label {
    font-weight: 600;
    color: var(--ef-primary);
}

/* Tabs */
.ef-sp-tabs-section {
    padding: var(--ef-spacing-lg) 0;
    background: var(--ef-bg-light);
}

.ef-sp-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--ef-border);
    margin-bottom: var(--ef-spacing-md);
}

.ef-sp-tab-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    color: var(--ef-text-light);
    transition: var(--ef-transition);
}

.ef-sp-tab-btn:hover {
    color: var(--ef-primary);
}

.ef-sp-tab-btn.active {
    color: var(--ef-primary);
    border-bottom-color: var(--ef-accent);
}

.ef-sp-tab-panel {
    display: none;
}

.ef-sp-tab-panel.active {
    display: block;
}

.ef-sp-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--ef-text);
    max-width: 800px;
}

.ef-sp-description p {
    margin-bottom: 1rem;
}

.ef-sp-description--after-delivery {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ef-border);
}

.ef-sp-description--after-delivery > :first-child {
    margin-top: 0;
}

.ef-sp-description--after-delivery > :last-child {
    margin-bottom: 0;
}

.ef-sp-details-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
}

.ef-sp-details-table tr {
    border-bottom: 1px solid var(--ef-border);
}

.ef-sp-details-table th,
.ef-sp-details-table td {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    text-align: left;
}

.ef-sp-details-table th {
    font-weight: 600;
    color: var(--ef-primary);
    width: 35%;
}

.ef-sp-details-table td {
    color: var(--ef-text-light);
}

/* Related Products */
.ef-sp-related {
    padding: var(--ef-spacing-lg) 0;
}

.ef-sp-related .ef-section-header h2 {
    font-size: 1.75rem;
}

/* ============================================
   LOADING / ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ef-animate {
    opacity: 0;
}

.ef-animate.ef-visible {
    animation: fadeInUp 0.6s ease forwards;
}

.ef-animate--delay-1 { animation-delay: 0.1s; }
.ef-animate--delay-2 { animation-delay: 0.2s; }
.ef-animate--delay-3 { animation-delay: 0.3s; }
.ef-animate--delay-4 { animation-delay: 0.4s; }

/* ============================================
   LIVRAISON ET RETOUR
============================================ */
.ef-livraison {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    background: linear-gradient(180deg, #fcfaf8 0%, #f6f2ee 100%);
}

.ef-livraison__title {
    text-align: center;
    font-family: var(--ef-font-heading, 'Playfair Display', serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    color: var(--ef-primary);
    margin-bottom: clamp(1rem, 2.5vw, 1.8rem);
    letter-spacing: 0.02em;
}

.ef-livraison__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--ef-accent);
    margin: var(--ef-spacing-sm) auto 0;
}

.ef-livraison__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ef-livraison__card {
    background: var(--ef-white);
    border-radius: 16px;
    border: 1px solid var(--ef-border);
    padding: 1.25rem 1.15rem;
    text-align: center;
    box-shadow: 0 14px 32px rgba(58, 43, 34, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ef-livraison__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(58, 43, 34, 0.12);
}

.ef-livraison__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f1e8;
    border-radius: 50%;
    color: var(--ef-primary);
}

.ef-livraison__icon svg {
    width: 20px;
    height: 20px;
}

.ef-livraison__card-title {
    font-family: var(--ef-font-heading, 'Playfair Display', serif);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ef-primary);
    margin-bottom: 0.45rem;
}

.ef-livraison__card-text {
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--ef-text-light);
    margin: 0;
}

.ef-livraison__card--refund {
    border-color: rgba(212, 175, 55, 0.5);
}

.ef-livraison__card--refund .ef-livraison__icon {
    background: rgba(212, 175, 55, 0.16);
    color: #a67e12;
}

.ef-livraison__card--refund .ef-livraison__card-title {
    color: #a67e12;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .ef-products-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .ef-footer__main {
        grid-template-columns: 1fr 1fr;
    }

    .ef-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .ef-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ef-category-card--wide {
        grid-column: span 1;
    }

    .ef-sp-layout {
        gap: var(--ef-spacing-lg);
    }

    .ef-livraison__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --ef-header-height: 60px;
    }

    .ef-menu-toggle {
        display: flex;
    }

    .ef-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--ef-white);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--ef-header-height) + var(--ef-spacing-md)) var(--ef-spacing-md) var(--ef-spacing-md);
        transition: var(--ef-transition);
        z-index: 999;
        box-shadow: var(--ef-shadow-lg);
        overflow-y: auto;
    }

    .ef-nav.active {
        right: 0;
    }

    .ef-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .ef-nav__list > li > a {
        display: block;
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--ef-border);
        color: var(--ef-primary) !important;
    }

    .ef-nav__list .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 var(--ef-spacing-sm);
    }

    .ef-mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: var(--ef-transition);
    }

    .ef-mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .ef-hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .ef-products-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--ef-spacing-sm) !important;
    }

    .ef-posts-grid {
        grid-template-columns: 1fr;
    }

    .ef-split-banner {
        grid-template-columns: 1fr;
    }

    .ef-content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .ef-footer__main {
        grid-template-columns: 1fr;
        gap: var(--ef-spacing-md);
    }

    .ef-footer__bottom {
        flex-direction: column;
        gap: var(--ef-spacing-sm);
        text-align: center;
    }

    .ef-instagram__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .ef-newsletter__form {
        flex-direction: column;
    }

    .ef-features {
        grid-template-columns: 1fr 1fr;
        gap: var(--ef-spacing-sm);
    }

    .ef-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .ef-sp-layout {
        grid-template-columns: 1fr;
        gap: var(--ef-spacing-md);
    }

    .ef-sp-gallery {
        position: static;
    }

    .ef-header__center {
        display: none;
    }

    .ef-livraison__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ef-livraison {
        padding: 24px 0 20px;
    }

    .ef-livraison__title {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .ef-livraison__card {
        padding: 16px 14px;
    }
}

@media (max-width: 480px) {
    .ef-features {
        grid-template-columns: 1fr;
    }

    .ef-products-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }

    .ef-header__icons {
        gap: 0.75rem;
    }
}












/* ============================================
   RESPONSIVE
============================================ */

/* ---------- Tablet landscape (≤ 1024px) ---------- */
@media (max-width: 1024px) {
    .ef-products-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .ef-footer__main {
        grid-template-columns: 1fr 1fr;
    }

    .ef-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .ef-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ef-category-card--wide {
        grid-column: span 1;
    }

    /* Single product */
    .ef-sp-layout {
        gap: var(--ef-spacing-lg);
    }

    .ef-sp-order-form {
        max-width: 100%;
    }

    .ef-livraison__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Tablet portrait (≤ 768px) ---------- */
@media (max-width: 768px) {
    :root {
        --ef-header-height: 60px;
    }

    /* --- Navigation --- */
    .ef-menu-toggle {
        display: flex;
    }

    .ef-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--ef-white);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--ef-header-height) + var(--ef-spacing-md)) var(--ef-spacing-md) var(--ef-spacing-md);
        transition: var(--ef-transition);
        z-index: 999;
        box-shadow: var(--ef-shadow-lg);
        overflow-y: auto;
    }

    .ef-nav.active {
        right: 0;
    }

    .ef-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .ef-nav__list > li > a {
        display: block;
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--ef-border);
        color: var(--ef-primary) !important;
    }

    .ef-nav__list .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 var(--ef-spacing-sm);
    }

    .ef-mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: var(--ef-transition);
    }

    .ef-mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .ef-header__center {
        display: none;
    }

    /* --- Hero --- */
    .ef-hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .ef-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    /* --- Grids --- */
    .ef-products-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--ef-spacing-sm) !important;
    }

    .ef-posts-grid {
        grid-template-columns: 1fr;
    }

    .ef-split-banner {
        grid-template-columns: 1fr;
    }

    .ef-content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .ef-footer__main {
        grid-template-columns: 1fr;
        gap: var(--ef-spacing-md);
    }

    .ef-footer__bottom {
        flex-direction: column;
        gap: var(--ef-spacing-sm);
        text-align: center;
    }

    .ef-instagram__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .ef-newsletter__form {
        flex-direction: column;
    }

    .ef-features {
        grid-template-columns: 1fr 1fr;
        gap: var(--ef-spacing-sm);
    }

    /* --- Single Product: Stack to 1 column --- */
    .ef-sp-main {
        padding: var(--ef-spacing-md) 0;
    }

      /* --- Single Product --- */
    .ef-sp-layout {
        grid-template-columns: 1fr;
        gap: var(--ef-spacing-md);
    }

    .ef-sp-gallery {
        position: static;
    }

    .ef-sp-gallery__main {
        border-radius: 0;
        aspect-ratio: 3/4;
        width: 100%;
        max-width: 100%;
    }

    .ef-sp-gallery__thumbs {
        gap: 0.5rem;
        padding: 0 var(--ef-spacing-sm);
    }

    .ef-sp-gallery__thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 80px;
    }

    .ef-sp-info {
        padding: 0 var(--ef-spacing-sm);
    }

    .ef-sp-title {
        font-size: 1.5rem;
    }

    .ef-sp-price {
        font-size: 1.25rem;
    }

    .ef-sp-size-btn,
    .ef-sp-custom-variant-btn {
        min-width: 42px;
        height: 42px;
        font-size: 0.8rem;
    }

    .ef-sp-color-btn {
        width: 36px;
        height: 36px;
    }

    .ef-sp-color-btn--split {
        width: 46px;
    }

    .ef-sp-order-form {
        max-width: 100%;
        padding: 1.25rem 1rem;
        margin: 1.5rem 0 1rem;
    }

    .ef-sp-order-btn--submit {
        font-size: 0.9rem;
    }

    .ef-livraison-popup__content {
        width: 95%;
        padding: 1.2rem;
    }

    .ef-livraison-popup__title {
        font-size: 1.25rem;
    }

    .ef-sp-tabs__nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ef-sp-tab-btn {
        white-space: nowrap;
        font-size: 0.78rem;
    }

    /* --- Livraison: stack to 1 column, horizontal card layout --- */
    .ef-livraison {
        padding: 24px 0 20px;
    }

    .ef-livraison__title {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .ef-livraison__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ef-livraison__card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 12px;
        padding: 14px 16px;
    }

    .ef-livraison__icon {
        margin: 0;
        flex-shrink: 0;
    }

    .ef-livraison__card-title {
        margin-bottom: 2px;
    }

    .ef-livraison__card-text {
        font-size: 0.75rem;
    }
}

/* ---------- Small phones (≤ 480px) ---------- */
@media (max-width: 480px) {
    .ef-features {
        grid-template-columns: 1fr;
    }

    .ef-products-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }

    .ef-header__icons {
        gap: 0.75rem;
    }

    /* Gallery goes full-bleed */
    .ef-sp-gallery__main {
        margin-left: calc(-1 * var(--ef-spacing-md));
        margin-right: calc(-1 * var(--ef-spacing-md));
        border-radius: 0;
    }

    .ef-sp-gallery__thumb {
        flex: 0 0 50px;
        width: 50px;
        height: 66px;
    }

    .ef-sp-info {
        padding: 0;
    }

    .ef-sp-title {
        font-size: 1.25rem;
    }

    .ef-sp-price {
        font-size: 1.15rem;
    }

    .ef-sp-size-btn,
    .ef-sp-custom-variant-btn {
        min-width: 38px;
        height: 38px;
        font-size: 0.75rem;
    }

    .ef-sp-color-btn {
        width: 32px;
        height: 32px;
    }

    .ef-sp-color-btn--split {
        width: 42px;
    }

    .ef-sp-order-form {
        padding: 1rem 0.75rem;
        margin: 1rem 0;
    }

    .ef-order-form__fields {
        gap: 0.75rem;
    }

    .ef-order-form input[type="text"],
    .ef-order-form input[type="tel"] {
        font-size: 0.9rem;
        padding: 0.65rem 0.75rem;
    }

    .ef-sp-order-btn--submit {
        font-size: 0.9rem;
    }

    .ef-livraison-popup__item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ef-livraison-popup__icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .ef-livraison-popup__icon svg {
        width: 20px;
        height: 20px;
    }

    .ef-livraison {
        padding: 20px 0 16px;
    }

    .ef-livraison__title {
        font-size: 1rem;
    }

    .ef-livraison__card {
        padding: 12px 14px;
    }

    .ef-livraison__card-text {
        font-size: 0.72rem;
    }
}















/* ============================================
   PRODUCT GALLERY SLIDER
============================================ */
.ef-sp-gallery {
    position: sticky;
    top: calc(var(--ef-header-height) + var(--ef-spacing-md));
    min-width: 0;
    overflow: hidden;
}

/* Slider container */
.ef-sp-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--ef-radius-sm);
    background: var(--ef-bg-light);
    aspect-ratio: 3/4;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y pinch-zoom;
}

.ef-sp-slider.is-dragging {
    cursor: grabbing;
}

/* Track holds all slides side by side */
.ef-sp-slider__track {
    display: flex;
    height: 100%;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ef-sp-slider.is-dragging .ef-sp-slider__track {
    transition: none;
}

/* Each slide */
.ef-sp-slider__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ef-sp-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ef-sp-slider__slide.is-color-arrival img {
    animation: ef-color-image-arrival 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ef-color-image-arrival {
    0% {
        opacity: 0.55;
        transform: scale(1.025);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Badge stays on top */
.ef-sp-slider .ef-sp-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    pointer-events: none;
}

/* ---- Arrows ---- */
.ef-sp-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(58, 43, 34, 0.15);
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #3a2b22;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.78;
    transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ef-sp-slider:hover .ef-sp-slider__arrow {
    opacity: 0.96;
}

.ef-sp-slider__arrow:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-50%) scale(1.03);
}

.ef-sp-slider__arrow--prev {
    left: 12px;
}

.ef-sp-slider__arrow--next {
    right: 12px;
}

.ef-sp-slider__arrow svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- Dots ---- */
.ef-sp-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 24px;
    margin-top: 7px;
    padding: 5px 16px 3px;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.ef-sp-slider__dots::-webkit-scrollbar {
    display: none;
}

.ef-sp-slider__dots.is-many {
    justify-content: flex-start;
}

.ef-sp-slider__dots.is-many::before,
.ef-sp-slider__dots.is-many::after {
    content: '';
    flex: 0 0 6px;
}

.ef-sp-slider__dot {
    position: relative;
    flex: 0 0 11px;
    width: 11px;
    height: 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: width 0.2s ease, flex-basis 0.2s ease, background-color 0.2s ease;
}

.ef-sp-slider__dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(58, 43, 34, 0.28);
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, border-radius 0.2s ease, background-color 0.2s ease;
}

.ef-sp-slider__dot.active {
    flex-basis: 16px;
    width: 16px;
    background: transparent;
}

.ef-sp-slider__dot.active::before {
    width: 12px;
    background: var(--ef-primary);
    border-radius: 3px;
}

/* ---- Thumbnails ---- */
.ef-sp-gallery__thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ef-border) transparent;
}

.ef-sp-gallery__thumbs::-webkit-scrollbar {
    height: 4px;
}

.ef-sp-gallery__thumbs::-webkit-scrollbar-thumb {
    background: var(--ef-border);
    border-radius: 4px;
}

.ef-sp-gallery__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 96px;
    border-radius: var(--ef-radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--ef-bg-light);
    padding: 0;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.ef-sp-gallery__thumb.active {
    border-color: var(--ef-primary);
    opacity: 1;
    box-shadow: 0 0 0 1px var(--ef-primary);
}

.ef-sp-gallery__thumb:hover {
    opacity: 1;
}

.ef-sp-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .ef-sp-slider__track {
        transition-duration: 0.01ms !important;
    }

    .ef-sp-slider__slide.is-color-arrival img {
        animation: none;
    }
}

/* ---- Image counter (mobile) ---- */
.ef-sp-slider__counter {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    pointer-events: none;
}

/* ============================================
   GALLERY RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .ef-sp-gallery {
        position: static;
    }

    .ef-sp-slider {
        border-radius: 0;
        aspect-ratio: 3/4;
    }

    /* Always show arrows on mobile (no hover) */
    .ef-sp-slider .ef-sp-slider__arrow {
        opacity: 1;
        width: 36px;
        height: 36px;
    }

    .ef-sp-slider__arrow--prev { left: 8px; }
    .ef-sp-slider__arrow--next { right: 8px; }

    .ef-sp-slider__arrow svg {
        width: 18px;
        height: 18px;
    }

    /* Show counter on mobile */
    .ef-sp-slider__counter {
        display: block;
    }

    /* Keep thumbnails visible and horizontally scrollable on mobile. */
    .ef-sp-gallery__thumbs {
        display: flex;
        width: 100%;
        max-width: 100%;
        gap: 0.5rem;
        margin-top: 0.625rem;
        padding: 0.125rem 0.75rem 0.625rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .ef-sp-gallery__thumb {
        flex: 0 0 58px;
        width: 58px;
        height: 76px;
        scroll-snap-align: center;
    }

    .ef-sp-slider__dots {
        gap: 4px;
        margin-top: 6px;
        padding-inline: 14px;
    }
}

@media (max-width: 480px) {
    .ef-sp-gallery__thumbs {
        padding-inline: 0.625rem;
    }

    .ef-sp-gallery__thumb {
        flex-basis: 52px;
        width: 52px;
        height: 69px;
    }
}

@media (max-width: 480px) {
    .ef-sp-slider {
        margin-left: calc(-1 * var(--ef-spacing-md));
        margin-right: calc(-1 * var(--ef-spacing-md));
        width: calc(100% + var(--ef-spacing-md) * 2);
        max-width: none;
        border-radius: 0;
    }

    .ef-sp-slider__arrow {
        width: 32px;
        height: 32px;
    }

    .ef-sp-slider__arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   HOMEPAGE REDESIGN - OULKA
============================================ */
.ef-home-hero {
    position: relative;
    overflow: visible;
    padding: clamp(5.25rem, 11vw, 8rem) 0 2.4rem;
    background:
        radial-gradient(65% 85% at 85% 6%, rgba(212, 175, 55, 0.14), transparent 76%),
        linear-gradient(180deg, #ffffff 0%, #f7f3ef 58%, #ffffff 100%);
}

.ef-home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(-1 * clamp(14px, 3vw, 30px));
    height: clamp(92px, 14vw, 170px);
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.52) 58%,
        rgba(255, 255, 255, 0.88) 82%,
        #ffffff 100%
    );
    box-shadow: 0 10px 22px rgba(255, 255, 255, 0.82);
}

.ef-home-hero .ef-container {
    position: relative;
    z-index: 3;
}

.ef-home-hero__image-only {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(58, 43, 34, 0.14);
}

.ef-home-hero__image-only img {
    width: 100%;
    aspect-ratio: 14 / 7;
    border-radius: 14px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

.ef-home-clothes {
    position: relative;
    overflow: visible;
    background: #fff;
}

.ef-home-clothes::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(-1 * clamp(10px, 2.4vw, 24px));
    height: clamp(76px, 11vw, 128px);
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 62%,
        #fcfaf8 100%
    );
    box-shadow: 0 10px 20px rgba(252, 250, 248, 0.85);
}

.ef-home-clothes > .ef-container {
    position: relative;
    z-index: 2;
}

.ef-home-clothes .ef-section-header {
    margin-bottom: clamp(1.4rem, 4vw, 2.6rem);
}

.ef-home-clothes .ef-label {
    color: #8e7962;
}

.ef-home-clothes .ef-product-card {
    border: 1px solid var(--ef-border);
    border-radius: 16px;
    padding: 0.75rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(58, 43, 34, 0.06);
}

.ef-home-clothes .ef-product-card__image {
    margin-bottom: 0.85rem;
    border-radius: 12px;
}

.ef-home-clothes .ef-product-card__title {
    font-size: 1rem;
}

.ef-home-clothes .ef-product-card__price {
    margin: 0.4rem 0 0.8rem;
    color: var(--ef-accent-dark);
    font-weight: 700;
}

.ef-home-clothes .ef-btn--sm {
    width: 100%;
}

.ef-home-more {
    margin-top: 1.8rem;
    display: flex;
    justify-content: center;
}

.ef-livraison--home {
    margin-top: 0;
    position: relative;
    overflow: visible;
}

.ef-livraison--home::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(-1 * clamp(8px, 2vw, 18px));
    height: clamp(74px, 11vw, 124px);
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        #f6f2ee 0%,
        #f8f4ef 52%,
        #fbf8f4 100%
    );
}

.ef-livraison--home > .ef-container {
    position: relative;
    z-index: 2;
}

.ef-home-order {
    padding: 0 0 var(--ef-spacing-xl);
    background: #fff;
}

.ef-home-order__box {
    background: #f9f9f9;
    border: 1px solid var(--ef-border);
    border-radius: 20px;
    padding: clamp(1.15rem, 4vw, 2rem);
    box-shadow: 0 12px 30px rgba(58, 43, 34, 0.08);
}

.ef-home-order__box h2 {
    text-align: center;
    font-size: clamp(1.2rem, 3.2vw, 1.85rem);
    margin-bottom: 1.2rem;
}

.ef-home-order__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.ef-home-order__form label {
    display: grid;
    gap: 0.35rem;
}

.ef-home-order__form label span {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8f7d6e;
    font-weight: 600;
}

.ef-home-order__form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--ef-border);
    border-radius: 10px;
    background: #fff;
    color: var(--ef-primary);
    padding: 0.72rem 0.9rem;
}

.ef-home-order__form input:focus {
    outline: none;
    border-color: var(--ef-primary);
    box-shadow: 0 0 0 3px rgba(58, 43, 34, 0.08);
}

.ef-home-order__full {
    grid-column: 1 / -1;
}

.ef-home-order__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ef-home-order__actions .ef-btn {
    flex: 1;
    min-width: 220px;
}

.ef-home-order__note {
    margin-top: 0.9rem;
    color: var(--ef-text-light);
    font-size: 0.88rem;
    text-align: center;
}

@media (max-width: 980px) {
    .ef-home-order__form {
        grid-template-columns: 1fr;
    }

    .ef-home-order__actions .ef-btn {
        min-width: 100%;
    }
}

@media (max-width: 640px) {
    .ef-home-hero {
        padding-bottom: 0.5rem;
    }

    .ef-home-hero__image-only {
        border-radius: 11px;
    }

    .ef-home-hero__image-only img {
        aspect-ratio: auto;
        height: auto;
        object-fit: contain;
        border-radius: 11px;
    }

    .ef-home-clothes.ef-section {
        padding-top: 2rem;
    }

    .ef-livraison__grid {
        grid-template-columns: 1fr;
    }

    .ef-livraison--home {
        padding: 1.35rem 0 1.2rem;
    }

    .ef-livraison--home .ef-livraison__title {
        font-size: 1.08rem;
        margin-bottom: 0.9rem;
    }

    .ef-livraison--home .ef-livraison__grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .ef-livraison--home .ef-livraison__card {
        display: block;
        text-align: center;
        gap: 0;
        padding: 1.05rem 0.95rem;
        border-radius: 16px;
        box-shadow: 0 8px 16px rgba(58, 43, 34, 0.06);
    }

    .ef-livraison--home .ef-livraison__icon {
        margin: 0 auto 0.72rem;
        width: 44px;
        height: 44px;
    }

    .ef-livraison--home .ef-livraison__icon svg {
        width: 20px;
        height: 20px;
    }

    .ef-livraison--home .ef-livraison__card-title {
        font-size: 0.98rem;
        margin: 0 0 0.35rem;
    }

    .ef-livraison--home .ef-livraison__card-text {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .ef-newsletter--home {
        padding: 1.15rem 0;
    }

    .ef-newsletter--home .ef-newsletter__panel {
        padding: 1rem 0.82rem;
        border-radius: 16px;
    }

    .ef-newsletter--home .ef-newsletter__form {
        gap: 0.5rem;
    }

    .ef-newsletter--home .ef-newsletter__form input[type="text"],
    .ef-newsletter--home .ef-newsletter__form input[type="tel"] {
        min-height: 42px;
        padding: 0.64rem 0.75rem;
        font-size: 0.84rem;
        border-radius: 10px;
    }

    .ef-newsletter--home .ef-newsletter__form button {
        width: 100%;
        min-height: 42px;
        padding: 0.64rem 0.78rem;
        font-size: 0.74rem;
        border-radius: 10px;
    }

    .ef-home-order__box h2 {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .ef-livraison--home .ef-livraison__card {
        padding: 0.95rem 0.82rem;
    }

    .ef-livraison--home .ef-livraison__icon {
        width: 40px;
        height: 40px;
    }

    .ef-livraison--home .ef-livraison__card-title {
        font-size: 0.93rem;
    }

    .ef-livraison--home .ef-livraison__card-text {
        font-size: 0.8rem;
    }

    .ef-newsletter--home .ef-newsletter__panel {
        padding: 0.9rem 0.7rem;
    }

    .ef-newsletter--home .ef-newsletter__form input[type="text"],
    .ef-newsletter--home .ef-newsletter__form input[type="tel"] {
        min-height: 40px;
        font-size: 0.82rem;
    }

    .ef-newsletter--home .ef-newsletter__form button {
        min-height: 40px;
        font-size: 0.72rem;
    }
}

/* ============================================
   CUSTOMER FAVORITES + CLEAN PRODUCT GRID
============================================ */
.ef-header__icon { position: relative; }
.ef-header__icon.ef-account-trigger,
.ef-header__icon.ef-favorites-trigger { background: transparent; border: 0; }
.ef-favorites-count {
    position: absolute; top: -7px; right: -7px; min-width: 17px; height: 17px; padding: 0 4px;
    display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
    background: #111; color: #fff; font-size: 10px; line-height: 1; font-weight: 700;
}
.ef-products-grid,
.woocommerce ul.products { gap: 22px 18px !important; }
.ef-product-card,
.woocommerce ul.products li.product { position: relative; background: transparent; border-radius: 0; }
.ef-product-card__image,
.woocommerce ul.products li.product a img { border-radius: 0 !important; background: #f6f6f6; }
.ef-product-card__image img,
.woocommerce ul.products li.product a img { transition: transform 220ms ease, opacity 220ms ease; }
.ef-product-card:hover .ef-product-card__image img,
.woocommerce ul.products li.product:hover a img { transform: scale(1.025); }
.ef-product-card__info,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price { text-align: left; }
.ef-product-card__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 9px 0 4px; min-height: 2.6em; color: #222; font-size: 14px; font-weight: 500; line-height: 1.3;
}
.ef-product-card__price,
.woocommerce ul.products li.product .price { color: #111; font-size: 15px; font-weight: 700; }
.ef-product-card .ef-btn,
.woocommerce ul.products li.product .button { display: none !important; }
.ef-fav-btn {
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.08); background: rgba(255, 255, 255, 0.94);
    color: #222; cursor: pointer; transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease; z-index: 8;
}
.ef-fav-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ef-fav-btn:hover { transform: scale(1.05); border-color: #111; }
.ef-fav-btn.is-active { background: #111; border-color: #111; color: #fff; }
.ef-fav-btn.is-active svg { fill: currentColor; }
.ef-fav-btn.is-loading { pointer-events: none; opacity: 0.6; }
.ef-fav-btn--card { position: absolute; top: 10px; right: 10px; }
.ef-fav-btn--woo { top: 12px; right: 12px; }
.ef-fav-btn--single {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 20 !important;
    display: inline-flex !important;
    width: 46px;
    height: 46px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    border: 1px solid rgba(17, 17, 17, 0.18);
    background: #fff;
    color: #171717;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.ef-fav-btn--single svg { width: 21px; height: 21px; stroke-width: 2; }
.ef-fav-btn--single:hover { background: #fff; border-color: #171717; }
.ef-fav-btn--single.is-active { background: #fff; border-color: #c62828; color: #c62828; }
.ef-fav-btn--single.is-active svg { fill: #c62828; }

.ef-sp-slider__arrow { display: none !important; }

@media (max-width: 768px) {
    .ef-fav-btn--single {
        top: 12px !important;
        right: 12px !important;
        width: 42px;
        height: 42px;
    }
}
@media (max-width: 480px) {
    .ef-fav-btn--single {
        right: calc(var(--ef-spacing-md) + 12px) !important;
    }
}
.ef-account-modal { position: fixed; inset: 0; z-index: 99999; display: none; }
.ef-account-modal.is-open { display: block; }
.ef-account-modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.ef-account-modal__panel {
    position: relative; width: min(520px, calc(100vw - 28px)); max-height: calc(100vh - 34px); overflow: auto;
    margin: 17px auto; padding: 28px; background: #fff; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}
.ef-account-modal__close {
    position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; background: #f3f3f3;
    cursor: pointer; font-size: 24px; line-height: 1;
}
.ef-account-modal h2 { margin: 0 40px 8px 0; color: #111; font-family: var(--ef-font-body); font-size: 22px; letter-spacing: 0; }
.ef-account-modal p { margin: 0 0 18px; color: #555; line-height: 1.55; }
.ef-account-form { display: grid; gap: 10px; }
.ef-account-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d8d8d8; background: #fff; }
.ef-account-form__submit { min-height: 46px; border: 0; background: #111; color: #fff; font-weight: 700; cursor: pointer; }
.ef-account-form__message { min-height: 20px; color: #444; font-size: 13px; }
.ef-account-form__message.is-error { color: #b3261e; }
.ef-account-form__message.is-success { color: #137333; }
.ef-profile-order-note {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 10px 12px;
    background: #f6f6f6; color: #333; font-size: 13px;
}
.ef-profile-edit-btn { border: 0; background: transparent; color: #111; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ef-order-form__fields.is-profile-locked input:disabled { opacity: 1; color: #333; background: #f4f4f4; -webkit-text-fill-color: #333; }
@media (max-width: 768px) {
    .ef-products-grid,
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 12px !important; }
    .ef-product-card__title,
    .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
    .ef-account-modal__panel { padding: 22px 16px; }
}

/* Header account and favorites dropdowns */
.ef-header-popover-wrap { position: relative; }
.ef-header-popover {
    position: absolute; top: calc(100% + 12px); right: 0; width: min(340px, calc(100vw - 24px));
    display: none; padding: 14px; background: #fff; color: #111; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18); z-index: 60;
}
.ef-header-popover.is-open { display: block; }
.ef-header-popover:before {
    content: ''; position: absolute; top: -7px; right: 14px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg);
}
.ef-account-menu__logged { display: grid; gap: 8px; }
.ef-account-menu__name { display: block; margin-bottom: 4px; font-size: 14px; }
.ef-account-menu a { display: block; padding: 9px 10px; color: #111; background: #f6f6f6; font-size: 14px; }
.ef-account-menu a:hover { background: #111; color: #fff; }
.ef-favorites-menu > strong { display: block; margin-bottom: 10px; font-size: 14px; }
.ef-favorites-menu__list { display: grid; gap: 10px; max-height: 360px; overflow: auto; }
.ef-favorites-menu__list p { margin: 0; color: #555; font-size: 14px; }
.ef-favorites-menu__item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: center; color: #111; }
.ef-favorites-menu__item img,
.ef-favorites-menu__placeholder { width: 58px; height: 74px; object-fit: cover; background: #f2f2f2; }
.ef-favorites-menu__item b { display: block; font-size: 13px; line-height: 1.3; font-weight: 600; }
.ef-favorites-menu__item small { display: block; margin-top: 4px; color: #666; font-size: 12px; }
.ef-account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.ef-account-tabs button { min-height: 40px; border: 1px solid #ddd; background: #f6f6f6; color: #111; cursor: pointer; font-weight: 700; }
.ef-account-tabs button.is-active { background: #111; border-color: #111; color: #fff; }
.ef-account-create-fields,
.ef-account-login-fields { display: grid; gap: 10px; }
.ef-account-create-fields[hidden],
.ef-account-login-fields[hidden] { display: none; }
@media (max-width: 768px) {
    .ef-header-popover { right: -44px; }
}

/* Customer platform account menu */
.ef-account-menu__eyebrow { display: block; color: #777; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.ef-account-menu__name { font-size: 15px; margin-bottom: 8px; }
.ef-account-menu a { display: grid; gap: 2px; padding: 11px 12px; border: 1px solid #eee; background: #fff; }
.ef-account-menu a span { color: #111; font-size: 14px; font-weight: 700; }
.ef-account-menu a small { color: #777; font-size: 12px; }
.ef-account-menu a:hover { border-color: #111; background: #111; }
.ef-account-menu a:hover span,
.ef-account-menu a:hover small { color: #fff; }
.ef-account-menu__logout { margin-top: 4px; }
.ef-favorites-page-header p { margin: 0.4rem 0 0; color: var(--ef-text-light); }
.ef-empty-state { max-width: 560px; margin: 0 auto; padding: 38px 20px; text-align: center; background: #f7f7f7; }
.ef-empty-state h2 { margin: 0 0 8px; font-family: var(--ef-font-body); font-size: 24px; color: #111; }
.ef-empty-state p { margin: 0 0 18px; color: #555; }

/* Espace client platform layout */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; padding: 0; list-style: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 12px;
    border: 1px solid #e5e5e5; background: #fff; color: #111; font-weight: 700; text-align: center;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: #111; border-color: #111; color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content {
    float: none; width: 100%; padding: 24px; background: #fff; border: 1px solid #ececec;
}
.ef-account-panel h2 { margin: 0 0 8px; font-family: var(--ef-font-body); font-size: 24px; color: #111; }
.ef-account-panel p { margin: 0 0 18px; color: #555; line-height: 1.6; }
.ef-account-notice { margin-bottom: 16px; padding: 12px 14px; background: #edf7ed; color: #146c2e; font-weight: 700; }
.ef-reclamation-form { display: grid; gap: 12px; }
.ef-reclamation-form input,
.ef-reclamation-form textarea { width: 100%; padding: 12px; border: 1px solid #d8d8d8; background: #fff; }
.ef-reclamation-form button { width: fit-content; min-height: 46px; padding: 0 18px; border: 0; background: #111; color: #fff; font-weight: 700; cursor: pointer; }
.ef-reclamations-table { margin: 10px 0 26px; }
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: 1fr; }
    .woocommerce-account .woocommerce-MyAccount-content { padding: 16px; }
}

/* Clean French profile update form */
.ef-profile-form { display: grid; gap: 12px; }
.ef-profile-form input { width: 100%; min-height: 46px; padding: 12px; border: 1px solid #d8d8d8; background: #fff; }
.ef-profile-form__password { display: grid; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid #eee; }
.ef-profile-form__password h3 { margin: 0; font-family: var(--ef-font-body); font-size: 17px; color: #111; }
.ef-profile-form button { width: fit-content; min-height: 46px; padding: 0 18px; border: 0; background: #111; color: #fff; font-weight: 700; cursor: pointer; }
.ef-account-notice--error { background: #fdecec; color: #9f1d1d; }

/* Polished Espace client page */
.woocommerce-account .ef-container--narrow {
    max-width: 1160px;
}
.woocommerce-account .ef-page-header {
    padding-bottom: 28px;
    background: #f7f7f7;
}
.woocommerce-account .ef-page-header h1 {
    font-family: var(--ef-font-body);
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: 0;
}
.woocommerce-account .ef-single-post__content {
    max-width: none;
}
.woocommerce-account .woocommerce {
    background: #f9f9f9;
    padding: 18px;
}
.woocommerce-account.logged-in .woocommerce {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
    justify-content: flex-start;
    min-height: 58px;
    padding: 13px 15px;
    border: 1px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.035);
}
.woocommerce-account .woocommerce-MyAccount-content {
    min-height: 320px;
    padding: 28px;
    border: 1px solid #e7e7e7;
    box-shadow: 0 8px 24px rgba(0,0,0,0.035);
}
.ef-account-access {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 16px;
    align-items: stretch;
}
.ef-account-access__panel,
.ef-account-access__features {
    background: #fff;
    border: 1px solid #e7e7e7;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.035);
}
.ef-account-access__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #777;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ef-account-access h2 {
    margin: 0 0 10px;
    font-family: var(--ef-font-body);
    font-size: 28px;
    color: #111;
}
.ef-account-access p {
    margin: 0 0 20px;
    color: #555;
    line-height: 1.6;
}
.ef-account-access__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ef-account-access__features {
    display: grid;
    gap: 10px;
}
.ef-account-access__features div {
    padding: 14px;
    background: #f7f7f7;
}
.ef-account-access__features strong,
.ef-account-access__features span {
    display: block;
}
.ef-account-access__features strong {
    color: #111;
    margin-bottom: 3px;
}
.ef-account-access__features span {
    color: #666;
    font-size: 13px;
}
.woocommerce-account:not(.logged-in) .woocommerce > h2,
.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-register {
    display: none !important;
}
@media (max-width: 900px) {
    .woocommerce-account.logged-in .woocommerce,
    .ef-account-access {
        grid-template-columns: 1fr;
    }
    .woocommerce-account .woocommerce-MyAccount-content,
    .ef-account-access__panel,
    .ef-account-access__features {
        padding: 18px;
    }
}

/* Centralized OULKA reviews */
.ef-review-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 4px 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #171717;
    cursor: pointer;
    font: inherit;
}
.ef-review-summary:hover span:last-child { text-decoration: underline; }
.ef-review-summary strong { font-size: 13px; }
.ef-review-summary > span:last-child { color: #666; font-size: 13px; }
.ef-review-stars {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    color: #d8d8d8;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}
.ef-review-stars__fill {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    color: #e0a51b;
}
.ef-reviews-band {
    width: 100%;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    background: #f7f7f5;
}
.ef-reviews-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 44px 0;
}
.ef-reviews-band__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}
.ef-reviews-band h2,
.ef-reviews-modal h2,
.ef-review-form h3 {
    margin: 0;
    color: #171717;
    letter-spacing: 0;
}
.ef-reviews-band h2 { font-size: 36px; }
.ef-reviews-band__score { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #555; font-size: 14px; }
.ef-review-primary {
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid #171717;
    border-radius: 2px;
    background: #171717;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.ef-review-primary:hover { background: #fff; color: #171717; }
.ef-review-primary:disabled { cursor: wait; opacity: .6; }
body.ef-reviews-open { overflow: hidden; }
.ef-reviews-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: none;
}
.ef-reviews-modal.is-open { display: block; }
.ef-reviews-modal__overlay { position: absolute; inset: 0; background: rgba(10, 10, 10, .54); }
.ef-reviews-modal__dialog {
    position: absolute;
    inset: 4vh 4vw;
    display: flex;
    flex-direction: column;
    width: min(1080px, 92vw);
    max-height: 92vh;
    margin: auto;
    overflow: hidden;
    outline: none;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}
.ef-reviews-modal__close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #171717;
    cursor: pointer;
}
.ef-reviews-modal__close svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ef-reviews-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 78px 24px 30px;
    border-bottom: 1px solid #e7e7e7;
}
.ef-reviews-modal__header h2 { font-size: 28px; }
.ef-reviews-modal__score { display: flex; align-items: center; gap: 12px; }
.ef-reviews-modal__score > strong { font-size: 34px; line-height: 1; }
.ef-reviews-modal__score > div { display: grid; gap: 5px; }
.ef-reviews-modal__score > div > span:last-child { color: #666; font-size: 12px; }
.ef-reviews-modal__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    min-height: 0;
    overflow: hidden;
}
.ef-reviews-list { overflow-y: auto; padding: 0 30px; }
.ef-review-item { padding: 24px 0; border-bottom: 1px solid #ededed; }
.ef-review-item:last-child { border-bottom: 0; }
.ef-review-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.ef-review-item__top > time { color: #888; font-size: 12px; white-space: nowrap; }
.ef-review-item__identity { display: flex; align-items: center; gap: 10px; }
.ef-review-item__identity > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8eee7;
    color: #244329;
    font-size: 14px;
    font-weight: 800;
}
.ef-review-item__identity div { display: grid; gap: 2px; }
.ef-review-item__identity strong { font-size: 14px; }
.ef-review-item__identity small { color: #777; }
.ef-review-item > p { margin: 12px 0 0; color: #3f3f3f; font-size: 14px; line-height: 1.7; }
.ef-review-item__images { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ef-review-item__images button { width: 84px; height: 84px; padding: 0; overflow: hidden; border: 1px solid #e0e0e0; border-radius: 2px; background: #f5f5f5; cursor: zoom-in; }
.ef-review-item__images img { width: 100%; height: 100%; object-fit: cover; }
.ef-reviews-empty { padding: 70px 10px; text-align: center; }
.ef-reviews-empty p { color: #777; }
.ef-review-compose {
    overflow-y: auto;
    padding: 26px;
    border-left: 1px solid #e7e7e7;
    background: #fafafa;
}
.ef-review-compose__open { width: 100%; }
.ef-review-form { margin-top: 20px; }
.ef-review-form[hidden] { display: none; }
.ef-review-form h3 { font-size: 20px; }
.ef-review-form > p { margin: 6px 0 18px; color: #707070; font-size: 12px; line-height: 1.5; }
.ef-review-form label { display: grid; gap: 6px; margin-bottom: 13px; color: #333; font-size: 12px; font-weight: 700; }
.ef-review-form input[type="text"],
.ef-review-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 11px;
    border: 1px solid #d7d7d7;
    border-radius: 2px;
    outline: none;
    background: #fff;
    color: #171717;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
}
.ef-review-form textarea { resize: vertical; }
.ef-review-form input:focus,
.ef-review-form textarea:focus { border-color: #171717; }
.ef-review-rating { display: flex; gap: 3px; margin-bottom: 16px; }
.ef-review-rating button { padding: 0; border: 0; background: transparent; color: #d0d0d0; font-size: 30px; line-height: 1; cursor: pointer; }
.ef-review-rating button.is-selected { color: #e0a51b; }
.ef-review-upload input { font-size: 12px; font-weight: 400; }
.ef-review-upload small { color: #858585; font-weight: 400; }
.ef-review-preview { display: flex; gap: 6px; margin: -4px 0 14px; }
.ef-review-preview img { width: 52px; height: 52px; object-fit: cover; border: 1px solid #ddd; }
.ef-review-honeypot { position: absolute !important; left: -9999px !important; }
.ef-review-form .ef-review-primary { width: 100%; }
.ef-review-form__message { margin-top: 12px; font-size: 12px; line-height: 1.5; }
.ef-review-form__message.is-error { color: #a52121; }
.ef-review-form__message.is-success { padding: 10px; background: #e9f5eb; color: #17652a; }
.ef-review-lightbox { position: fixed; z-index: 100001; inset: 0; display: none; place-items: center; padding: 50px; background: rgba(0, 0, 0, .88); }
.ef-review-lightbox.is-open { display: grid; }
.ef-review-lightbox img { max-width: min(100%, 1000px); max-height: calc(100vh - 100px); object-fit: contain; }
.ef-review-lightbox button { position: absolute; top: 18px; right: 22px; border: 0; background: transparent; color: #fff; font-size: 38px; cursor: pointer; }

@media (max-width: 760px) {
    .ef-reviews-band__inner { align-items: flex-start; flex-direction: column; width: calc(100% - 32px); padding: 32px 0; }
    .ef-reviews-band__score { align-items: flex-start; flex-direction: column; gap: 7px; }
    .ef-reviews-band .ef-review-primary { width: 100%; }
    .ef-reviews-band h2 { font-size: 28px; }
    .ef-reviews-modal__dialog { inset: 0; width: 100%; max-height: 100%; height: 100%; }
    .ef-reviews-modal__header { align-items: flex-start; flex-direction: column; padding: 22px 64px 18px 18px; }
    .ef-reviews-modal__header h2 { font-size: 23px; }
    .ef-reviews-modal__close { top: 12px; right: 12px; }
    .ef-reviews-modal__body { display: block; overflow-y: auto; }
    .ef-reviews-list { overflow: visible; padding: 0 18px; }
    .ef-review-compose { overflow: visible; padding: 20px 18px 32px; border-top: 1px solid #e7e7e7; border-left: 0; }
    .ef-review-item__top { align-items: flex-start; }
    .ef-review-item__images button { width: 72px; height: 72px; }
    .ef-review-lightbox { padding: 44px 12px; }
}

/* Direct order popup and persistent action */
body.single-product { padding-bottom: 82px; }
.ef-order-sticky {
    position: fixed;
    z-index: 9990;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 1px solid #dedede;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .08);
}
.ef-order-sticky__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
}
.ef-order-sticky__product { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.ef-order-sticky__product > span { overflow: hidden; color: #555; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ef-order-sticky__product strong { flex: 0 0 auto; color: #171717; font-size: 17px; }
.ef-order-sticky__product strong .woocommerce-Price-amount,
.ef-order-sticky__product strong .woocommerce-Price-currencySymbol { display: inline; overflow: visible; color: inherit; font-size: inherit; white-space: nowrap; }
.ef-order-sticky__button {
    flex: 0 0 auto;
    min-width: 250px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--ef-primary);
    border-radius: 2px;
    background: var(--ef-primary);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}
.ef-order-sticky__button:hover { border-color: #2e221b; background: #2e221b; }
body.ef-order-open { overflow: hidden; }
.ef-order-modal {
    position: fixed;
    z-index: 100002;
    inset: 0;
    display: none;
}
.ef-order-modal.is-open { display: block; }
.ef-order-modal__overlay { position: absolute; inset: 0; background: rgba(9, 9, 9, .58); }
.ef-order-modal__dialog {
    position: absolute;
    inset: 3vh 4vw;
    width: min(720px, 94vw);
    max-height: 94vh;
    margin: auto;
    overflow-y: auto;
    border-radius: 8px;
    outline: none;
    background: #fff;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .24);
}
.ef-order-modal__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #fff;
    color: #171717;
    cursor: pointer;
}
.ef-order-modal__close svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ef-order-modal__header { padding: 26px 70px 20px 28px; border-bottom: 1px solid #e8e8e8; }
.ef-order-modal__header > span { color: #667b62; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.ef-order-modal__header h2 { margin: 5px 0 6px; color: #171717; font-size: 27px; letter-spacing: 0; }
.ef-order-modal__header p { margin: 0; color: #686868; font-size: 13px; line-height: 1.5; }
.ef-order-modal__content { padding: 22px 28px 26px; }
.ef-order-modal__product { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: center; padding-bottom: 14px; }
.ef-order-modal__product img { width: 74px; height: 92px; object-fit: cover; background: #f3f3f3; }
.ef-order-modal__product > div { display: grid; gap: 5px; min-width: 0; }
.ef-order-modal__product strong { overflow: hidden; color: #171717; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ef-order-modal__product span { color: #171717; font-size: 15px; font-weight: 800; }
.ef-order-modal__product small { color: #9a5b13; font-size: 11px; }
.ef-order-modal__product small.has-selection { color: #4e6f49; }
.ef-sp-order-form.ef-order-form--popup {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.ef-order-form--popup .ef-profile-order-note { margin: 0 0 14px; }
.ef-order-form--popup .ef-order-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.ef-order-form--popup .ef-order-form__fields label { display: grid; gap: 6px; color: #444; font-size: 11px; font-weight: 700; }
.ef-order-form--popup input[type="text"],
.ef-order-form--popup input[type="tel"] {
    width: 100%;
    min-height: 45px;
    padding: 10px 11px;
    border: 1px solid #d5d5d5;
    border-radius: 2px;
    background: #fff;
    color: #171717;
    font-size: 14px;
}
.ef-order-form--popup input:focus { border-color: #171717; outline: none; }
.ef-order-total { margin: 0 0 16px; padding: 14px 0 8px; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.ef-order-total > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; color: #666; font-size: 13px; }
.ef-order-total > .ef-order-total__discount[hidden] { display: none; }
.ef-order-total > div strong { color: #171717; }
.ef-order-total__discount span,
.ef-order-total__discount strong { color: #27723a !important; }
.ef-order-total > .ef-order-total__final { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #d7d7d7; color: #171717; font-size: 16px; font-weight: 800; }
.ef-order-form--popup .ef-sp-order-btn--submit { min-height: 50px; margin: 0; border-radius: 2px; }
.ef-order-modal__reassurance { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; color: #626262; font-size: 11px; }
.ef-order-modal__reassurance svg { width: 17px; fill: none; stroke: #52714d; stroke-width: 1.7; }
.ef-order-modal .ef-order-error { margin: 14px 0 0; padding: 10px 12px; background: #fff0f0; font-size: 12px; }
.ef-order-modal .ef-order-error.is-discount { background: #eaf6ec; color: #216d32; }
.ef-order-modal.is-post-order .ef-order-modal__header,
.ef-order-modal.is-post-order .ef-order-modal__product,
.ef-order-modal.is-post-order .ef-order-total,
.ef-order-modal.is-post-order #efOrderForm,
.ef-order-modal.is-post-order #efOrderSuccess,
.ef-order-modal.is-post-order #efOrderError { display: none !important; }
.ef-post-order { max-width: 590px; margin: 0 auto; }
.ef-post-order__confirmed { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; color: #287038; font-size: 12px; }
.ef-post-order__confirmed p { display: none; }
.ef-post-order__check { display: grid; flex: 0 0 22px; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2d7a3d; color: #fff; font-size: 13px; font-weight: 900; }
.ef-post-order__offer { position: relative; overflow: hidden; padding: 22px 24px 20px; border: 1px solid #ece8e0; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 14px 40px rgba(25, 25, 25, .08); }
.ef-post-order__badge { display: inline-block; margin-bottom: 9px; padding: 5px 10px; border-radius: 999px; background: #f1e8d5; color: #6f4c0e; font-size: 10px; font-weight: 900; letter-spacing: .07em; }
.ef-post-order__offer h3 { max-width: 460px; margin: 0 auto 15px; color: #171717; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.ef-post-order__visual { width: min(280px, 78%); margin: 0 auto 14px; overflow: hidden; border-radius: 10px; background: #f3f3f3; }
.ef-post-order__visual img { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.ef-post-order__prices { display: grid; grid-template-columns: 1fr auto 1.12fr; align-items: center; gap: 9px; max-width: 410px; margin: 0 auto; }
.ef-post-order__price { display: grid; gap: 3px; min-width: 0; padding: 10px 12px; border-radius: 8px; }
.ef-post-order__price small { font-size: 9px; font-weight: 900; line-height: 1.2; text-transform: uppercase; }
.ef-post-order__price--regular { border: 1px solid #f2d8d5; background: #fff7f6; }
.ef-post-order__price--regular small { color: #a6574e; }
.ef-post-order__price--regular del { color: #c23f32; font-size: 15px; font-weight: 800; text-decoration-thickness: 2px; }
.ef-post-order__price-arrow { color: #aaa; font-size: 17px; }
.ef-post-order__price--exclusive { border: 1px solid #cde6d2; background: #f1faf3; }
.ef-post-order__price--exclusive small { color: #357142; }
.ef-post-order__price--exclusive ins { color: #23823a; font-size: 22px; font-weight: 900; line-height: 1.1; text-decoration: none; }
.ef-post-order__copy { max-width: 430px; margin: 12px auto 0; color: #666; font-size: 12px; line-height: 1.45; }
.ef-offer-copy-product { color: #171717; font-weight: 800; }
.ef-offer-copy-price--old { color: #c23f32; font-weight: 800; text-decoration-thickness: 2px; }
.ef-offer-copy-price--new { color: #23823a; font-weight: 900; }
.ef-post-order__accept { width: 100%; min-height: 52px; margin-top: 15px; border: 1px solid #237a37; border-radius: 7px; background: #237a37; color: #fff; font: inherit; font-size: 13px; font-weight: 900; text-transform: uppercase; cursor: pointer; box-shadow: 0 7px 18px rgba(35, 122, 55, .18); }
.ef-post-order__accept:hover { border-color: #1c662d; background: #1c662d; }
.ef-post-order__accept:disabled { opacity: .65; cursor: wait; }
.ef-post-order__decline { margin-top: 10px; border: 0; background: transparent; color: #686868; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.ef-post-order__status { margin: 12px 0 0; padding: 9px; border-radius: 4px; background: #fff0f0; color: #8b2f2f; font-size: 12px; }
.ef-post-order.is-complete .ef-post-order__confirmed { display: none; }
.ef-post-order__done { max-width: 510px; margin: 0 auto; padding: 22px 20px 10px; text-align: center; }
.ef-post-order__done-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: #edf8f0; color: #23823a; }
.ef-post-order__done-icon svg { width: 29px; height: 29px; }
.ef-post-order__done-kicker { display: block; margin-bottom: 4px; color: #23823a; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ef-post-order__done h3 { margin: 0; color: #171717; font-size: 25px; letter-spacing: -.02em; }
.ef-post-order__done > p { max-width: 410px; margin: 8px auto 0; color: #666; font-size: 13px; line-height: 1.5; }
.ef-post-order__done > .ef-post-order__done-note { margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: #edf8f0; color: #287038; font-weight: 700; }
.ef-post-order__done-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 14px; }
.ef-post-order__done-meta span { display: grid; gap: 3px; padding: 11px; border: 1px solid #e7e7e7; border-radius: 8px; background: #fafafa; }
.ef-post-order__done-meta small { color: #777; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.ef-post-order__done-meta strong { color: #171717; font-size: 16px; }
.ef-post-order__done-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ef-post-order__done-actions a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 9px 12px; border-radius: 7px; font-size: 12px; font-weight: 900; text-decoration: none; }
.ef-post-order__done-actions a:first-child { border: 1px solid #237a37; background: #237a37; color: #fff; }
.ef-post-order__done-actions a:last-child { border: 1px solid #d8d8d8; background: #fff; color: #222; }
.ef-post-order__continue { display: inline-block; margin-top: 14px; color: #666; font-size: 12px; text-decoration: underline; }
.ef-order-offer {
    position: fixed;
    z-index: 100004;
    inset: 0;
    display: none;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, .7);
}
.ef-order-offer.is-open { display: grid; }
.ef-order-offer__dialog { width: min(420px, 100%); padding: 30px; background: #fff; text-align: center; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); }
.ef-order-offer__amount { display: inline-block; margin-bottom: 10px; color: #29713a; font-size: 34px; font-weight: 900; }
.ef-order-offer h2 { margin: 0 0 9px; color: #171717; font-size: 24px; letter-spacing: 0; }
.ef-order-offer p { margin: 0 0 20px; color: #5f5f5f; font-size: 14px; line-height: 1.6; }
.ef-order-offer__continue,
.ef-order-offer__decline { width: 100%; min-height: 46px; border-radius: 2px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.ef-order-offer__continue { border: 1px solid #171717; background: #171717; color: #fff; }
.ef-order-offer__decline { margin-top: 8px; border: 0; background: transparent; color: #666; text-decoration: underline; }

@media (max-width: 680px) {
    body.single-product { padding-bottom: 76px; }
    .ef-order-sticky__inner { width: calc(100% - 24px); min-height: 66px; gap: 12px; }
    .ef-order-sticky__product { display: block; }
    .ef-order-sticky__product > span { display: none; }
    .ef-order-sticky__product strong { font-size: 15px; }
    .ef-order-sticky__button { min-width: 0; min-height: 44px; padding: 10px 16px; font-size: 11px; }
    .ef-order-modal__dialog { inset: auto 3% 10px; width: 94%; max-height: calc(94vh - 10px); margin: 0; border-radius: 8px; }
    .ef-order-modal__header { padding: 20px 58px 16px 18px; }
    .ef-order-modal__header h2 { font-size: 23px; }
    .ef-order-modal__content { padding: 16px 18px 22px; }
    .ef-order-modal__product { grid-template-columns: 60px minmax(0, 1fr); }
    .ef-order-modal__product img { width: 60px; height: 76px; }
    .ef-order-form--popup .ef-order-form__fields { grid-template-columns: 1fr; gap: 10px; }
    .ef-post-order__offer { padding: 18px 14px 16px; }
    .ef-post-order__offer h3 { font-size: 21px; }
    .ef-post-order__visual { width: min(230px, 76%); }
    .ef-post-order__prices { gap: 6px; }
    .ef-post-order__price { padding: 8px 6px; }
    .ef-post-order__price small { font-size: 8px; }
    .ef-post-order__price--regular del { font-size: 13px; }
    .ef-post-order__price--exclusive ins { font-size: 19px; }
    .ef-post-order__done { padding: 18px 0 4px; }
    .ef-post-order__done h3 { font-size: 22px; }
    .ef-post-order__done-actions { grid-template-columns: 1fr; }
    .ef-order-offer__dialog { padding: 25px 20px; }
}

/* Product viewport priorities and deferred recommendations */
.ef-single-product { padding-top: var(--ef-product-header-offset, 116px); }
.ef-single-product .ef-sp-main { padding-top: 0; }
.ef-sp-slider { isolation: isolate; }
.ef-sp-gallery__controls {
    position: absolute;
    z-index: 40;
    top: 14px;
    right: 14px;
    left: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    pointer-events: none;
}
.ef-sp-gallery__controls .ef-sp-badge {
    position: static !important;
    z-index: auto !important;
    flex: 0 0 auto;
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .14);
}
.ef-sp-gallery__controls .ef-fav-btn--single {
    position: static !important;
    z-index: auto !important;
    flex: 0 0 46px;
    margin-left: auto;
    left: auto !important;
    pointer-events: auto;
}
.ef-sp-slider__slide img[data-src],
.ef-sp-gallery__thumb img[data-src] { background: #f1f1f1; }
.ef-sp-order-btn--primary {
    margin: 20px 0 10px;
    border-color: var(--ef-primary);
    border-radius: 2px;
    background: var(--ef-primary);
    color: #fff;
}
.ef-sp-order-btn--primary:hover { border-color: #2e221b; background: #2e221b; color: #fff; }
.ef-related-lazy { padding: 48px 0 56px; border-top: 1px solid #e8e8e8; background: #fff; }
.ef-related-lazy .ef-container { width: 100%; max-width: 1480px; padding: 0 0.75rem; }
.ef-related-lazy h2 { margin: 0 0 24px; color: #171717; font-size: 28px; letter-spacing: 0; }
.ef-related-lazy__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.ef-related-lazy__more {
    display: block;
    min-width: 210px;
    min-height: 46px;
    margin: 30px auto 0;
    padding: 11px 22px;
    border: 1px solid #171717;
    border-radius: 4px;
    background: #fff;
    color: #171717;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.ef-related-lazy__more:hover { background: #171717; color: #fff; }
.ef-related-lazy__more[hidden] { display: none; }
.ef-related-product { min-width: 0; }
.ef-related-product[hidden] { display: none; }
.ef-related-product .ef-product-card__image { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #f3f3f3; }
.ef-related-product .ef-product-card__image > a,
.ef-related-product .ef-product-card__image img { display: block; width: 100%; height: 100%; }
.ef-related-product .ef-product-card__image img { object-fit: cover; }
.ef-related-product.is-out-of-stock .ef-product-card__image img { filter: grayscale(.85); opacity: .62; }
.ef-related-product__stock-overlay {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 9px 10px;
    background: rgba(255, 255, 255, .92);
    color: #651f1f;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}
.ef-related-product__stock-line { display: block; margin-top: 7px; padding-top: 7px; border-top: 1px solid #dfcaca; color: #8c2f2f; font-size: 12px; font-weight: 700; }
.ef-related-product .ef-product-card__badge { z-index: 3; }
.ef-related-product .ef-fav-btn--card { z-index: 4; }
.ef-related-lazy__placeholder span,
.ef-related-lazy__placeholder i,
.ef-related-lazy__placeholder b {
    display: block;
    border-radius: 2px;
    background: linear-gradient(90deg, #f0f0f0 25%, #f7f7f7 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: ef-related-loading 1.2s linear infinite;
}
.ef-related-lazy__placeholder span { width: 100%; aspect-ratio: 3 / 4; }
.ef-related-lazy__placeholder i { width: 82%; height: 14px; margin-top: 12px; }
.ef-related-lazy__placeholder b { width: 40%; height: 13px; margin-top: 8px; }
@keyframes ef-related-loading { to { background-position: -200% 0; } }

@media (max-width: 760px) {
    .ef-single-product { padding-top: var(--ef-product-header-offset, 96px); }
    .ef-sp-gallery__controls { top: 12px; right: 12px; left: 12px; }
    .ef-sp-gallery__controls .ef-fav-btn--single { flex-basis: 42px; }
    .ef-sp-order-btn--primary {
        margin-top: 16px;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 0.9rem;
        letter-spacing: 0;
        white-space: nowrap;
    }
    .ef-related-lazy { padding: 34px 0 42px; }
    .ef-related-lazy .ef-container { width: 100%; padding: 0 0.75rem; }
    .ef-related-lazy h2 { margin-bottom: 18px; font-size: 23px; }
    .ef-related-lazy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
}

@media (max-width: 480px) {
    .ef-sp-slider {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ef-related-lazy__placeholder span,
    .ef-related-lazy__placeholder i,
    .ef-related-lazy__placeholder b { animation: none; }
}

/* Fill every product gallery frame while keeping the crop centered. */
.ef-sp-slider__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}
.ef-sp-slider__slide img {
    object-fit: cover !important;
    object-position: center center !important;
}
.ef-sp-gallery__thumb img {
    object-position: center center !important;
}

/* Reclamation history and statuses */
.ef-reclamation-history { margin-top: 28px; padding-top: 22px; border-top: 1px solid #eee; }
.ef-reclamation-history h3 { margin: 0 0 12px; font-family: var(--ef-font-body); font-size: 20px; color: #111; }
.ef-reclamation-history__list { display: grid; gap: 12px; }
.ef-reclamation-history__item { display: grid; gap: 8px; padding: 14px; border: 1px solid #e7e7e7; background: #fff; }
.ef-reclamation-history__item strong,
.ef-reclamation-history__item small { display: block; }
.ef-reclamation-history__item small { margin-top: 3px; color: #777; font-size: 12px; }
.ef-reclamation-history__item p { margin: 0; color: #444; }
.ef-reclamation-status { width: fit-content; padding: 5px 9px; border-radius: 999px; background: #f1f1f1; color: #333; font-size: 12px; font-weight: 800; }
.ef-reclamation-status--new { background: #eef2ff; color: #243b8f; }
.ef-reclamation-status--in_progress { background: #fff4df; color: #8a5400; }
.ef-reclamation-status--waiting { background: #f4e9ff; color: #6933a3; }
.ef-reclamation-status--resolved { background: #e8f5e9; color: #176b2c; }
.ef-reclamation-status--closed { background: #eeeeee; color: #555; }
.ef-reclamation-status-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ef-reclamation-status-form select { min-width: 150px; }

/* Final Espace client alignment fixes */
.woocommerce-account .ef-page-content {
    padding-top: 28px;
}
.woocommerce-account .ef-container--narrow,
.woocommerce-account .ef-single-post__content {
    width: 100% !important;
    max-width: 1180px !important;
}
.woocommerce-account .woocommerce {
    width: 100% !important;
    box-sizing: border-box;
    border: 1px solid #ececec;
}
.woocommerce-account.logged-in .woocommerce::before,
.woocommerce-account.logged-in .woocommerce::after {
    content: none !important;
    display: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    box-sizing: border-box;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    align-self: start;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
    text-decoration: none;
    border-radius: 0;
}
.woocommerce-account .woocommerce-MyAccount-content > h2:first-child,
.woocommerce-account .woocommerce-MyAccount-content > h3:first-child {
    margin-top: 0;
}
.woocommerce-account .ef-profile-form,
.woocommerce-account .ef-reclamation-form {
    max-width: 720px;
}
.woocommerce-account .ef-profile-form button,
.woocommerce-account .ef-reclamation-form button {
    justify-self: start;
}
.woocommerce-account:not(.logged-in) .woocommerce {
    padding: 0;
    background: transparent;
    border: 0;
}
.woocommerce-account:not(.logged-in) .ef-account-access {
    width: 100%;
}
@media (max-width: 900px) {
    .woocommerce-account .ef-page-content {
        padding-top: 18px;
    }
    .woocommerce-account.logged-in .woocommerce {
        display: block !important;
        padding: 12px;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 14px;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 18px !important;
    }
}

/* ==========================================================================
   Product page: conversion refinements (price, trust row, sticky order bar)
   ========================================================================== */
.ef-sp-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    color: var(--ef-primary);
    font-size: 1.6rem;
    font-weight: 700;
}
.ef-sp-price ins { color: var(--ef-primary); }
.ef-sp-price del { margin-right: 0; font-weight: 500; }
.ef-sp-price__save {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fbeae8;
    color: #b3261e;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
}

.ef-sp-order-btn--primary {
    min-height: 56px;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(58, 43, 34, .22);
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.ef-sp-order-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(58, 43, 34, .28); }
.ef-sp-order-btn--primary:active { transform: translateY(0); }
.ef-sp-order-btn--whatsapp { min-height: 52px; border-radius: 10px; }
.ef-livraison-trigger { border-radius: 10px; }

.ef-sp-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 14px;
    padding: 0;
    list-style: none;
}
.ef-sp-trust li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 10px;
    background: var(--ef-bg-light);
    color: var(--ef-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}
.ef-sp-trust svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--ef-primary);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Sticky order bar: product price only — shipping and total live in the order popup. */
.ef-order-sticky {
    padding-bottom: env(safe-area-inset-bottom, 0);
    border-top: 1px solid var(--ef-border);
    background: #fff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .07);
    transition: transform .3s ease, opacity .3s ease;
    will-change: transform;
}
body.ef-sticky-ready .ef-order-sticky:not(.is-visible) {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}
.ef-order-sticky__inner { min-height: 76px; gap: 16px; }
.ef-order-sticky__product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ef-order-sticky__thumb {
    flex: 0 0 auto;
    width: 48px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f1f1;
}
.ef-order-sticky__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ef-order-sticky__title {
    overflow: hidden;
    color: var(--ef-text-light);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ef-order-sticky__product .ef-order-sticky__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 6px;
    color: var(--ef-primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}
.ef-order-sticky__product .ef-order-sticky__price del { color: var(--ef-text-light); font-size: 13px; font-weight: 500; opacity: .7; }
.ef-order-sticky__product .ef-order-sticky__price ins { text-decoration: none; }
.ef-order-sticky__product .ef-order-sticky__price .woocommerce-Price-amount,
.ef-order-sticky__product .ef-order-sticky__price .woocommerce-Price-currencySymbol { display: inline; color: inherit; font-size: inherit; }
.ef-order-sticky__button {
    min-height: 50px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(58, 43, 34, .22);
    letter-spacing: .04em;
    transition: background .2s ease, transform .15s ease;
}
.ef-order-sticky__button:active { transform: scale(.98); }
.ef-order-sticky__label-short { display: none; }

@media (max-width: 680px) {
    .ef-sp-trust li { padding: 10px 4px; font-size: 11px; }
    .ef-order-sticky__inner { min-height: 68px; gap: 10px; }
    .ef-order-sticky__product { display: flex; flex: 1 1 auto; }
    .ef-order-sticky__thumb { width: 40px; height: 48px; }
    .ef-order-sticky__title { display: block; max-width: 100%; font-size: 12px; }
    .ef-order-sticky__product .ef-order-sticky__price { font-size: 15px; }
    .ef-order-sticky__product .ef-order-sticky__price del { font-size: 11px; }
    .ef-order-sticky__button { flex: 0 0 auto; min-height: 48px; padding: 10px 20px; font-size: 13px; }
    .ef-order-sticky__label-full { display: none; }
    .ef-order-sticky__label-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
    .ef-order-sticky,
    .ef-sp-order-btn--primary,
    .ef-order-sticky__button { transition: none; }
}

/* ==========================================================================
   Product page: transparent header over a full-height gallery
   ========================================================================== */
.ef-header--overlay { background: transparent; }
.ef-header--overlay::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 -28px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
    pointer-events: none;
    transition: opacity .3s ease;
}
.ef-header--overlay.ef-header--scrolled {
    background: #fff;
}
.ef-header--overlay.ef-header--scrolled::before { opacity: 0; }

/* Gallery starts at the very top, under the header. */
body.single-product .ef-single-product { padding-top: 0; }
body.single-product .ef-sp-gallery { position: sticky; top: 0; }
body.single-product .ef-sp-slider { border-radius: 0; }
body.single-product .ef-sp-gallery__controls { top: calc(var(--ef-product-header-offset, 96px) + 12px); }
body.single-product .ef-sp-info { padding-top: calc(var(--ef-product-header-offset, 116px) + 32px); }

@media (max-width: 768px) {
    body.single-product .ef-sp-gallery {
        position: static;
        width: calc(100% + 1.5rem);
        max-width: none;
        margin: 0 -0.75rem;
    }
    body.single-product .ef-sp-gallery__thumbs,
    body.single-product .ef-sp-slider__dots { padding-right: 0.75rem; padding-left: 0.75rem; }
    body.single-product .ef-sp-info { padding-top: 4px; }
    body.single-product .ef-sp-layout { gap: 18px; }
}

/* ==========================================================================
   Product page: accordion details (description, delivery, returns, payment)
   ========================================================================== */
.ef-sp-accordion {
    margin-top: 22px;
    border-top: 1px solid var(--ef-border);
    interpolate-size: allow-keywords;
}
.ef-sp-accordion__item { border-bottom: 1px solid var(--ef-border); }
.ef-sp-accordion__item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    color: var(--ef-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ef-sp-accordion__item > summary::-webkit-details-marker { display: none; }
.ef-sp-accordion__item > summary::after {
    content: "";
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    background:
        linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
        linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
    transition: background-size .25s ease;
}
.ef-sp-accordion__item[open] > summary::after {
    background-size: 100% 1.5px, 1.5px 0;
}
.ef-sp-accordion__item > summary:hover { opacity: .75; }
.ef-sp-accordion__item > summary:focus-visible { outline: 2px solid var(--ef-primary); outline-offset: 2px; }
.ef-sp-accordion__body {
    padding: 0 2px 20px;
    color: var(--ef-text-light);
    font-size: 14px;
    line-height: 1.75;
}
.ef-sp-accordion__body p { margin: 0 0 10px; }
.ef-sp-accordion__body > :last-child { margin-bottom: 0; }
.ef-sp-accordion__body strong { color: var(--ef-text); }
.ef-sp-accordion .ef-sp-description--after-delivery {
    max-width: none;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@supports selector(::details-content) {
    .ef-sp-accordion__item::details-content {
        overflow: hidden;
        block-size: 0;
        transition: block-size .3s ease, content-visibility .3s allow-discrete;
    }
    .ef-sp-accordion__item[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .ef-sp-accordion__item::details-content,
    .ef-sp-accordion__item > summary::after,
    .ef-header--overlay::before { transition: none; }
}

/* ==========================================================================
   Home: delivery & returns promise strip
   ========================================================================== */
.ef-promise {
    padding: clamp(56px, 8vw, 96px) 0;
    background: var(--ef-bg-light);
}
.ef-promise__head { margin-bottom: clamp(32px, 5vw, 52px); text-align: center; }
.ef-promise__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ef-accent-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.ef-promise__head h2 {
    margin: 0;
    color: var(--ef-primary);
    font-family: var(--ef-font-heading);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 500;
    letter-spacing: 0;
}
.ef-promise__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.ef-promise__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 8px clamp(20px, 3vw, 44px);
    text-align: center;
}
.ef-promise__item + .ef-promise__item { border-left: 1px solid var(--ef-border); }
.ef-promise__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border: 1px solid var(--ef-border);
    border-radius: 50%;
    background: var(--ef-white);
    color: var(--ef-primary);
}
.ef-promise__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ef-promise__item h3 {
    margin: 0 0 8px;
    color: var(--ef-primary);
    font-family: var(--ef-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.ef-promise__item p {
    max-width: 300px;
    margin: 0 auto;
    color: var(--ef-text-light);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .ef-promise__list { grid-template-columns: 1fr; gap: 0; }
    .ef-promise__item {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 0;
        text-align: left;
    }
    .ef-promise__item + .ef-promise__item { border-top: 1px solid var(--ef-border); border-left: 0; }
    .ef-promise__icon { width: 52px; height: 52px; }
    .ef-promise__icon svg { width: 22px; height: 22px; }
    .ef-promise__item h3 { margin-bottom: 4px; }
    .ef-promise__item p { max-width: none; }
}

/* ==========================================================================
   Home: OULKA Privé (WhatsApp club sign-up)
   ========================================================================== */
.ef-club { padding: clamp(48px, 7vw, 88px) 0; background: var(--ef-white); }
.ef-club__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 64px);
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(212, 175, 55, .18), transparent 70%),
        var(--ef-primary);
    color: #f4ece4;
}
.ef-club__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--ef-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.ef-club__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.ef-club__copy h2 {
    margin: 0 0 24px;
    color: #fff;
    font-family: var(--ef-font-heading);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
}
.ef-club__perks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ef-club__perks li {
    position: relative;
    padding-left: 30px;
    color: rgba(244, 236, 228, .85);
    font-size: 15px;
    line-height: 1.5;
}
.ef-club__perks li::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a2b22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat,
        var(--ef-accent);
}
.ef-club__form-wrap {
    padding: clamp(22px, 3vw, 32px);
    border-radius: 14px;
    background: var(--ef-white);
    color: var(--ef-text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.ef-club__form { display: grid; gap: 14px; }
.ef-club__form label { display: grid; gap: 6px; }
.ef-club__form label span {
    color: var(--ef-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ef-club__form input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid var(--ef-border);
    border-radius: 10px;
    background: #fdfbf9;
    color: var(--ef-text);
    font: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ef-club__form input::placeholder { color: #b3a69c; }
.ef-club__form input:focus {
    border-color: var(--ef-primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(58, 43, 34, .12);
}
.ef-club__form button {
    min-height: 52px;
    margin-top: 4px;
    border: 0;
    border-radius: 10px;
    background: var(--ef-primary);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}
.ef-club__form button:hover { background: #2a1f18; }
.ef-club__form button:active { transform: scale(.99); }
.ef-club__hint {
    margin: 14px 0 0;
    color: var(--ef-text-light);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}
.ef-club__contact {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--ef-border);
    color: var(--ef-text-light);
    font-size: 13px;
    text-align: center;
}
.ef-club__contact strong { color: var(--ef-text); }
.ef-club__contact a { color: var(--ef-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ef-club__status {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}
.ef-club__status--success { background: #e9f5ec; color: #1f6b35; }
.ef-club__status--error { background: #fbeae8; color: #a3261e; }

@media (max-width: 860px) {
    .ef-club__panel { grid-template-columns: 1fr; border-radius: 16px; }
}
@media (max-width: 480px) {
    .ef-club .ef-container { padding: 0 12px; }
    .ef-club__panel { padding: 28px 18px 18px; }
    .ef-club__form-wrap { padding: 20px 16px; }
}

/* Smooth scrolling on phones: the fixed header only animates its colour and shadow,
   never layout or blur, so scrolling never has to repaint the page behind it. */
body.single-product .ef-header { transition: background-color .3s ease, box-shadow .3s ease; }

/* Product photos: native swipe (scroll-snap). Works before any script loads and the
   phone animates it itself, so swiping stays smooth even while the page is busy. */
.ef-sp-slider { cursor: auto; touch-action: auto; }
.ef-sp-slider .ef-sp-slider__track {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
    transition: none !important;
    will-change: auto;
    touch-action: pan-x pan-y pinch-zoom;
}
.ef-sp-slider .ef-sp-slider__track::-webkit-scrollbar { display: none; }
.ef-sp-slider .ef-sp-slider__slide {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.ef-sp-slider .ef-sp-slider__slide img { -webkit-user-drag: none; }

/* Order popup: laid out invisibly once the page is idle (".is-prepared"), so the first
   tap on "Acheter" only has to make it visible instead of building it from scratch. */
.ef-order-modal.is-prepared:not(.is-open) { display: block; visibility: hidden; pointer-events: none; }
.ef-order-modal.is-prepared .ef-order-modal__overlay { opacity: 0; transition: opacity .2s ease; }
.ef-order-modal.is-prepared.is-open .ef-order-modal__overlay { opacity: 1; }
.efx-sheet.is-prepared .ef-order-modal__dialog { animation: none; transform: translateY(40px); opacity: 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; }
.efx-sheet.is-prepared.is-open .ef-order-modal__dialog { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .efx-sheet.is-prepared .ef-order-modal__dialog,
    .ef-order-modal.is-prepared .ef-order-modal__overlay { transition: none; }
}

/* Order popup: "Terminer votre achat" stays reachable while scrolling the form,
   even on small screens with the keyboard open (Instagram / Facebook browsers). */
.ef-order-modal .ef-order-form--popup .ef-sp-order-btn--submit { position: sticky; bottom: 8px; z-index: 3; }
