/*
Theme Name: Ópticas Losada
Author: Ópticas Losada
Version: 1.0.1
Description: Tienda óptica WooCommerce inspirada en una experiencia internacional, limpia y directa.
*/
:root{--ink:#171717;--muted:#666;--line:#d7d7d7;--soft:#f5f5f5;--cream:#f3eee6;--blue:#0d3154;--green:#16713b;--max:1440px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.45}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(calc(100% - 40px),var(--max));margin:auto}.announcement-bar{padding:8px 20px;background:#1b1b1b;color:#fff;text-align:center;font-size:12px;font-weight:700;letter-spacing:.03em}.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}.site-header__top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:72px;gap:24px}.brand{text-align:center}.brand__name{display:block;font-family:Georgia,serif;font-size:27px;letter-spacing:.08em}.brand__since{display:block;margin-top:2px;font-size:9px;letter-spacing:.22em;color:#777}.header-links{display:flex;gap:22px;align-items:center;font-size:13px;font-weight:700}.header-links--right{justify-content:flex-end}.site-nav{border-top:1px solid #eee}.site-nav ul{display:flex;justify-content:center;gap:42px;list-style:none;margin:0;padding:13px 10px}.site-nav a{font-size:14px;font-weight:700}.site-nav a:hover{text-decoration:underline}.hero{min-height:560px;display:grid;grid-template-columns:1.05fr .95fr;background:var(--cream)}.hero__copy{display:flex;flex-direction:column;justify-content:center;padding:70px max(36px,8vw)}.eyebrow{margin:0 0 14px;font-size:12px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}.hero h1{max-width:680px;margin:0 0 20px;font-family:Georgia,serif;font-size:clamp(48px,6vw,88px);font-weight:400;letter-spacing:-.05em;line-height:.95}.hero p{max-width:540px;margin:0 0 30px;color:#414141;font-size:18px}.hero__visual{min-height:560px;background:linear-gradient(135deg,#d9c8b0,#f7f2ea);display:flex;align-items:center;justify-content:center;overflow:hidden}.hero__visual img{width:100%;height:100%;object-fit:cover}.btn,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;padding:12px 25px!important;border:2px solid #1c1c1c!important;border-radius:0!important;background:#1c1c1c!important;color:#fff!important;font-weight:800!important;text-transform:none!important;box-shadow:none!important}.btn--light{background:#fff!important;color:#171717!important}.btn:hover,.button:hover{background:#444!important;color:#fff!important}.benefits{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}.benefit{padding:25px;text-align:center;border-right:1px solid var(--line)}.benefit:last-child{border-right:0}.benefit strong{display:block;font-size:15px}.benefit span{font-size:13px;color:var(--muted)}.section{padding:70px 0}.section__head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section h2{margin:0;font-family:Georgia,serif;font-size:clamp(34px,4vw,54px);font-weight:400}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.category-card{position:relative;min-height:430px;padding:32px;background:#eee;display:flex;align-items:flex-end;overflow:hidden}.category-card:nth-child(1){background:#e8e4df}.category-card:nth-child(2){background:#dce8ee}.category-card:nth-child(3){background:#e9dfd7}.category-card h3{position:relative;z-index:2;margin:0 0 8px;font-family:Georgia,serif;font-size:34px;font-weight:400}.category-card p{position:relative;z-index:2;margin:0 0 18px}.shop-strip{padding:70px 0;background:#f6f6f6}.shop-strip h2{margin:0 0 30px;text-align:center;font-family:Georgia,serif;font-size:48px;font-weight:400}.site-main,.content-area{width:min(calc(100% - 40px),var(--max));margin:auto;padding:42px 0}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:#777}.woocommerce-products-header__title,.woocommerce .page-title{margin:20px 0 30px;font-family:Georgia,serif;font-size:50px;font-weight:400}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:0!important}.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;margin:0 0 16px!important;background:#f3f3f3}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0!important;font-size:16px;font-weight:700}.woocommerce ul.products li.product .price{color:#171717!important;font-size:15px;font-weight:700}.woocommerce ul.products li.product .button{width:100%;margin-top:8px!important}.single-product div.product{display:grid;grid-template-columns:minmax(0,58%) minmax(420px,42%);gap:0;align-items:start}.single-product .woocommerce-product-gallery{width:100%!important;float:none!important;position:sticky;top:122px;background:#f5f5f5;min-height:calc(100vh - 122px);display:flex;align-items:center}.single-product .woocommerce-product-gallery__wrapper{width:100%}.single-product .woocommerce-product-gallery img{width:100%!important;max-height:70vh;object-fit:contain}.single-product .summary{width:100%!important;float:none!important;padding:35px 40px;border-left:1px solid var(--line)}.single-product .product_title{font-family:Georgia,serif;font-size:36px;font-weight:400}.single-product .price{color:#171717!important;font-size:20px!important}.lls-configurator{margin:20px -40px -35px!important;padding:30px 40px!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}.lls-brand-row{display:none!important}.lls-intro-grid{grid-template-columns:1fr auto!important}.lls-intro h2{font-family:Georgia,serif!important;font-size:32px!important}.lls-progress{grid-template-columns:repeat(4,1fr)!important}.lls-choice,.lls-rx-modes span{border-radius:0!important;border:1px solid var(--line)!important}.lls-choice:has(input:checked),.lls-rx-modes label:has(input:checked) span{border-color:#111!important;box-shadow:inset 0 0 0 1px #111!important}.lls-next{width:100%;border-radius:999px!important;background:#222!important}.lls-navigation{background:#fff!important}.woocommerce-cart .cart_totals,.woocommerce-cart-form,.woocommerce-checkout-review-order,.woocommerce-checkout form.checkout{border:1px solid var(--line);padding:25px}.site-footer{padding:55px 0;background:#202020;color:#fff}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:45px}.footer-grid h3{font-family:Georgia,serif;font-size:24px;font-weight:400}.footer-grid h4{font-size:13px;text-transform:uppercase;letter-spacing:.1em}.footer-grid ul{list-style:none;margin:0;padding:0}.footer-grid li{margin:9px 0;color:#ddd;font-size:14px}.copyright{margin-top:40px;padding-top:20px;border-top:1px solid #444;color:#aaa;font-size:12px}
@media(max-width:980px){.site-header__top{grid-template-columns:1fr auto}.header-links--left{display:none}.brand{text-align:left}.site-nav ul{overflow:auto;justify-content:flex-start}.hero{grid-template-columns:1fr}.hero__visual{min-height:380px;order:-1}.category-grid{grid-template-columns:1fr}.category-card{min-height:280px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.single-product div.product{grid-template-columns:1fr}.single-product .woocommerce-product-gallery{position:static;min-height:auto}.single-product .summary{border-left:0;padding:25px 0}.lls-configurator{margin:20px 0 0!important;padding:25px 0!important}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.container,.site-main,.content-area{width:min(calc(100% - 24px),var(--max))}.site-header__top{min-height:58px}.brand__name{font-size:21px}.header-links{gap:12px;font-size:11px}.hero__copy{padding:45px 22px}.hero__visual{min-height:310px}.benefits{grid-template-columns:1fr}.benefit{border-right:0;border-bottom:1px solid var(--line)}.section{padding:45px 0}.woocommerce ul.products{gap:14px}.woocommerce-products-header__title,.woocommerce .page-title{font-size:38px}.lls-intro-grid{grid-template-columns:1fr!important}.footer-grid{grid-template-columns:1fr}}


/* Óptica Providencia — experiencia inspirada en Warby Parker */
:root{--wp-blue:#414bdb;--wp-navy:#252b5c;--wp-sky:#dfe9ff;--wp-mint:#dcefe5;--wp-yellow:#f3e6a8;--wp-pink:#f2d9df}
body{font-family:Arial,Helvetica,sans-serif;color:#252525}
.announcement-bar{background:var(--wp-blue);font-weight:600}
.site-header{position:relative;border-bottom:1px solid #d8d8d8}
.site-header__top{min-height:66px}
.brand__name{font-family:Arial,Helvetica,sans-serif;font-size:25px;font-weight:800;letter-spacing:-.035em;color:var(--wp-blue)}
.brand__since{font-size:9px;color:#555}
.site-nav ul{gap:34px;padding:12px 10px}
.site-nav a{font-weight:500}
.site-nav a:hover{color:var(--wp-blue);text-decoration:none}
.hero{min-height:610px;background:var(--wp-sky)}
.hero__copy{padding:72px max(34px,7vw)}
.hero h1{font-family:Arial,Helvetica,sans-serif;font-weight:500;font-size:clamp(52px,6.5vw,96px);line-height:.93;letter-spacing:-.065em}
.hero__visual{min-height:610px;background:var(--wp-yellow)}
.hero__visual>div{max-width:620px}
.hero__visual>div>div{font-family:Arial,Helvetica,sans-serif!important;font-weight:500;letter-spacing:-.055em}
.btn,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-color:var(--wp-blue)!important;background:var(--wp-blue)!important;border-radius:2px!important}
.btn--light{background:#fff!important;color:var(--wp-blue)!important}
.benefits{background:#fff}
.section h2,.shop-strip h2,.woocommerce-products-header__title,.woocommerce .page-title{font-family:Arial,Helvetica,sans-serif;font-weight:500;letter-spacing:-.05em}
.category-grid{gap:16px}
.category-card{min-height:460px;border-radius:2px}
.category-card:nth-child(1){background:var(--wp-mint)}
.category-card:nth-child(2){background:var(--wp-pink)}
.category-card:nth-child(3){background:var(--wp-sky)}
.category-card h3{font-family:Arial,Helvetica,sans-serif;font-weight:500;letter-spacing:-.04em}
.shop-strip{background:#fff}
.woocommerce ul.products{gap:22px 16px}
.woocommerce ul.products li.product a img{background:#f6f6f4}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-weight:500;font-size:17px}
.woocommerce ul.products li.product .price{font-weight:500;color:#555!important}
.single-product .woocommerce-product-gallery{background:#f6f6f4}
.single-product .summary{padding-top:26px}
.single-product .product_title{font-family:Arial,Helvetica,sans-serif;font-weight:500;font-size:34px}
.lls-configurator{font-family:Arial,Helvetica,sans-serif}
.lls-intro h2{font-family:Arial,Helvetica,sans-serif!important;font-weight:500!important;letter-spacing:-.045em}
.lls-progress li.is-active span,.lls-progress li.is-complete span{background:var(--wp-blue)!important;border-color:var(--wp-blue)!important}
.lls-choice:has(input:checked),.lls-rx-modes label:has(input:checked) span{border-color:var(--wp-blue)!important;box-shadow:inset 0 0 0 1px var(--wp-blue)!important}
.lls-next{background:var(--wp-blue)!important;border-color:var(--wp-blue)!important}
.lls-choice{transition:.15s ease}
.lls-choice:hover{transform:translateY(-1px);border-color:#888!important}
.site-footer{background:var(--wp-navy)}
@media(max-width:980px){.hero{min-height:0}.hero__visual{min-height:360px}.category-card{min-height:320px}}


/* Ficha de producto compacta — escritorio, tablet y celular */
.single-product .woocommerce-product-gallery{
  min-height:min(58vh,560px);
  padding:clamp(10px,2vw,24px);
}
.single-product .woocommerce-product-gallery img{
  max-height:52vh;
}
.single-product .summary{
  padding:22px 30px;
}
.single-product .product_title{
  margin:0 0 8px;
  font-size:30px;
  line-height:1.08;
}
.single-product .summary > .price,
.single-product .summary > p,
.single-product .summary > .stock{
  margin-top:6px;
  margin-bottom:10px;
}
.single-product .lls-configurator{
  margin:14px -30px -22px!important;
  padding:18px 30px!important;
}
.single-product .lls-intro-grid{
  gap:.75rem;
  align-items:center;
  margin-bottom:.7rem;
}
.single-product .lls-intro h2{
  margin-bottom:.25rem!important;
  font-size:26px!important;
  line-height:1!important;
}
.single-product .lls-intro p{
  font-size:.78rem;
  line-height:1.35;
}
.single-product .lls-live-total{
  min-width:130px;
  padding:.5rem .7rem;
}
.single-product .lls-live-total strong{
  font-size:1.05rem;
}
.single-product .lls-progress{
  margin-bottom:.85rem!important;
}
.single-product .lls-step-heading{
  margin-bottom:.7rem;
}

@media(max-width:980px){
  .single-product .woocommerce-product-gallery{
    min-height:0;
    padding:10px;
  }
  .single-product .woocommerce-product-gallery img{
    max-height:32vh;
  }
  .single-product .summary{
    padding:14px 0;
  }
  .single-product .product_title{
    font-size:27px;
  }
  .single-product .summary > .price{
    font-size:18px!important;
  }
  .single-product .summary > p,
  .single-product .summary > .stock{
    margin:5px 0 8px;
    font-size:14px;
  }
  .single-product .lls-configurator{
    margin:10px 0 0!important;
    padding:14px 0!important;
  }
  .single-product .lls-intro-grid{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px;
  }
  .single-product .lls-intro h2{
    white-space:nowrap;
    font-size:24px!important;
  }
  .single-product .lls-intro p,
  .single-product .lls-live-total small{
    display:none;
  }
  .single-product .lls-live-total{
    min-width:116px;
    padding:.42rem .6rem;
  }
  .single-product .lls-progress li{
    font-size:.62rem;
  }
}

@media(max-width:480px){
  .single-product .woocommerce-product-gallery img{
    max-height:26vh;
  }
  .single-product .product_title{
    font-size:24px;
  }
  .single-product .lls-intro h2{
    font-size:21px!important;
  }
  .single-product .lls-live-total{
    min-width:108px;
  }
  .single-product .lls-live-total span{
    font-size:.55rem;
  }
  .single-product .lls-live-total strong{
    font-size:.95rem;
  }
  .single-product .lls-progress li{
    font-size:.56rem;
  }
}
