/*
Theme Name:        Filigran
Theme URI:         https://filigranjoyas.com
Author:            Marka Digital
Description:       Tema a medida para Filigran Joyas. Diseño exacto del prototipo aprobado, 100 % responsive y preparado para WooCommerce. Todo el contenido se gestiona desde el plugin «Filigran · Mi web».
Version:           1.2.0
Requires at least: 6.2
Requires PHP:      7.4
Text Domain:       filigran
WC requires at least: 8.0
*/

/* ========== Base ========== */
:root {
	--cream: #f3ede1; --card: #fbf8f1; --white: #fff;
	--line: #e7ddca; --line2: #d8cdb8; --line3: #ece3d2;
	--ink: #2b2620; --ink2: #5b5346; --ink3: #3a352c; --muted: #877c6b; --muted2: #9b9183;
	--green: #243029; --green2: #1a231d; --green3: #2f3a26; --moss: #2c3a30;
	--gold: #9c7a33; --gold2: #b89653; --gold3: #cba85a; --sand: #d8c9a3; --paper: #f4eee2;
	--sage: #cdd4cb; --sage2: #9aa79a;
	--serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pad: 56px; --radius: 14px; --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .15s; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold3); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.fg-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--green); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.fg-skip:focus { left: 8px; }
.fg-hp { position: absolute !important; left: -9999px; opacity: 0; }
.fg-container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.fg-center { text-align: center; }
.fg-center-flex { justify-content: center; }
.fg-muted { color: var(--muted); font-size: 14px; }
.fg-gold { color: var(--gold); }
.fg-ico { flex: none; }

/* ========== Tipografía de marca ========== */
.fg-eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.fg-eyebrow--light { color: var(--sand); }
.fg-h2 { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.fg-h2--sm { font-size: 30px; }
.fg-h2 a { color: inherit; }
.fg-rule { display: flex; align-items: center; gap: 9px; margin: 8px 0 16px; }
.fg-rule span { height: 2px; width: 40px; background: var(--gold2); border-radius: 2px; }
.fg-rule svg { fill: var(--gold2); }
.fg-rule--light span { background: var(--gold3); }
.fg-rule--light svg { fill: var(--gold3); }
.fg-center .fg-rule, .fg-rule.is-center { justify-content: center; }
.fg-lead { font-size: 16px; line-height: 1.6; color: var(--ink2); max-width: 40em; margin: 0 0 30px; }
.fg-prose { color: var(--ink2); line-height: 1.7; max-width: 46em; }
.fg-prose h2 { font-family: var(--serif); font-size: 28px; color: var(--ink); margin: 1.4em 0 .5em; }
.fg-prose h3 { font-size: 18px; color: var(--ink); margin: 1.2em 0 .4em; }
.fg-prose a { text-decoration: underline; }

/* ========== Botones ========== */
.fg-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .single_add_to_cart_button, #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 30px; border: 1px solid var(--green); border-radius: 999px;
	background: var(--green); color: var(--paper); font-family: var(--sans); font-size: 15px; font-weight: 700;
	cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; line-height: 1.2; white-space: nowrap;
}
.fg-btn:hover, .woocommerce .button:hover, .single_add_to_cart_button:hover, #place_order:hover { background: var(--green2); color: var(--paper); }
.fg-btn:active { transform: translateY(1px); }
.fg-btn--ghost { background: transparent; color: var(--ink); border-color: #c2b69f; font-weight: 600; }
.fg-btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.fg-btn--light { background: var(--paper); color: var(--green); border-color: var(--paper); }
.fg-btn--light:hover { background: #fff; color: var(--green); }
.fg-btn--outline-light { background: transparent; border-color: #6f7d6f; color: var(--paper); min-height: 46px; font-size: 14px; font-weight: 600; padding: 0 24px; }
.fg-btn--outline-light:hover { border-color: var(--gold3); color: var(--gold3); background: transparent; }
.fg-btn--pill { min-height: 36px; padding: 0 16px; background: transparent; border-color: var(--line2); color: var(--gold); font-size: 12px; font-weight: 600; }
.fg-btn--pill:hover { background: var(--card); color: var(--ink); }
.fg-btn--sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.fg-btn--block { width: 100%; }
.fg-more { font-size: 14px; font-weight: 600; color: var(--gold); white-space: nowrap; }

/* ========== Aviso + cabecera ========== */
.fg-announce { position: relative; background: var(--green2); color: var(--sage); text-align: center; padding: 8px 90px; font-size: 12px; letter-spacing: .04em; }
.fg-lang { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fg-lang a { color: #7f8a7f; font-weight: 700; text-transform: uppercase; }
.fg-lang .current-lang a { color: var(--gold3); }
.fg-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.admin-bar .fg-header { top: 32px; }
.fg-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 18px 40px; }
.fg-header__logo { flex: none; display: flex; }
.fg-logo { width: auto; max-width: 240px; object-fit: contain; }
.fg-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.fg-nav a { color: var(--ink3); padding: 6px 0; border-bottom: 2px solid transparent; }
.fg-nav a:hover, .fg-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--gold3); }
.fg-header__icons { display: flex; gap: 8px; align-items: center; }
.fg-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 99px; }
.fg-icon-btn:hover { background: rgba(0,0,0,.04); color: var(--ink); }
.fg-cart-count { position: absolute; top: 5px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--gold); color: #fff; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fg-cart-count.is-empty { display: none; }
.fg-burger { display: none; }
.fg-searchbar { border-top: 1px solid var(--line); background: var(--card); }
.fg-searchbar form { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.fg-searchbar input { flex: 1; border: 0; background: none; font-size: 17px; padding: 8px 0; outline: none; }

/* Menú móvil */
.fg-drawer { position: fixed; inset: 0; z-index: 100; }
.fg-drawer[hidden] { display: none; }
.fg-drawer__backdrop { position: absolute; inset: 0; background: rgba(20,28,22,.5); animation: fgFade .2s; }
.fg-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86%, 380px); background: var(--cream); overflow-y: auto; padding-bottom: 30px; box-shadow: 10px 0 40px rgba(0,0,0,.2); animation: fgSlide .25s ease; }
.fg-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px 24px; border-bottom: 1px solid var(--line); }
.fg-drawer__label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #a7937c; font-weight: 700; padding: 18px 24px 4px; }
.fg-drawer__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 24px; font-size: 17px; font-weight: 600; color: var(--ink); }
.fg-drawer__link--all { font-size: 14px; color: var(--gold); }
.fg-drawer__foot { margin: 22px 24px 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.fg-drawer__foot a { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 14px; font-weight: 600; }
.fg-soon { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a7937c; border: 1px solid #ddcfb6; border-radius: 5px; padding: 2px 7px; }
@keyframes fgFade { from { opacity: 0; } }
@keyframes fgSlide { from { transform: translateX(-100%); } }
body.fg-lock { overflow: hidden; }

/* ========== Secciones ========== */
.fg-main { min-height: 50vh; }
.fg-section { padding-top: 54px; padding-bottom: 20px; }
.fg-section--tight { padding-top: 30px; }
.fg-section--flat { padding-top: 0; padding-bottom: 40px; }
.fg-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.fg-section__head .fg-rule { margin-bottom: 0; }

/* Portada */
.fg-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.fg-hero__content { padding: 64px var(--pad); display: flex; flex-direction: column; justify-content: center; max-width: 700px; margin-left: auto; width: 100%; }
.fg-hero__title { font-family: var(--serif); font-size: 58px; line-height: 1; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.fg-hero__text { font-size: 16px; line-height: 1.6; color: var(--ink2); max-width: 24em; margin-bottom: 28px; }
.fg-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fg-hero__media { position: relative; min-height: 440px; background: repeating-linear-gradient(135deg, var(--moss), var(--moss) 11px, #283529 11px, #283529 22px); overflow: hidden; }
.fg-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Categorías */
.fg-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.fg-cat { color: var(--ink); text-align: center; }
.fg-cat__media { position: relative; height: 260px; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(135deg, #e6dcc4, #e6dcc4 8px, #ddd0b4 8px, #ddd0b4 16px); }
.fg-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fg-cat:hover .fg-cat__media img { transform: scale(1.04); }
.fg-cat.is-soon .fg-cat__media { opacity: .92; filter: grayscale(.15); }
.fg-cat__soon { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7a6b4f; background: rgba(255,255,255,.85); padding: 3px 10px; border-radius: 5px; white-space: nowrap; }
.fg-cat__name { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-top: 14px; }
.fg-cat:hover .fg-cat__name { color: var(--gold); }
.fg-matlinks { display: flex; gap: 10px; margin-top: 22px; justify-content: center; flex-wrap: wrap; }
.fg-matlinks a { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: var(--card); border-radius: 10px; padding: 11px 20px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.fg-matlinks a:hover { border-color: var(--gold3); }
.fg-matlinks span { width: 13px; height: 13px; border-radius: 3px; }

/* Rejillas + tarjetas */
.fg-grid { display: grid; gap: 28px 20px; list-style: none; margin: 0; padding: 0; }
.fg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.fg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fg-card { display: block; color: var(--ink); }
.fg-card:hover { color: var(--ink); }
.fg-card__media { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff; }
.fg-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.fg-card:hover .fg-card__media img { transform: scale(1.04); }
.fg-card__name { font-size: 15px; font-weight: 600; margin-top: 11px; line-height: 1.3; }
.fg-card__meta { display: flex; gap: 9px; align-items: baseline; flex-wrap: wrap; margin-top: 3px; }
.fg-card__price { font-size: 15px; font-weight: 700; color: var(--gold); }
.fg-card__price del { color: var(--muted2); font-weight: 500; font-size: 13px; }
.fg-card__price ins { text-decoration: none; }
.fg-card__mat { font-size: 13px; color: var(--muted); }
.fg-badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.fg-badge--low { background: var(--green); color: var(--paper); }
.fg-badge--sale { background: #a3462a; }
.fg-badge--out { background: #7d766a; }
.fg-badge--lg { top: 16px; left: 16px; font-size: 12px; padding: 5px 12px; border-radius: 7px; }

/* Banda de marca */
.fg-band { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; background: var(--green); color: var(--paper); }
.fg-band__media { position: relative; min-height: 340px; background: repeating-linear-gradient(135deg, var(--moss), var(--moss) 11px, #324035 11px, #324035 22px); overflow: hidden; }
.fg-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fg-band--noimg { grid-template-columns: 1fr; }
.fg-band--noimg .fg-band__media { display: none; }
.fg-band--noimg .fg-band__content { align-items: center; text-align: center; margin: 0 auto; }
.fg-band__content { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 640px; }
.fg-band__title { font-family: var(--serif); font-size: 36px; color: var(--paper); margin-bottom: 4px; }
.fg-band__sub { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--sand); margin-bottom: 14px; }
.fg-band__content p { font-size: 15px; line-height: 1.6; color: var(--sage); max-width: 26em; margin-bottom: 24px; }

/* Ferias */
.fg-date { flex: none; width: 60px; height: 60px; border-radius: 10px; background: #eadfae; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #7a6433; }
.fg-date span { font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.fg-date b { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: .9; }
.fg-event { display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 18px; color: var(--ink); }
.fg-event__body { flex: 1; min-width: 0; }
.fg-event__label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 2px; }
.fg-event__title { font-size: 16px; font-weight: 600; color: var(--ink); }
.fg-event__detail { font-size: 13px; color: var(--muted); }
.fg-event__go { color: var(--gold); display: flex; }
.fg-event--teaser:hover { border-color: var(--gold3); color: var(--ink); }
.fg-ferias { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.fg-ferias.is-single { grid-template-columns: 1fr; max-width: 760px; }
.fg-ferias__list { display: flex; flex-direction: column; gap: 14px; }
.fg-ferias__side { display: flex; flex-direction: column; gap: 18px; }
.fg-ferias__img { border-radius: var(--radius); overflow: hidden; }
.fg-ferias__img img { width: 100%; height: 240px; object-fit: cover; }
.fg-empty-box { border: 1px dashed var(--line2); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted); background: var(--card); }
.fg-darkbox { background: var(--green); border-radius: 16px; padding: 24px; color: var(--paper); }
.fg-darkbox h2 { font-family: var(--serif); font-size: 22px; color: var(--paper); margin-bottom: 6px; }
.fg-darkbox p { font-size: 13px; color: var(--sage); line-height: 1.5; margin-bottom: 14px; }
.fg-inline-form { display: flex; gap: 8px; }
.fg-inline-form input[type=email] { flex: 1; min-width: 0; border: 0; border-radius: 10px; padding: 12px 14px; font-size: 14px; background: #fff; color: var(--ink); }
.fg-inline-form button { border: 0; border-radius: 10px; padding: 0 18px; background: var(--gold3); color: var(--green2); font-weight: 700; cursor: pointer; }
.fg-inline-form button:hover { background: #d8b76c; }

/* Instagram */
.fg-insta { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.fg-insta a { aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.fg-insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fg-insta a:hover img { transform: scale(1.05); }

/* Sobre la marca */
.fg-pagehero { position: relative; min-height: 360px; background: repeating-linear-gradient(135deg, var(--moss), var(--moss) 11px, #283529 11px, #283529 22px); display: flex; align-items: center; color: var(--paper); overflow: hidden; }
.fg-pagehero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fg-pagehero.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,22,.72), rgba(20,28,22,.25)); }
.fg-pagehero__content { position: relative; z-index: 1; padding-top: 50px; padding-bottom: 50px; }
.fg-pagehero h1 { font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--paper); }
.fg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 50px; }
.fg-two p { font-size: 16px; line-height: 1.7; color: var(--ink2); margin: 0; }
.fg-pillars { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 22px; }
.fg-pillar h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.fg-pillar p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.fg-materials { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 18px; }
.fg-material { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--card); }
.fg-material span { display: block; width: 30px; height: 30px; border-radius: 8px; margin-bottom: 10px; }
.fg-material h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.fg-material p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.fg-quote { padding: 40px; border-radius: 16px; background: var(--green); color: var(--paper); text-align: center; margin-bottom: 30px; }
.fg-quote blockquote { font-family: var(--serif); font-size: 30px; font-weight: 500; font-style: italic; line-height: 1.3; margin: 0 auto 22px; max-width: 24em; }

/* Contacto */
.fg-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.fg-contact__cards { display: flex; flex-direction: column; gap: 12px; }
.fg-info { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); background: var(--card); border-radius: 13px; padding: 16px; color: var(--ink); }
a.fg-info:hover { border-color: var(--gold3); color: var(--ink); }
.fg-info__ico { flex: none; width: 42px; height: 42px; border-radius: 999px; background: var(--green3); color: var(--gold3); display: flex; align-items: center; justify-content: center; }
.fg-info b { display: block; font-size: 15px; font-weight: 600; }
.fg-info small { display: block; font-size: 12px; color: var(--muted); }
.fg-formbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.fg-formbox form { display: flex; flex-direction: column; gap: 12px; }
.fg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink2); }
.fg-check input { margin-top: 3px; accent-color: var(--green); }
.fg-notice { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.fg-notice--ok { background: #eef1ea; border: 1px solid #d4ddd0; color: #2b4030; }
.fg-notice--err { background: #fbece6; border: 1px solid #efcdbf; color: #8a3a22; }
.fg-darkbox .fg-notice--ok { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--paper); }

/* Campos de formulario (web + WooCommerce) */
.fg-formbox input[type=text], .fg-formbox input[type=email], .fg-formbox textarea,
.woocommerce form .input-text, .woocommerce form select, .woocommerce-page form .input-text,
.select2-container--default .select2-selection--single, .woocommerce .quantity .qty, #coupon_code {
	width: 100%; border: 1px solid var(--line2); background: #fff; border-radius: 10px; padding: 13px 15px; font-size: 14px; color: var(--ink); min-height: 48px; box-shadow: none; outline: none;
}
.fg-formbox textarea { resize: vertical; }
.fg-formbox input:focus, .fg-formbox textarea:focus, .woocommerce form .input-text:focus, .woocommerce form select:focus { border-color: var(--gold3); box-shadow: 0 0 0 3px rgba(203,168,90,.2); }
.select2-container--default .select2-selection--single { height: 48px; display: flex; align-items: center; padding: 0 10px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.select2-dropdown { border-color: var(--line2); border-radius: 10px; overflow: hidden; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--green); }

/* ========== Tienda ========== */
.fg-shop { padding-top: 38px; padding-bottom: 60px; }
.fg-crumbs { font-size: 12px; color: var(--muted2); margin-bottom: 14px; }
.fg-crumbs a { color: var(--muted2); }
.fg-crumbs a:hover { color: var(--ink); }
.fg-shop__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.fg-shop__title { font-family: var(--serif); font-size: 42px; color: var(--ink); line-height: 1; }
.fg-shop__count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.fg-tabs { display: flex; gap: 18px; margin-top: 14px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.fg-tabs a { color: var(--muted2); padding-bottom: 4px; border-bottom: 2px solid transparent; white-space: nowrap; }
.fg-tabs a:hover { color: var(--ink); }
.fg-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.fg-filterbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fg-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.fg-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); color: var(--ink2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fg-chip i { width: 11px; height: 11px; border-radius: 3px; }
.fg-chip:hover { border-color: var(--ink2); color: var(--ink); }
.fg-chip.is-active { background: var(--green); border-color: var(--green); color: var(--paper); }
.fg-sort select { font-size: 13px; font-weight: 600; color: var(--ink2); border: 1px solid var(--line2); background: var(--card); border-radius: 9px; padding: 9px 14px; cursor: pointer; }
.fg-empty { text-align: center; padding: 70px 24px; color: var(--muted); max-width: 560px; margin: 0 auto; }
.fg-empty .fg-h2 { margin-bottom: 10px; }
.fg-empty p { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
.fg-shop__desc { margin-top: 50px; }
.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 0; border: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--line2); color: var(--ink2); font-weight: 600; font-size: 14px; }
.woocommerce-pagination .current { background: var(--green); border-color: var(--green); color: var(--paper); }

/* ========== Ficha de producto ========== */
.fg-product { padding-top: 38px; padding-bottom: 56px; }
.fg-product__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.fg-gallery { position: sticky; top: 110px; }
.fg-gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #fff; }
.fg-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.fg-gallery__thumbs { display: flex; gap: 11px; margin-top: 14px; }
.fg-gallery__thumbs button { width: 84px; height: 84px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; opacity: .7; }
.fg-gallery__thumbs button.is-active, .fg-gallery__thumbs button:hover { border-color: var(--gold3); opacity: 1; }
.fg-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.fg-product__title { font-family: var(--serif); font-size: 40px; color: var(--ink); line-height: 1.05; }
.fg-product__ref { font-size: 12px; color: #a79a86; letter-spacing: .04em; margin-top: 6px; }
.fg-product__price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.fg-product__price > span { font-size: 28px; font-weight: 700; color: var(--gold); }
.fg-product__price del { font-size: 18px; color: var(--muted2); font-weight: 500; }
.fg-product__price ins { text-decoration: none; }
.fg-pill { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink2); border: 1px solid var(--line2); border-radius: 999px; padding: 5px 13px; }
.fg-lowstock { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #8a5a2a; font-size: 13px; font-weight: 600; }
.fg-lowstock i { width: 7px; height: 7px; border-radius: 99px; background: #c87f3a; }
.fg-product__desc { font-size: 15px; line-height: 1.65; color: var(--ink2); margin-top: 18px; }
.fg-buy { margin: 24px 0; }
.fg-buy form.cart { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0; }
.fg-buy .variations { width: 100%; border-collapse: collapse; margin-bottom: 6px; }
.fg-buy .variations th, .fg-buy .variations td { display: block; text-align: left; padding: 0 0 6px; }
.fg-buy .variations label { font-size: 13px; font-weight: 700; color: var(--ink2); }
.fg-buy .variations select { width: 100%; border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; background: #fff; }
.fg-buy .reset_variations { font-size: 12px; }
.fg-buy .single_variation_wrap { width: 100%; }
.fg-buy .woocommerce-variation-add-to-cart { display: flex; gap: 14px; margin-top: 12px; }
.fg-buy .woocommerce-variation-price { font-size: 20px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.fg-buy .stock { font-size: 13px; color: var(--muted); margin: 0 0 8px; width: 100%; }
.fg-buy .stock.out-of-stock { color: #a3462a; font-weight: 600; }
.fg-buy .single_add_to_cart_button { flex: 1; min-height: 56px; }
.fg-buy .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.quantity { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 999px; overflow: hidden; background: transparent; flex: none; }
.quantity .qty, .woocommerce .quantity .qty { width: 42px; min-height: 0; height: 50px; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 16px; padding: 0; -moz-appearance: textfield; border-radius: 0; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fg-qty-btn { width: 42px; height: 50px; border: 0; background: none; font-size: 20px; color: var(--ink); cursor: pointer; }
.fg-qty-btn:hover { color: var(--gold); }
.fg-specs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); margin: 0; }
.fg-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 16px; border-bottom: 1px solid #efe6d4; font-size: 13.5px; }
.fg-specs div:last-child { border-bottom: 0; }
.fg-specs dt { color: var(--muted); }
.fg-specs dd { margin: 0; font-weight: 600; text-align: right; }
.fg-trust { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--ink2); }
.fg-trust li { display: flex; align-items: center; gap: 9px; }
.fg-trust .fg-ico { color: var(--gold); }
.fg-more-info { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.fg-more-info summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.fg-more-info summary::after { content: ' +'; color: var(--gold); }
.fg-more-info[open] summary::after { content: ' −'; }
.fg-related { margin-top: 56px; }
.fg-related .fg-h2 { margin-bottom: 18px; }

/* ========== Páginas (carrito, checkout, cuenta, legales) ========== */
.fg-page { padding-top: 38px; padding-bottom: 60px; }
.fg-page__title { font-family: var(--serif); font-size: 42px; color: var(--ink); margin-bottom: 26px; }
.fg-page__title--flush { margin-bottom: 0; }

/* Avisos WooCommerce */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink2); font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.woocommerce-message { background: #eef1ea; border-color: #d4ddd0; color: #2b4030; }
.woocommerce-error { background: #fbece6; border-color: #efcdbf; color: #8a3a22; flex-direction: column; align-items: flex-start; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 0 18px; font-size: 13px; order: 2; }

/* Barra de envío gratis */
.fg-freebar { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; }
.fg-freebar__text { font-size: 13px; color: var(--ink2); margin-bottom: 9px; }
.fg-freebar__text strong { color: var(--gold); }
.fg-freebar__text.is-ok { color: #3f6e4a; font-weight: 600; }
.fg-freebar__track { height: 6px; border-radius: 99px; background: var(--line3); overflow: hidden; }
.fg-freebar__track div { height: 100%; border-radius: 99px; background: var(--gold); transition: width .4s; }

/* Carrito */
.woocommerce-cart .fg-page__content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 0 44px; align-items: start; }
.woocommerce-cart .fg-page__content > .woocommerce > * { grid-column: 1; }
.woocommerce-cart .cart-collaterals { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 110px; }
.woocommerce-cart .fg-page__content > .woocommerce > .fg-empty { grid-column: 1 / -1; }
table.shop_table { width: 100%; border-collapse: collapse; }
table.shop_table.cart thead { display: none; }
table.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto 80px 34px; grid-template-areas: "thumb name qty sub rem" "thumb price qty sub rem"; align-items: center; column-gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line3); }
table.shop_table.cart td { display: block; padding: 0; border: 0; }
table.shop_table.cart td::before { display: none; }
td.product-thumbnail { grid-area: thumb; }
td.product-thumbnail img { width: 90px; height: 90px; object-fit: cover; border-radius: 11px; background: #fff; }
td.product-name { grid-area: name; font-size: 15px; font-weight: 600; align-self: end; }
td.product-name a { color: var(--ink); }
td.product-name .variation { font-size: 12px; color: var(--muted); font-weight: 400; margin: 4px 0 0; }
td.product-name .variation dt, td.product-name .variation dd { display: inline; margin: 0; }
td.product-name .variation p { display: inline; margin: 0; }
td.product-price { grid-area: price; font-size: 13px; color: var(--muted); align-self: start; }
td.product-quantity { grid-area: qty; }
td.product-quantity .qty { height: 38px; width: 34px; font-size: 14px; }
td.product-quantity .fg-qty-btn { width: 32px; height: 38px; font-size: 16px; }
td.product-subtotal { grid-area: sub; font-size: 15px; font-weight: 700; color: var(--gold); text-align: right; white-space: nowrap; }
td.product-remove { grid-area: rem; text-align: right; }
td.product-remove a.remove { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 99px; color: #b0a791 !important; font-size: 20px; line-height: 1; }
td.product-remove a.remove:hover { background: #fbe9e3; color: #a3462a !important; }
table.shop_table.cart tr:not(.cart_item) { display: block; }
table.shop_table.cart td.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.coupon { display: flex; gap: 8px; }
.coupon label { display: none; }
#coupon_code { min-height: 42px; width: 180px; padding: 9px 14px; }
.coupon .button, button[name=update_cart] { min-height: 42px !important; padding: 0 18px !important; font-size: 13px !important; background: transparent !important; color: var(--ink) !important; border-color: var(--line2) !important; }
.fg-js button[name=update_cart] { display: none; }
.cart_totals, #order_review, .woocommerce-checkout-review-order { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cart_totals h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; }
.cart_totals table, .woocommerce-checkout-review-order-table { width: 100%; font-size: 14px; color: var(--ink2); border-collapse: collapse; }
.cart_totals th, .cart_totals td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 8px 0; text-align: left; font-weight: 400; vertical-align: top; border: 0; }
.cart_totals td, .woocommerce-checkout-review-order-table td { text-align: right; font-weight: 600; color: var(--ink); }
.cart_totals .order-total th, .cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; font-weight: 700; color: var(--ink); }
.cart_totals .order-total .amount, .woocommerce-checkout-review-order-table .order-total .amount { font-size: 24px; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-methods li { margin-bottom: 4px; font-weight: 500; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 12px; font-weight: 400; color: var(--muted); }
.shipping-calculator-button { font-size: 12px; }
.wc-proceed-to-checkout { margin-top: 18px; }
.fg-secure { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 10px; }

/* Checkout */
.fg-guest { display: flex; align-items: center; gap: 10px; background: #eef1ea; border: 1px solid #d4ddd0; border-radius: 11px; padding: 13px 16px; margin-bottom: 22px; font-size: 13.5px; color: #2b4030; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { font-size: 13px; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "cust head" "cust review"; gap: 0 44px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
#customer_details { grid-area: cust; }
#order_review_heading { grid-area: head; font-family: var(--serif); font-size: 22px; margin: 0 0 12px; }
#order_review { grid-area: review; position: sticky; top: 110px; }
.col2-set .col-1, .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-billing-fields > h3, .woocommerce-shipping-fields > h3, .woocommerce-additional-fields > h3, #ship-to-different-address { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); margin: 22px 0 12px; }
.woocommerce-billing-fields > h3 { margin-top: 0; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-row { margin: 0 0 12px; grid-column: 1 / -1; }
.form-row-first { grid-column: 1; }
.form-row-last { grid-column: 2; }
.form-row label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink2); margin-bottom: 5px; }
.form-row label.checkbox, .form-row .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.form-row .required { color: var(--gold); text-decoration: none; border: 0; }
.form-row.woocommerce-invalid .input-text, .form-row.woocommerce-invalid select { border-color: #c2552f; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table .cart_item td { font-size: 13px; }
.woocommerce-checkout-review-order-table .cart_item td.product-name { text-align: left; font-weight: 500; color: var(--ink); }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--muted); font-weight: 400; }
#payment { margin-top: 16px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#payment ul.payment_methods > li { border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; background: #fff; }
#payment ul.payment_methods > li > label { font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
#payment ul.payment_methods > li > input { accent-color: var(--green); margin-right: 6px; }
#payment ul.payment_methods img { max-height: 22px; display: inline-block; }
#payment .payment_box { font-size: 13px; color: var(--ink2); margin-top: 10px; }
#payment .payment_box p:last-child { margin: 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
#place_order { width: 100%; min-height: 54px; }

/* Confirmación */
.fg-thanks { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 0; }
.fg-thanks__check { width: 74px; height: 74px; border-radius: 999px; background: var(--gold3); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.fg-thanks .fg-h2 { font-size: 42px; margin-bottom: 12px; }
.fg-thanks__text { font-size: 15px; color: var(--ink2); max-width: 30em; margin-bottom: 6px; }
.fg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 760px; width: 100%; margin: 26px 0 34px; }
.fg-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: left; }
.fg-step b { font-family: var(--serif); font-size: 22px; color: var(--gold); display: block; margin-bottom: 8px; }
.fg-step h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.fg-step p { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0; }
.fg-thanks__details { width: 100%; max-width: 760px; text-align: left; margin-top: 40px; }
.fg-thanks__details h2 { font-family: var(--serif); font-size: 24px; margin: 24px 0 12px; }
.fg-thanks__details table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fg-thanks__details th, .fg-thanks__details td { padding: 12px 16px; border-bottom: 1px solid var(--line3); text-align: left; }
.fg-thanks__details address { font-style: normal; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 14px; }
.fg-thanks__details .woocommerce-customer-details .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Mi cuenta */
.woocommerce-account .fg-page__content > .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink2); font-weight: 600; font-size: 14px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--green); color: var(--paper); }
.woocommerce-account:not(.logged-in) .fg-page__content > .woocommerce { display: block; max-width: 480px; }
.woocommerce-form-login, .woocommerce-form-register { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* ========== Pie ========== */
.fg-footer { background: var(--green2); color: var(--sage); margin-top: 40px; }
.fg-footer__tagline { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold3); text-align: center; padding: 40px 20px 24px; }
.fg-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-top: 30px; padding-bottom: 36px; border-top: 1px solid #2a342c; }
.fg-footer__brand p { font-size: 13px; line-height: 1.6; color: var(--sage2); max-width: 22em; margin: 12px 0 0; }
.fg-pay { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.fg-pay span { font-size: 11px; background: #2a342c; border-radius: 5px; padding: 5px 9px; }
.fg-footer__col { display: flex; flex-direction: column; font-size: 13px; line-height: 2; }
.fg-footer__title { font-weight: 700; color: var(--paper); margin-bottom: 6px; }
.fg-footer__col a { color: var(--sage); }
.fg-footer__col a:hover { color: var(--gold3); }
.fg-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid #2a342c; font-size: 11.5px; color: #6f7a6f; }
.fg-footer__social { display: flex; gap: 14px; }
.fg-footer__social a { color: var(--sage2); display: flex; }
.fg-footer__social a:hover { color: var(--gold3); }

/* ========== Tablet ========== */
@media (max-width: 1100px) {
	:root { --pad: 32px; }
	.fg-nav { gap: 16px; }
	.fg-hero__title { font-size: 48px; }
	.fg-pillars, .fg-materials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fg-grid--4 { gap: 20px 14px; }
	.fg-insta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ========== Móvil (diseño del prototipo móvil) ========== */
@media (max-width: 900px) {
	:root { --pad: 18px; }
	body { font-size: 15px; }
	.fg-announce { padding: 8px 64px 8px 14px; font-size: 11px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.fg-header__inner { padding: 8px 10px; gap: 6px; }
	.fg-burger { display: inline-flex; }
	.fg-nav, .fg-hide-sm { display: none; }
	.fg-header__logo { position: absolute; left: 50%; transform: translateX(-50%); }
	.fg-header__logo .fg-logo { max-height: 38px; height: 38px !important; max-width: 170px; }
	.admin-bar .fg-header { top: 0; }

	.fg-hero { display: block; position: relative; min-height: 440px; background: var(--green); }
	.fg-hero__media { position: absolute; inset: 0; min-height: 0; }
	.fg-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,22,.05) 0%, rgba(20,28,22,.12) 34%, rgba(26,35,29,.78) 66%, rgba(26,35,29,.92) 100%); }
	.fg-hero__content { position: relative; z-index: 1; min-height: 440px; justify-content: flex-end; padding: 28px 22px 30px; margin: 0; max-width: none; color: var(--paper); }
	.fg-hero .fg-eyebrow { color: var(--sand); font-size: 11px; letter-spacing: .28em; margin-bottom: 9px; }
	.fg-hero .fg-rule span { width: 30px; background: var(--gold3); }
	.fg-hero .fg-rule svg { fill: var(--gold3); }
	.fg-hero__title { font-size: 42px; line-height: 1.02; color: var(--paper); margin-bottom: 8px; }
	.fg-hero__text { color: #e7e0d0; font-size: 14px; max-width: 18em; margin-bottom: 18px; }
	.fg-hero .fg-btn { min-height: 48px; padding: 0 24px; font-size: 14px; background: var(--paper); color: var(--green); border-color: var(--paper); }
	.fg-hero .fg-btn--ghost { background: transparent; color: var(--paper); border-color: rgba(244,238,226,.5); }

	.fg-section { padding-top: 28px; padding-bottom: 8px; }
	.fg-h2 { font-size: 25px; }
	.fg-h2--sm { font-size: 23px; }
	.fg-section__head { margin-bottom: 14px; }
	.fg-cats { gap: 10px; margin-top: 16px; }
	.fg-cat__media { height: 104px; }
	.fg-cat__name { font-family: var(--sans); font-size: 13px; margin-top: 8px; }
	.fg-cat__soon { font-size: 8.5px; padding: 2px 6px; bottom: 8px; }
	.fg-matlinks { flex-wrap: nowrap; margin-top: 14px; gap: 9px; }
	.fg-matlinks a { flex: 1; justify-content: center; padding: 11px 8px; }

	.fg-scroll-sm { display: flex; overflow-x: auto; gap: 13px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.fg-scroll-sm::-webkit-scrollbar { display: none; }
	.fg-scroll-sm > .fg-card { flex: none; width: 150px; scroll-snap-align: start; }
	.fg-card__name { font-size: 13px; margin-top: 8px; }
	.fg-card__price { font-size: 13px; }
	.fg-card__mat { font-size: 11.5px; }
	.fg-badge { top: 8px; left: 8px; font-size: 9px; padding: 3px 7px; }
	.fg-grid--3, .fg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }

	.fg-band { display: block; margin: 18px var(--pad); border-radius: 16px; overflow: hidden; text-align: center; }
	.fg-band__media { display: none; }
	.fg-band__content { padding: 30px 24px; align-items: center; margin: 0 auto; }
	.fg-band__title { font-size: 26px; }
	.fg-band .fg-rule { justify-content: center; }
	.fg-band__sub { font-size: 16px; margin-bottom: 10px; }
	.fg-band__content p { font-size: 13px; margin-bottom: 18px; }

	.fg-date { width: 52px; height: 52px; }
	.fg-date b { font-size: 24px; }
	.fg-date span { font-size: 9px; }
	.fg-event { padding: 14px; gap: 14px; flex-wrap: wrap; }
	.fg-event .fg-btn--pill { margin-left: 66px; }
	.fg-event--teaser { flex-wrap: nowrap; }
	.fg-event__title { font-size: 14.5px; }
	.fg-ferias, .fg-contact { grid-template-columns: 1fr; gap: 22px; }
	.fg-insta { gap: 6px; }

	.fg-pagehero { min-height: 280px; }
	.fg-pagehero h1 { font-size: 36px; }
	.fg-two { grid-template-columns: 1fr; gap: 14px; padding-bottom: 26px; }
	.fg-two p { font-size: 14.5px; }
	.fg-pillars { grid-template-columns: 1fr; gap: 12px; }
	.fg-pillar { padding-left: 21px; position: relative; }
	.fg-pillar::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 99px; background: var(--gold3); }
	.fg-materials { grid-template-columns: 1fr; gap: 10px; }
	.fg-material { display: grid; grid-template-columns: 16px 1fr; gap: 2px 12px; padding: 13px 15px; }
	.fg-material span { width: 16px; height: 16px; border-radius: 5px; margin: 2px 0 0; grid-row: span 2; }
	.fg-quote { padding: 24px; }
	.fg-quote blockquote { font-size: 22px; margin-bottom: 18px; }
	.fg-form-row { grid-template-columns: 1fr; }
	.fg-page__title, .fg-shop__title { font-size: 32px; }
	.fg-lead { font-size: 14.5px; margin-bottom: 20px; }

	/* Tienda móvil */
	.fg-shop { padding-top: 18px; }
	.fg-shop__head { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 12px; }
	.fg-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 16px; margin: 12px calc(var(--pad) * -1) 0; padding: 0 var(--pad); border-bottom: 1px solid var(--line); scrollbar-width: none; }
	.fg-tabs::-webkit-scrollbar { display: none; }
	.fg-tabs a { padding: 10px 0; }
	.fg-filterbar { flex-direction: column; align-items: stretch; gap: 10px; padding-bottom: 12px; margin-bottom: 16px; }
	.fg-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
	.fg-chips::-webkit-scrollbar { display: none; }
	.fg-sort select { width: 100%; }

	/* Ficha móvil con barra de compra fija */
	.fg-product { padding-top: 14px; padding-bottom: 120px; }
	.fg-product__grid { grid-template-columns: 1fr; gap: 18px; }
	.fg-gallery { position: static; margin: 0 calc(var(--pad) * -1); }
	.fg-gallery__main { border-radius: 0; }
	.fg-gallery__thumbs { padding: 0 var(--pad); }
	.fg-gallery__thumbs button { width: 64px; height: 64px; }
	.fg-product__title { font-size: 30px; }
	.fg-product__price > span { font-size: 24px; }
	.fg-buy form.cart:not(.variations_form), .fg-buy .woocommerce-variation-add-to-cart { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; background: var(--card); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(36,48,41,.08); }
	.fg-buy form.cart { flex-wrap: nowrap; }
	.fg-buy .single_add_to_cart_button { min-height: 52px; padding: 0 16px; }

	/* Carrito / checkout móvil */
	.woocommerce-cart .fg-page__content > .woocommerce { display: block; }
	.woocommerce-cart .cart-collaterals { position: static; margin-top: 20px; }
	table.shop_table.cart tr.cart_item { grid-template-columns: 70px minmax(0, 1fr) 30px; grid-template-areas: "thumb name rem" "thumb price price" "thumb qty sub"; row-gap: 6px; column-gap: 13px; padding: 14px 0; }
	td.product-thumbnail img { width: 70px; height: 70px; }
	td.product-name { font-size: 14px; }
	td.product-quantity { justify-self: start; }
	.coupon { flex: 1; }
	#coupon_code { flex: 1; width: auto; }
	form.checkout { display: block; }
	#order_review { position: static; }
	#order_review_heading { margin-top: 20px; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.form-row-first, .form-row-last { grid-column: 1; }
	.fg-steps { grid-template-columns: 1fr; }
	.fg-thanks .fg-h2 { font-size: 32px; }
	.woocommerce-account .fg-page__content > .woocommerce { grid-template-columns: 1fr; gap: 20px; }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }

	.fg-footer { margin-top: 14px; }
	.fg-footer__tagline { font-size: 16px; padding: 30px 22px 22px; }
	.fg-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; padding-top: 22px; }
	.fg-footer__brand { grid-column: 1 / -1; }
	.fg-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
	.fg-matlinks { flex-wrap: wrap; }
	.fg-hero__title { font-size: 36px; }
}

/* Ajustes de fidelidad al prototipo */
.fg-show-sm { display: none; }
.fg-lang span { color: #7f8a7f; font-weight: 700; }
.fg-section__head--base { align-items: baseline; }
.fg-h2--insta { font-size: 30px; }
@media (max-width: 900px) {
	.fg-show-sm { display: block; }
	.fg-show-lg { display: none; }
	.fg-hero .fg-btn--ghost { display: none; }
	.fg-hero .fg-btn { padding: 0 26px; font-size: 15px; }
	.fg-h2--insta { font-size: 22px; }
	.fg-section__head--base { margin-bottom: 12px; }
	.fg-insta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.fg-header__icons .fg-icon-btn { width: 36px; }
	.fg-header__inner { padding: 8px 12px 12px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
