/*
Theme Name: RINAVY Tienda
Author: RINAVY
Description: Tienda de uniformes industriales con catálogo WooCommerce administrado desde RINAVY.
Version: 0.3.0
Requires PHP: 8.1
Text Domain: rinavy-store
*/
:root{--navy:#102d43;--blue:#176caf;--teal:#137d86;--yellow:#f2d64c;--ink:#19344b;--muted:#5b7183;--line:#dce5ed;--paper:#f5f7f9}*{box-sizing:border-box}body{margin:0;font:16px/1.65 system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper)}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button,input[type=submit],.woocommerce a.button,.woocommerce button.button.alt{border:0;background:var(--blue);color:white;padding:12px 20px;border-radius:7px;cursor:pointer;font-weight:650}input,select,textarea{border:1px solid var(--line);border-radius:7px;padding:12px;max-width:100%;background:white;color:var(--ink)}input:focus,select:focus,textarea:focus,a:focus-visible,button:focus-visible{outline:3px solid #46acbf;outline-offset:3px}.skip{position:absolute;left:15px;top:-100px;z-index:100}.skip:focus{top:10px;background:white;padding:12px}.wrap{max-width:1240px;margin:auto;padding:0 28px}.topline{background:var(--navy);color:white;text-align:center;font-size:12px;letter-spacing:.08em;padding:8px}.site-header{background:white;border-bottom:1px solid var(--line)}.header-row{display:flex;align-items:center;gap:28px;min-height:95px}.brand{font-size:28px;letter-spacing:.04em;font-weight:850;color:var(--navy);line-height:1}.brand img{max-width:150px;max-height:70px;width:auto;object-fit:contain}.brand small{display:block;font-size:9px;letter-spacing:.2em;margin-top:6px}.site-nav{display:flex;gap:24px;align-items:center;margin-left:auto}.site-nav ul{display:flex;list-style:none;gap:20px;padding:0}.site-nav a{color:var(--ink);font-size:14px}.hero{background:var(--navy);color:white;padding:70px 0}.hero-inner{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;align-items:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.18em;color:var(--teal)}.hero .eyebrow{color:var(--yellow)}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(38px,4.5vw,66px);margin:20px 0}h2{font-size:34px}.hero p{color:#d7e3eb;max-width:480px}.hero .button{display:inline-block;background:var(--yellow);color:var(--navy);margin-top:20px}.hero-art{border:1px solid #547080;border-radius:24px;background:linear-gradient(145deg,#1b4c66,#102c42);padding:35px}.hero-art img{max-height:330px;width:100%;object-fit:contain;border-radius:12px}.hero-art strong{font-size:58px;letter-spacing:.05em}.hero-art span{display:block;color:#bcd5e1}.benefits{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding-top:24px;padding-bottom:24px;gap:25px}.benefits span{font-size:13px;color:var(--muted)}.benefits strong{display:block;color:var(--ink);font-size:15px}.section{padding-top:55px;padding-bottom:55px}.section-title{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:25px}.section-title h2{margin:8px 0}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-card{background:white;border:1px solid var(--line);border-radius:12px;padding:25px;color:var(--ink);min-height:120px;display:flex;flex-direction:column;justify-content:space-between}.category-card span{font-size:12px;color:var(--muted)}.searchbar{display:flex;gap:10px;margin:25px 0}.searchbar input{flex:1;min-width:0}.custom-banner{background:#e2eef1;padding:38px;border-radius:16px;display:flex;justify-content:space-between;gap:30px;align-items:center}.custom-banner h2{margin-top:0}.site-footer{background:var(--navy);color:#cbd9e3;padding:45px 0}.site-footer a{color:white}.footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:30px}.site-footer strong{color:white;font-size:24px}.site-footer p{font-size:14px}.site-main{min-height:60vh}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{background:white;border:1px solid var(--line);border-radius:12px;padding:16px;overflow:hidden}.woocommerce ul.products li.product a img{height:220px;object-fit:contain;margin-bottom:20px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px;line-height:1.4;color:var(--ink);letter-spacing:0}.woocommerce ul.products li.product .price{font-size:20px;color:var(--ink);font-weight:700}.woocommerce div.product .product_title{font-size:38px}.woocommerce div.product p.price{color:var(--ink)}.woocommerce table.shop_table{background:white;border-color:var(--line)}.woocommerce .woocommerce-result-count{font-size:14px}.woocommerce-message,.woocommerce-info{border-top-color:var(--teal)}.entry-content{max-width:850px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:760px){.wrap{padding-left:18px;padding-right:18px}.header-row{flex-wrap:wrap;gap:15px;padding-top:18px;padding-bottom:18px}.brand{font-size:24px}.site-nav{gap:15px}.site-nav ul{gap:12px}.hero{padding:40px 0}.hero-inner{grid-template-columns:1fr;gap:25px}.hero-art{display:none}.benefits{grid-template-columns:1fr;gap:15px}.categories{grid-template-columns:1fr 1fr;gap:10px}.section{padding-top:35px;padding-bottom:35px}.section-title{align-items:start;flex-direction:column}.section-title h2{font-size:28px}.custom-banner{display:block;padding:24px}.footer-grid{grid-template-columns:1fr}.woocommerce ul.products li.product a img{height:160px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px}.woocommerce ul.products li.product .price{font-size:18px}.site-nav a{font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.presentation-products{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px}.presentation-products .category-card{min-height:210px;padding:32px;border-top:4px solid var(--yellow)}.presentation-products h3{font-size:28px}.presentation-products p{color:var(--muted)}@media(max-width:600px){.presentation-products{grid-template-columns:1fr}}

/* Catalog presentation: bounded photography and touch-friendly controls. */
.hero-art{background:#fff;padding:20px;box-shadow:0 24px 60px #061a2c55;transform:rotate(2deg)}
.hero-art img{display:block;height:360px;max-height:360px;object-fit:contain;background:#fff}
.hero-art span{color:var(--ink);text-align:center;font-size:13px;margin-top:10px}
.woocommerce-product-search{display:flex;gap:10px;margin-bottom:28px}.woocommerce-product-search input{flex:1;min-width:0}
.woocommerce div.product div.images img{width:100%;height:460px;object-fit:contain;background:#fff}
.woocommerce div.product div.images .flex-control-thumbs li img{height:80px;object-fit:contain}
.woocommerce div.product .summary{background:white;padding:28px;border:1px solid var(--line);border-radius:14px}
.woocommerce div.product .product_title{font-size:clamp(26px,3vw,36px);line-height:1.2}
.woocommerce div.product form.cart .variations select{min-height:44px;width:100%}
.custom-banner .button{display:inline-block;white-space:nowrap}
@media(max-width:760px){.hero-art{display:block;transform:none;max-width:420px;margin:auto;width:100%}.hero-art img{height:240px}.hero-inner{gap:30px}.woocommerce div.product div.images img{height:310px}.woocommerce div.product div.images .flex-control-thumbs li img{height:60px}.woocommerce div.product .summary{padding:20px}.woocommerce-product-search{flex-wrap:wrap}.woocommerce-product-search button{min-height:44px}.site-nav{flex-wrap:wrap}.custom-banner .button{margin-top:14px}}
/* Store-wide layout: catalog, product, basket, payment and account. */
:root{--radius:16px}html{scroll-behavior:smooth}body{background:#f6f8fa}.site-header{position:sticky;top:0;z-index:20;box-shadow:0 3px 20px #102d4308}.header-row{min-height:82px}.site-nav a{font-weight:650;padding:10px 0}.brand a{color:var(--navy)}.hero{background:radial-gradient(ellipse at 80% 40%,#22536a,transparent 60%),var(--navy);padding:54px 0}.hero h1{max-width:680px}.hero-art{max-width:410px;justify-self:end}.hero-art img{height:325px}.hero .button:hover{background:#ffe66c;text-decoration:none}.benefits{background:white;max-width:none;padding-left:max(28px,calc((100vw - 1184px)/2));padding-right:max(28px,calc((100vw - 1184px)/2))}.section-title h2{font-size:clamp(26px,3vw,36px)}.section-title a{font-size:14px;font-weight:700}.button{display:inline-block;min-height:44px}.button:hover{text-decoration:none;filter:brightness(1.07)}.category-chips{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 30px}.category-chips a{border:1px solid var(--line);background:white;border-radius:24px;padding:8px 18px;color:var(--ink);font-size:14px}.category-chips a:hover{background:var(--navy);color:white;text-decoration:none}.woocommerce ul.products li.product{transition:box-shadow .2s,transform .2s}.woocommerce ul.products li.product:hover{box-shadow:0 10px 30px #102d4310;transform:translateY(-3px)}.woocommerce ul.products li.product a img{height:255px;background:#fff}.woocommerce ul.products li.product .button{display:block;text-align:center;background:var(--navy);color:#fff;border-radius:8px}.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:13px;margin-bottom:25px}.woocommerce .quantity .qty{min-width:72px}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border-color:var(--line)}.woocommerce div.product .woocommerce-tabs .panel{padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px}.woocommerce div.product .related{clear:both;padding-top:30px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.select2-container .select2-selection--single{min-height:46px;border:1px solid var(--line);border-radius:8px}.woocommerce form.checkout .col2-set{background:#fff;padding:24px;border-radius:16px}.woocommerce #payment{background:#eaf0f4;border-radius:12px}.woocommerce #payment .payment_box{background:white}.woocommerce .cart-collaterals .cart_totals{padding:24px;background:white;border:1px solid var(--line);border-radius:16px}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:16px}.woocommerce a.remove{min-width:32px;min-height:32px;display:inline-flex;align-items:center;justify-content:center}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.woocommerce .woocommerce-MyAccount-navigation li a{display:block;padding:12px 18px;border-bottom:1px solid var(--line)}.woocommerce .woocommerce-MyAccount-navigation li.is-active a{background:var(--navy);color:white}.woocommerce .woocommerce-MyAccount-content{background:white;padding:24px;border-radius:12px}.woocommerce-account .entry-content,.woocommerce-cart .entry-content,.woocommerce-checkout .entry-content{max-width:none}.wc-block-components-sidebar-layout .wc-block-components-sidebar{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.wc-block-components-text-input input,.wc-block-components-combobox .components-combobox-control__input{border-color:var(--line)!important;border-radius:8px!important}.wc-block-components-button:not(.is-link){border-radius:8px;background:var(--navy);color:white;min-height:48px}.wc-block-cart,.wc-block-checkout{font-family:inherit}.woocommerce-message,.woocommerce-error,.woocommerce-info{border-radius:8px;background:#fff;box-shadow:0 4px 18px #102d4308}.site-footer .footer-links{display:flex;flex-direction:column;gap:10px}.site-footer .footer-bottom{border-top:1px solid #ffffff25;padding-top:20px;margin-top:30px;font-size:12px}.store-empty{text-align:center;padding:50px 24px;background:white;border-radius:16px}.shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.shop-toolbar select{max-width:220px}
@media(max-width:760px){.header-row{min-height:72px}.site-header{position:relative}.hero{padding:32px 0}.hero h1{font-size:40px}.hero-art{justify-self:center;max-width:300px}.hero-art img{height:235px}.benefits{padding:20px 18px;grid-template-columns:repeat(3,1fr);gap:12px}.benefits strong{font-size:13px}.benefits span{font-size:11px}.woocommerce ul.products li.product a img{height:190px}.woocommerce ul.products li.product{padding:12px}.woocommerce ul.products li.product .button{font-size:13px;padding:12px 8px}.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:12px}.woocommerce form.checkout .col2-set{padding:16px}.woocommerce div.product .woocommerce-tabs .panel{padding:18px}.shop-toolbar{align-items:start;flex-direction:column}.section{padding-top:32px;padding-bottom:32px}.category-chips{flex-wrap:nowrap;overflow:auto;padding-bottom:6px}.category-chips a{white-space:nowrap}.footer-grid{gap:20px}}

/* Construction cover, independent of product photography. */
.construction-hero{background:linear-gradient(90deg,rgba(9,31,48,.94) 0%,rgba(9,31,48,.65) 40%,rgba(9,31,48,.03) 78%),url('assets/construccion-portada.png') center 48%/cover no-repeat;position:relative;padding:64px 0;border-bottom:5px solid var(--yellow)}
.construction-hero .hero-inner{display:flex;align-items:center;min-height:380px}
.construction-hero .hero-copy{max-width:640px}.construction-hero h1{font-size:clamp(36px,4.4vw,62px)}.construction-hero p{max-width:420px;color:#edf3f6}.construction-hero .eyebrow{color:#ffe15b}
@media(max-width:760px){.construction-hero{padding:34px 0;background-position:62% center;background-image:linear-gradient(90deg,rgba(9,31,48,.93),rgba(9,31,48,.65)),url('assets/construccion-portada.png')}.construction-hero .hero-inner{min-height:290px}.construction-hero h1{font-size:36px}.construction-hero .hero-copy{max-width:480px}.construction-hero p{font-size:15px;max-width:320px}}

/* Visual category navigation: the entire card is a touch target. */
.category-shelf{background:#fff;border-bottom:1px solid var(--line);padding:28px 0 34px}
.category-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.category-heading h2{font-size:20px;letter-spacing:-.025em;margin:0;font-weight:650}
.category-heading>a{font-size:13px;font-weight:650;white-space:nowrap;color:var(--teal)}
.category-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.category-shortcut{display:flex;align-items:center;gap:18px;position:relative;padding:20px;background:#f7f9fa;border:1px solid #e4eaee;border-radius:14px;color:var(--navy);transition:background .18s,border-color .18s,box-shadow .18s}
.category-shortcut:hover{text-decoration:none;background:#fffdf3;border-color:#d8bb39;box-shadow:0 5px 18px #102d4309}
.category-icon{display:grid;place-items:center;background:#f7efd0;width:88px;height:88px;border-radius:50%;flex-shrink:0}
.category-icon img{display:block;width:76px;height:76px;object-fit:contain}
.category-label{min-width:0}.category-label strong{display:block;font-size:22px;line-height:1.3;font-weight:750;letter-spacing:-.03em}
.category-label>span{display:block;font-size:12px;line-height:1.5;margin-top:5px;color:var(--muted)}
.category-arrow{margin-left:auto;align-self:flex-start;font-size:20px;color:var(--teal);line-height:1}
.woocommerce ul.products li.product{border-color:#e4eaee;border-radius:16px;box-shadow:0 3px 14px #102d4304}
.woocommerce ul.products li.product a img{border-radius:10px}
@media(max-width:1000px){.category-shortcut{padding:16px;gap:12px}.category-icon{width:64px;height:64px}.category-icon img{width:58px;height:58px}.category-label strong{font-size:19px}.category-arrow{position:absolute;right:12px;top:12px;font-size:16px}.category-label>span{max-width:130px}}
@media(max-width:760px){.category-heading{align-items:flex-start}.category-heading h2{font-size:19px;max-width:270px}.category-shortcuts{gap:10px}.category-shortcut{flex-direction:column;text-align:center;padding:18px 8px 16px;gap:12px}.category-label strong{font-size:18px}.category-label>span{font-size:11px}.category-shelf{padding:24px 0}.category-heading>a{font-size:12px}}
@media(max-width:480px){.category-heading{display:block;margin-bottom:16px}.category-heading h2{max-width:none;margin-bottom:6px}.category-heading>a{display:inline-block;padding:4px 0}.category-icon{width:60px;height:60px}.category-icon img{width:54px;height:54px}.category-label strong{font-size:16px}.category-label>span{display:none}.category-arrow{right:8px;top:10px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.category-shortcut,.woocommerce ul.products li.product{transition:none}}

/* Quiet branded footer. Social links open independently of the store. */
.site-footer{padding:48px 0 22px}.footer-grid{grid-template-columns:1.7fr 1fr 1fr;gap:40px}.footer-brand strong{display:block;font-size:30px;letter-spacing:.06em}.footer-brand>span{font-size:10px;letter-spacing:.2em;color:#c8d4dc}.footer-brand p{color:#b0c4d0}.site-footer .footer-title{display:block;font-size:13px;font-weight:700;color:#fff;letter-spacing:.04em;margin-bottom:12px}.social-icons{display:flex;gap:12px}.social-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff35;border-radius:50%;color:white}.social-icon svg{width:21px;height:21px;fill:currentColor}.footer-social p{font-size:11px;color:#b0c4d0}.site-footer .footer-bottom{color:#90a9ba;font-size:11px}.site-footer .footer-links a{font-size:13px}@media(max-width:760px){.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-brand{grid-column:1/-1}.site-footer{padding-top:34px}.social-icons{gap:8px}.social-icon{width:38px;height:38px}}

.social-icon:hover{background:#ffffff18;border-color:#f2d64c;text-decoration:none;color:#f2d64c}

/* SKU is an internal identifier, not customer-facing product information. */
.single-product .product_meta .sku_wrapper{display:none!important}
.rinavy-catalog-categories{clear:both;margin:20px 0 30px;padding:24px;background:#fff;border:1px solid #dce5ed;border-radius:16px}
.rinavy-catalog-categories h2{font-size:1.25rem;margin:0 0 16px}
.rinavy-catalog-categories nav{display:flex;flex-wrap:wrap;gap:10px}
.rinavy-catalog-categories a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid #dce5ed;border-radius:24px;color:#123047;text-decoration:none;font-weight:600}
.rinavy-catalog-categories a:hover,.rinavy-catalog-categories a[aria-current="page"]{background:#123047;color:#fff;border-color:#123047}
.rinavy-catalog-categories a:focus-visible{outline:3px solid #d4a622;outline-offset:3px}
@media(max-width:600px){.rinavy-catalog-categories{padding:16px}.rinavy-catalog-categories a{padding:10px 14px}}
.rinavy-catalog-categories nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px}
.rinavy-catalog-categories a{flex-direction:column;justify-content:center;gap:14px;min-height:148px;border-radius:14px;text-align:center;color:#123b86;background:#fff}
.rinavy-catalog-categories svg{width:64px;height:64px;flex-shrink:0}
.rinavy-catalog-categories a span{font-size:15px;line-height:1.35}
@media(max-width:600px){.rinavy-catalog-categories nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rinavy-slider{position:relative}.rinavy-slide[hidden]{display:none!important}
.rinavy-slide{background-size:cover;background-position:center;min-height:540px}
.textile-hero{background-image:linear-gradient(90deg,rgba(8,29,45,.92),rgba(8,29,45,.15)),url('assets/industria-textil-rinavy.jpg')}
.embroidery-hero{background-image:linear-gradient(90deg,rgba(8,29,45,.92),rgba(8,29,45,.12)),url('assets/bordadora-rinavy.jpeg')}
.rinavy-slide h2{font-size:clamp(32px,4.5vw,64px);line-height:1.06;color:white;margin:20px 0}.rinavy-slide .hero-copy{padding-bottom:75px}
.slider-controls{position:absolute;bottom:22px;left:6%;display:flex;align-items:center;gap:14px;color:white}.slider-controls button{background:#123047;color:white;border:1px solid #ffffff70;border-radius:8px;padding:10px 14px;min-height:44px;cursor:pointer}
.rinavy-whatsapp{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:90;display:flex;align-items:center;gap:9px;padding:13px 18px;background:#087d42;color:white!important;border-radius:40px;text-decoration:none;box-shadow:0 4px 18px #0003;font-weight:700}.rinavy-whatsapp svg{width:30px;height:30px}.rinavy-whatsapp:focus-visible{outline:3px solid #e6c041;outline-offset:4px}
@media(max-width:600px){.rinavy-slide{min-height:530px}.rinavy-whatsapp span{display:none}.rinavy-whatsapp{padding:14px;right:14px}.rinavy-slide .hero-copy{padding-bottom:85px}}

/* Floating contact: icon only on every screen. */
.rinavy-whatsapp{width:60px;height:60px;padding:0;border-radius:50%;justify-content:center;background:#128c4a;box-shadow:0 5px 20px #073d3533;border:2px solid #ffffff;transition:transform .18s ease,box-shadow .18s ease;box-sizing:border-box}
.rinavy-whatsapp:hover{transform:translateY(-2px);box-shadow:0 8px 24px #073d3544}
.rinavy-whatsapp svg{width:32px;height:32px}
@media(prefers-reduced-motion:reduce){.rinavy-whatsapp{transition:none}.rinavy-whatsapp:hover{transform:none}}

.rinavy-whatsapp{background:#16b85b;border:0;box-shadow:0 6px 20px #063c322b}.rinavy-whatsapp svg{width:30px;height:30px}
