/* Tienda online con el diseño de la web (nov 2026). Se carga después de /css/mon.css y usa sus
   variables (--ink, --muted, --paper, --line, --accent, --cream, --display). */
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- Barra de la tienda: título, buscador, carrito y categorías ---- */
.shop-bar{background:#eeeee9;border-bottom:1px solid var(--line)}
.shop-bar-inner{max-width:1440px;margin:auto;padding:14px clamp(20px,5vw,76px);display:flex;align-items:center;gap:1.5rem}
.shop-bar-title{font:400 1.45rem/1 var(--display);white-space:nowrap}
.shop-search{flex:1;display:flex;max-width:520px;margin-left:auto}
.shop-search input{flex:1;min-width:0;font:400 .95rem/1.4 'DM Sans',Arial,sans-serif;color:var(--ink);background:#fff;border:1px solid var(--line);border-right:0;padding:10px 14px}
.shop-search input:focus{outline:2px solid var(--accent);outline-offset:-1px}
.shop-search button{border:0;background:var(--accent);color:#fff;font-weight:600;font-size:.85rem;padding:0 16px;cursor:pointer}
.shop-search button:hover{background:#354840}
.shop-cart{display:inline-flex;align-items:center;gap:.45rem;border:1px solid var(--ink);padding:9px 14px;font-weight:600;font-size:.88rem;white-space:nowrap;background:#fff}
.shop-cart b{background:var(--ink);color:#fff;border-radius:99px;min-width:1.5em;text-align:center;font-size:.75rem;padding:1px 6px}
.shop-cart span{color:var(--muted);font-weight:500}
.shop-cart:hover{border-color:var(--accent);color:var(--accent)}
.shop-nav{border-top:1px solid var(--line)}
.shop-nav-inner{max-width:1440px;margin:auto;padding:0 clamp(20px,5vw,76px);display:flex;gap:1.6rem;overflow-x:auto;scrollbar-width:thin}
.shop-nav a{padding:12px 0;font-size:.86rem;font-weight:500;white-space:nowrap;border-bottom:2px solid transparent}
.shop-nav a:hover,.shop-nav a.active{color:var(--accent);border-bottom-color:var(--accent)}

/* ---- Cabecera de página ---- */
.shop-hero{padding:60px clamp(25px,8vw,120px) 64px}
.shop-hero .crumbs{margin-bottom:2rem}
.shop-hero h1{font-size:clamp(2.6rem,5vw,4.6rem);margin-bottom:1.2rem;text-wrap:balance}
.shop-hero-text{max-width:760px;color:#4e5851;font-size:1.05rem}
.shop-hero-text p{margin-bottom:.9rem}
.shop-hero-text a{text-decoration:underline;text-underline-offset:3px}
.crumbs .breadcrumb{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.crumbs .breadcrumb li+li::before{content:"/";margin-right:.4rem;color:var(--line)}
.crumbs .breadcrumb a{text-decoration:underline;text-underline-offset:3px}

/* ---- Listados: lateral + rejilla ---- */
.shop-layout{max-width:1600px;margin:auto;padding:56px clamp(25px,5vw,76px) 90px;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:clamp(30px,4vw,60px);align-items:start}
.shop-layout>.shop-content{min-width:0}
.shop-side{position:sticky;top:20px;font-size:.9rem}
.shop-side h2{font:700 .72rem/1.4 'Manrope',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin:0 0 .8rem}
.shop-side ul{list-style:none;margin:0 0 2.2rem;padding:0;border-top:1px solid var(--line)}
.shop-side li a{display:flex;justify-content:space-between;gap:.5rem;padding:9px 0;border-bottom:1px solid var(--line)}
.shop-side li a:hover,.shop-side li a.active{color:var(--accent)}
.shop-side li a.active{font-weight:700}
.shop-side small{color:var(--muted)}
.shop-side-help{background:#e9e7df;padding:18px;font-size:.86rem;color:#454b47}
.shop-side-help b{display:block;color:var(--ink);margin-bottom:.3rem}
.shop-side-help a{display:inline-block;margin-top:.5rem;font-weight:700}
.shop-count{color:var(--muted);font-size:.85rem;margin:0 0 1.4rem}
.shop-empty{background:#eeeee9;padding:30px}
.shop-empty a{text-decoration:underline}

.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.product-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);transition:border-color .2s,transform .2s}
.product-card:hover{border-color:var(--accent);transform:translateY(-3px)}
.product-photo{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;padding:18px;background:#fff}
.product-photo img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.product-off{position:absolute;top:10px;left:10px;background:#b17835;color:#fff;font-size:.74rem;font-weight:700;padding:3px 8px}
.product-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 18px;border-top:1px solid #efefea}
.product-name{font:400 1.12rem/1.3 var(--display);margin:0 0 .6rem}
.product-name a:hover{color:var(--accent)}
.product-price{margin:0 0 1rem;font-size:1rem}
.product-price s{color:var(--muted);font-size:.85rem;margin-right:.3rem}
.product-body form{margin-top:auto}
.product-add{width:100%;border:1px solid var(--accent);background:transparent;color:var(--accent);font-weight:600;font-size:.85rem;padding:10px 12px;cursor:pointer;transition:background .2s,color .2s}
.product-add:hover{background:var(--accent);color:#fff}

/* Subcategorías y bloques de la portada de la tienda */
.subcat-list{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 2.4rem;padding:0;list-style:none}
.subcat-list a{display:inline-block;border:1px solid var(--line);background:#fafaf7;padding:8px 14px;font-size:.86rem;font-weight:500}
.subcat-list a:hover{border-color:var(--accent);color:var(--accent)}
.subcat-list small{color:var(--muted);margin-left:.3rem}
.shop-perks{list-style:none;margin:0;padding:26px clamp(25px,5vw,76px);display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;background:#e4e5de;color:#454b47;font-size:.86rem;border-top:1px solid var(--line)}
.shop-perks b{display:block;color:var(--ink);font-size:.95rem}
.shop-perks a{text-decoration:underline}
.tienda-section{padding:80px clamp(25px,5vw,76px);max-width:1600px;margin:auto}
.tienda-section .section-head{margin-bottom:2.2rem}
.tienda-section .section-head h2{font-size:clamp(2.2rem,3.6vw,3.6rem)}
.tienda-section+.tienda-section{padding-top:0}
.cat-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cat-tile{background:#eeeee9;padding:28px 26px;display:flex;flex-direction:column;min-height:190px;transition:background .2s}
.cat-tile:nth-child(4n+2){background:#e0e4df}.cat-tile:nth-child(4n+3){background:#ede9e2}.cat-tile:nth-child(4n+4){background:#e6e3dc}
.cat-tile:hover{background:#d6ded7}
.cat-tile h3{font:400 1.7rem/1.15 var(--display);margin:0 0 .5rem}
.cat-tile p{color:var(--muted);font-size:.86rem;margin:0}
.cat-tile b{margin-top:auto;padding-top:1rem;font-size:.82rem}
.shop-feature{display:grid;grid-template-columns:1.2fr 1fr;gap:14px;max-width:1600px;margin:auto;padding:70px clamp(25px,5vw,76px) 0}
.shop-feature>a,.shop-feature>div{padding:clamp(34px,4vw,60px);display:flex;flex-direction:column}
.shop-feature .feat-main{background:#dfe3dc}
.shop-feature .feat-side{background:#ede9e2}
.shop-feature h2{font-size:clamp(2.3rem,3.8vw,3.8rem);margin-bottom:1rem}
.shop-feature p{color:#4b544d;max-width:540px}
.shop-feature .actions{margin-top:auto;padding-top:1.4rem}
.shop-feature .feat-side h3{font:400 2rem/1.15 var(--display);margin-bottom:.8rem}
.shop-feature .feat-side b{margin-top:auto;padding-top:1rem;font-size:.88rem}

/* ---- Ficha de producto ---- */
.product-page{max-width:1450px;margin:auto;padding:40px clamp(25px,5vw,76px) 80px}
.product-page>.crumbs{margin-bottom:2.2rem;font-size:.83rem;color:var(--muted)}
.product-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(30px,5vw,80px);align-items:start}
.product-gallery{background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;padding:clamp(20px,4vw,50px)}
.product-gallery img{max-width:100%;max-height:100%;object-fit:contain}
.product-info .eyebrow{margin-bottom:1rem}
.product-info .eyebrow a{text-decoration:underline;text-underline-offset:3px}
.product-info h1{font-size:clamp(2.3rem,4vw,3.8rem);margin-bottom:1.2rem}
.product-buy{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.6rem;padding:1.4rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:1.4rem}
.product-buy .big-price{font:400 2.2rem/1 var(--display)}
.product-buy s{color:var(--muted);font-size:1rem;margin-right:.4rem;font-family:'DM Sans',Arial,sans-serif}
.product-buy .precio-ahorro{flex-basis:100%;margin:0;color:#8a5a22;font-weight:700;font-size:.9rem}
.product-buy form{margin-left:auto}
.product-buy .button{border:0;cursor:pointer;font-size:.95rem}
.product-facts{list-style:none;padding:0;margin:0 0 1.6rem;font-size:.92rem;color:#454b47}
.product-facts li{padding:6px 0 6px 1.4rem;position:relative}
.product-facts li::before{content:"✓";position:absolute;left:0;color:var(--accent);font-weight:700}
.product-facts a{text-decoration:underline;text-underline-offset:3px}
.product-desc{color:#454b47;font-size:.98rem}
.product-desc h2,.product-desc h3{font:400 1.5rem/1.25 var(--display);color:var(--ink);margin:1.6rem 0 .6rem;letter-spacing:0}
.product-desc ul{padding-left:1.2rem}
.product-desc a{text-decoration:underline}
.product-desc img{max-width:100%;height:auto}
.product-tratamiento{display:block;background:#dfe3dc;padding:24px 26px;margin:0 0 1.6rem;transition:background .2s}
.product-tratamiento:hover{background:#d6ded7}
.product-tratamiento .eyebrow{margin-bottom:.6rem}
.product-tratamiento h2{font:400 1.6rem/1.2 var(--display);margin:0 0 .4rem;letter-spacing:0}
.product-tratamiento p{margin:0;color:#4b544d;font-size:.92rem}
.product-tratamiento b{display:inline-block;margin-top:.8rem;font-size:.86rem}
.product-related{max-width:1600px;margin:auto;padding:0 clamp(25px,5vw,76px) 100px}
.product-related h2{font-size:clamp(2rem,3vw,3rem);margin-bottom:1.6rem}

/* ---- Bloques de contenido SEO (landing de Cofres, guía, textos de categoría) ---- */
.seo-bloque{color:#454b47;font-size:1rem;line-height:1.7;margin:0 0 2.4rem;max-width:900px}
.seo-bloque h2{font-size:clamp(1.9rem,3vw,2.6rem);color:var(--ink);margin:2.6rem 0 1rem}
.seo-bloque h3{font:400 1.4rem/1.3 var(--display);color:var(--ink);margin:1.8rem 0 .5rem}
.seo-bloque p{margin-bottom:1rem}
.seo-bloque a{text-decoration:underline;text-underline-offset:3px}
.seo-bloque ul,.seo-bloque ol{padding-left:1.2rem}
.seo-bloque li{margin-bottom:.4rem}
.seo-texto-categoria{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line)}
.seo-tabla-scroll{overflow-x:auto;margin:1rem 0 1.6rem}
.seo-tabla{width:100%;border-collapse:collapse;font-size:.92rem;background:#fff}
.seo-tabla th,.seo-tabla td{border:1px solid var(--line);padding:10px 12px;vertical-align:top;text-align:left}
.seo-tabla th{background:#eeeee9;font-weight:700}
.seo-bloque details{border-top:1px solid var(--line);padding:14px 0}
.seo-bloque details:last-of-type{border-bottom:1px solid var(--line)}
.seo-bloque summary{cursor:pointer;font-weight:600}
.guia-cuerpo{max-width:900px}

/* ---- Páginas de texto (condiciones) ---- */
.shop-text{max-width:860px;margin:auto;padding:60px clamp(25px,5vw,40px) 100px}
.shop-text h2{font-size:clamp(1.9rem,3vw,2.5rem);margin:2.6rem 0 1rem}
.shop-text p,.shop-text li{color:#454b47}
.shop-text .legal-datos{margin-bottom:1rem}

/* ---- Carrito y pedido (maqueta antigua dentro del diseño nuevo) ---- */
.shop-checkout{max-width:1200px;margin:auto;padding:40px clamp(20px,5vw,60px) 90px}
.shop-checkout .container{max-width:none;padding:0}
.shop-checkout .row{display:flex;flex-wrap:wrap;margin:0 -12px}
.shop-checkout [class*="col-sm-"]{padding:0 12px;width:100%}
.shop-checkout .clearfix::after{content:"";display:table;clear:both}
.shop-checkout .breadcrumbs{margin-bottom:1.6rem;font-size:.83rem;color:var(--muted)}
.shop-checkout .breadcrumb{list-style:none;margin:0;padding:0;display:flex;gap:.4rem}
.shop-checkout .breadcrumb li+li::before{content:"/";margin-right:.4rem;color:var(--line)}
.shop-checkout h1,.shop-checkout .step-one h2,.shop-checkout h2.heading{font:400 clamp(2.2rem,4vw,3.6rem)/1.1 var(--display);letter-spacing:-.03em;margin:0 0 1rem}
.shop-checkout h2{font:400 clamp(1.7rem,2.6vw,2.3rem)/1.15 var(--display);margin:2rem 0 1rem}
.shop-checkout .register-req p{color:var(--muted);font-size:.9rem}
.shop-checkout .bill-to>p,.shop-checkout .shopper-info>p{font:700 .72rem/1.4 'Manrope',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin:1.4rem 0 .8rem}
.shop-checkout input[type=text],.shop-checkout input[type=email],.shop-checkout input[type=tel],.shop-checkout input[type=password],.shop-checkout input:not([type]),.shop-checkout select,.shop-checkout textarea{width:100%;font:400 1rem/1.4 'DM Sans',Arial,sans-serif;color:var(--ink);background:#fff;border:1px solid var(--line);padding:10px 12px;margin:0 0 10px}
.shop-checkout input:focus,.shop-checkout select:focus,.shop-checkout textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}
.shop-checkout input[type=checkbox],.shop-checkout input[type=radio]{width:auto;margin:0 .4rem 0 0;accent-color:var(--accent)}
.shop-checkout label{font-size:.88rem}
.shop-checkout table{width:100%;border-collapse:collapse;background:#fff;margin-bottom:1rem}
.shop-checkout .table-responsive{overflow-x:auto}
.shop-checkout td,.shop-checkout th{border-bottom:1px solid var(--line);padding:12px;vertical-align:middle;text-align:left}
.shop-checkout .cart_menu td{background:#27312d;color:#fff;font-weight:600;font-size:.85rem}
.shop-checkout .cart_description h4{font:400 1.15rem/1.3 var(--display);margin:0}
.shop-checkout .cart_price p,.shop-checkout .cart_total p{margin:0}
.shop-checkout .cart_total_price{font-weight:700}
.shop-checkout .cart_quantity_delete{display:inline-block;padding:4px 10px;border:1px solid var(--line);color:#7a2e1f}
.shop-checkout .cart_quantity_delete:hover{border-color:#7a2e1f}
.shop-checkout .cart_quantity_delete i::before{content:"✕"}
.shop-checkout .total-result td{border:0;padding:6px 12px}
.shop-checkout .total-result tr:last-child td{font-weight:700;font-size:1.1rem}
.shop-checkout .payment-options{background:#eeeee9;padding:18px 20px;margin:1rem 0;line-height:2.2}
.shop-checkout .payment-options font{color:#8a5a22!important}
.shop-checkout .btn,.shop-checkout input[type=submit],.shop-checkout button[type=submit]{display:inline-block;border:1px solid var(--accent);background:var(--accent);color:#fff;font-weight:600;font-size:.9rem;padding:13px 18px;margin:0 8px 10px 0;cursor:pointer;width:auto}
.shop-checkout .btn:hover,.shop-checkout input[type=submit]:hover{background:#354840}
.shop-checkout .btn.update{background:transparent;color:var(--accent)}
.shop-checkout .btn.update:hover{background:#dfe3dc}
.shop-checkout #do_action .container{padding:0}
.shop-checkout .total_area{background:#eeeee9;padding:24px;margin-top:1.4rem}
.shop-checkout .total_area ul{list-style:none;padding:0;margin:0 0 1.2rem;font-size:1.05rem}
.shop-checkout .total_area li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line)}
.shop-checkout .total_area li span{font-weight:700}
.shop-checkout .cart-vacio{background:#eeeee9;padding:30px;margin:1rem 0}
.shop-checkout .cart-vacio a{text-decoration:underline}
.shop-checkout .shop-checkout-notes{margin-top:2rem;color:var(--muted);font-size:.88rem}
.shop-checkout .shop-checkout-notes a{text-decoration:underline}

@media(min-width:768px){
  .shop-checkout .col-sm-5{width:41.66%}.shop-checkout .col-sm-7{width:58.33%}
  .shop-checkout .col-sm-6{width:50%}.shop-checkout .col-sm-4{width:33.33%}.shop-checkout .col-sm-8{width:66.66%}
  .shop-checkout .col-sm-3{width:25%}.shop-checkout .col-sm-9{width:75%}.shop-checkout .col-sm-12{width:100%}
}
@media(max-width:1100px){
  .cat-tiles{grid-template-columns:repeat(2,1fr)}
  .shop-perks{grid-template-columns:repeat(2,1fr)}
  .shop-feature{grid-template-columns:1fr}
}
@media(max-width:900px){
  .shop-layout{grid-template-columns:1fr}
  .shop-side{position:static;order:2}
  .product-main{grid-template-columns:1fr}
}
@media(max-width:760px){
  .shop-bar-inner{flex-wrap:wrap;padding:12px 20px;gap:.7rem}
  .shop-bar-title{font-size:1.2rem}
  .shop-cart{margin-left:auto;padding:7px 11px}
  .shop-search{order:3;flex-basis:100%;max-width:none}
  .shop-nav-inner{padding:0 20px;gap:1.2rem}
  .shop-hero{padding:44px 24px 46px}
  .shop-layout{padding:36px 20px 70px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-photo{padding:10px}
  .product-body{padding:12px 12px 14px}
  .product-name{font-size:1rem}
  .product-add{font-size:.8rem;padding:9px 6px}
  .shop-perks{grid-template-columns:1fr;padding:22px 24px}
  .tienda-section{padding:60px 24px}
  .cat-tiles{grid-template-columns:1fr 1fr}
  .cat-tile{min-height:150px;padding:20px 18px}
  .cat-tile h3{font-size:1.3rem}
  .shop-feature{padding:50px 24px 0}
  .product-page{padding:28px 20px 60px}
  .product-buy form{margin-left:0;width:100%}
  .product-buy .button{width:100%}
  .product-related{padding:0 20px 70px}
  .shop-checkout{padding:30px 16px 70px}
  .shop-checkout td,.shop-checkout th{padding:8px 6px;font-size:.88rem}
  .shop-checkout .cart_product{display:none}
}
