/*
Theme Name: Papelera Puerto
Theme URI: https://papelerapuerto.com
Author: Papelera Puerto
Description: Tema de la tienda online de Papelera Puerto (Mar del Plata), con soporte para WooCommerce.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: papelera-puerto
Tags: e-commerce, woocommerce, custom-logo, custom-menu
*/

/* ==========================================================================
   Variables de marca
   ========================================================================== */
:root {
	--orange: #FF6501;
	--orange-dark: #C2410C;
	--orange-light: #FFF1E6;
	--blue: #225296;
	--blue-dark: #173B6E;
	--blue-light: #E6EDF7;
	--blue-line: #B9CBE4;
	--ink: #13233A;
	--muted: #5A6475;
	--line: #EEF0F4;
	--line-strong: #E3E5EE;
	--soft: #F4F5F8;
	--panel: #F7F7FB;
	--ok-bg: #E7F6EC;
	--ok: #14532D;
	--radius: 22px;
	--radius-lg: 28px;
	--font-display: 'Baloo 2', system-ui, sans-serif;
	--font-body: 'Nunito', system-ui, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: #FFFFFF;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.page-pad { padding-top: 24px; padding-bottom: 64px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; }
.skip-link:focus { left: 8px; }
.icon { flex: none; }

/* Botones */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
	font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .1s ease, filter .15s ease;
}
.btn:hover { filter: brightness(.96); }
.btn:active { transform: translateY(1px); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-dark:hover { color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 2px solid var(--line-strong); }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1.4; }
.badge-sale { background: var(--blue); color: #fff; }

/* ==========================================================================
   Encabezado
   ========================================================================== */
.topbar { background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; padding-top: 8px; padding-bottom: 8px; }

.site-header { background: #fff; }
.header-main { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { width: 72px; height: 72px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.brand-tag { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 4px; }

.search-form {
	flex: 1 1 320px; display: flex; align-items: center;
	border: 2px solid var(--blue); border-radius: 999px; padding: 4px 4px 4px 20px; background: #fff;
}
.search-form input[type="search"] { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; font-size: 17px; background: transparent; }
.search-btn { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.account-link { min-height: 48px; padding: 0 12px; display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; }
.cart-link { position: relative; width: 52px; height: 52px; border-radius: 999px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.cart-link:hover { color: #fff; background: var(--blue-dark); }
.cart-count {
	position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px;
	border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 13px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.cart-count[data-count="0"] { display: none; }

.cat-nav { padding-bottom: 12px; }
.cat-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-list a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.cat-nav-list a:hover, .cat-nav-list .current-menu-item > a { background: var(--orange-light); }
.cat-nav-list a.is-all, .cat-nav-list li:first-child > a { background: var(--orange-light); font-weight: 800; }

.notices:empty { display: none; }

/* ==========================================================================
   Inicio
   ========================================================================== */
.hero-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero {
	flex: 2 1 560px; min-height: 400px; position: relative; overflow: hidden;
	border-radius: var(--radius-lg); background: var(--orange); color: var(--ink);
	padding: 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px;
}
.hero-rings { position: absolute; right: -90px; bottom: -120px; width: 420px; height: 420px; opacity: .18; fill: none; stroke: #fff; stroke-width: 6; }
.hero-kicker { background: #fff; color: var(--blue); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.hero-title { font-size: clamp(40px, 6vw, 64px); line-height: .95; max-width: 540px; margin: 0; position: relative; }
.hero-text { margin: 0; font-size: 19px; font-weight: 700; max-width: 440px; position: relative; }

.hero-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.promo { flex: 1; min-height: 192px; border-radius: var(--radius-lg); padding: 28px; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.promo-blue { background: var(--blue); color: #fff; }
.promo-blue:hover { color: #fff; }
.promo-cream { background: var(--orange-light); color: var(--ink); }
.promo-cream:hover { color: var(--ink); }
.promo-kicker { font-size: 14px; font-weight: 800; }
.promo-blue .promo-kicker { opacity: .85; }
.promo-cream .promo-kicker { color: var(--orange-dark); }
.promo-title { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; }
.promo-more { font-weight: 700; text-decoration: underline; }

.perks {
	margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px;
	padding: 16px; border-radius: 24px; border: 2px dashed var(--blue-line);
}
.perk { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; line-height: 1.3; }
.perk:hover { color: var(--ink); }
.perk strong { display: block; }
.perk small { color: var(--muted); font-size: 14px; }
.perk-icon { flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.perk-icon-orange { background: var(--orange-light); color: var(--orange-dark); }

.section { padding-top: 40px; padding-bottom: 8px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.section-title { font-size: 36px; margin: 0 0 20px; }
.section-head .section-title { margin: 0; }
.section-more { font-weight: 800; }

.cat-circles { list-style: none; margin: 0; padding: 0 0 8px; display: flex; gap: 20px; overflow-x: auto; }
.cat-circles a { width: 128px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--ink); text-decoration: none; }
.cat-circle { width: 112px; height: 112px; border-radius: 999px; border: 4px solid var(--blue); background: var(--orange-light); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform .15s ease; }
.cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-circles a:hover .cat-circle { transform: scale(1.04); }
.cat-name { font-weight: 800; font-size: 15px; line-height: 1.2; }

.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding-bottom: 56px; }
.feature { min-height: 180px; border-radius: var(--radius-lg); padding: 28px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; font-weight: 700; }
.feature-title { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; }
.feature-dark { background: var(--ink); color: #fff; }
.feature-dark:hover { color: #fff; }
.feature-cream { background: var(--orange-light); color: var(--ink); }
.feature-cream:hover { color: var(--ink); }
.feature-blue-light { background: var(--blue-light); color: var(--ink); }
.feature-blue-light:hover { color: var(--ink); }

/* ==========================================================================
   Tarjetas de producto (grilla y carruseles)
   ========================================================================== */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
ul.products::before, ul.products::after { display: none !important; }
ul.products.rail { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
ul.products.rail > li.card { flex: 0 0 236px; width: 236px !important; scroll-snap-align: start; }

ul.products li.card {
	position: relative; margin: 0 !important; width: auto !important; float: none !important;
	padding: 12px; border-radius: var(--radius); background: #fff; border: 2px solid var(--line);
	display: flex; flex-direction: column; gap: 8px;
}
.card-badge { position: absolute; top: 20px; left: 20px; z-index: 1; }
.card-img { display: block; aspect-ratio: 1 / 1; border-radius: 16px; background: var(--soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; margin: 0 !important; }
.card-name { color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.3; min-height: 42px; }
.card-name:hover { color: var(--blue); }
.card-price { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1; color: var(--ink); }
.card-price del { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--muted); opacity: 1; }
.card-price ins { text-decoration: none; }
.card-out { font-weight: 700; color: var(--muted); padding: 10px 0; }
.card-add { display: flex; gap: 8px; align-items: center; margin-top: auto; }
.btn-add { flex: 1; min-height: 44px; padding: 0 12px; margin-top: auto; }

.qty { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qty-btn { width: 34px; height: 40px; border: 0; background: transparent; font-weight: 800; cursor: pointer; color: var(--ink); }
.qty-input { width: 30px; border: 0; text-align: center; font-weight: 800; background: transparent; -moz-appearance: textfield; padding: 0; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ==========================================================================
   Tienda y categorías
   ========================================================================== */
.shop-band { background: var(--orange-light); }
.shop-band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.shop-band-text { flex: 1 1 400px; }
.shop-title { font-size: clamp(36px, 5vw, 52px); line-height: 1; margin: 6px 0 0; }
.breadcrumb { font-size: 14px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink); margin-bottom: 12px; }
.breadcrumb .sep { color: var(--muted); }
.shop-band .breadcrumb { margin-bottom: 0; }

.chips { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; }
.chip { padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.chip.is-active { background: var(--ink); color: #fff; font-weight: 800; }
.chip:hover { color: var(--ink); background: var(--blue-light); }
.chip.is-active:hover { color: #fff; background: var(--ink); }

.shop-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 28px; padding-bottom: 64px; }
.shop-filters { flex: 1 1 250px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; padding: 22px; border-radius: 24px; background: var(--panel); }
.filter-title { font-size: 20px; margin-bottom: 8px; }
.shop-results { flex: 999 1 560px; min-width: 0; }

.woocommerce-result-count { margin: 0 0 16px; font-weight: 700; color: var(--muted); float: left; line-height: 44px; }
.woocommerce-ordering { margin: 0 0 20px; float: right; }
.woocommerce-ordering select { height: 44px; padding: 0 14px; border: 2px solid var(--line-strong); border-radius: 999px; font-weight: 700; background: #fff; }
.shop-results ul.products { clear: both; }

.woocommerce-pagination { margin-top: 28px; text-align: center; }
.woocommerce-pagination ul.page-numbers { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; gap: 8px; border: 0 !important; }
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span {
	min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line-strong);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); text-decoration: none; background: #fff;
}
.woocommerce-pagination .page-numbers span.current { background: var(--blue); border-color: var(--blue); color: #fff; }

.woocommerce-info, .woocommerce-message, .woocommerce-error {
	list-style: none; margin: 0 0 20px; padding: 14px 20px; border-radius: 18px; border: 0;
	background: var(--blue-light); color: var(--ink); font-weight: 700;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none; }
.woocommerce-error { background: #FDECEC; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

/* ==========================================================================
   Ficha de producto
   ========================================================================== */
.single-product div.product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; position: relative; }
.single-product div.product .woocommerce-product-gallery { flex: 1 1 460px; min-width: 0; width: auto !important; float: none !important; margin: 0 !important; position: relative; }
.single-product div.product .summary { flex: 1 1 420px; width: auto !important; float: none !important; margin: 0 !important; display: flex; flex-direction: column; gap: 14px; }
.single-product div.product > .badge-sale { position: absolute; top: 20px; left: 20px; z-index: 5; }
.woocommerce-product-gallery__wrapper, .woocommerce-product-gallery .flex-viewport { border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.woocommerce-product-gallery__image img { width: 100%; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 16px; background: var(--soft); cursor: pointer; opacity: .7; border: 3px solid transparent; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--blue); }
.woocommerce-product-gallery__trigger { position: absolute; top: 16px; right: 16px; z-index: 5; width: 40px; height: 40px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; }

.summary .product_title { font-size: clamp(32px, 4vw, 46px); line-height: 1; margin: 0; }
.summary .price { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--ink); margin: 0; }
.summary .price del { font-family: var(--font-body); font-size: 18px; color: var(--muted); }
.summary .price ins { text-decoration: none; }
.summary .stock { align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; margin: 0; }
.summary .stock.in-stock { background: var(--ok-bg); color: var(--ok); }
.summary .stock.out-of-stock { background: #FDECEC; color: #8A1C1C; }
.summary .woocommerce-product-details__short-description { color: #4A5568; }

.summary form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 4px 0; }
.summary form.cart .quantity input.qty {
	width: 96px; height: 56px; border: 2px solid var(--line-strong); border-radius: 999px; text-align: center; font-weight: 800; font-size: 18px;
}
.summary form.cart .single_add_to_cart_button, .single_add_to_cart_button.button {
	flex: 1 1 200px; min-height: 56px; border: 0; border-radius: 999px; background: var(--orange) !important; color: var(--ink) !important;
	font-weight: 800; font-size: 18px; cursor: pointer;
}
.summary .variations { border: 0; margin: 0 0 8px; }
.summary .variations th, .summary .variations td { padding: 6px 8px 6px 0; text-align: left; border: 0; }
.summary .variations select { height: 48px; padding: 0 16px; border: 2px solid var(--line-strong); border-radius: 999px; background: #fff; font-weight: 700; min-width: 200px; }
.summary .product_meta { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.summary .product_meta a { color: var(--blue); }

.entrega-box { padding: 20px; border-radius: var(--radius); background: var(--panel); }
.entrega-title { font-size: 20px; margin-bottom: 12px; }
.entrega-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.entrega-list li { display: flex; gap: 12px; align-items: flex-start; }
.entrega-list li .icon { color: var(--blue); margin-top: 2px; }
.entrega-list strong { display: block; }
.entrega-list small { color: var(--muted); font-size: 14px; }
.entrega-extras { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-info { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--blue-light); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.pill-wa { background: var(--orange-light); }
.pill-wa:hover { color: var(--ink); }

.woocommerce-tabs { flex: 1 1 100%; margin-top: 16px; }
.woocommerce-tabs ul.tabs { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 10px 18px; border-radius: 999px; background: var(--panel); color: var(--ink); text-decoration: none; font-weight: 800; }
.woocommerce-tabs ul.tabs li.active a { background: var(--blue); color: #fff; }
.woocommerce-tabs .panel { margin: 0; }
.woocommerce-tabs .panel h2 { font-size: 28px; }
.woocommerce-tabs table.shop_attributes { width: 100%; max-width: 640px; border-collapse: collapse; border-radius: 20px; overflow: hidden; background: var(--panel); }
.woocommerce-tabs table.shop_attributes th, .woocommerce-tabs table.shop_attributes td { padding: 12px 18px; text-align: left; border: 0; }
.woocommerce-tabs table.shop_attributes tr:nth-child(even) { background: #EFEFF6; }

.related.products, .upsells.products { flex: 1 1 100%; margin-top: 24px; }
.related.products > h2, .upsells.products > h2 { font-size: 30px; }

/* ==========================================================================
   Páginas, carrito, checkout y Mi cuenta
   ========================================================================== */
.page-title { font-size: clamp(32px, 4vw, 44px); margin: 8px 0 24px; }
.prose .entry-content { max-width: 760px; }
.prose .entry-content p, .prose .entry-content li { color: #333F52; }

/* Formularios generales */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .input-text {
	min-height: 50px; padding: 0 18px; border: 2px solid var(--line-strong); border-radius: 999px; background: #fff; width: 100%;
}
.woocommerce form .form-row textarea { border-radius: 18px; padding: 12px 18px; }
.woocommerce form .form-row label { font-weight: 700; }

.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
	border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--blue-dark); color: #fff; }
.woocommerce .button.alt, .woocommerce button.button.alt, .checkout-button {
	background: var(--orange) !important; color: var(--ink) !important;
}

/* Bloques de carrito y checkout de WooCommerce */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	border-radius: 999px !important; background: var(--orange) !important; color: var(--ink) !important;
	font-weight: 800 !important; min-height: 54px; border: 0 !important;
}
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input,
.wc-blocks-components-select__select {
	border-radius: 14px !important; border: 2px solid var(--line-strong) !important;
}
.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-sidebar { padding-top: 0; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font-body); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--blue) !important; border-radius: 14px; }

/* Carrito y checkout clásicos (por si se usan los shortcodes) */
.woocommerce table.shop_table { border: 2px solid var(--line); border-radius: var(--radius); border-collapse: separate; overflow: hidden; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--line); }

/* Mi cuenta */
.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.woocommerce-MyAccount-navigation { flex: 1 1 240px; max-width: 100%; padding: 16px; border-radius: 24px; background: var(--panel); float: none !important; width: auto !important; }
.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: 12px 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--blue); color: #fff; font-weight: 800; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--orange-dark); }
.woocommerce-MyAccount-content { flex: 999 1 560px; min-width: 0; float: none !important; width: auto !important; }

/* Ingresar / registrarse */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.u-columns.col2-set { display: flex; flex-wrap: wrap; gap: 24px; }
.u-columns.col2-set .u-column1, .u-columns.col2-set .u-column2 {
	flex: 1 1 400px; float: none !important; width: auto !important; padding: 32px; border-radius: var(--radius-lg);
}
.u-columns.col2-set .u-column1 { border: 2px solid var(--line); }
.u-columns.col2-set .u-column2 { background: var(--orange-light); }
.u-columns.col2-set h2 { font-size: 34px; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; margin-top: 8px; }
.woocommerce-form-register .button { background: var(--orange) !important; color: var(--ink) !important; }

/* Estado vacío y búsquedas */
.empty-state { text-align: center; max-width: 640px; }
.empty-state .btn { margin-top: 12px; }
.post-item { padding: 16px 0; border-bottom: 2px solid var(--line); }

/* ==========================================================================
   Pie de página
   ========================================================================== */
.site-footer { margin-top: 24px; }
.footer-waves { display: block; width: 100%; height: 48px; fill: var(--blue); }
.footer-bg { background: var(--blue); color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; padding-top: 24px; padding-bottom: 32px; }
.footer-brand img { width: 112px; height: 112px; border-radius: 50%; background: #fff; margin-bottom: 12px; }
.footer-brand p { margin: 0; font-weight: 700; }
.footer-title { font-size: 20px; margin-bottom: 10px; color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer-wa { color: #fff; }
.footer-links a:hover, .footer-wa:hover { color: #FFE2CC; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 28px; border-top: 1px solid #3A68A8; font-size: 14px; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; border-radius: 999px;
	background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 20px rgba(19, 35, 58, .25);
}
.wa-float:hover { color: #fff; filter: brightness(.95); }

/* ==========================================================================
   Ajustes sobre los estilos propios de WooCommerce (más específicos)
   ========================================================================== */
.woocommerce ul.products li.product.card,
.woocommerce-page ul.products li.product.card { padding: 12px; margin: 0; width: auto; float: none; }
.woocommerce ul.products li.product.card a img { margin: 0; box-shadow: none; }
.woocommerce ul.products li.product.card .price { color: var(--ink); font-size: 24px; margin: 0; }
.woocommerce span.onsale { display: none; }

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; margin: 0;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del { font-family: var(--font-body); font-size: 18px; color: var(--muted); opacity: 1; margin-right: 6px; }
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins { text-decoration: none; font-weight: 800; }
.woocommerce div.product .stock { align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.woocommerce div.product .stock.in-stock { background: var(--ok-bg); color: var(--ok); }
.woocommerce div.product .stock.out-of-stock { background: #FDECEC; color: #8A1C1C; }
.woocommerce div.product form.cart { margin: 4px 0; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; }

.woocommerce div.product .woocommerce-tabs { width: 100%; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 16px; overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 0; background: none; border-radius: 0; margin: 0; padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 10px 18px; border-radius: 999px; background: var(--panel); color: var(--ink); font-weight: 800;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--blue); color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0 0 24px; }

.woocommerce .woocommerce-breadcrumb { display: none; }
.woocommerce .woocommerce-ordering select { appearance: auto; }

/* ==========================================================================
   Celular
   ========================================================================== */
@media (max-width: 720px) {
	.wrap { padding-inline: 16px; }
	.header-main { gap: 12px; }
	.brand-logo { width: 56px; height: 56px; }
	.brand-name { font-size: 22px; }
	.brand-tag { display: none; }
	.header-actions { margin-left: auto; }
	.account-link span { display: none; }
	.account-link { padding: 0 6px; }
	.header-actions { gap: 4px; }
	.topbar-inner > :not(:first-child) { display: none; }
	.topbar-inner > :first-child::after { content: " · Retiro en el local"; }
	.search-form { order: 3; flex-basis: 100%; }
	.brand { order: 1; }
	.header-actions { order: 2; }
	.hero { padding: 32px 24px; min-height: 340px; }
	.promo { min-height: 150px; }
	.section-title { font-size: 30px; }
	ul.products:not(.rail) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	ul.products.rail > li.card { flex-basis: 200px; width: 200px !important; }
	ul.products li.card { padding: 8px; border-radius: 18px; }
	.card-add { flex-wrap: wrap; }
	.card-add .qty { width: 100%; justify-content: space-between; }
	.card-add .btn-add { width: 100%; }
	.card-price { font-size: 20px; }
	.woocommerce-result-count, .woocommerce-ordering { float: none; }
	.single-product div.product { gap: 24px; }
	.wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
