/*
Theme Name: Graficon Store
Theme URI: https://example.com/graficon-store
Author: Graficon
Author URI: https://example.com
Description: Tema original para una tienda de impresión, publicidad, gran formato y productos personalizados. Compatible con WooCommerce, Gutenberg y constructores visuales.
Version: 1.6.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: graficon-store
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/
:root {
  --red: #e21d2f;
  --red-dark: #b90f20;
  --green: #25a85a;
  --green-dark: #13753a;
  --black: #111317;
  --ink: #20242b;
  --muted: #6c737f;
  --line: #e5e7eb;
  --soft: #f5f6f8;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(17, 19, 23, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Montserrat, Arial, sans-serif; color: var(--ink); background: var(--white); }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.topbar { background: var(--black); color: #d7d9dd; font-size: 12px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 20px; }
.topbar nav { display: flex; gap: 22px; align-items: center; }
.topbar a:hover, .link-button:hover { color: var(--white); }
.link-button { background: none; border: 0; color: inherit; padding: 0; }
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); box-shadow: 0 2px 12px rgba(0,0,0,.05); backdrop-filter: blur(12px); }
.header__main { display: grid; grid-template-columns: 260px minmax(260px, 1fr) auto; align-items: center; gap: 30px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--red); color: white; font-weight: 800; font-size: 26px; transform: skew(-8deg); }
.brand strong { display: block; letter-spacing: .08em; font-size: 20px; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--soft); transition: .2s; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(226,29,47,.10); background: white; }
.search input { width: 100%; border: 0; outline: 0; background: transparent; padding: 14px 18px; }
.search button { width: 52px; border: 0; background: var(--red); color: white; font-size: 24px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.contact-pill { padding-right: 16px; border-right: 1px solid var(--line); }
.contact-pill span, .contact-pill strong { display: block; }
.contact-pill span { font-size: 10px; text-transform: uppercase; color: var(--muted); }
.contact-pill strong { margin-top: 4px; font-size: 13px; }
.icon-button { position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 20px; }
.icon-button span { position: absolute; top: -6px; right: -4px; min-width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: white; font-size: 10px; font-weight: 700; }
.nav-wrap { border-top: 1px solid var(--line); }
.nav-layout { min-height: 54px; display: grid; grid-template-columns: 235px 1fr auto; align-items: center; gap: 28px; }
.catalog-button { align-self: stretch; border: 0; background: var(--red); color: white; padding: 0 20px; font-weight: 700; text-align: left; }
.catalog-button span { margin-right: 10px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
.main-nav a:hover { color: var(--red); }
.nav-cta { color: var(--green); font-size: 12px; font-weight: 800; }
.nav-cta:hover { color: var(--green-dark); }
.catalog-panel { position: absolute; left: 0; right: 0; background: white; border-top: 1px solid var(--line); box-shadow: var(--shadow); }
.catalog-panel__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 22px; }
.catalog-panel a { border: 1px solid var(--line); padding: 15px; border-radius: 10px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.catalog-panel a:hover { border-color: var(--red); color: var(--red); }
.hero { background: linear-gradient(180deg,#f7f8fa 0%,#fff 100%); padding: 28px 0 18px; }
.hero__grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.hero-card { border-radius: 22px; overflow: hidden; }
.hero-card--main { grid-row: span 2; min-height: 470px; position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; padding: 52px; background: radial-gradient(circle at 75% 20%,rgba(226,29,47,.22),transparent 28%),linear-gradient(135deg,#15171b,#262b33); color: white; }
.hero-card__content { position: relative; z-index: 2; }
.eyebrow { display: inline-block; color: var(--red); font-weight: 800; letter-spacing: .14em; font-size: 10px; }
.hero-card .eyebrow { color: #ff6675; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin: 14px 0 18px; font-size: clamp(36px,5vw,60px); line-height: 1.02; letter-spacing: -.045em; }
.hero-card p { max-width: 620px; color: #cbd0d8; line-height: 1.7; font-size: 15px; }
.hero-card__buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 12px; }
.button--primary { background: var(--red); color: white; }
.button--primary:hover { background: var(--red-dark); }
.button--secondary { background: var(--green); color: white; }
.button--secondary:hover { background: var(--green-dark); }
.button--ghost { border-color: rgba(255,255,255,.35); color: white; }
.button--light { background: white; color: var(--black); }
.button--outline { border-color: var(--line); background: white; color: var(--ink); }
.button--full { width: 100%; }
.hero-visual { min-height: 320px; position: relative; }
.display { position: absolute; bottom: 24px; display: block; border-radius: 10px 10px 6px 6px; background: linear-gradient(145deg,#fff,#dfe3e9); box-shadow: 0 25px 45px rgba(0,0,0,.35); }
.display::before { content:""; position:absolute; inset:10px; border-radius:6px; background: linear-gradient(155deg,var(--red),#ff7e8a); }
.display::after { content:"GRAFICON"; position:absolute; inset:0; display:grid; place-items:center; color:white; font-size:12px; font-weight:800; letter-spacing:.12em; }
.display--1 { width: 135px; height: 255px; left: 16px; transform: rotate(-7deg); }
.display--2 { width: 150px; height: 300px; left: 105px; z-index: 2; }
.display--3 { width: 120px; height: 220px; right: -8px; transform: rotate(8deg); }
.promo-card { border-radius: 22px; padding: 34px; color: white; display: flex; flex-direction: column; justify-content: center; min-height: 225px; }
.promo-card--red { background: linear-gradient(135deg,var(--red),#ff6473); }
.promo-card--dark { background: linear-gradient(135deg,#2c3139,#111317); }
.promo-card span { font-size: 10px; letter-spacing: .15em; font-weight: 700; opacity: .8; }
.promo-card h2 { margin: 10px 0; font-size: 29px; }
.promo-card p { opacity: .8; font-size: 13px; line-height: 1.6; }
.promo-card a { margin-top: 12px; font-size: 12px; font-weight: 800; }
.benefits { border-block: 1px solid var(--line); }
.benefits__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.benefits article { display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 18px; border-right: 1px solid var(--line); }
.benefits article:last-child { border-right: 0; }
.benefits article > span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(226,29,47,.09); color: var(--red); font-weight: 800; }
.benefits strong, .benefits small { display: block; }
.benefits strong { font-size: 12px; }
.benefits small { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.section { padding: 86px 0; }
.section--soft { background: var(--soft); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.section-heading h2, .about-grid h2, .split-banner h2, .newsletter h2 { margin: 8px 0 0; font-size: clamp(28px,3vw,42px); letter-spacing: -.035em; }
.section-heading > a { color: var(--red); font-size: 12px; font-weight: 700; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.category-card { min-height: 180px; padding: 24px; text-align: left; border: 1px solid var(--line); background: white; border-radius: var(--radius); transition: .25s; }
.category-card:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: var(--shadow); }
.category-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--red); }
.category-card__icon svg { width: 28px; height: 28px; }
.category-card strong, .category-card small { display: block; }
.category-card strong { margin-top: 22px; font-size: 15px; }
.category-card small { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); background: white; padding: 10px 14px; border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 600; }
.filter.is-active, .filter:hover { background: var(--black); color: white; border-color: var(--black); }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.product-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; transition: .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__media { min-height: 245px; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#fafafa,#eceff3); }
.product-card__media::before { content:""; width: 118px; height: 170px; border-radius: 9px; background: linear-gradient(145deg,#fff,#d9dde3); box-shadow: 0 22px 35px rgba(0,0,0,.15); }
.product-card__media::after { content:attr(data-label); position:absolute; width:92px; min-height:136px; display:grid; place-items:center; text-align:center; padding:8px; border-radius:5px; background:linear-gradient(145deg,var(--accent,#e21d2f),#ff7a88); color:white; font-size:10px; line-height:1.4; font-weight:800; letter-spacing:.08em; }
.product-card__badge { position: absolute; top: 13px; left: 13px; z-index: 2; padding: 7px 9px; border-radius: 999px; background: var(--red); color: white; font-size: 9px; font-weight: 800; }
.product-card__wish { position: absolute; top: 12px; right: 12px; z-index: 2; width: 35px; height: 35px; border-radius: 50%; border: 1px solid var(--line); background: white; font-size: 19px; }
.product-card__wish.is-active { background: var(--red); color: white; border-color: var(--red); }
.product-card__body { padding: 19px; }
.product-card__category { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.product-card h3 { margin: 8px 0 10px; font-size: 14px; line-height: 1.4; min-height: 40px; }
.product-card__price { font-size: 17px; color: var(--red); font-weight: 800; }
.product-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 10px; }
.add-cart { flex: 1; min-height: 39px; border: 0; border-radius: 999px; background: var(--black); color: white; font-size: 10px; font-weight: 800; }
.add-cart:hover { background: var(--red); }
.empty-state { text-align: center; color: var(--muted); padding: 30px; }
.split-banner { padding: 75px 0; background: linear-gradient(135deg,var(--red-dark),var(--red)); color: white; }
.split-banner__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.split-banner .eyebrow { color: #ffd4d8; }
.split-banner p { margin: 20px 0 28px; max-width: 640px; color: #ffe8ea; line-height: 1.8; }
.process-card { padding: 28px; border-radius: 20px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.process-card > div { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.process-card > div:last-child { border-bottom: 0; }
.process-card span { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: white; color: var(--red); font-weight: 800; }
.process-card strong { font-size: 13px; }
.process-card small { margin-top: 5px; color: #ffe5e7; line-height: 1.45; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-grid p { color: var(--muted); line-height: 1.85; }
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.stats article { padding: 25px; border-radius: var(--radius); background: var(--soft); }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--red); font-size: 28px; }
.stats span { margin-top: 8px; color: var(--muted); font-size: 11px; }
.newsletter { padding: 55px 0; background: var(--black); color: white; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.newsletter form { display: flex; padding: 6px; border-radius: 999px; background: white; }
.newsletter input { flex: 1; border: 0; outline: 0; padding: 0 18px; min-width: 0; }
.footer { padding: 65px 0 25px; background: #0b0d10; color: #c9cdd3; }
.footer-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid #25282e; }
.footer-contact__eyebrow { display: inline-block; margin-bottom: 12px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.footer-contact h2 { margin: 0; max-width: 560px; color: #fff; font-size: clamp(28px,3vw,42px); line-height: 1.1; letter-spacing: -.035em; }
.footer-contact__intro > p { max-width: 590px; margin: 20px 0 0; color: #969da7; font-size: 13px; line-height: 1.8; }
.footer-contact__direct { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; }
.footer-contact__direct a { color: #fff; font-size: 12px; font-weight: 700; }
.footer-contact__direct a:hover { color: var(--green); }
.footer-contact__form-wrap { padding: 28px; border: 1px solid #292d34; border-radius: 18px; background: #12151a; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { min-width: 0; }
.contact-field--full { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: 7px; color: #d9dde3; font-size: 11px; font-weight: 700; }
.contact-field input, .contact-field textarea { width: 100%; border: 1px solid #313640; border-radius: 10px; outline: none; background: #0c0f13; color: #fff; font: inherit; font-size: 12px; }
.contact-field input { min-height: 48px; padding: 0 14px; }
.contact-field textarea { min-height: 132px; padding: 13px 14px; resize: vertical; line-height: 1.6; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #666e79; }
.contact-field input:focus, .contact-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,168,90,.12); }
.button--contact { margin-top: 18px; border: 0; background: var(--green); color: #fff; cursor: pointer; }
.button--contact:hover { background: var(--green-dark); }
.contact-notice { margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; font-size: 11px; line-height: 1.6; }
.contact-notice--success { border: 1px solid rgba(37,168,90,.45); background: rgba(37,168,90,.12); color: #b9f2cf; }
.contact-notice--error { border: 1px solid rgba(226,29,47,.48); background: rgba(226,29,47,.12); color: #ffc3c9; }
.contact-form__honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.footer__logo .custom-logo-link { display: inline-flex; align-items: center; }
.footer__logo .custom-logo { width: auto; height: auto; max-width: 220px; max-height: 72px; object-fit: contain; }
.footer__logo + p { margin-top: 18px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 50px; }
.brand--footer { color: white; }
.footer p { color: #8f96a1; line-height: 1.8; font-size: 12px; }
.footer h3 { color: white; font-size: 13px; margin-bottom: 19px; }
.footer__grid > div > a:not(.brand) { display: block; margin: 11px 0; color: #9aa1ab; font-size: 11px; }
.footer__grid > div > a:hover { color: white; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid #25282e; color: #707782; font-size: 10px; }
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.48); opacity: 0; transition: .25s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; width: min(440px,100%); height: 100%; display: flex; flex-direction: column; background: white; transform: translateX(100%); transition: .3s; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__header { display: flex; justify-content: space-between; padding: 26px; border-bottom: 1px solid var(--line); }
.drawer__header small { color: var(--red); font-size: 9px; letter-spacing: .16em; }
.drawer__header h2 { margin: 5px 0 0; }
.drawer__header button, .modal__close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); font-size: 24px; }
.drawer__items { flex: 1; overflow: auto; padding: 18px 26px; }
.cart-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-item__thumb { width: 58px; height: 67px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); color: var(--red); font-weight: 800; }
.cart-item strong { font-size: 11px; display: block; }
.cart-item small { display: block; margin-top: 5px; color: var(--muted); }
.cart-item button { border: 0; background: none; color: var(--red); }
.drawer__footer { padding: 22px 26px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; }
.drawer__footer .button + .button { margin-top: 9px; }
.modal { width: min(480px,calc(100% - 30px)); border: 0; border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(0,0,0,.55); }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal p { color: var(--muted); line-height: 1.6; font-size: 12px; }
.modal label { display: block; margin: 15px 0; font-size: 11px; font-weight: 700; }
.modal input { width: 100%; margin-top: 7px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 150; transform: translate(-50%,30px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: var(--black); color: white; font-size: 11px; transition: .25s; }
.toast.is-visible { transform: translate(-50%,0); opacity: 1; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: white; font-size: 12px; font-weight: 800; box-shadow: 0 10px 25px rgba(0,0,0,.18); }
.whatsapp-float:hover { background: var(--green-dark); transform: translateY(-2px); }
.mobile-nav { display: none; }
@media (max-width: 1040px) {
  .header__main { grid-template-columns: 230px 1fr auto; gap: 16px; }
  .contact-pill { display: none; }
  .nav-layout { grid-template-columns: 220px 1fr; }
  .nav-cta { display: none; }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .category-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 820px) {
  body { padding-bottom: 64px; }
  .topbar { display: none; }
  .header { position: relative; }
  .header__main { grid-template-columns: 1fr auto; min-height: 78px; }
  .header__actions .icon-button:first-of-type { display: none; }
  .search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 14px; }
  .nav-wrap { display: none; }
  .hero__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .hero-card--main { grid-column: 1 / -1; grid-row: auto; min-height: 440px; padding: 38px; }
  .benefits__grid { grid-template-columns: repeat(2,1fr); }
  .benefits article:nth-child(2) { border-right: 0; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .split-banner__grid, .about-grid, .newsletter__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-contact { grid-template-columns: 1fr; gap: 34px; }
  .footer__grid { grid-template-columns: repeat(2,1fr); }
  .mobile-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4,1fr); min-height: 64px; background: white; border-top: 1px solid var(--line); box-shadow: 0 -8px 25px rgba(0,0,0,.07); }
  .mobile-nav a, .mobile-nav button { border: 0; background: white; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 9px; }
  .mobile-nav span { color: var(--ink); font-size: 17px; }
  .whatsapp-float { bottom: 80px; }
  .toast { bottom: 82px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px,1180px); }
  .brand__mark { width: 41px; height: 41px; }
  .brand strong { font-size: 16px; }
  .header__actions { gap: 5px; }
  .hero { padding-top: 12px; }
  .hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-card--main { grid-template-columns: 1fr; min-height: 520px; padding: 29px; }
  h1 { font-size: 38px; }
  .hero-visual { min-height: 205px; margin-top: 18px; }
  .display--1 { width: 90px; height: 165px; left: 10px; }
  .display--2 { width: 105px; height: 195px; left: 35%; }
  .display--3 { width: 80px; height: 145px; right: 0; }
  .promo-card { min-height: 185px; padding: 28px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefits article { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 60px 0; }
  .section-heading { align-items: flex-start; }
  .section-heading--stack-mobile { flex-direction: column; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { min-height: 156px; padding: 17px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card__media { min-height: 290px; }
  .footer-contact { margin-bottom: 44px; padding-bottom: 44px; }
  .footer-contact__form-wrap { padding: 20px; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-field--full { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .newsletter form { flex-direction: column; border-radius: 14px; background: transparent; padding: 0; gap: 10px; }
  .newsletter input { min-height: 48px; border-radius: 999px; }
}

/* WordPress integration */
.admin-bar .header { top: 32px; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 9999; padding: 12px 18px; background: var(--black); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-width: 220px; max-height: 68px; width: auto; height: auto; }
.site-main { min-height: 45vh; }
.content-area { padding: 70px 0; }
.entry-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 22px; }
.entry-title { margin-bottom: 18px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
.entry-content { line-height: 1.75; }
.entry-content > * { max-width: 100%; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-meta { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.pagination, .nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.page-numbers { min-width: 40px; min-height: 40px; padding: 8px 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; }
.page-numbers.current { background: var(--red); color: #fff; border-color: var(--red); }
.main-nav .menu { display: flex; list-style: none; padding: 0; margin: 0; gap: 28px; }
.main-nav .menu-item { position: relative; }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; padding: 12px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.main-nav .menu-item:hover > .sub-menu, .main-nav .menu-item:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { display: block; padding: 10px 12px; }
.mobile-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 50%; }
.catalog-panel[hidden] { display: none !important; }
.catalog-panel__grid a small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; }
.catalog-link__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 40px; background: var(--soft); color: var(--red); }
.catalog-link__icon svg { width: 22px; height: 22px; }
.catalog-link__text { display: block; }
.catalog-link__text small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; }
.category-card { display: block; color: inherit; }
.category-card__image { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; background: var(--soft); border: 1px solid var(--line); display: block; }
.category-card:hover .category-card__image { transform: scale(1.035); transition: transform .25s ease; }
.catalog-link__image { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: 0 0 40px; border: 1px solid var(--line); background: var(--soft); }
.hero-card__content { max-width: 700px; }
.front-page-content { padding: 70px 0; }
.front-page-content:empty { display: none; }
.notice-strip { border-top: 1px solid var(--line); padding: 14px 0; text-align: center; font-size: 12px; color: var(--muted); }
.newsletter__button { flex: none; background: var(--green); }
.newsletter__button:hover { background: var(--green-dark); }
.footer .widget { margin-bottom: 20px; }
.footer .widget-title { color: #fff; font-size: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.search .search-field { width: 100%; }
.search .woocommerce-product-search { width: 100%; display: flex; }
.search .woocommerce-product-search button { width: auto; min-width: 110px; padding-inline: 18px; font-size: 11px; font-weight: 800; }
.cart-link { display: grid; place-items: center; }
.account-link { display: grid; place-items: center; font-size: 18px; }

/* WooCommerce */
.woocommerce-page .site-main, .woocommerce .site-main { min-height: 55vh; }
.woocommerce-shell { padding: 70px 0; background: var(--soft); }
.woocommerce-shell .woocommerce { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto; float: none; margin: 0; padding: 0 0 22px; position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: .25s; }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a img { margin: 0 0 18px; aspect-ratio: 1 / 1; object-fit: cover; background: linear-gradient(145deg,#fafafa,#eceff3); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 20px; font-size: 14px; line-height: 1.45; min-height: 42px; }
.woocommerce ul.products li.product .price { padding: 0 20px; color: var(--black); font-size: 16px; font-weight: 800; }
.woocommerce ul.products li.product .button { margin: 12px 20px 0; min-height: 42px; border-radius: 999px; background: var(--red); color: #fff; }
.woocommerce ul.products li.product .button:hover { background: var(--red-dark); }
.woocommerce span.onsale { min-width: auto; min-height: auto; line-height: 1; padding: 8px 11px; top: 12px; left: 12px; right: auto; border-radius: 999px; background: var(--red); font-size: 10px; }
.woocommerce div.product { background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.woocommerce div.product .product_title { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--red); font-size: 24px; font-weight: 800; }
.woocommerce div.product form.cart .button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--red); border-radius: 999px; min-height: 46px; }
.woocommerce div.product form.cart .button:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--red-dark); }
.woocommerce .quantity .qty { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; }
.woocommerce-tabs, .related.products, .upsells.products { margin-top: 55px; }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single { min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--red); background: #fff; border-radius: 10px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--red); }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order, .woocommerce-account .woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: var(--red); font-weight: 800; }
.wc-block-cart, .wc-block-checkout { max-width: 1180px; margin-inline: auto; }

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 22px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; }
.comment-form input, .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.comment-form .submit { width: auto; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; }

@media (max-width: 1000px) {
  .admin-bar .header { top: 46px; }
  .mobile-menu-toggle { display: inline-grid; place-items: center; }
  .header__main { grid-template-columns: 1fr auto auto; }
  .header__main .search { grid-column: 1 / -1; order: 3; margin-bottom: 16px; }
  .header__actions .contact-pill { display: none; }
  .nav-layout { grid-template-columns: 1fr auto; }
  .catalog-button { min-height: 54px; }
  .main-nav { display: none; grid-column: 1 / -1; padding: 18px 0; }
  .main-nav.is-open { display: block; }
  .main-nav .menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav .menu a { display: block; padding: 10px 0; }
  .main-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: 18px; }
  .nav-cta { display: none; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .container { width: min(100% - 24px, 1180px); }
  .topbar nav { display: none; }
  .topbar__inner { justify-content: center; }
  .header__main { gap: 8px; min-height: 74px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand small { display: none; }
  .brand strong { font-size: 16px; }
  .custom-logo { max-width: 150px; max-height: 52px; }
  .header__actions { gap: 4px; }
  .icon-button { width: 38px; height: 38px; }
  .catalog-panel__grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .woocommerce div.product { padding: 18px; }
  .content-area { padding: 45px 0; }
  .entry-card { padding: 20px; }
}


/* Editable home page (Gutenberg / Elementor) */
.front-page-editor-content { overflow: hidden; }
.front-page-editor-content > .elementor { width: 100%; }
.front-page-editor-content .alignfull { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
.front-page-editor-content .alignwide { width: min(1180px, calc(100% - 40px)); max-width: 1180px; margin-left: auto; margin-right: auto; }
.gfs-editor-hero { padding: 72px 20px; background: radial-gradient(circle at 75% 20%, rgba(226,29,47,.18), transparent 28%), linear-gradient(135deg,#f7f8fa,#ffffff); }
.gfs-editor-hero > .wp-block-group__inner-container,
.gfs-editor-section > .wp-block-group__inner-container,
.gfs-editor-cta > .wp-block-group__inner-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.gfs-editor-hero h1 { margin-top: 10px; max-width: 760px; font-size: clamp(40px,5vw,68px); line-height: 1.02; }
.gfs-editor-hero p:not(.eyebrow) { max-width: 700px; color: var(--muted); line-height: 1.75; }
.gfs-editor-promo { min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; padding: 38px; border-radius: 22px; background: linear-gradient(135deg,var(--red-dark),var(--red)); color: #fff; box-shadow: var(--shadow); }
.gfs-editor-promo .eyebrow { color: #ffd5d9; }
.gfs-editor-promo p:not(.eyebrow) { color: #ffe8ea; }
.gfs-editor-section { padding: 76px 20px; }
.gfs-editor-section--soft { background: var(--soft); }
.gfs-editor-section h2 { margin-top: 8px; font-size: clamp(30px,4vw,46px); }
.gfs-editor-cta { padding: 72px 20px; background: linear-gradient(135deg,var(--red-dark),var(--red)); color: #fff; }
.gfs-editor-cta .eyebrow { color: #ffd5d9; }
.gfs-editor-cta p:not(.eyebrow) { color: #ffe8ea; line-height: 1.75; }
.gfs-editor-cta .wp-block-button__link { background: #fff; color: var(--red); }
.front-page-editor-content .wp-block-button__link { border-radius: 999px; padding: 14px 24px; font-weight: 800; }
.front-page-editor-content .is-style-outline .wp-block-button__link { border: 1px solid var(--red); color: var(--red); background: transparent; }
@media (max-width: 782px) {
  .gfs-editor-hero { padding: 52px 12px; }
  .gfs-editor-section, .gfs-editor-cta { padding: 58px 12px; }
  .gfs-editor-cta .wp-block-buttons { justify-content: flex-start !important; }
}
