/*
Theme Name: Copaboca
Theme URI: https://copaboca.com
Description: Tema de Bodegas Copaboca a partir del diseño de Lovable, preparado para WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: copaboca
*/

:root {
 --font-sans: 'Lato', Arial, sans-serif;
 --font-serif: 'Cormorant Garamond', Georgia, serif;
 --background: oklch(0.991 0.006 80);
 --foreground: oklch(0.26 0.025 65);
 --primary: oklch(0.31 0.105 12);
 --primary-foreground: oklch(0.985 0.009 80);
 --secondary: oklch(0.955 0.019 75);
 --muted-foreground: oklch(0.52 0.02 66);
 --border: oklch(0.8 0.027 71);
 --footer: oklch(0.27 0.092 12);
 --footer-muted: oklch(0.78 0.03 28);
 --newsletter: oklch(0.895 0.025 70);
 --overlay: oklch(0.2 0.025 60 / 50%);
 --product-origin: oklch(0.16 0.02 45);
 --product-origin-text: oklch(0.91 0.013 75);
 --product-gold: oklch(0.73 0.11 90);
 --product-stock: oklch(0.46 0.12 145);
 --radius: 4px;
}
 * { border-color: var(--border); box-sizing: border-box; }
 html { scroll-behavior: smooth; }
 body { margin:0; background:var(--background); color:var(--foreground); font-family:var(--font-sans); font-size:14px; font-weight:400; }
 h1,h2,h3,p { margin:0; }
 h1,h2,h3 { font-family:var(--font-serif); font-weight:400; letter-spacing:0; }
 a { color:inherit; text-decoration:none; }
 button,a,input { -webkit-tap-highlight-color:transparent; }
 button { cursor:pointer; }
 img { display:block; width:100%; object-fit:cover; }
.storefront { max-width:1600px; margin:0 auto; }
.announcement { min-height:28px; padding:6px 5%; background:var(--primary); color:var(--primary-foreground); display:flex; align-items:center; justify-content:space-between; font-size:10px; }
.site-header { height:84px; padding:0 5%; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; background:var(--background); }
.nav-links,.header-tools { display:flex; align-items:center; gap:24px; font-size:12px; }
.header-tools { justify-content:flex-end; gap:16px; }
.wordmark { color:var(--primary); text-align:center; width:190px; }
.wordmark-main { font-family:'Outfit',sans-serif; font-size:44px; line-height:1; font-weight:600; letter-spacing:0; }
.wordmark-caption { font-family:var(--font-serif); font-style:italic; font-size:13px; margin-top:1px; }
.mobile-menu { display:none; }
.header-tools .icon-control { width:27px; height:30px; padding:0; }
.cart-count { font-size:10px; margin-left:-10px; }
.hero { display:grid; grid-template-columns:48.2% 51.8%; background:var(--secondary); min-height:610px; }
.hero-copy { padding:77px 11% 45px; display:flex; flex-direction:column; align-items:flex-start; }
.eyebrow { text-transform:uppercase; font-size:10px; letter-spacing:1.6px; color:var(--primary); margin-bottom:20px; }
.hero h1 { font-size:60px; line-height:.98; max-width:460px; }
.hero-description { max-width:385px; font-family:var(--font-serif); font-size:21px; line-height:1.35; color:var(--muted-foreground); margin:22px 0; }
.hero-image { height:100%; min-height:610px; }
.hero-image img { height:100%; }
.hero-actions { display:flex; gap:12px; }
.store-button { border-radius:999px; height:40px; padding:0 23px; font-size:11px; font-family:var(--font-sans); box-shadow:none; }
.store-button-outline { background:transparent; border-color:var(--foreground); }
.hero-note { display:flex; align-items:center; gap:13px; margin-top:auto; padding-top:74px; color:var(--muted-foreground); font-size:11px; max-width:280px; line-height:1.5; }
.hero-note svg { width:27px; height:27px; stroke-width:1; flex-shrink:0; }
.section-inner { max-width:1320px; margin:auto; padding:85px 5%; }
.section-heading { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:38px; gap:24px; }
.section-heading h2 { font-size:44px; line-height:1.04; }
.section-heading .eyebrow { margin-bottom:16px; }
.section-subtitle { margin-top:13px; font-family:var(--font-serif); font-size:18px; color:var(--muted-foreground); }
.text-link { font-size:11px; display:inline-flex; align-items:center; gap:10px; white-space:nowrap; }
.text-link svg { width:13px; height:13px; }
.story-grid { display:grid; grid-template-columns:60% 1fr; gap:10%; align-items:center; }
.story-photo { aspect-ratio:1.34; }
.story-text { font-family:var(--font-serif); font-size:20px; line-height:1.35; color:var(--muted-foreground); }
.story-text p+p { margin-top:25px; }
.wines-section { background:var(--secondary); }
.wines-section h2 { max-width:550px; }
.filter-tabs { display:flex; gap:8px; }
.filter-button { border-radius:999px; font-size:10px; height:28px; padding:0 14px; }
.filter-button.active { background:var(--foreground); color:var(--background); }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:27px; }
.product-card { min-width:0; }
.product-image-wrap { position:relative; overflow:hidden; cursor:pointer; }
.product-image-wrap img { aspect-ratio:.665; transition:transform .5s; }
.product-image-wrap:hover img { transform:scale(1.025); }
.product-badge { position:absolute; top:14px; left:13px; background:var(--primary); color:var(--primary-foreground); font-size:9px; padding:6px 10px; border-radius:999px; }
.product-meta { display:flex; justify-content:space-between; text-transform:uppercase; letter-spacing:1px; font-size:9px; color:var(--muted-foreground); margin-top:16px; }
.product-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:9px; margin-top:8px; }
.product-title-row h3 { font-size:23px; line-height:1.08; }
.product-price { font-size:11px; white-space:nowrap; padding-top:5px; }
.product-origin { font-size:10px; margin-top:9px; color:var(--muted-foreground); }
.section-bottom { display:flex; justify-content:center; margin-top:40px; }
.gift-grid { display:grid; grid-template-columns:24% 1fr 1fr; gap:37px; }
.gift-intro { display:flex; flex-direction:column; align-items:flex-start; padding-top:8px; }
.gift-intro h2 { font-size:44px; line-height:1.02; max-width:230px; }
.gift-intro p { font-family:var(--font-serif); font-size:18px; color:var(--muted-foreground); margin:22px 0 18px; line-height:1.3; max-width:235px; }
.gift-intro .gift-service { margin-top:auto; background:var(--secondary); padding:16px; width:100%; font-family:var(--font-sans); font-size:10px; }
.gift-service svg { color:var(--primary); width:19px; margin-bottom:10px; }
.gift-service strong { display:block; font-size:11px; margin-bottom:6px; font-weight:400; }
.gift-card .product-image-wrap img { aspect-ratio:1.05; }
.gift-card .product-badge { background:var(--background); color:var(--primary); }
.gift-card .product-title-row { margin-top:20px; }
.gift-description { font-family:var(--font-serif); font-size:16px; color:var(--muted-foreground); margin-top:8px; }
.news-section { background:var(--secondary); }
.news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px; }
.news-card img { aspect-ratio:1.67; }
.news-card .product-meta { margin-top:17px; }
.news-card h3 { font-size:25px; margin:8px 0 12px; line-height:1.1; }
.newsletter-section { background:var(--newsletter); }
.appellations { display:flex; align-items:center; justify-content:space-between; gap:35px; padding:22px 0 36px; border-bottom:1px solid var(--border); }
.appellation { display:flex; align-items:center; justify-content:center; flex:0 1 140px; height:104px; min-width:0; }
.appellation img { width:100%; height:100%; object-fit:contain; opacity:.36; }
.appellation-ribera { flex-basis:64px; }
.appellation-castilla { flex-basis:78px; height:96px; }
.appellation-rueda { flex-basis:90px; height:92px; }
.appellation-rioja { flex-basis:124px; height:95px; }
.newsletter-section .section-inner { padding-top:0; padding-bottom:70px; }
.newsletter-content { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; padding-top:55px; }
.newsletter-content h2 { font-size:43px; line-height:1.05; max-width:440px; }
.newsletter-content p { font-family:var(--font-serif); color:var(--muted-foreground); font-size:17px; margin-top:16px; max-width:430px; }
.newsletter-input-wrap { background:var(--background); border-radius:999px; display:flex; padding:6px; }
.newsletter-input-wrap input { border:0; background:transparent; outline:none; min-width:0; width:100%; padding:8px 17px; font-size:12px; }
.newsletter-input-wrap .icon-control { border-radius:999px; width:35px; height:35px; padding:0; }
.privacy-check { display:flex; gap:8px; font-size:9px; color:var(--muted-foreground); margin-top:13px; align-items:flex-start; line-height:1.5; }
.privacy-check input { margin:0; accent-color:var(--primary); }
.site-footer { background:var(--footer); color:var(--primary-foreground); }
.footer-inner { padding:50px 5% 25px; max-width:1320px; margin:auto; }
.footer-top { display:grid; grid-template-columns:1.7fr 1fr 1fr 1.2fr; gap:60px; padding-bottom:45px; }
.site-footer .wordmark { color:var(--primary-foreground); text-align:left; }
.footer-brand p { font-family:var(--font-serif); font-style:italic; font-size:19px; line-height:1.2; max-width:260px; margin-top:22px; }
.footer-social { display:flex; gap:13px; margin-top:20px; }
.footer-social svg { width:17px; height:17px; }
.footer-column { display:flex; flex-direction:column; gap:12px; font-size:11px; color:var(--footer-muted); }
.footer-column h4 { font-size:10px; font-weight:400; color:var(--primary-foreground); margin:0 0 3px; }
.footer-middle,.footer-bottom { border-top:1px solid var(--footer-muted); display:flex; align-items:center; justify-content:space-between; padding-top:18px; color:var(--footer-muted); font-size:9px; }
.footer-middle { padding-bottom:25px; border-color:color-mix(in oklch,var(--footer-muted) 20%,transparent); }
.payment-labels { display:flex; gap:5px; }
.payment-labels span { border:1px solid var(--footer-muted); padding:4px 7px; font-size:8px; }
.footer-bottom { border-color:color-mix(in oklch,var(--footer-muted) 20%,transparent); }
.footer-legal { display:flex; gap:18px; }
.shop-modal { max-height:85vh; overflow:auto; }
.modal-product { display:grid; grid-template-columns:1fr 1fr; gap:25px; align-items:center; }
.modal-product img { max-height:390px; }
.modal-product h3 { font-size:33px; margin-bottom:16px; }
.modal-product p { margin-bottom:20px; color:var(--muted-foreground); }
.cart-line { display:flex; gap:15px; align-items:center; border-bottom:1px solid var(--border); padding:15px 0; }
.cart-line img { width:58px; height:78px; }
.cart-line-info { flex:1; }
.cart-line-info h3 { font-size:23px; }
.cart-summary { display:flex; justify-content:space-between; font-size:18px; margin-top:24px; }
.search-field { width:100%; border:1px solid var(--border); padding:12px; background:var(--background); }
.empty-state { padding:25px 0; color:var(--muted-foreground); }
.form-message { font-size:12px; color:var(--primary); margin-top:12px; }
.mobile-nav-panel { display:flex; flex-direction:column; gap:20px; padding:20px 0; }
@media(min-width:1440px) { .hero { min-height:690px; } .hero-image { min-height:690px; } .hero-copy { padding-top:100px; } .hero h1 { font-size:70px; } }
@media(max-width:1000px) { .site-header { padding:0 4%; } .nav-links { gap:15px; } .hero-copy { padding:55px 10% 35px; } .hero h1 { font-size:49px; } .hero,.hero-image { min-height:540px; } .section-inner { padding:65px 5%; } .story-text { font-size:18px; } .product-grid { gap:18px; } .product-title-row h3 { font-size:21px; } .gift-grid { gap:24px; } .gift-intro h2 { font-size:37px; } .footer-top { gap:30px; } }
@media(max-width:700px) { .announcement { font-size:8px; min-height:25px; } .announcement span:last-child { display:none; } .site-header { height:75px; grid-template-columns:1fr auto 1fr; } .nav-links { display:none; } .mobile-menu { display:flex; } .wordmark { width:150px; } .wordmark-main { font-size:35px; } .wordmark-caption { font-size:11px; } .header-tools { gap:7px; } .contact-link { display:none; } .hero { grid-template-columns:1fr; } .hero-copy { padding:44px 7% 35px; } .hero h1 { font-size:49px; max-width:370px; } .hero-description { font-size:20px; } .hero-note { padding-top:30px; font-size:10px; } .hero-image { min-height:0; height:330px; } .section-inner { padding:50px 7%; } .section-heading { align-items:flex-start; flex-wrap:wrap; gap:19px; margin-bottom:25px; } .section-heading h2 { font-size:37px; } .section-subtitle { font-size:17px; } .eyebrow { font-size:9px; margin-bottom:15px; } .story-grid { grid-template-columns:1fr; gap:25px; } .story-text { font-size:19px; } .story-text p+p { margin-top:17px; } .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 17px; } .product-badge { top:9px; left:8px; font-size:8px; padding:5px 8px; } .product-title-row { flex-wrap:wrap; gap:3px; } .product-title-row h3 { font-size:23px; } .product-price { padding-top:0; } .filter-tabs { gap:3px; } .filter-button { padding:0 12px; } .gift-grid { grid-template-columns:1fr 1fr; gap:30px 18px; } .gift-intro { grid-column:1/-1; } .gift-intro h2 { font-size:38px; max-width:290px; } .gift-intro p { max-width:320px; margin-top:15px; } .gift-intro .gift-service { display:none; } .gift-card .product-image-wrap img { aspect-ratio:.8; } .gift-description { font-size:15px; } .news-grid { grid-template-columns:1fr; gap:30px; } .news-card h3 { font-size:28px; } .appellations { gap:15px; padding-bottom:28px; } .appellation:nth-child(n+5) { display:none; } .appellation { height:72px; } .appellation-ribera { flex-basis:43px; } .appellation-castilla { flex-basis:53px; height:68px; } .appellation-rueda { flex-basis:61px; height:64px; } .appellation-rioja { flex-basis:84px; height:65px; } .newsletter-content { grid-template-columns:1fr; gap:25px; padding-top:35px; } .newsletter-content h2 { font-size:37px; } .newsletter-section .section-inner { padding-bottom:45px; } .footer-top { grid-template-columns:1fr 1fr; gap:35px 20px; } .footer-brand { grid-column:1/-1; } .footer-middle,.footer-bottom { gap:18px; flex-wrap:wrap; } .footer-legal { flex-wrap:wrap; gap:14px; } .modal-product { grid-template-columns:1fr; } .modal-product img { max-height:250px; object-fit:contain; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none !important; animation:none !important; } }
.product-detail { background:var(--background); }
.actualidad-page { background:var(--background); }
.ac-current { color:var(--primary); }
.ac-intro { border-bottom:1px solid var(--border); }
.ac-intro-inner { max-width:1440px; margin:auto; padding:85px 5.5%; display:flex; justify-content:space-between; align-items:flex-end; gap:50px; }
.ac-intro h1 { font-size:82px; line-height:.95; }
.ac-intro-inner > p { max-width:340px; font-size:13px; line-height:1.9; color:var(--muted-foreground); }
.ac-stories { max-width:1320px; margin:auto; padding:56px 6% 58px; }
.ac-filter-bar { display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--border); padding-bottom:17px; margin-bottom:32px; gap:20px; }
.ac-filter-bar h2 { font-family:var(--font-sans); font-size:10px; font-weight:700; letter-spacing:1.5px; }
.ac-filter-bar > div { display:flex; gap:3px; }
.ac-filter { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px; height:32px; padding:0 13px; border-radius:0; }
.ac-active { background:var(--primary); color:var(--primary-foreground); }
.ac-active:hover { background:var(--primary); color:var(--primary-foreground); }
.ac-grid { display:grid; grid-template-columns:1.43fr 1fr; align-items:start; gap:28px; }
.ac-story { border-bottom:1px solid var(--border); padding-bottom:19px; min-width:0; }
.ac-image-link { display:block; overflow:hidden; }
.ac-story img { aspect-ratio:4/3; transition:transform .4s; }
.ac-featured img { aspect-ratio:3/2; }
.ac-image-link:hover img { transform:scale(1.025); }
.ac-meta { display:flex; align-items:center; gap:10px; margin:22px 0 15px; font-size:8px; letter-spacing:1.1px; color:var(--primary); font-weight:700; text-transform:uppercase; }
.ac-meta-line { width:23px; height:1px; background:var(--primary); }
.ac-story h3 { font-size:33px; line-height:1.18; }
.ac-story > p { margin-top:12px; font-size:12px; line-height:1.9; color:var(--muted-foreground); }
.ac-read { padding:0; margin-top:14px; border-radius:0; height:25px; font-size:9px; letter-spacing:1px; color:var(--primary); }
.ac-read svg { width:13px; }
.ac-awards { grid-column:1; width:70%; }
.ac-filtered .ac-awards { width:100%; }
.ac-newsletter { background:var(--product-origin); color:var(--product-origin-text); }
.ac-newsletter-inner { max-width:1440px; margin:auto; padding:85px 5.5%; display:grid; grid-template-columns:1.55fr 1fr; gap:40px; align-items:center; }
.ac-newsletter .pd-eyebrow { color:var(--product-gold); }
.ac-newsletter h2 { font-size:52px; line-height:1.28; }
.ac-newsletter form { border-left:1px solid color-mix(in oklch,var(--product-origin-text) 25%,transparent); padding-left:25px; }
.ac-newsletter form > p { font-size:12px; line-height:1.9; color:var(--footer-muted); }
.ac-email { display:flex; margin-top:23px; border-bottom:1px solid var(--muted-foreground); }
.ac-email input { width:100%; min-width:0; background:transparent; border:0; outline:none; font-size:12px; padding:10px 0; color:var(--product-origin-text); }
.ac-email input::placeholder { color:var(--muted-foreground); }
.ac-email button { color:var(--product-origin-text); }
.ac-email button:hover { background:transparent; color:var(--product-gold); }
.ac-newsletter .ac-form-message { margin-top:12px; color:var(--product-origin-text); }
.ac-story-modal > p { font-size:14px; line-height:1.8; }
@media(max-width:1000px) { .ac-intro h1 { font-size:68px; } .ac-newsletter h2 { font-size:42px; } .ac-story h3 { font-size:28px; } .ac-wide-break { display:none; } }
@media(max-width:700px) { .ac-intro-inner { padding:45px 7%; display:block; } .ac-intro h1 { font-size:58px; } .ac-intro-inner > p { margin-top:25px; font-size:13px; } .ac-stories { padding:35px 7% 45px; } .ac-filter-bar { align-items:flex-start; flex-direction:column; gap:15px; } .ac-filter { padding:0 10px; font-size:9px; } .ac-grid { grid-template-columns:1fr; gap:30px; } .ac-awards { width:100%; } .ac-meta { font-size:8px; letter-spacing:.7px; } .ac-story h3 { font-size:30px; } .ac-story > p { font-size:13px; } .ac-newsletter-inner { grid-template-columns:1fr; padding:45px 7%; gap:30px; } .ac-newsletter h2 { font-size:38px; } .ac-newsletter form { border-left:0; padding:0; } }
.pd-announcement { background:var(--primary); color:var(--primary-foreground); text-align:center; font-size:9px; letter-spacing:1.6px; padding:10px 16px; }
.pd-header { height:72px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:0 3%; border-bottom:1px solid var(--border); }
.pd-nav { display:flex; gap:26px; font-size:11px; }
.pd-brand { color:var(--primary); text-align:center; }
.pd-brand span { display:block; font-family:'Outfit',sans-serif; font-weight:600; font-size:30px; line-height:1; }
.pd-brand small { font-family:var(--font-serif); font-style:italic; font-size:10px; }
.pd-tools { display:flex; justify-content:flex-end; align-items:center; gap:17px; }
.pd-tools button,.pd-tools a { position:relative; width:27px; height:30px; padding:5px; }
.pd-tools svg { width:16px; height:16px; stroke-width:1.4; }
.pd-language { display:flex; align-items:center; gap:9px; font-size:10px; }
.pd-cart-count { position:absolute; top:-6px; right:-5px; font-size:9px; background:var(--primary); color:var(--primary-foreground); border-radius:50%; min-width:16px; }
.pd-mobile-menu { display:none; }
.pd-breadcrumb { max-width:1440px; margin:auto; padding:40px 3% 28px; display:flex; gap:9px; font-size:9px; color:var(--muted-foreground); }
.pd-breadcrumb span:last-child { color:var(--foreground); }
.pd-product { max-width:1440px; margin:auto; padding:0 5% 44px 3%; display:grid; grid-template-columns:53% 1fr; gap:5%; }
.pd-gallery { display:grid; grid-template-columns:60px 1fr; gap:20px; min-width:0; }
.pd-thumbnails { display:flex; flex-direction:column; gap:18px; align-items:center; }
.pd-thumbnail { width:44px; height:68px; padding:4px 12px; border-radius:0; }
.pd-thumbnail img { height:100%; object-fit:contain; }
.pd-thumbnail[aria-pressed=true] { background:var(--secondary); }
.pd-bottle-stage { position:relative; height:606px; background:var(--secondary); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.pd-bottle-stage > img { height:84%; width:auto; object-fit:contain; transition:transform .4s; }
.pd-view-1 > img { transform:scale(1.7) translateY(-5%); }
.pd-view-2 > img { transform:scale(1.25); }
.pd-vintage { position:absolute; z-index:1; top:18px; left:18px; padding:9px 12px; font-size:9px; letter-spacing:1.3px; background:var(--primary); color:var(--primary-foreground); }
.pd-eyebrow { color:var(--primary); font-size:9px; font-weight:700; letter-spacing:1.6px; margin-bottom:18px; }
.pd-summary h1 { font-size:62px; line-height:.98; margin-bottom:22px; }
.pd-description { font-size:12px; line-height:1.9; max-width:500px; }
.pd-price-block { border-block:1px solid var(--border); margin-top:26px; padding:24px 0 19px; display:flex; justify-content:space-between; align-items:flex-end; }
.pd-price { font-family:var(--font-serif); font-size:34px; line-height:1; }
.pd-small-label { font-size:8px; letter-spacing:1px; color:var(--muted-foreground); }
.pd-stock { color:var(--product-stock); display:flex; align-items:center; gap:7px; font-size:10px; }
.pd-purchase { display:flex; gap:12px; margin:24px 0; }
.pd-stepper { display:flex; align-items:center; border:1px solid var(--border); height:49px; }
.pd-stepper button { width:37px; height:47px; border-radius:0; }
.pd-stepper svg { width:13px; }
.pd-stepper output { min-width:34px; text-align:center; font-size:12px; }
.pd-add { flex:1; height:49px; border-radius:0; font-size:10px; letter-spacing:1.2px; }
.pd-add svg { width:14px; }
.pd-facts { margin:0; display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--border); border-left:1px solid var(--border); }
.pd-facts > div { border-right:1px solid var(--border); border-bottom:1px solid var(--border); padding:13px 14px; }
.pd-facts dt { font-size:8px; color:var(--muted-foreground); letter-spacing:1.3px; margin-bottom:7px; }
.pd-facts dd { font-size:13px; font-weight:700; margin:0; }
.pd-shipping { display:flex; gap:10px; align-items:center; font-size:10px; color:var(--muted-foreground); margin-top:18px; }
.pd-shipping svg { color:var(--primary); }
.pd-origin { background:var(--product-origin); color:var(--product-origin-text); }
.pd-origin-inner { max-width:1320px; margin:auto; padding:85px 6%; display:grid; grid-template-columns:45% 1fr; gap:4%; }
.pd-origin .pd-eyebrow { color:var(--product-gold); }
.pd-origin h2 { font-size:50px; line-height:1.25; }
.pd-origin-copy { border-left:1px solid color-mix(in oklch,var(--product-origin-text) 22%,transparent); padding-left:40px; font-size:13px; line-height:1.9; }
.pd-statistics { display:grid; grid-template-columns:1fr 1fr 1fr; border-top:1px solid color-mix(in oklch,var(--product-origin-text) 22%,transparent); margin-top:36px; padding-top:25px; gap:15px; }
.pd-statistics strong { font-family:var(--font-serif); font-size:23px; display:block; line-height:1.1; }
.pd-statistics span { font-size:8px; letter-spacing:1.3px; color:var(--footer-muted); }
.pd-technical { max-width:1320px; margin:auto; padding:84px 6%; }
.pd-technical-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; border-bottom:1px solid var(--border); padding-bottom:25px; }
.pd-technical h2 { font-size:50px; line-height:1.05; }
.pd-technical-heading > p { max-width:345px; font-size:12px; line-height:1.9; color:var(--muted-foreground); }
.pd-tables { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; margin-top:42px; }
.pd-table { border-top:2px solid var(--primary); padding-top:22px; }
.pd-table > svg { width:22px; height:22px; stroke-width:1.2; margin-bottom:20px; }
.pd-table h3 { font-size:29px; margin-bottom:23px; }
.pd-table dl { margin:0; }
.pd-table dl > div { display:grid; grid-template-columns:auto 1fr; gap:16px; padding:12px 0; border-top:1px solid var(--border); font-size:10px; line-height:1.8; }
.pd-table dt { font-weight:700; min-width:64px; }
.pd-table dd { margin:0; color:var(--muted-foreground); overflow-wrap:anywhere; }
.pd-fermentation { border-top:1px solid var(--border); margin-top:62px; padding-top:42px; display:grid; grid-template-columns:36% 1fr; gap:4%; }
.pd-fermentation h3,.pd-serving h3 { font-size:27px; line-height:1.25; }
.pd-fermentation p:not(.pd-eyebrow),.pd-serving > p { font-size:12px; color:var(--muted-foreground); line-height:1.9; }
.pd-fermentation p+p { margin-top:18px; }
.pd-serving { background:var(--secondary); border:1px solid var(--border); margin-top:60px; padding:34px; display:grid; grid-template-columns:55% 1fr; gap:4%; align-items:center; }
.pd-serving .pd-eyebrow { margin-bottom:10px; }
.pd-footer { background:var(--primary); color:var(--primary-foreground); padding:42px 6%; display:flex; align-items:center; justify-content:space-between; }
.pd-footer .pd-brand { color:inherit; text-align:left; }
.pd-footer > div { font-size:10px; line-height:2; color:var(--footer-muted); }
@media(max-width:1000px) { .pd-product { gap:4%; grid-template-columns:50% 1fr; } .pd-gallery { grid-template-columns:38px 1fr; gap:10px; } .pd-bottle-stage { height:530px; } .pd-summary h1 { font-size:50px; } .pd-origin h2,.pd-technical h2 { font-size:40px; } .pd-tables { gap:25px; } .pd-table dl > div { gap:8px; } .pd-table dt { min-width:45px; } }
@media(max-width:700px) { .pd-announcement { font-size:7px; letter-spacing:1px; } .pd-header { height:68px; padding:0 5%; } .pd-nav,.pd-language { display:none; } .pd-mobile-menu { display:flex; } .pd-tools { gap:7px; } .pd-tools a[aria-label="Contactar con la bodega"] { display:none; } .pd-brand span { font-size:28px; } .pd-breadcrumb { padding:25px 5% 20px; } .pd-product { display:flex; flex-direction:column; padding:0 5% 35px; gap:30px; } .pd-gallery { grid-template-columns:34px 1fr; gap:12px; } .pd-bottle-stage { height:410px; } .pd-thumbnail { width:32px; height:58px; padding:3px 8px; } .pd-vintage { font-size:8px; top:14px; left:14px; } .pd-summary h1 { font-size:50px; } .pd-summary .pd-eyebrow { margin-bottom:14px; } .pd-description { font-size:13px; } .pd-origin-inner { grid-template-columns:1fr; padding:45px 7%; gap:30px; } .pd-origin h2 { font-size:38px; } .pd-origin-copy { padding:0; border:0; } .pd-statistics { margin-top:24px; } .pd-technical { padding:45px 7%; } .pd-technical-heading { display:block; } .pd-technical h2 { font-size:39px; } .pd-technical-heading > p { margin-top:20px; } .pd-tables { grid-template-columns:1fr; gap:30px; margin-top:30px; } .pd-table h3 { font-size:29px; } .pd-table dl > div { font-size:12px; grid-template-columns:90px 1fr; } .pd-table > svg { margin-bottom:12px; } .pd-fermentation { grid-template-columns:1fr; gap:23px; margin-top:40px; padding-top:30px; } .pd-serving { grid-template-columns:1fr; gap:20px; margin-top:35px; padding:25px; } .pd-footer { padding:30px 7%; gap:25px; flex-wrap:wrap; } }
/* Pulido móvil */
@media(max-width:700px) {
  .hero h1 { font-size:42px; }
  .hero-description { font-size:17px; }
  .product-title-row h3 { font-size:19px; }
  .product-meta { font-size:8px; margin-top:12px; }
  .product-price { font-size:10px; }
  .news-card h3 { font-size:24px; }
  .newsletter-content h2 { font-size:32px; }
  .section-heading h2 { font-size:32px; }
  .gift-intro h2 { font-size:32px; }
  .ac-intro h1 { font-size:46px; }
  .ac-story h3 { font-size:26px; }
  .ac-newsletter h2 { font-size:32px; }
  .pd-summary h1 { font-size:40px; }
  .pd-gallery { grid-template-columns:1fr; gap:14px; }
  .pd-bottle-stage { order:1; height:380px; }
  .pd-thumbnails { order:2; flex-direction:row; justify-content:center; gap:12px; }
  .pd-thumbnail { width:44px; height:64px; }
  .pd-statistics { gap:20px; }
  .pd-statistics strong { font-size:20px; }
  .pd-statistics span { font-size:7px; letter-spacing:1px; }
  .pd-origin h2,.pd-technical h2 { font-size:32px; }
  .pd-table h3 { font-size:24px; }
}

/* ===== Adaptación a WordPress / WooCommerce ===== */
.skip-link { position:absolute; left:-9999px; }
.skip-link:focus { left:12px; top:12px; z-index:100; background:var(--background); padding:8px 12px; }
.nav-links ul, .mobile-nav-panel ul { list-style:none; margin:0; padding:0; display:flex; gap:24px; }
.mobile-nav-panel ul { flex-direction:column; gap:20px; }
.mobile-nav-panel a { font-family:var(--font-serif); font-size:26px; }
.brand-link { display:block; }
.icon-control { display:inline-flex; align-items:center; justify-content:center; background:none; border:0; padding:0; color:inherit; width:27px; height:30px; position:relative; }
.icon-control:hover { color:var(--primary); }
.site-header .mobile-menu { display:none; }
.cart-link .cart-count { position:absolute; top:-4px; right:-8px; min-width:16px; height:16px; border-radius:999px; background:var(--primary); color:var(--primary-foreground); font-size:9px; line-height:16px; text-align:center; margin:0; }
.store-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:999px; height:40px; padding:0 23px; font-size:11px; background:var(--primary); color:var(--primary-foreground); border:1px solid var(--primary); white-space:nowrap; transition:opacity .2s, background .2s; }
.store-button:hover { opacity:.9; }
.store-button svg { width:15px; height:15px; }
.store-button-outline { background:transparent; color:var(--foreground); border-color:var(--foreground); }
.store-button-outline:hover { background:var(--secondary); opacity:1; }
.filter-button { background:transparent; border:0; color:inherit; font-family:inherit; }
.filter-button:hover { background:var(--secondary); }
.wines-section .filter-button:hover { background:var(--background); }
.filter-button.active, .filter-button.active:hover { background:var(--foreground); color:var(--background); }
.product-card[hidden] { display:none; }
.product-image-wrap { display:block; background:var(--background); }
.product-image-wrap img, .bottle-placeholder { aspect-ratio:3/4; width:100%; height:auto; object-fit:contain; }
.product-badge-out { left:auto; right:13px; background:var(--foreground); }
.product-price .woocommerce-Price-amount, .product-price bdi { font-size:inherit; }
.product-price del { opacity:.55; margin-right:4px; }
.product-price ins { text-decoration:none; }
.card-add { display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--primary); border-bottom:1px solid currentColor; padding-bottom:2px; }
.card-add.loading { opacity:.5; }
.card-add.added::after { content:"✓"; }
a.added_to_cart { display:block; margin-top:8px; font-size:10px; color:var(--muted-foreground); text-decoration:underline; }
.bottle-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; color:var(--muted-foreground); background:var(--secondary); padding:20px; text-align:center; font-family:var(--font-serif); font-size:17px; }
.bottle-placeholder svg { width:44px; height:150px; }
.product-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.filter-empty { margin-top:20px; color:var(--muted-foreground); }
.empty-state a { color:var(--primary); }
.newsletter-cta { margin-top:22px; }
.ac-filter { display:inline-flex; align-items:center; }
.ac-filter:hover { background:var(--secondary); }
.ac-read { display:inline-flex; align-items:center; gap:8px; height:auto; padding-top:4px; }
.ac-newsletter-copy { border-left:1px solid color-mix(in oklch,var(--product-origin-text) 25%,transparent); padding-left:25px; font-size:12px; line-height:1.9; color:var(--footer-muted); }
.ac-newsletter-copy .text-link { margin-top:16px; color:var(--product-gold); }
.shop-archive .ac-intro h1 { font-size:68px; }
.shop-toolbar { align-items:center; flex-wrap:wrap; }
.woocommerce-ordering select { border:1px solid var(--border); background:var(--background); padding:6px 10px; font-size:11px; font-family:inherit; border-radius:999px; }
.woocommerce-pagination ul { list-style:none; display:flex; gap:6px; justify-content:center; padding:0; margin:40px 0 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display:inline-flex; min-width:34px; height:34px; align-items:center; justify-content:center; border:1px solid var(--border); font-size:12px; }
.woocommerce-pagination .current { background:var(--foreground); color:var(--background); }

/* Sheets (menú móvil y buscador) */
dialog.sheet { border:0; padding:28px; width:min(520px,100% - 32px); max-height:85vh; background:var(--background); color:var(--foreground); border-radius:var(--radius); }
dialog.sheet::backdrop { background:var(--overlay); }
.sheet-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.sheet-head .wordmark { text-align:left; width:auto; }
.sheet-head .wordmark-main { font-size:30px; }
.sheet-head h2 { font-size:30px; }

/* Ficha de producto */
.product-detail .pd-breadcrumb a:hover { color:var(--primary); }
.pd-bottle-stage > img, .pd-bottle-stage > .bottle-placeholder { height:88%; width:auto; max-width:100%; object-fit:contain; aspect-ratio:auto; }
.pd-bottle-stage > .bottle-placeholder { background:transparent; }
.pd-gallery { grid-template-columns:1fr; }
.pd-description p + p { margin-top:10px; }
.pd-price .woocommerce-Price-amount { font-size:inherit; }
.pd-price del { font-size:22px; opacity:.5; margin-right:8px; }
.pd-price ins { text-decoration:none; }
.pd-out { color:var(--primary); }
.pd-purchase { display:block; }
.pd-purchase form.cart { display:flex; gap:12px; margin:0; }
.pd-purchase .quantity { border:1px solid var(--border); height:49px; display:flex; }
.pd-purchase .quantity input.qty { width:70px; height:100%; border:0; background:transparent; text-align:center; font-size:13px; font-family:inherit; }
.pd-purchase .single_add_to_cart_button, .woocommerce .button.alt, .woocommerce button.button.alt, .wc-block-components-button:not(.is-link) {
  flex:1; height:49px; border:0; border-radius:0; background:var(--primary) !important; color:var(--primary-foreground) !important; font-family:var(--font-sans); font-size:10px; letter-spacing:1.2px; text-transform:uppercase; cursor:pointer; }
.pd-purchase .single_add_to_cart_button:hover { opacity:.9; }
.pd-purchase .stock { display:none; }
.pd-facts dd { font-size:12px; }
.pd-origin h2 { font-size:42px; }
.pd-statistics strong { font-size:20px; }

/* Páginas (cesta, pago, mi cuenta, legales) y entradas */
.page-content { max-width:1100px; margin:auto; padding:60px 5% 90px; }
.single-story { max-width:820px; }
.page-header { margin-bottom:36px; border-bottom:1px solid var(--border); padding-bottom:22px; }
.page-header h1 { font-size:54px; line-height:1.05; }
.story-cover img { aspect-ratio:3/2; margin-bottom:34px; }
.story-cover { margin:0; }
.entry-content { font-size:15px; line-height:1.8; }
.entry-content p, .entry-content ul, .entry-content ol { margin:0 0 1.1em; }
.entry-content h2 { font-size:34px; margin:1.4em 0 .5em; }
.entry-content h3 { font-size:26px; margin:1.2em 0 .4em; }
.entry-content a { color:var(--primary); text-decoration:underline; }
.entry-content img { width:auto; max-width:100%; height:auto; }
.plain-list { padding-left:18px; line-height:2; }
.not-found { text-align:left; }
.not-found h1 { font-size:56px; margin-bottom:14px; }
.not-found .hero-actions { margin-top:26px; }

/* WooCommerce: formularios, avisos y tablas */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { border:1px solid var(--border); border-left:3px solid var(--primary); background:var(--secondary); padding:14px 18px; margin:0 0 24px; list-style:none; font-size:13px; }
.woocommerce-message .button, .woocommerce-info .button { float:right; color:var(--primary); text-decoration:underline; }
.shop-page input[type=text], .shop-page input[type=email], .shop-page input[type=tel], .shop-page input[type=password], .shop-page input[type=number], .shop-page select, .shop-page textarea { border:1px solid var(--border); background:var(--background); padding:10px 12px; font-family:inherit; font-size:14px; border-radius:var(--radius); max-width:100%; }
.shop-page table { width:100%; border-collapse:collapse; }
.shop-page th, .shop-page td { border-bottom:1px solid var(--border); padding:12px 8px; text-align:left; }
.shop-page .button { display:inline-flex; align-items:center; justify-content:center; padding:10px 20px; border:1px solid var(--foreground); border-radius:999px; background:transparent; font-family:inherit; font-size:12px; cursor:pointer; color:inherit; }
.shop-page .button.alt, .shop-page .checkout-button, .shop-page #place_order { border-radius:999px !important; padding:14px 26px; height:auto; }

@media(max-width:1000px) { .shop-archive .ac-intro h1 { font-size:54px; } }
@media(max-width:700px) {
  .site-header .mobile-menu { display:inline-flex; }
  .nav-links { display:none; }
  .account-link { display:none; }
  .product-grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-grid-3 .product-card:nth-child(3) { display:none; }
  .shop-archive .ac-intro h1 { font-size:42px; }
  .pd-purchase form.cart { flex-wrap:wrap; }
  .page-header h1 { font-size:38px; }
  .ac-newsletter-copy { border:0; padding:0; }
}
