/*
=============================================================
WALK & FLY — Premium Design Override
=============================================================
Fitxer: design-override-premium.css

DESCRIPCIÓ:
CSS override complet que transforma el tema PrestaShop genèric
en una experiència visual premium de marca artesanal.
S'aplica SOBRE el tema existent sense modificar-lo.

INSTRUCCIONS:
1. Pujar a /themes/[tema-actiu]/assets/css/custom.css
2. O afegir al head.tpl: <link rel="stylesheet" href="{$urls.css_url}custom.css">
3. O injectar via mòdul "Custom CSS" del backoffice
=============================================================
*/

/* ===================================================
   0. FONTS — Serif per títols (artesania), Sans per body
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ===================================================
   1. VARIABLES I RESET DE COLORS
   =================================================== */
:root {
    /* Paleta Walk & Fly */
    --wf-cream: #FAF8F5;
    --wf-cream-dark: #F5F0EB;
    --wf-gold: #C9A96E;
    --wf-gold-dark: #B8954F;
    --wf-gold-light: #D4BC8E;
    --wf-brown: #2C2420;
    --wf-brown-light: #5C4A3A;
    --wf-brown-medium: #8B6F47;
    --wf-green: #2E7D32;
    --wf-green-light: #E8F5E9;
    --wf-red: #C62828;
    --wf-gray: #777;
    --wf-gray-light: #E8E0D5;
    --wf-white: #FFFFFF;

    /* Tipografia */
    --wf-font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --wf-font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --wf-space-xs: 8px;
    --wf-space-sm: 16px;
    --wf-space-md: 24px;
    --wf-space-lg: 40px;
    --wf-space-xl: 64px;
    --wf-space-xxl: 80px;

    /* Transitions */
    --wf-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --wf-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Borders */
    --wf-radius: 8px;
    --wf-radius-lg: 12px;
}

/* ===================================================
   2. BASE — Fons càlid, tipografia, colors globals
   =================================================== */
body {
    background-color: var(--wf-cream) !important;
    color: var(--wf-brown) !important;
    font-family: var(--wf-font-sans) !important;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tots els h1-h6 en serif */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--wf-font-serif) !important;
    color: var(--wf-brown) !important;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1, .h1 { font-size: 2.4rem; line-height: 1.2; }
h2, .h2 { font-size: 1.8rem; line-height: 1.3; }
h3, .h3 { font-size: 1.4rem; line-height: 1.35; }

/* Links globals */
a {
    color: var(--wf-brown-medium);
    transition: color var(--wf-transition);
}
a:hover {
    color: var(--wf-gold);
}

/* Selecció de text */
::selection {
    background: var(--wf-gold-light);
    color: var(--wf-brown);
}

/* ===================================================
   3. HEADER — Net, espaiós, premium
   =================================================== */
#header {
    background: var(--wf-white) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    transition: box-shadow var(--wf-transition);
}

/* Header sticky amb ombra */
#header.is-sticky,
.header-sticky {
    box-shadow: 0 2px 20px rgba(44,36,32,0.08) !important;
}

/* Logo — proporcional, nítid, mai deformat */
#header .logo,
#header .logo img,
.header-logo img {
    max-height: 52px !important;
    width: auto !important;
    height: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    transition: max-height var(--wf-transition);
}
/* Sticky header: logo més petit */
#header.is-sticky .logo,
#header.is-sticky .logo img,
.header-sticky .logo img {
    max-height: 40px !important;
}

/* Navegació principal */
#header .top-menu a,
.menu .top-menu a,
#_desktop_top_menu a {
    font-family: var(--wf-font-sans) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: var(--wf-brown) !important;
    padding: 8px 16px !important;
    transition: color var(--wf-transition) !important;
}
#header .top-menu a:hover,
.menu .top-menu a:hover {
    color: var(--wf-gold) !important;
}

/* Submenú elegant */
.top-menu .sub-menu,
.top-menu .popover {
    background: var(--wf-white) !important;
    border: none !important;
    box-shadow: 0 8px 30px rgba(44,36,32,0.12) !important;
    border-radius: 0 0 var(--wf-radius) var(--wf-radius) !important;
    border-top: 2px solid var(--wf-gold) !important;
}

/* Icones header (carret, user, cerca) */
.header-nav .material-icons,
.blockcart .header .material-icons {
    color: var(--wf-brown) !important;
    transition: color var(--wf-transition);
}
.header-nav a:hover .material-icons {
    color: var(--wf-gold) !important;
}

/* Comptador carret */
.blockcart .cart-products-count {
    background: var(--wf-gold) !important;
    color: var(--wf-white) !important;
    font-weight: 700;
}

/* Més espai al header */
.header-nav {
    padding: 10px 0 !important;
}
.header-top {
    padding: 12px 0 !important;
}

/* ===================================================
   4. HOMEPAGE — Hero gran, whitespace generós
   =================================================== */

/* Hero banner */
#carousel,
.carousel,
.featured-products-images,
.banner,
#main .banner {
    margin-bottom: var(--wf-space-xl) !important;
}

/* Overlay text sobre hero */
.carousel .caption,
.banner .caption {
    font-family: var(--wf-font-serif) !important;
}

/* Seccions homepage — molt més espai */
.featured-products,
.new-products,
.popular-products,
#content .products {
    padding: var(--wf-space-xl) 0 !important;
}

/* Títols de secció homepage */
.featured-products .products-section-title,
.products-section-title,
.section-title,
h2.products-section-title {
    font-family: var(--wf-font-serif) !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    color: var(--wf-brown) !important;
    text-align: center !important;
    margin-bottom: var(--wf-space-lg) !important;
    position: relative;
    padding-bottom: 16px;
}
/* Línia daurat sota títol */
.featured-products .products-section-title::after,
.products-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--wf-gold);
}

/* ===================================================
   5. PRODUCT CARDS — Elegants, amb hover i espai
   =================================================== */
.product-miniature {
    background: var(--wf-white) !important;
    border: none !important;
    border-radius: var(--wf-radius-lg) !important;
    overflow: hidden;
    transition: all var(--wf-transition) !important;
    box-shadow: 0 1px 3px rgba(44,36,32,0.04);
    margin-bottom: var(--wf-space-md) !important;
}

.product-miniature:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(44,36,32,0.1) !important;
}

/* Imatge producte */
.product-miniature .thumbnail-container,
.product-miniature .product-thumbnail {
    position: relative;
    overflow: hidden;
    background: var(--wf-cream-dark) !important;
    border-radius: var(--wf-radius-lg) var(--wf-radius-lg) 0 0 !important;
}

.product-miniature .thumbnail-container img,
.product-miniature .product-thumbnail img {
    transition: transform var(--wf-transition-slow) !important;
    width: 100%;
    height: auto;
}

.product-miniature:hover .thumbnail-container img,
.product-miniature:hover .product-thumbnail img {
    transform: scale(1.06) !important;
}

/* Info producte */
.product-miniature .product-description {
    padding: var(--wf-space-sm) !important;
}

/* Nom producte */
.product-miniature .product-title,
.product-miniature .product-title a {
    font-family: var(--wf-font-serif) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--wf-brown) !important;
    text-decoration: none !important;
    transition: color var(--wf-transition);
}
.product-miniature .product-title a:hover {
    color: var(--wf-gold) !important;
}

/* Preu */
.product-miniature .price,
.product-miniature .product-price-and-shipping .price {
    font-family: var(--wf-font-sans) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--wf-brown) !important;
}

/* Preu antic ratllat */
.product-miniature .regular-price {
    color: var(--wf-gray) !important;
    font-size: 14px !important;
}

/* Flags producte (Nuevo, Rebaja) */
.product-flag {
    font-family: var(--wf-font-sans) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px !important;
    border-radius: 3px !important;
    min-width: auto !important;
}
.product-flag.new {
    background: var(--wf-gold) !important;
    color: var(--wf-white) !important;
}
.product-flag.on-sale,
.product-flag.discount {
    background: var(--wf-red) !important;
    color: var(--wf-white) !important;
}

/* Amagar "Vista rápida" per defecte, mostrar al hover */
.product-miniature .quick-view {
    opacity: 0;
    transition: opacity var(--wf-transition);
    /* background: var(--wf-brown) !important; OVERRIDDEN */
    color: var(--wf-white) !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-miniature:hover .quick-view {
    opacity: 1;
}

/* Grid productes — més espai */
#js-product-list .products,
.products {
    gap: var(--wf-space-md);
}

/* ===================================================
   6. PÀGINA PRODUCTE — Storytelling visual
   =================================================== */

/* Nom del producte */
.product-container h1,
#product h1,
h1.h1[itemprop="name"],
.product-name h1 {
    font-family: var(--wf-font-serif) !important;
    font-size: 2.2rem !important;
    font-weight: 600 !important;
    color: var(--wf-brown) !important;
    line-height: 1.2;
    margin-bottom: 8px;
}

/* Preu producte */
.product-price .current-price-value,
.product-prices .current-price-value,
.current-price .current-price-value {
    font-family: var(--wf-font-sans) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--wf-brown) !important;
}

/* Preu antic */
.product-price .regular-price,
.product-prices .regular-price {
    font-size: 18px !important;
    color: var(--wf-gray) !important;
    text-decoration: line-through;
}

/* Descompte badge */
.product-price .discount-percentage,
.product-prices .discount-percentage,
.discount-percentage {
    background: var(--wf-red) !important;
    color: var(--wf-white) !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 700;
}

/* Botó ADD TO CART — Daurat, gran, prominent */
.product-container .add-to-cart,
.product-add-to-cart .add-to-cart,
.add-to-cart.btn-primary {
    background: var(--wf-gold) !important;
    border: 2px solid var(--wf-gold) !important;
    color: var(--wf-white) !important;
    font-family: var(--wf-font-sans) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 32px !important;
    border-radius: var(--wf-radius) !important;
    transition: all var(--wf-transition) !important;
    cursor: pointer;
}
.product-container .add-to-cart:hover,
.product-add-to-cart .add-to-cart:hover {
    background: var(--wf-gold-dark) !important;
    border-color: var(--wf-gold-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,169,110,0.3);
}

/* Selector de talla */
.product-variants .form-control,
.product-variants select {
    border: 2px solid var(--wf-gray-light) !important;
    border-radius: var(--wf-radius) !important;
    padding: 10px 14px !important;
    font-family: var(--wf-font-sans) !important;
    font-size: 14px !important;
    transition: border-color var(--wf-transition);
}
.product-variants .form-control:focus,
.product-variants select:focus {
    border-color: var(--wf-gold) !important;
    box-shadow: 0 0 0 3px rgba(201,169,110,0.15) !important;
    outline: none;
}

/* Imatge producte */
.product-cover img,
.images-container .product-cover img {
    border-radius: var(--wf-radius-lg) !important;
}

/* Thumbnails producte */
.product-images li img,
.js-thumb img {
    border-radius: 6px !important;
    border: 2px solid transparent !important;
    transition: border-color var(--wf-transition);
    cursor: pointer;
}
.product-images li img:hover,
.product-images li.selected img,
.js-thumb.selected img {
    border-color: var(--wf-gold) !important;
}

/* Tabs producte (descripció, detalls) */
.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--wf-cream-dark) !important;
}
.product-tabs .nav-link {
    font-family: var(--wf-font-sans) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    color: var(--wf-gray) !important;
    border: none !important;
    padding: 12px 20px !important;
    transition: color var(--wf-transition);
}
.product-tabs .nav-link.active,
.product-tabs .nav-link:hover {
    color: var(--wf-brown) !important;
    border-bottom: 2px solid var(--wf-gold) !important;
    background: transparent !important;
}

/* Descripció producte (dins fitxa producte, NO a les miniatures) */
.product-description,
.product-tab-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--wf-brown-light);
}

/* Text descripció dins la fitxa de producte — respir i centrat */
#product .product-description,
#product .product-tab-content,
.product-container .product-description,
.product-container .product-tab-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 2em 2.5em;
}

/* Compartir */
.social-sharing {
    margin-top: var(--wf-space-md);
}

/* ===================================================
   7. CATEGORIA / LLISTAT — Filtres nets, espai
   =================================================== */

/* Breadcrumb */
.breadcrumb {
    background: transparent !important;
    padding: 12px 0 !important;
    font-size: 13px;
}
.breadcrumb a {
    color: var(--wf-gray) !important;
}
.breadcrumb .breadcrumb-item.active {
    color: var(--wf-brown) !important;
}

/* Títol categoria */
#js-product-list-header h1,
.block-category h1,
.category-header h1 {
    font-family: var(--wf-font-serif) !important;
    font-size: 2.2rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin-bottom: var(--wf-space-lg);
}

/* Text SEO sota categories */
.block-category .block-category-inner,
#category-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--wf-brown-light);
    max-width: 800px;
    margin: 0 auto var(--wf-space-lg);
    text-align: center;
}

/* Filtres laterals */
#search_filters .facet-title,
.facet .facet-title {
    font-family: var(--wf-font-sans) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    color: var(--wf-brown) !important;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--wf-gray-light);
    margin-bottom: 12px;
}

/* Filtre actiu */
.facet .facet-label .custom-checkbox input:checked + span {
    background: var(--wf-gold) !important;
    border-color: var(--wf-gold) !important;
}

/* Sort by */
.products-sort-order .select-title {
    border: 2px solid var(--wf-gray-light) !important;
    border-radius: var(--wf-radius) !important;
    font-size: 13px !important;
}

/* Paginació */
.pagination .page-item .page-link {
    border: none !important;
    color: var(--wf-gray) !important;
    font-weight: 600;
    border-radius: var(--wf-radius) !important;
    transition: all var(--wf-transition);
}
.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    background: var(--wf-gold) !important;
    color: var(--wf-white) !important;
}

/* ===================================================
   8. BOTÓ GLOBAL — Estil consistent
   =================================================== */
.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    background: var(--wf-gold) !important;
    border-color: var(--wf-gold) !important;
    color: var(--wf-white) !important;
    font-family: var(--wf-font-sans) !important;
    font-weight: 700 !important;
    border-radius: var(--wf-radius) !important;
    transition: all var(--wf-transition) !important;
}
.btn-primary:hover {
    background: var(--wf-gold-dark) !important;
    border-color: var(--wf-gold-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,169,110,0.25);
}

.btn-secondary {
    background: transparent !important;
    border: 2px solid var(--wf-brown) !important;
    color: var(--wf-brown) !important;
    font-weight: 600 !important;
    border-radius: var(--wf-radius) !important;
    transition: all var(--wf-transition) !important;
}
.btn-secondary:hover {
    /* background: var(--wf-brown) !important; OVERRIDDEN */
    color: var(--wf-white) !important;
}

/* ===================================================
   9. CARRET / CHECKOUT — Net i de confiança
   =================================================== */
.cart-grid .card {
    border: none !important;
    box-shadow: 0 1px 4px rgba(44,36,32,0.06) !important;
    border-radius: var(--wf-radius-lg) !important;
}

.cart-grid .card-header {
    background: var(--wf-cream-dark) !important;
    border-bottom: none !important;
    font-family: var(--wf-font-serif) !important;
    font-size: 18px !important;
    font-weight: 600;
}

/* Checkout steps */
.checkout-step .step-title {
    font-family: var(--wf-font-serif) !important;
    font-size: 20px !important;
}
.checkout-step.-current .step-title {
    color: var(--wf-gold) !important;
}

/* Inputs checkout */
.checkout-step input.form-control,
.checkout-step select.form-control {
    border: 2px solid var(--wf-gray-light) !important;
    border-radius: var(--wf-radius) !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    transition: border-color var(--wf-transition);
}
.checkout-step input.form-control:focus,
.checkout-step select.form-control:focus {
    border-color: var(--wf-gold) !important;
    box-shadow: 0 0 0 3px rgba(201,169,110,0.15) !important;
}

/* ===================================================
   10. FOOTER — Fosc, elegant, informatiu
   =================================================== */
#footer {
    background: #f5f0eb !important;
    color: #5C4A3A !important;
    /* background: var(--wf-brown) !important; OVERRIDDEN */
    color: var(--wf-cream-dark) !important;
    padding-top: var(--wf-space-xl) !important;
    margin-top: var(--wf-space-xxl) !important;
}

#footer h4,
#footer .h4,
#footer .block-title,
.footer-container .h4 {
    font-family: var(--wf-font-serif) !important;
    color: var(--wf-gold) !important;
    font-size: 16px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

#footer a,
.footer-container a {
    color: var(--wf-cream-dark) !important;
    opacity: 0.8;
    transition: opacity var(--wf-transition);
    font-size: 14px;
}
#footer a:hover,
.footer-container a:hover {
    opacity: 1;
    color: var(--wf-gold) !important;
}

#footer .footer-before,
.footer-before {
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

/* Copyright */
.footer-after,
#footer .footer-after {
    background: rgba(0,0,0,0.15) !important;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    padding: 16px 0 !important;
}

/* Newsletter footer */
#footer .block_newsletter input[type="email"] {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: var(--wf-white) !important;
    border-radius: var(--wf-radius) !important;
    padding: 12px 14px !important;
}
#footer .block_newsletter input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}
#footer .block_newsletter .btn-primary {
    background: var(--wf-gold) !important;
    border-color: var(--wf-gold) !important;
}

/* ===================================================
   11. PÀGINES CMS — Tipografia i espai
   =================================================== */
.page-cms .page-content,
#cms .page-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--wf-brown-light);
}

.page-cms h1,
#cms h1 {
    font-family: var(--wf-font-serif) !important;
    font-size: 2.4rem !important;
    text-align: center;
    margin-bottom: var(--wf-space-lg);
}

.page-cms h2,
#cms h2 {
    font-family: var(--wf-font-serif) !important;
    font-size: 1.6rem !important;
    margin-top: var(--wf-space-lg);
    margin-bottom: var(--wf-space-sm);
}

/* ===================================================
   12. FORMULARIS GLOBALS
   =================================================== */
.form-control {
    border: 2px solid var(--wf-gray-light) !important;
    border-radius: var(--wf-radius) !important;
    font-family: var(--wf-font-sans) !important;
    padding: 10px 14px !important;
    transition: border-color var(--wf-transition);
}
.form-control:focus {
    border-color: var(--wf-gold) !important;
    box-shadow: 0 0 0 3px rgba(201,169,110,0.15) !important;
    outline: none !important;
}

/* Checkboxes i radios */
.custom-checkbox input[type="checkbox"]:checked + span,
.custom-radio input[type="radio"]:checked + span {
    background: var(--wf-gold) !important;
    border-color: var(--wf-gold) !important;
}

/* ===================================================
   13. ALERTS I NOTIFICACIONS
   =================================================== */
.alert-success {
    background: var(--wf-green-light) !important;
    border: 1px solid var(--wf-green) !important;
    color: var(--wf-green) !important;
    border-radius: var(--wf-radius) !important;
}

.alert-warning {
    background: #FFF8E1 !important;
    border: 1px solid #FFB300 !important;
    color: #E65100 !important;
    border-radius: var(--wf-radius) !important;
}

.alert-danger {
    background: #FFEBEE !important;
    border: 1px solid var(--wf-red) !important;
    color: var(--wf-red) !important;
    border-radius: var(--wf-radius) !important;
}

/* ===================================================
   14. CERCA
   =================================================== */
#search_widget input,
.search-widget input {
    border: 2px solid var(--wf-gray-light) !important;
    border-radius: 24px !important;
    padding: 10px 18px !important;
    font-family: var(--wf-font-sans) !important;
    transition: all var(--wf-transition);
}
#search_widget input:focus,
.search-widget input:focus {
    border-color: var(--wf-gold) !important;
    box-shadow: 0 0 0 3px rgba(201,169,110,0.1) !important;
}

/* ===================================================
   15. MODAL / QUICK VIEW
   =================================================== */
.modal-content {
    border-radius: var(--wf-radius-lg) !important;
    border: none !important;
    box-shadow: 0 16px 48px rgba(44,36,32,0.15) !important;
}
.modal-header {
    border-bottom: 1px solid var(--wf-cream-dark) !important;
}
.modal-footer {
    border-top: 1px solid var(--wf-cream-dark) !important;
}

/* ===================================================
   16. SCROLLBAR PERSONALITZADA
   =================================================== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--wf-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--wf-gray-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--wf-gold-light);
}

/* ===================================================
   17. ANIMACIONS SCROLL (Fade-in elements)
   =================================================== */
@keyframes wfFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wf-animate-in {
    animation: wfFadeUp 0.6s ease forwards;
}

/* ===================================================
   18. RESPONSIVE OVERRIDES
   =================================================== */
@media (max-width: 991px) {
    h1, .h1 { font-size: 1.8rem; }
    h2, .h2 { font-size: 1.5rem; }

    .featured-products,
    .new-products {
        padding: var(--wf-space-lg) 0 !important;
    }

    #footer {
    background: #f5f0eb !important;
    color: #5C4A3A !important;
        padding-top: var(--wf-space-lg) !important;
        margin-top: var(--wf-space-xl) !important;
    }
}

@media (max-width: 767px) {
    h1, .h1 { font-size: 1.6rem; }

    /* Product cards 2 columns */
    .product-miniature {
        margin-bottom: var(--wf-space-sm) !important;
    }

    /* Sticky add-to-cart mòbil */
    .product-add-to-cart {
        position: sticky;
        bottom: 0;
        background: var(--wf-white);
        padding: 12px 16px !important;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
        z-index: 100;
        border-radius: var(--wf-radius-lg) var(--wf-radius-lg) 0 0;
    }

    /* Botó add to cart full width mòbil */
    .product-add-to-cart .add-to-cart {
        width: 100% !important;
        padding: 16px !important;
        font-size: 16px !important;
    }

    /* Footer simplificat mòbil */
    #footer .row > div {
        margin-bottom: var(--wf-space-md);
    }
}

/* ===================================================
   19. PRINT STYLES
   =================================================== */
@media print {
    #header, #footer, .social-sharing,
    .product-add-to-cart, .blockcart { display: none !important; }
    body { background: white !important; color: black !important; }
}
