/* ==========================================================================
   Herramientas RyS — tema hijo de Storefront
   Paleta: negro #141414 · ámbar #FDB913 · texto #1a1a1a · WhatsApp #25D366
   ========================================================================== */

:root{
	--rys-black:#141414;
	--rys-black-2:#1f1f1f;
	--rys-amber:#FDB913;
	--rys-amber-d:#e0a400;
	--rys-text:#1a1a1a;
	--rys-wa:#25D366;
	--rys-wa-d:#1ebe5a;
	--rys-line:#e7e7e7;
	--rys-head:'Oswald',"Arial Narrow",system-ui,sans-serif;
	--rys-display:'Anton',Impact,system-ui,sans-serif;
	--rys-cond:'Barlow Condensed','Oswald',sans-serif;
	--rys-body:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}

/* ---------- base ---------- */
body{ font-family:var(--rys-body); color:var(--rys-text); background:#fff; }
.rys-wrap{ max-width:1200px; margin:0 auto; padding:0 22px; width:100%; box-sizing:border-box; }
a{ text-decoration:none; }
img{ max-width:100%; height:auto; }

/* La portada va a ancho completo; cada sección maneja su propio contenedor */
body.home #content .col-full,
body.page-template #content .col-full{ max-width:100%; margin:0; padding:0; }
body.home #content{ padding:0; }
#content{ margin-top:0; }

/* ---------- botones ---------- */
.rys-btn{
	display:inline-flex; align-items:center; gap:.5em;
	font-family:var(--rys-head); font-weight:700; text-transform:uppercase;
	letter-spacing:.3px; border:0; cursor:pointer; line-height:1;
	padding:15px 26px; border-radius:8px; transition:.15s ease;
}
.rys-btn--amber{ background:var(--rys-amber); color:var(--rys-black); box-shadow:0 4px 0 var(--rys-amber-d); }
.rys-btn--amber:hover{ background:#ffc62b; transform:translateY(-1px); box-shadow:0 5px 0 var(--rys-amber-d); color:var(--rys-black); }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.rys-topbar{ background:var(--rys-black); color:#f2f2f2; font-size:13.5px; }
.rys-topbar__inner{ display:flex; align-items:center; justify-content:space-between; min-height:40px; }
.rys-topbar__claims{ display:flex; gap:30px; margin:0; padding:0; list-style:none; flex-wrap:wrap; }
.rys-topbar__claims li{ display:flex; align-items:center; gap:8px; font-weight:500; }
.rys-topbar__claims .rys-ico{ color:var(--rys-amber); font-size:15px; }
.rys-topbar__social{ display:flex; gap:12px; }
.rys-topbar__social a{ color:#fff; display:inline-flex; opacity:.9; transition:.15s; }
.rys-topbar__social a:hover{ color:var(--rys-amber); opacity:1; }

/* ==========================================================================
   MASTHEAD (logo + buscador + carrito)
   ========================================================================== */
.rys-masthead{ background:#fff; border-bottom:1px solid var(--rys-line); }
.rys-masthead__inner{ display:flex; align-items:center; gap:34px; min-height:104px; }
.rys-logo{ flex:0 0 auto; display:block; }
.rys-logo img{ height:62px; width:auto; display:block; }

.rys-search{ flex:1 1 auto; display:flex; max-width:640px; margin:0 auto; }
.rys-search input[type="search"]{
	flex:1 1 auto; height:52px; border:2px solid var(--rys-line); border-right:0;
	border-radius:10px 0 0 10px; padding:0 20px; font-size:16px; font-family:var(--rys-body);
	outline:none; color:var(--rys-text); background:#fff; min-width:0;
}
.rys-search input::placeholder{ color:#9a9a9a; }
.rys-search input:focus{ border-color:var(--rys-amber); }
.rys-search button{
	flex:0 0 auto; width:62px; border:0; background:var(--rys-amber); color:var(--rys-black);
	border-radius:0 10px 10px 0; cursor:pointer; display:flex; align-items:center; justify-content:center;
	transition:.15s;
}
.rys-search button:hover{ background:#ffc62b; }

.rys-cart{ flex:0 0 auto; position:relative; color:var(--rys-black); display:inline-flex; }
.rys-cart:hover{ color:#000; }
.rys-cart-count{
	position:absolute; top:-8px; right:-10px; min-width:21px; height:21px; padding:0 5px;
	background:var(--rys-amber); color:var(--rys-black); border-radius:50%;
	font-family:var(--rys-head); font-weight:700; font-size:12px; line-height:21px; text-align:center;
	box-sizing:border-box;
}

/* ==========================================================================
   NAV BAR
   ========================================================================== */
.rys-nav{ background:var(--rys-black); }
.rys-nav__inner{ display:flex; align-items:stretch; gap:8px; }
.rys-cats-btn{
	display:flex; align-items:center; gap:11px; background:var(--rys-amber); color:var(--rys-black);
	font-family:var(--rys-head); font-weight:700; text-transform:uppercase; letter-spacing:.4px;
	padding:0 24px; height:52px; margin:9px 24px 9px 0; border-radius:8px; font-size:16px;
	transition:.15s;
}
.rys-cats-btn:hover{ background:#ffc62b; color:var(--rys-black); }
.rys-cats-btn__burger{ display:inline-flex; flex-direction:column; gap:3px; }
.rys-cats-btn__burger span{ width:18px; height:2.4px; background:var(--rys-black); border-radius:2px; }
.rys-cats-btn__chev{ font-size:12px; margin-left:2px; }

.rys-menu{ display:flex; align-items:center; gap:4px; margin:0; padding:0; list-style:none; }
.rys-menu li{ position:relative; }
.rys-menu li a{
	display:flex; align-items:center; height:70px; padding:0 20px; color:#fff;
	font-family:var(--rys-head); font-weight:500; text-transform:uppercase; letter-spacing:.5px;
	font-size:15.5px; transition:.15s; border-bottom:3px solid transparent;
}
.rys-menu li a:hover{ color:var(--rys-amber); }
.rys-menu li.current-menu-item > a,
.rys-menu li.current_page_item > a{ color:var(--rys-amber); border-bottom-color:var(--rys-amber); }
/* submenús (categorías desplegables si las hubiera) */
.rys-menu ul.sub-menu{
	position:absolute; top:100%; left:0; background:#fff; min-width:220px; margin:0; padding:8px 0;
	list-style:none; box-shadow:0 14px 30px rgba(0,0,0,.18); display:none; z-index:60; border-top:3px solid var(--rys-amber);
}
.rys-menu li:hover > ul.sub-menu{ display:block; }
.rys-menu ul.sub-menu li a{ height:auto; padding:11px 20px; color:var(--rys-text); border:0; }
.rys-menu ul.sub-menu li a:hover{ background:#faf7ef; color:var(--rys-text); }

/* ==========================================================================
   HERO
   ========================================================================== */
.rys-hero{ position:relative; background:#121212; overflow:hidden; }
.rys-hero::before{ /* textura/degradado base */
	content:""; position:absolute; inset:0;
	background:
		radial-gradient(120% 120% at 15% 10%, #242424 0%, #141414 45%, #0d0d0d 100%);
}
/* franjas de peligro */
.rys-hero__stripes{ position:absolute; inset:0; pointer-events:none; }
.rys-hero__stripes::before{ /* banda superior */
	content:""; position:absolute; top:0; left:0; right:0; height:16px;
	background:repeating-linear-gradient(-45deg, var(--rys-amber) 0 22px, #141414 22px 44px);
}
.rys-hero__stripes::after{ /* bloque diagonal superior derecho, desvanecido */
	content:""; position:absolute; top:-40px; right:-60px; width:52%; height:300px;
	background:repeating-linear-gradient(-45deg, rgba(253,185,19,.22) 0 26px, rgba(20,20,20,0) 26px 52px);
	transform:rotate(0deg); -webkit-mask-image:linear-gradient(to left, #000 20%, transparent 80%);
	        mask-image:linear-gradient(to left, #000 20%, transparent 80%);
}
.rys-hero__inner{ position:relative; z-index:2; display:flex; align-items:center; gap:30px; padding:46px 22px 54px; }
.rys-hero__copy{ flex:1 1 52%; }
.rys-hero__title{
	font-family:var(--rys-display); color:#fff; line-height:.86; margin:0 0 18px;
	font-size:clamp(52px,7.4vw,104px); letter-spacing:1px; text-transform:uppercase;
	font-style:italic; text-shadow:0 4px 0 rgba(0,0,0,.35);
}
.rys-hero__title span{
	display:inline-block; background:var(--rys-amber); color:var(--rys-black);
	padding:2px 16px 4px; margin-top:8px; transform:skew(-7deg);
	box-shadow:6px 7px 0 rgba(0,0,0,.4);
}
.rys-hero__sub{
	font-family:var(--rys-cond); font-weight:600; color:#f3f3f3; font-style:italic;
	font-size:clamp(20px,2.4vw,30px); margin:0 0 26px; max-width:420px; line-height:1.15;
}
.rys-hero__sub::after{ content:""; display:block; width:120px; height:4px; background:var(--rys-amber); margin-top:14px; border-radius:2px; }
.rys-hero__cta{ font-size:19px; padding:17px 34px; }
.rys-hero__art{ flex:1 1 46%; min-height:300px; display:flex; align-items:center; justify-content:center; }
.rys-hero__art svg{ filter:drop-shadow(0 18px 24px rgba(0,0,0,.5)); max-height:360px; }

/* ==========================================================================
   SECCIONES + TÍTULOS
   ========================================================================== */
.rys-section{ padding:50px 0 44px; }
.rys-h2{
	text-align:center; font-family:var(--rys-head); font-weight:700; text-transform:none;
	font-size:clamp(28px,3.4vw,38px); color:var(--rys-black); margin:0 0 34px;
	display:flex; align-items:center; justify-content:center; gap:22px;
}
.rys-h2 span{ white-space:nowrap; }
.rys-h2::before, .rys-h2::after{ content:""; height:4px; width:min(160px,16vw); background:var(--rys-amber); border-radius:2px; }

/* ---------- categorías ---------- */
.rys-cats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.rys-cat-card{
	background:#f4f4f4; border-radius:14px; overflow:hidden; display:flex; flex-direction:column;
	box-shadow:0 3px 12px rgba(0,0,0,.07); transition:.18s ease; border:1px solid #ededed;
}
.rys-cat-card:hover{ transform:translateY(-4px); box-shadow:0 12px 26px rgba(0,0,0,.14); }
.rys-cat-card__media{
	display:block; aspect-ratio:1/1; background:#e9e9e9 center/cover no-repeat;
	background-blend-mode:normal;
}
.rys-cat-card__label{
	display:block; text-align:center; background:var(--rys-amber); color:var(--rys-black);
	font-family:var(--rys-head); font-weight:700; text-transform:none; font-size:19px;
	padding:14px 10px; line-height:1.1;
}

/* ---------- productos destacados ---------- */
.rys-prod-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.rys-prod-card{
	background:#fff; border:1px solid #ececec; border-radius:14px; padding:16px 16px 18px;
	display:flex; flex-direction:column; text-align:center; box-shadow:0 3px 12px rgba(0,0,0,.06);
	transition:.18s ease;
}
.rys-prod-card:hover{ transform:translateY(-4px); box-shadow:0 14px 28px rgba(0,0,0,.13); border-color:#e0e0e0; }
.rys-prod-media{ display:block; aspect-ratio:1/1; background:#f6f6f6; border-radius:10px; overflow:hidden; margin-bottom:14px; }
.rys-prod-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.rys-prod-title{ font-family:var(--rys-head); font-weight:600; font-size:17px; line-height:1.2; margin:0 0 10px; min-height:41px; }
.rys-prod-title a{ color:var(--rys-text); }
.rys-prod-title a:hover{ color:#000; }
.rys-prod-price{ margin:2px 0 14px; }
.rys-prod-price .price,
.rys-prod-price span{ font-family:var(--rys-head); font-weight:700; font-size:25px; color:var(--rys-black); line-height:1; }
.rys-prod-price > span{ display:inline-block; position:relative; padding-bottom:7px; }
.rys-prod-price > span::after{ content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:0; width:72%; height:4px; background:var(--rys-amber); border-radius:2px; }
.rys-prod-price del{ color:#999; font-size:16px; font-weight:400; }
.rys-prod-price ins{ text-decoration:none; }
.rys-prod-card .rys-add-btn,
.rys-prod-card .button{
	margin-top:auto; display:flex; align-items:center; justify-content:center; gap:8px;
	background:var(--rys-amber); color:var(--rys-black); border:0; border-radius:8px;
	font-family:var(--rys-head); font-weight:700; text-transform:none; font-size:16px;
	padding:13px 14px; width:100%; box-shadow:0 3px 0 var(--rys-amber-d); transition:.15s; cursor:pointer;
}
.rys-prod-card .button::before{ content:"\1F6D2"; font-size:15px; }
.rys-prod-card .button:hover{ background:#ffc62b; color:var(--rys-black); transform:translateY(-1px); }
.rys-prod-card .added_to_cart{ display:block; margin-top:8px; font-family:var(--rys-head); color:var(--rys-black); font-size:13px; }

/* ==========================================================================
   BARRA DE CONFIANZA
   ========================================================================== */
.rys-trust{ background:#141414; color:#fff; }
.rys-trust__inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px 22px; flex-wrap:wrap; }
.rys-trust__items{ display:flex; align-items:center; gap:24px; margin:0; padding:0; list-style:none; flex-wrap:wrap; }
.rys-trust__items li{ display:flex; align-items:center; gap:12px; font-family:var(--rys-head); font-size:16px; }
.rys-trust__items li span strong{ display:block; font-weight:700; }
.rys-trust__ico{ color:var(--rys-amber); font-size:26px; line-height:1; }
.rys-trust__sep{ width:2px; height:34px; background:#333; }
.rys-wa-cta{
	display:flex; align-items:center; gap:14px; background:var(--rys-wa); color:#fff;
	border-radius:14px; padding:12px 28px; box-shadow:0 5px 0 var(--rys-wa-d); transition:.15s;
}
.rys-wa-cta:hover{ background:#2ee36f; color:#fff; transform:translateY(-1px); }
.rys-wa-cta__ico{ display:inline-flex; }
.rys-wa-cta__txt{ display:flex; flex-direction:column; line-height:1.1; }
.rys-wa-cta__txt strong{ font-family:var(--rys-head); font-weight:700; font-size:20px; }
.rys-wa-cta__txt small{ font-size:13px; opacity:.95; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.rys-footer{ background:var(--rys-amber); }
.rys-footer__inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px 22px; flex-wrap:wrap; }
.rys-footer__slogan{ display:flex; align-items:center; gap:18px; }
.rys-footer__helmet svg{ display:block; }
.rys-footer__text{ font-family:var(--rys-cond); font-style:italic; font-weight:700; font-size:clamp(26px,3.4vw,40px); color:var(--rys-black); }
.rys-footer__brand{ background:var(--rys-black); border-radius:12px; padding:16px 24px; }
.rys-footer__brand img{ height:56px; width:auto; display:block; }
.rys-footer__legal{ background:#111; color:#bdbdbd; font-size:13px; }
.rys-footer__legal .rys-wrap{ padding-top:14px; padding-bottom:14px; text-align:center; }
.rys-footer__legal a{ color:var(--rys-amber); }

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================================== */
.rys-wa-float{
	position:fixed; right:22px; bottom:22px; z-index:999; width:60px; height:60px;
	background:var(--rys-wa); border-radius:50%; display:flex; align-items:center; justify-content:center;
	box-shadow:0 6px 18px rgba(0,0,0,.3); transition:.15s;
}
.rys-wa-float:hover{ background:#2ee36f; transform:scale(1.06); }
.rys-wa-float::after{
	content:""; position:absolute; inset:-6px; border-radius:50%; border:2px solid var(--rys-wa);
	opacity:.6; animation:rys-pulse 2s infinite;
}
@keyframes rys-pulse{ 0%{ transform:scale(1); opacity:.6; } 70%{ transform:scale(1.35); opacity:0; } 100%{ opacity:0; } }

/* ==========================================================================
   WOOCOMMERCE (tienda / categoría / producto) — acentos de marca
   ========================================================================== */
.woocommerce #content,
.woocommerce-page #content{ padding:40px 0; }
.woocommerce .col-full, .woocommerce-page .col-full{ max-width:1200px; margin:0 auto; padding:0 22px; }
.woocommerce ul.products li.product .price{ color:var(--rys-black); font-family:var(--rys-head); font-weight:700; }
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce .button.alt{
	background:var(--rys-amber) !important; color:var(--rys-black) !important;
	font-family:var(--rys-head); font-weight:700; border-radius:7px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce ul.products li.product .button:hover{ background:#ffc62b !important; color:var(--rys-black) !important; }
.woocommerce span.onsale{ background:var(--rys-black); color:var(--rys-amber); }
.storefront-breadcrumb{ display:none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
	.rys-cats-grid, .rys-prod-grid{ grid-template-columns:repeat(2,1fr); }
	.rys-hero__art{ display:none; }
	.rys-hero__inner{ padding:40px 22px; }
}
@media (max-width:860px){
	.rys-masthead__inner{ flex-wrap:wrap; gap:16px; min-height:0; padding:16px 0; }
	.rys-logo img{ height:52px; }
	.rys-search{ order:3; flex-basis:100%; max-width:none; }
	.rys-topbar__claims{ gap:16px; font-size:12px; }
	.rys-topbar__claims li:nth-child(3){ display:none; }
	.rys-nav__inner{ flex-wrap:wrap; }
	.rys-menu li a{ height:54px; }
}
@media (max-width:560px){
	.rys-cats-grid, .rys-prod-grid{ grid-template-columns:1fr 1fr; gap:14px; }
	.rys-trust__inner{ justify-content:center; text-align:center; }
	.rys-trust__sep{ display:none; }
	.rys-footer__inner{ justify-content:center; text-align:center; }
	.rys-h2::before, .rys-h2::after{ width:40px; }
	.rys-prod-price .price, .rys-prod-price span{ font-size:21px; }
}
