  :root{
    --stone:#F1EFE9;
    --stone-deep:#E7E3DA;
    --ink:#1C1B17;
    --ink-soft:#5B584E;
    --brass:#A07F4A;
    --brass-deep:#7C6238;
    --line:#D9D4C7;
    --panel:#FFFFFF;
    --ok:#4B5D45;
  }
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0;
    background:var(--stone);
    color:var(--ink);
    font-family:'Work Sans', sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3, .serif{ font-family:'EB Garamond', serif; }

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:40;
    display:flex; align-items:center; justify-content:space-between;
    padding:20px 40px;
    background:rgba(241,239,233,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
    gap:20px;
  }
  .logo{ display:flex; align-items:center; }
  .logo img{ height:34px; width:auto; display:block; }
  nav{ display:flex; align-items:center; gap:32px; }
  nav a{ color:var(--ink); text-decoration:none; font-size:14px; }
  nav a:hover{ color:var(--brass-deep); }
  .header-right{ display:flex; align-items:center; gap:16px; }
  .lang-toggle{
    display:flex; border:1px solid var(--ink); border-radius:2px; overflow:hidden;
  }
  .lang-toggle button{
    font-family:inherit; font-size:12px; letter-spacing:.03em; padding:7px 11px;
    border:none; background:none; color:var(--ink-soft); cursor:pointer;
  }
  .lang-toggle button.active{ background:var(--ink); color:var(--stone); }
  .cart-btn{
    position:relative;
    background:none; border:1px solid var(--ink); border-radius:2px;
    padding:9px 16px; font-family:inherit; font-size:13.5px; cursor:pointer;
    display:flex; align-items:center; gap:8px;
  }
  .cart-btn:hover{ border-color:var(--brass-deep); color:var(--brass-deep); }
  .cart-count{
    background:var(--ink); color:var(--stone);
    font-size:11px; width:18px; height:18px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
  }

  /* ---------- HERO ---------- */
  .hero{
    padding:110px 40px 90px;
    max-width:1200px; margin:0 auto;
    display:grid; grid-template-columns:1.1fr .9fr; gap:60px;
    align-items:center;
  }
  .hero h1{
    font-size:52px; line-height:1.08; font-weight:500; margin:0 0 22px;
    letter-spacing:-.01em;
  }
  .hero p{
    font-size:16px; color:var(--ink-soft); max-width:38ch; line-height:1.6; margin:0 0 30px;
  }
  .hero-cta{
    display:inline-block; background:var(--ink); color:var(--stone);
    padding:14px 26px; text-decoration:none; font-size:14px; letter-spacing:.02em;
    border-radius:2px; border:none; cursor:pointer; font-family:inherit;
  }
  .hero-cta:hover{ background:var(--brass-deep); }
  .hero-visual{
    aspect-ratio:4/5; background:var(--stone-deep);
    border-radius:2px; overflow:hidden;
  }
  .hero-visual img{ width:100%; height:100%; object-fit:cover; display:block; }

  /* ---------- CATALOG ---------- */
  .section-head{
    max-width:1200px; margin:0 auto; padding:0 40px;
    display:flex; justify-content:space-between; align-items:baseline;
    margin-bottom:34px;
  }
  .section-head h2{ font-size:30px; font-weight:500; margin:0; }
  .section-head span{ color:var(--ink-soft); font-size:13.5px; }

  .catalog{
    max-width:1200px; margin:0 auto 60px; padding:0 40px;
    display:grid; grid-template-columns:repeat(3, 1fr); gap:36px 28px;
  }
  .catalog-group-label{
    max-width:1200px; margin:60px auto 24px; padding:0 40px;
    font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--brass-deep);
  }
  .product{ display:flex; flex-direction:column; }
  .product-visual{
    aspect-ratio:1/1.05; background:var(--panel); border:1px solid var(--line);
    border-radius:2px; display:flex; align-items:center; justify-content:center;
    margin-bottom:14px; overflow:hidden; position:relative;
  }
  .product-visual img{ width:100%; height:100%; object-fit:contain; display:block; }
  .placeholder-visual{
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:10px; color:var(--ink-soft); width:100%; height:100%;
    border:1px dashed var(--line); box-sizing:border-box;
  }
  .placeholder-visual svg{ width:64px; height:64px; opacity:.5; }
  .placeholder-visual span{ font-size:12px; letter-spacing:.03em; }

  .product-name{ font-family:'EB Garamond', serif; font-size:19px; margin:0 0 4px; }
  .product-cat{ font-size:12px; color:var(--ink-soft); margin:0 0 10px; }

  .swatches{ display:flex; gap:7px; margin-bottom:12px; }
  .swatch{
    width:18px; height:18px; border-radius:50%; cursor:pointer;
    border:1.5px solid transparent; padding:0; position:relative;
  }
  .swatch.selected{ border-color:var(--ink); box-shadow:0 0 0 2px var(--panel) inset; }
  .swatch-label{ font-size:11px; color:var(--ink-soft); margin-left:2px; align-self:center; }

  .product-row{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
  .product-price{ font-size:15px; }
  .product-price .tax-note{ font-size:11px; color:var(--ink-soft); }
  .add-btn{
    background:var(--ink); color:var(--stone); border:1px solid var(--ink); border-radius:2px;
    padding:8px 14px; font-family:inherit; font-size:12.5px; cursor:pointer;
  }
  .add-btn:hover{ background:var(--brass-deep); border-color:var(--brass-deep); }
  .add-btn.added{ background:var(--ok); border-color:var(--ok); color:#fff; }
  .add-btn:disabled{ opacity:.4; cursor:not-allowed; }
  .techsheet-link{
    display:inline-block; margin-top:10px; font-size:12px; color:var(--ink-soft);
    text-decoration:underline; text-underline-offset:2px;
  }
  .techsheet-link:hover{ color:var(--brass-deep); }

  /* ---------- HISTORIA ---------- */
  .historia{
    background:var(--panel);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:100px 40px;
  }
  .historia-inner{ max-width:1000px; margin:0 auto; }
  .historia-kicker{
    font-size:12.5px; letter-spacing:.08em; text-transform:uppercase;
    color:var(--brass-deep); margin-bottom:18px;
  }
  .historia h2{ font-size:36px; font-weight:500; line-height:1.25; max-width:22ch; margin:0 0 36px; }
  .historia-lead{ font-size:18px; line-height:1.75; color:var(--ink-soft); max-width:62ch; margin:0 0 60px; }
  .historia-lead strong{ color:var(--ink); font-weight:500; }
  .pillars{ display:grid; grid-template-columns:repeat(3, 1fr); gap:40px; }
  .pillar{ border-top:1px solid var(--ink); padding-top:18px; }
  .pillar .num{ font-family:'EB Garamond', serif; font-size:14px; color:var(--brass-deep); margin-bottom:14px; display:block; }
  .pillar h3{ font-size:19px; font-weight:500; margin:0 0 10px; }
  .pillar p{ font-size:14px; line-height:1.6; color:var(--ink-soft); margin:0; }

  .album{ margin-top:70px; }
  .album-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:22px; }
  .album-head h3{ font-size:20px; font-weight:500; margin:0; }
  .album-head span{ font-size:13px; color:var(--ink-soft); }
  .album-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
  .album-tile{
    aspect-ratio:.8/1; border-radius:2px; overflow:hidden; position:relative;
    background:var(--stone);
  }
  .album-tile img{ width:100%; height:100%; object-fit:cover; display:block; }
  .album-tile.placeholder{
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:8px; border:1px dashed var(--line); color:var(--ink-soft);
  }
  .album-tile.placeholder svg{ width:30px; height:30px; opacity:.5; }
  .album-tile.placeholder span{ font-size:11px; text-align:center; padding:0 10px; line-height:1.4; }
  @media (max-width:700px){
    .album-grid{ grid-template-columns:repeat(2, 1fr); }
  }

  /* ---------- CONTACTO ---------- */
  .contacto{
    padding:100px 40px; max-width:1200px; margin:0 auto;
    display:grid; grid-template-columns:.85fr 1.15fr; gap:70px;
  }
  .contacto-info h2{ font-size:34px; font-weight:500; margin:0 0 18px; }
  .contacto-info p{ font-size:15px; line-height:1.7; color:var(--ink-soft); margin:0 0 34px; max-width:36ch; }
  .contact-detail{ margin-bottom:22px; }
  .contact-detail .label{ font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--brass-deep); margin-bottom:5px; }
  .contact-detail .value{ font-size:15px; }
  .contact-detail a{ color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line); }
  .contact-detail a:hover{ border-color:var(--ink); }
  .contact-form .field{ margin-bottom:18px; }
  .contact-form label{ display:block; font-size:12px; color:var(--ink-soft); margin-bottom:6px; }
  .contact-form input, .contact-form textarea{
    width:100%; font-family:inherit; font-size:14px; padding:11px 13px;
    border:1px solid var(--line); border-radius:2px; background:var(--stone); resize:vertical;
  }
  .contact-form input:focus, .contact-form textarea:focus{ outline:none; border-color:var(--brass); background:var(--panel); }
  .contact-submit{
    background:var(--ink); color:var(--stone); border:none;
    padding:13px 26px; font-family:inherit; font-size:14px; letter-spacing:.02em;
    border-radius:2px; cursor:pointer;
  }
  .contact-submit:hover{ background:var(--brass-deep); }
  .form-note{ font-size:12px; color:var(--ink-soft); margin-top:12px; display:none; }
  .form-note.show{ display:block; color:var(--ok); }

  footer{ background:var(--ink); color:var(--stone); padding:60px 40px 30px; }
  .footer-inner{ max-width:1200px; margin:0 auto; }
  .footer-top{
    display:flex; justify-content:flex-end; align-items:center;
    gap:28px; padding-bottom:70px;
  }
  .footer-social{ display:flex; gap:28px; }
  .footer-social a{
    color:var(--stone); text-decoration:none; font-size:14px; opacity:.85;
  }
  .footer-social a:hover{ opacity:1; color:#fff; text-decoration:underline; text-underline-offset:3px; }
  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center;
    border-top:1px solid rgba(241,239,233,0.18); padding-top:22px;
    flex-wrap:wrap; gap:14px;
  }
  .footer-brand{ font-family:'EB Garamond', serif; font-size:19px; letter-spacing:.02em; }
  .footer-copy{ font-size:12.5px; color:#B9B6AC; }
  @media (max-width:700px){
    footer{ padding:44px 20px 24px; }
    .footer-top{ justify-content:flex-start; padding-bottom:44px; flex-wrap:wrap; }
  }

  /* ---------- CART DRAWER ---------- */
  .overlay{ position:fixed; inset:0; background:rgba(28,27,23,.35); opacity:0; pointer-events:none; transition:opacity .25s ease; z-index:50; }
  .overlay.open{ opacity:1; pointer-events:auto; }
  .drawer{
    position:fixed; top:0; right:0; height:100%; width:420px; max-width:92vw;
    background:var(--panel); z-index:60; transform:translateX(100%); transition:transform .3s ease;
    display:flex; flex-direction:column;
  }
  .drawer.open{ transform:translateX(0); }
  .drawer-head{ padding:24px 26px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
  .drawer-head h3{ margin:0; font-size:20px; font-weight:500; }
  .close-btn{ background:none; border:none; font-size:20px; cursor:pointer; color:var(--ink); }
  .cart-items{ flex:1; overflow-y:auto; padding:10px 26px; }
  .cart-empty{ color:var(--ink-soft); font-size:14px; padding:40px 0; text-align:center; }
  .cart-item{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
  .cart-item-visual{ width:64px; height:64px; background:var(--stone); border-radius:2px; flex:none; overflow:hidden; }
  .cart-item-visual img{ width:100%; height:100%; object-fit:contain; display:block; }
  .cart-item-info{ flex:1; }
  .cart-item-name{ font-size:14.5px; margin:0 0 4px; }
  .cart-item-price{ font-size:13px; color:var(--ink-soft); }
  .qty-row{ display:flex; align-items:center; gap:10px; margin-top:8px; }
  .qty-btn{ width:22px; height:22px; border:1px solid var(--line); background:none; border-radius:2px; cursor:pointer; font-size:13px; line-height:1; }
  .qty-val{ font-size:13px; min-width:16px; text-align:center; }
  .remove-link{ font-size:12px; color:var(--ink-soft); text-decoration:underline; cursor:pointer; background:none; border:none; margin-left:auto; }
  .drawer-foot{ padding:22px 26px 26px; border-top:1px solid var(--line); }
  .subtotal-row{ display:flex; justify-content:space-between; font-size:15px; margin-bottom:16px; }
  .checkout-btn{ width:100%; background:var(--ink); color:var(--stone); border:none; padding:15px; font-family:inherit; font-size:14.5px; letter-spacing:.02em; border-radius:2px; cursor:pointer; }
  .checkout-btn:disabled{ opacity:.4; cursor:not-allowed; }
  .checkout-btn:not(:disabled):hover{ background:var(--brass-deep); }

  /* ---------- CHECKOUT MODAL ---------- */
  .modal-overlay{ position:fixed; inset:0; background:rgba(28,27,23,.5); display:none; align-items:center; justify-content:center; z-index:80; padding:20px; }
  .modal-overlay.open{ display:flex; }
  .modal{ background:var(--panel); max-width:640px; width:100%; max-height:88vh; overflow-y:auto; border-radius:3px; padding:38px 40px; }
  .modal h3{ font-size:24px; font-weight:500; margin:0 0 6px; }
  .modal .sub{ color:var(--ink-soft); font-size:13.5px; margin:0 0 26px; }
  .form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:22px; }
  .form-grid .full{ grid-column:1 / -1; }
  .field label{ display:block; font-size:12px; color:var(--ink-soft); margin-bottom:6px; }
  .field input{ width:100%; font-family:inherit; font-size:14px; padding:10px 12px; border:1px solid var(--line); border-radius:2px; background:var(--stone); }
  .field input:focus{ outline:none; border-color:var(--brass); background:var(--panel); }
  .divider{ height:1px; background:var(--line); margin:26px 0; }
  .order-summary{ font-size:13.5px; margin-bottom:24px; }
  .order-summary .row{ display:flex; justify-content:space-between; padding:6px 0; color:var(--ink-soft); }
  .order-summary .row.total{ color:var(--ink); font-size:16px; font-weight:500; border-top:1px solid var(--line); padding-top:12px; margin-top:6px; }
  .pay-note{ font-size:12px; color:var(--ink-soft); background:var(--stone); border-radius:2px; padding:10px 12px; margin-bottom:22px; line-height:1.5; }
  .modal-actions{ display:flex; gap:12px; }
  .btn-secondary{ flex:1; background:none; border:1px solid var(--line); color:var(--ink); padding:13px; font-family:inherit; font-size:14px; border-radius:2px; cursor:pointer; }
  .btn-primary{ flex:1.4; background:var(--ink); color:var(--stone); border:none; padding:13px; font-family:inherit; font-size:14px; letter-spacing:.02em; border-radius:2px; cursor:pointer; }
  .btn-primary:hover{ background:var(--brass-deep); }
  .success-view{ text-align:center; padding:20px 0; }
  .success-view .mark{ font-size:38px; margin-bottom:14px; }
  .success-view h3{ margin-bottom:8px; }
  .success-view .order-id{ font-family:'Work Sans', sans-serif; font-size:13px; color:var(--ink-soft); margin-bottom:26px; }

  @media (max-width:860px){
    header{ padding:16px 20px; }
    nav{ display:none; }
    .hero{ grid-template-columns:1fr; padding:70px 20px 50px; }
    .hero h1{ font-size:38px; }
    .catalog{ grid-template-columns:repeat(2,1fr); padding:0 20px; gap:26px 18px; }
    .section-head, .catalog-group-label{ padding:0 20px; }
    .historia{ padding:70px 20px; }
    .historia h2{ font-size:28px; }
    .pillars{ grid-template-columns:1fr; gap:30px; }
    .contacto{ grid-template-columns:1fr; gap:50px; padding:70px 20px; }
    .form-grid{ grid-template-columns:1fr; }
  }
  @media (max-width:500px){ .catalog{ grid-template-columns:1fr; } }