/* ============================================================
   SHARK BLACK — Tienda de pesca deportiva (Paraguay)
   Sistema visual: negro por capas + acento (naranja/azul)
   Mobile-first, responsive.
   ============================================================ */

/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e2667940-a6e3-473b-bc03-019e901efcc7.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e4192ca5-36a5-43d5-9acb-62f971f8c74f.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/59215807-4e8e-45dd-8463-e83279e505ea.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e2667940-a6e3-473b-bc03-019e901efcc7.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e4192ca5-36a5-43d5-9acb-62f971f8c74f.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/59215807-4e8e-45dd-8463-e83279e505ea.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e2667940-a6e3-473b-bc03-019e901efcc7.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e4192ca5-36a5-43d5-9acb-62f971f8c74f.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/59215807-4e8e-45dd-8463-e83279e505ea.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e2667940-a6e3-473b-bc03-019e901efcc7.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e4192ca5-36a5-43d5-9acb-62f971f8c74f.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/59215807-4e8e-45dd-8463-e83279e505ea.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e2667940-a6e3-473b-bc03-019e901efcc7.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/e4192ca5-36a5-43d5-9acb-62f971f8c74f.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/59215807-4e8e-45dd-8463-e83279e505ea.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/128d4b25-c26b-4cbd-a92e-0535956362be.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ac64d37d-5c5a-48e6-bba8-4c1443469f12.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/0bb63250-c0a6-4335-8531-49cced5aabb2.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/530e007f-8f99-407b-90b5-c2fe7af2411a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/128d4b25-c26b-4cbd-a92e-0535956362be.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ac64d37d-5c5a-48e6-bba8-4c1443469f12.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/0bb63250-c0a6-4335-8531-49cced5aabb2.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/530e007f-8f99-407b-90b5-c2fe7af2411a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/128d4b25-c26b-4cbd-a92e-0535956362be.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ac64d37d-5c5a-48e6-bba8-4c1443469f12.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/0bb63250-c0a6-4335-8531-49cced5aabb2.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/530e007f-8f99-407b-90b5-c2fe7af2411a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/128d4b25-c26b-4cbd-a92e-0535956362be.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ac64d37d-5c5a-48e6-bba8-4c1443469f12.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/0bb63250-c0a6-4335-8531-49cced5aabb2.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/530e007f-8f99-407b-90b5-c2fe7af2411a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/6d61b8f2-a62e-4d49-bc8a-2187c4074a58.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/d30f78e7-8ab5-4208-8f59-c9e9c090c3ff.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/a8dd6d2d-e2d8-41cd-ac7e-34520820e3bf.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/6afee90c-9531-42b7-97c9-23019d29a5c2.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/539984f6-7404-4078-8cd6-4bb164a2589f.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/26081c6f-aba8-4858-b092-a76e49f6fd7f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root{
  /* Capas oscuras */
  --bg:        #0a0a0b;
  --bg-alt:    #0e0d10;
  --surface:   #151419;
  --surface-2: #1d1c22;
  --surface-3: #262430;

  --line:   rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);

  --fg:       #f5f3f0;
  --fg-muted: #a6a39d;
  --fg-dim:   #6e6b67;

  /* Acento — naranja por defecto (toggle a azul via Tweaks) */
  --accent:       #2f7fd6;
  --accent-soft:  rgba(47,127,214,0.14);
  --accent-line:  rgba(47,127,214,0.40);
  --accent-fg:    #ffffff;

  --ok:    oklch(0.74 0.15 158);
  --sale:  oklch(0.66 0.21 28);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  --header-h: 60px;

  --radius:   14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --maxw: 1320px;
  --pad: 16px;

  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 18px 40px -24px rgba(0,0,0,0.9);
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; overflow-x:hidden; }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body.no-scroll{ overflow:hidden; }

a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; color:inherit; cursor:pointer; border:none; background:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }

.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad); }

h1,h2,h3,h4{ font-family:var(--font-display); margin:0; line-height:1.04; letter-spacing:-0.01em; }
.eyebrow{
  font-family:var(--font-mono); font-size:11px; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--accent); font-weight:700;
}

/* Striped placeholder for missing imagery */
.ph{
  position:relative; overflow:hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 10px, rgba(255,255,255,0) 10px 20px),
    var(--surface-2);
}
.ph::after{
  content:attr(data-label);
  position:absolute; inset:0; display:grid; place-items:center;
  font-family:var(--font-mono); font-size:10px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--fg-dim); text-align:center; padding:8px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar{
  background:var(--accent);
  color:var(--accent-fg);
  font-weight:600;
  font-size:12.5px;
  letter-spacing:0.01em;
  height:34px;
  display:flex; align-items:center;
  overflow:hidden;
  position:relative;
}
.topbar .tb-track{
  display:flex; align-items:center; gap:0;
  white-space:nowrap; padding:0 12px;
  flex-shrink:0;
  animation: tbScroll 45s linear infinite;
  will-change: transform;
}
/* El contenido está duplicado en el JS ([...msgs, ...msgs]),
   así que desplazar -50% crea un loop infinito sin saltos. */
@keyframes tbScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.topbar:hover .tb-track{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){
  .topbar .tb-track{ animation: none; }
  .topbar{ justify-content:center; }
}
/* Cada mensaje con espacio amplio y un separador discreto */
.topbar .tb-track .tb-msg{
  padding:0 28px;
  position:relative;
  font-weight:600;
  letter-spacing:0.02em;
  display:inline-flex;
  align-items:center;
}
.topbar .tb-track .tb-msg::after{
  content:"";
  position:absolute; right:-3px; top:50%;
  transform:translateY(-50%);
  width:4px; height:4px; border-radius:50%;
  background:var(--accent-fg); opacity:.45;
}
.topbar .tb-dot{ width:5px; height:5px; border-radius:50%; background:var(--accent-fg); opacity:.55; }
.topbar svg{ width:15px; height:15px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(10,10,11,0.86);
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom:1px solid var(--line);
}
.header-row{
  display:flex; align-items:center; gap:12px;
  height:var(--header-h);
}
.icon-btn{
  width:42px; height:42px; border-radius:11px;
  display:grid; place-items:center; color:var(--fg);
  position:relative; flex:none;
  transition:background .15s ease, color .15s ease;
}
.icon-btn:hover{ background:var(--surface-2); }
.icon-btn svg{ width:21px; height:21px; }

/* SEGURIDAD GLOBAL: ningun icono SVG inline sin tamano debe inflarse.
   Cualquier SVG con viewBox pero sin width/height toma 24px por defecto. */
.so-bar svg,
.so-close svg,
.so-results svg,
.foot-contact svg,
.foot-social svg,
.trust-item svg,
.pay-item svg,
.brand svg,
.account-btn svg,
.search-inline svg,
.mm-field svg,
.wa-float svg,
.drawer-head svg{
  width:20px; height:20px; flex:none;
}
.trust-item .ti-ico svg{ width:24px; height:24px; }

.burger{ display:grid; }
@media(min-width:1000px){ .burger{ display:none; } }

/* Logo */
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
@media(min-width:1000px){ .brand{ margin-right:24px; } }
.brand .logo-slot{ width:38px; height:38px; flex:none; }

/* CRITICO: tamano del logo en TODAS las plantillas (no solo home).
   El logo base no tiene max-height, asi que en Woo se expandia a 610x212. */
.site-header .logo-img,
.site-header .custom-logo{
  height:40px !important;
  max-height:40px !important;
  width:auto !important;
  display:block;
}
@media(max-width:600px){
  .site-header .logo-img{ height:32px !important; max-height:32px !important; }
}
/* Cinturon de seguridad: el header nunca desborda su alto */
.site-header{ overflow:hidden; }
.brand .wordmark{ display:flex; flex-direction:column; line-height:1; }
.brand .wordmark b{
  font-family:var(--font-display); font-weight:900; font-size:19px;
  letter-spacing:0.02em; text-transform:uppercase;
}
.brand .wordmark span{
  font-family:var(--font-mono); font-size:8.5px; letter-spacing:0.34em;
  text-transform:uppercase; color:var(--fg-muted); margin-top:3px; padding-left:2px;
}
.brand .wordmark b i{ color:var(--accent); font-style:normal; }

/* Search */
.search-inline{ display:none; }
@media(min-width:1000px){
  .search-inline{
    display:flex; align-items:center; gap:10px; flex:1; max-width:520px;
    background:var(--surface); border:1px solid var(--line);
    border-radius:12px; padding:0 14px; height:44px;
    transition:border-color .15s ease, background .15s ease;
  }
  .search-inline:focus-within{ border-color:var(--accent-line); background:var(--surface-2); }
  .search-inline svg{ width:18px; height:18px; color:var(--fg-muted); flex:none; }
  .search-inline input{
    border:none; background:none; outline:none; color:var(--fg);
    font-family:var(--font-body); font-size:14.5px; width:100%;
  }
  .search-inline input::placeholder{ color:var(--fg-dim); }
  .search-inline kbd{
    font-family:var(--font-mono); font-size:10px; color:var(--fg-dim);
    border:1px solid var(--line-2); border-radius:6px; padding:2px 6px;
  }
}

.header-actions{ display:flex; align-items:center; gap:2px; margin-left:auto; }
@media(min-width:1000px){ .header-actions{ gap:4px; } }
.search-trigger{ display:grid; }
@media(min-width:1000px){ .search-trigger{ display:none; } }

.account-btn{ display:none; }
@media(min-width:1000px){
  .account-btn{
    display:flex; align-items:center; gap:9px; height:42px; padding:0 12px;
    border-radius:11px; transition:background .15s ease;
  }
  .account-btn:hover{ background:var(--surface-2); }
  .account-btn svg{ width:20px; height:20px; }
  .account-btn .ac-txt{ display:flex; flex-direction:column; line-height:1.15; }
  .account-btn .ac-txt small{ font-size:10.5px; color:var(--fg-muted); }
  .account-btn .ac-txt b{ font-size:13px; font-weight:600; }
}

.cart-count{
  position:absolute; top:3px; right:3px; min-width:18px; height:18px; padding:0 4px;
  background:var(--accent); color:var(--accent-fg);
  border-radius:9px; font-family:var(--font-mono); font-size:10px; font-weight:700;
  display:grid; place-items:center; transform:scale(0); transition:transform .2s cubic-bezier(.3,1.4,.5,1);
  border:2px solid var(--bg);
}
.cart-count.show{ transform:scale(1); }

/* Social cluster (desktop) */
.social{ display:none; }
@media(min-width:1000px){
  .social{ display:flex; align-items:center; gap:2px; padding-left:6px; margin-left:4px; border-left:1px solid var(--line); }
  .social a{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center; color:var(--fg-muted); transition:.15s; }
  .social a:hover{ color:var(--fg); background:var(--surface-2); }
  .social svg{ width:18px; height:18px; }
}

/* ============================================================
   CATEGORY NAV (desktop)
   ============================================================ */
.catnav{ display:none; border-bottom:1px solid var(--line); background:var(--bg-alt); }
@media(min-width:1000px){
  .catnav{ display:block; }
  .catnav ul{ display:flex; align-items:center; gap:2px; height:46px; }
  .catnav a{
    font-size:13.5px; font-weight:600; color:var(--fg-muted);
    padding:8px 13px; border-radius:9px; white-space:nowrap;
    transition:.15s; position:relative;
  }
  .catnav a:hover{ color:var(--fg); background:var(--surface); }
  .catnav a.is-hot{ color:var(--accent); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{ padding-top:18px; }
.hero-card{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--line); background:var(--surface);
  min-height:420px; display:flex; flex-direction:column; justify-content:flex-end;
}
.hero-card .hero-img{ position:absolute; inset:0; width:100%; height:100%; background-size:cover; background-position:center; }
.hero-card .hero-img.has-img{ animation: sbKenBurns 14s ease-out infinite alternate; }
@keyframes sbKenBurns{ from{ transform:scale(1); } to{ transform:scale(1.12); } }
@media (prefers-reduced-motion: reduce){ .hero-card .hero-img.has-img{ animation:none; } }
.hero-card .hero-img image-slot{ width:100%; height:100%; }
.hero-card .hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.15) 0%, rgba(10,10,11,0.55) 55%, rgba(10,10,11,0.95) 100%),
    linear-gradient(95deg, rgba(10,10,11,0.85) 0%, rgba(10,10,11,0.35) 50%, rgba(10,10,11,0) 80%);
}
.hero-inner{ position:relative; padding:26px 22px 28px; max-width:560px; }
.hero-flag{
  display:inline-flex; align-items:center; gap:8px; margin-bottom:16px;
  background:var(--accent); color:var(--accent-fg);
  font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:0.12em;
  text-transform:uppercase; padding:7px 12px; border-radius:8px;
}
.hero h1{
  font-size:clamp(34px, 9vw, 60px); font-weight:900; text-transform:uppercase;
  letter-spacing:-0.02em;
}
.hero h1 em{ font-style:normal; color:var(--accent); }
.hero p{ color:var(--fg-muted); font-size:16px; margin:14px 0 22px; max-width:42ch; }
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; }

@media(min-width:760px){
  .hero-card{ min-height:520px; }
  .hero-inner{ padding:42px 44px 46px; }
}
@media(min-width:1000px){
  .hero-card{ min-height:560px; }
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--font-display); font-weight:700; font-size:14.5px;
  letter-spacing:0.01em; padding:14px 22px; border-radius:12px;
  transition:transform .12s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn svg{ width:18px; height:18px; }
.btn-primary{ background:var(--accent); color:var(--accent-fg); }
.btn-primary:hover{ filter:brightness(1.07); }
.btn-ghost{ background:rgba(255,255,255,0.06); color:var(--fg); border:1px solid var(--line-2); backdrop-filter:blur(6px); }
.btn-ghost:hover{ background:rgba(255,255,255,0.12); }
.btn-block{ width:100%; }

/* Hero slider dots */
.hero-dots{ position:absolute; top:22px; right:22px; display:flex; gap:7px; z-index:3; }
.hero-dots button{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,0.3); transition:.2s; }
.hero-dots button.active{ background:var(--accent); width:24px; border-radius:5px; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section.block{ padding-top:46px; }
section.block:last-of-type{ padding-bottom:8px; }
.sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:20px; }
.sec-head .titles .eyebrow{ display:block; margin-bottom:8px; }
.sec-head h2{ font-size:clamp(24px, 6vw, 34px); font-weight:800; text-transform:uppercase; }
.sec-head .see-all{
  font-size:13px; font-weight:600; color:var(--fg-muted); display:inline-flex; align-items:center; gap:6px;
  flex:none; padding-bottom:4px;
}
.sec-head .see-all:hover{ color:var(--accent); }
.sec-head .see-all svg{ width:15px; height:15px; }

/* ============================================================
   PRODUCT GRID + CARD
   ============================================================ */
.prod-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media(min-width:680px){ .prod-grid{ grid-template-columns:repeat(3,1fr); gap:16px; } }
@media(min-width:1000px){ .prod-grid{ grid-template-columns:repeat(4,1fr); gap:18px; } }

.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition:border-color .18s ease, transform .18s ease;
}
.card:hover{ border-color:var(--line-2); transform:translateY(-3px); }
.card .media{ position:relative; aspect-ratio:1/1; background:#fff; overflow:hidden; }
.card .media .ph{ position:absolute; inset:0; }
.card .media image-slot{ width:100%; height:100%; }
/* Anular el height="400" del HTML que estiraba la imagen vertical.
   Con height:100% la foto llena el recuadro cuadrado sin deformarse. */
.card .media img{
  width:100%; height:100%;
  object-fit:contain;
  display:block;
}
.card .badges{ position:absolute; top:9px; left:9px; display:flex; flex-direction:column; gap:6px; z-index:2; }
.tag{
  font-family:var(--font-mono); font-size:10px; font-weight:700; letter-spacing:0.06em;
  padding:4px 8px; border-radius:7px; text-transform:uppercase;
}
.tag.sale{ background:var(--sale); color:#fff; }
.tag.new{ background:var(--fg); color:var(--bg); }
.tag.hot{ background:var(--accent); color:var(--accent-fg); }
.card .wish{
  position:absolute; top:9px; right:9px; width:32px; height:32px; border-radius:9px; z-index:2;
  background:rgba(10,10,11,0.5); backdrop-filter:blur(6px); display:grid; place-items:center;
  color:var(--fg); opacity:0; transform:translateY(-4px); transition:.18s;
}
.card:hover .wish{ opacity:1; transform:none; }
.card .wish svg{ width:16px; height:16px; }
.card .wish.on{ color:var(--sale); opacity:1; }

.card .body{ padding:13px 13px 14px; display:flex; flex-direction:column; gap:7px; flex:1; }
.card .cat{ font-family:var(--font-mono); font-size:9.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--fg-dim); }
.card .name{ font-family:var(--font-body); font-weight:600; font-size:13.5px; line-height:1.3; color:var(--fg); text-wrap:pretty; }
.card .rating{ display:flex; align-items:center; gap:5px; font-size:11.5px; color:var(--fg-muted); }
.card .rating .stars{ display:inline-flex; color:var(--accent); }
.card .rating .stars svg{ width:12px; height:12px; }
.card .price-row{ display:flex; align-items:baseline; gap:8px; margin-top:auto; flex-wrap:wrap; }
.card .price{ font-family:var(--font-display); font-weight:800; font-size:17px; }
.card .price .cur{ font-size:11px; color:var(--fg-muted); font-weight:700; margin-right:1px; }
.card .old{ font-family:var(--font-mono); font-size:12px; color:var(--fg-dim); text-decoration:line-through; }
.card .stock{ display:flex; align-items:center; gap:6px; font-size:11px; color:var(--ok); font-weight:600; }
.card .stock.low{ color:var(--accent); }
.card .stock .dot{ width:6px; height:6px; border-radius:50%; background:currentColor; }
.card .add{
  margin-top:4px; width:100%; height:40px; border-radius:10px;
  background:var(--surface-2); border:1px solid var(--line-2); color:var(--fg);
  font-family:var(--font-display); font-weight:700; font-size:13px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  transition:.15s;
}
.card .add svg{ width:16px; height:16px; }
.card .add:hover{ background:var(--accent); color:var(--accent-fg); border-color:var(--accent); }
.card .add.added{ background:var(--ok); border-color:var(--ok); color:#06140c; }

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.cat-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media(min-width:680px){ .cat-grid{ grid-template-columns:repeat(4,1fr); gap:14px; } }
.cat-tile{
  position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:1/1.12;
  border:1px solid var(--line); background:var(--surface-2); display:block;
  transition:.18s;
}
@media(min-width:680px){ .cat-tile{ aspect-ratio:1/1.18; } }
.cat-tile:hover{ border-color:var(--accent-line); transform:translateY(-3px); }
.cat-tile image-slot{ width:100%; height:100%; position:absolute; inset:0; }
.cat-tile .ph{ position:absolute; inset:0; }
.cat-tile .cscrim{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,10,11,0) 30%, rgba(10,10,11,0.9) 100%); }
.cat-tile .ctext{ position:absolute; left:0; right:0; bottom:0; padding:14px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.cat-tile .ctext b{ font-family:var(--font-display); font-weight:800; font-size:15px; text-transform:uppercase; letter-spacing:0.01em; }
.cat-tile .ctext .arrow{ width:28px; height:28px; border-radius:8px; background:var(--accent); color:var(--accent-fg); display:grid; place-items:center; flex:none; transform:translateX(4px); opacity:0; transition:.18s; }
.cat-tile:hover .ctext .arrow{ opacity:1; transform:none; }
.cat-tile .ctext .arrow svg{ width:15px; height:15px; }
.cat-ico{ position:absolute; top:12px; left:12px; width:34px; height:34px; border-radius:9px; background:rgba(10,10,11,0.55); backdrop-filter:blur(6px); display:grid; place-items:center; color:var(--accent); border:1px solid var(--line); }
.cat-ico svg{ width:18px; height:18px; }

/* ============================================================
   PROMO STRIP (full-bleed feature)
   ============================================================ */
.promo-band{ margin-top:46px; }
.promo-band .pb-card{
  border-radius:var(--radius-lg); border:1px solid var(--accent-line);
  background:linear-gradient(120deg, var(--accent-soft), transparent 60%), var(--surface);
  padding:28px 22px; display:grid; gap:18px;
}
@media(min-width:820px){ .promo-band .pb-card{ align-items:center; padding:40px 44px; } }
.promo-band h3{ font-size:clamp(24px,6vw,38px); font-weight:900; text-transform:uppercase; }
.promo-band h3 em{ font-style:normal; color:var(--accent); }
.promo-band p{ color:var(--fg-muted); margin:12px 0 0; }
.countdown{ display:flex; gap:10px; }
@media(min-width:820px){ .countdown{ justify-content:flex-end; } }
.cd-cell{ background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:12px 6px; text-align:center; min-width:64px; }
.cd-cell b{ font-family:var(--font-mono); font-size:26px; font-weight:700; display:block; }
.cd-cell small{ font-family:var(--font-mono); font-size:9px; letter-spacing:0.14em; text-transform:uppercase; color:var(--fg-dim); }

/* ============================================================
   TRUST BLOCK
   ============================================================ */
.trust{ margin-top:52px; border-top:1px solid var(--line); background:var(--bg-alt); padding:38px 0 8px; }
.trust-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
@media(min-width:760px){ .trust-grid{ grid-template-columns:repeat(4,1fr); } }
.trust-item{ display:flex; flex-direction:column; gap:10px; padding:18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.trust-item .ti-ico{ width:42px; height:42px; border-radius:11px; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; border:1px solid var(--accent-line); }
.trust-item .ti-ico svg{ width:22px; height:22px; }
.trust-item b{ font-family:var(--font-display); font-weight:700; font-size:15px; }
.trust-item span{ font-size:12.5px; color:var(--fg-muted); line-height:1.4; }

.pay-row{ margin-top:30px; display:flex; flex-direction:column; gap:14px; }
@media(min-width:760px){ .pay-row{ flex-direction:row; align-items:center; justify-content:space-between; } }
.pay-row .pay-label{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--fg-dim); }
.pay-chips{ display:flex; flex-wrap:wrap; gap:9px; }
.pay-chip{
  display:flex; align-items:center; gap:8px; height:40px; padding:0 13px;
  background:var(--surface); border:1px solid var(--line-2); border-radius:10px;
  font-size:12.5px; font-weight:600; color:var(--fg);
}
.pay-chip svg{ width:20px; height:20px; color:var(--fg-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ border-top:1px solid var(--line); margin-top:48px; padding:46px 0 30px; background:var(--bg); }
/* Logo del footer: ya es PNG blanco transparente, no necesita filtro */
.site-footer .footer-logo{ height:auto; max-width:170px; display:block; margin-bottom:12px; }
.foot-grid{ display:grid; grid-template-columns:1fr; gap:32px; }
@media(min-width:760px){ .foot-grid{ grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:28px; } }
.foot-brand .wordmark b{ font-family:var(--font-display); font-weight:900; font-size:22px; text-transform:uppercase; }
.foot-brand .wordmark b i{ color:var(--accent); font-style:normal; }
.foot-brand p{ color:var(--fg-muted); font-size:13.5px; margin:14px 0 18px; max-width:34ch; }
.foot-contact{ display:flex; flex-direction:column; gap:8px; }
.foot-contact a, .foot-contact div{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--fg-muted); }
.foot-contact svg{ width:17px; height:17px; color:var(--accent); flex:none; }
.foot-col h4{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--fg-dim); margin-bottom:14px; font-weight:700; }
.foot-col ul{ display:flex; flex-direction:column; gap:10px; }
.foot-col a{ font-size:13.5px; color:var(--fg-muted); transition:.15s; }
.foot-col a:hover{ color:var(--accent); }
.foot-social{ display:flex; gap:8px; margin-top:4px; }
.foot-social a{ width:40px; height:40px; border-radius:10px; border:1px solid var(--line-2); display:grid; place-items:center; color:var(--fg-muted); transition:.15s; }
.foot-social a:hover{ color:var(--fg); border-color:var(--accent-line); background:var(--surface); }
.foot-social svg{ width:18px; height:18px; }
.foot-hours{ font-size:12.5px; color:var(--fg-muted); line-height:1.7; margin-top:6px; }
.foot-hours b{ color:var(--fg); }
.foot-bottom{ border-top:1px solid var(--line); margin-top:34px; padding-top:22px; display:flex; flex-direction:column; gap:8px; align-items:flex-start; justify-content:space-between; }
@media(min-width:680px){ .foot-bottom{ flex-direction:row; align-items:center; } }
.foot-bottom small{ font-size:12px; color:var(--fg-dim); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float{
  position:fixed; right:16px; bottom:16px; z-index:70;
  display:flex; align-items:center; gap:0;
  background:#1faf54; color:#fff; border-radius:30px; height:56px;
  box-shadow:0 14px 30px -10px rgba(31,175,84,0.6); overflow:hidden;
  transition:gap .2s ease, padding .2s ease;
}
.wa-float .wa-ic{ width:56px; height:56px; display:grid; place-items:center; flex:none; }
.wa-float .wa-ic svg{ width:28px; height:28px; }
.wa-float .wa-txt{ font-weight:700; font-size:14px; white-space:nowrap; max-width:0; opacity:0; transition:.25s; }
@media(min-width:760px){
  .wa-float{ padding-right:0; }
  .wa-float:hover{ padding-right:20px; }
  .wa-float:hover .wa-txt{ max-width:160px; opacity:1; }
}

/* ============================================================
   DRAWERS / OVERLAYS
   ============================================================ */
.scrim{
  position:fixed; inset:0; z-index:80; background:rgba(0,0,0,0.6);
  backdrop-filter:blur(2px); opacity:0; visibility:hidden; transition:.25s;
}
.scrim.open{ opacity:1; visibility:visible; }

.drawer{
  position:fixed; top:0; bottom:0; z-index:90; width:min(420px,90vw);
  background:var(--bg); display:flex; flex-direction:column;
  transition:transform .32s cubic-bezier(.4,0,.1,1);
  box-shadow:0 0 60px rgba(0,0,0,0.6);
}
.drawer.right{ right:0; transform:translateX(105%); border-left:1px solid var(--line); }
.drawer.left{ left:0; transform:translateX(-105%); border-right:1px solid var(--line); width:min(360px,86vw); }
.drawer.open{ transform:translateX(0); }
.drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:18px 18px 16px; border-bottom:1px solid var(--line); flex:none; }
.drawer-head h3{ font-family:var(--font-display); font-weight:800; font-size:17px; text-transform:uppercase; display:flex; align-items:center; gap:9px; }
.drawer-head .close{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center; color:var(--fg-muted); }
.drawer-head .close:hover{ background:var(--surface-2); color:var(--fg); }
.drawer-head .close svg{ width:20px; height:20px; }
.drawer-body{ flex:1; overflow-y:auto; }

/* Mobile menu */
.mm-search{ padding:16px 16px 8px; }
.mm-search .mm-field{ display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:0 14px; height:46px; }
.mm-search input{ border:none; background:none; outline:none; color:var(--fg); width:100%; font-family:var(--font-body); font-size:15px; }
.mm-search svg{ width:18px; height:18px; color:var(--fg-muted); }
.mm-list{ padding:8px 12px 12px; }
.mm-list .mm-label{ font-family:var(--font-mono); font-size:10px; letter-spacing:0.16em; text-transform:uppercase; color:var(--fg-dim); padding:14px 12px 8px; }
.mm-list a{ display:flex; align-items:center; justify-content:space-between; padding:14px 12px; border-radius:11px; font-weight:600; font-size:15px; }
.mm-list a:active{ background:var(--surface-2); }
.mm-list a .mm-ic{ display:flex; align-items:center; gap:13px; }
.mm-list a .mm-ic svg{ width:19px; height:19px; color:var(--accent); }
.mm-list a .chev{ width:16px; height:16px; color:var(--fg-dim); }
.mm-foot{ padding:18px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:12px; }
.mm-social{ display:flex; gap:9px; }
.mm-social a{ flex:1; height:46px; border-radius:11px; border:1px solid var(--line-2); display:grid; place-items:center; color:var(--fg-muted); }
.mm-social a:active{ background:var(--surface); }
.mm-social svg{ width:20px; height:20px; }

/* Cart */
.cart-empty{ padding:60px 24px; text-align:center; color:var(--fg-muted); display:flex; flex-direction:column; align-items:center; gap:16px; }
.cart-empty svg{ width:54px; height:54px; color:var(--fg-dim); }
.cart-empty b{ font-family:var(--font-display); font-size:18px; color:var(--fg); }
.cart-items{ padding:8px 16px; display:flex; flex-direction:column; }
.cart-item{ display:flex; gap:13px; padding:14px 0; border-bottom:1px solid var(--line); }
.cart-item .ci-media{ width:72px; height:72px; border-radius:10px; overflow:hidden; flex:none; background:#fff; position:relative; }
.cart-item .ci-media .ph{ position:absolute; inset:0; }
.cart-item .ci-info{ flex:1; display:flex; flex-direction:column; gap:5px; min-width:0; }
.cart-item .ci-info .ci-name{ font-weight:600; font-size:13.5px; line-height:1.3; }
.cart-item .ci-info .ci-cat{ font-family:var(--font-mono); font-size:9.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--fg-dim); }
.cart-item .ci-bottom{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.qty{ display:flex; align-items:center; gap:0; border:1px solid var(--line-2); border-radius:9px; overflow:hidden; }
.qty button{ width:30px; height:30px; display:grid; place-items:center; color:var(--fg); }
.qty button:hover{ background:var(--surface-2); }
.qty button svg{ width:14px; height:14px; }
.qty span{ min-width:30px; text-align:center; font-family:var(--font-mono); font-size:13px; font-weight:700; }
.cart-item .ci-price{ font-family:var(--font-display); font-weight:800; font-size:14px; }
.cart-item .ci-remove{ font-size:11px; color:var(--fg-dim); display:inline-flex; align-items:center; gap:4px; margin-top:3px; }
.cart-item .ci-remove:hover{ color:var(--sale); }
.cart-item .ci-remove svg{ width:12px; height:12px; }

.cart-foot{ border-top:1px solid var(--line); padding:18px 16px calc(18px + env(safe-area-inset-bottom)); flex:none; background:var(--bg); }
.cart-foot .ship-note{ display:flex; align-items:center; gap:8px; font-size:12px; color:var(--ok); background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:10px 12px; margin-bottom:14px; }
.cart-foot .ship-note svg{ width:16px; height:16px; flex:none; }
.cart-foot .ship-note.away{ color:var(--fg-muted); }
.totals{ display:flex; flex-direction:column; gap:9px; margin-bottom:16px; }
.totals .row{ display:flex; justify-content:space-between; font-size:13.5px; color:var(--fg-muted); }
.totals .row.grand{ font-family:var(--font-display); font-weight:800; font-size:20px; color:var(--fg); padding-top:10px; border-top:1px solid var(--line); }
.totals .row.grand .cur{ font-size:12px; color:var(--fg-muted); }

/* Search overlay */
.search-overlay{
  position:fixed; inset:0; z-index:95; background:rgba(10,10,11,0.96); backdrop-filter:blur(8px);
  opacity:0; visibility:hidden; transition:.2s; padding-top:14vh;
}
.search-overlay.open{ opacity:1; visibility:visible; }
.so-inner{ width:min(640px,92vw); margin-inline:auto; }
.so-field{ display:flex; align-items:center; gap:13px; background:var(--surface); border:1px solid var(--accent-line); border-radius:16px; padding:0 18px; height:60px; }
.so-field svg{ width:24px; height:24px; color:var(--accent); }
.so-field input{ border:none; background:none; outline:none; color:var(--fg); width:100%; font-family:var(--font-display); font-weight:600; font-size:20px; }
.so-field input::placeholder{ color:var(--fg-dim); }
.so-field .esc{ font-family:var(--font-mono); font-size:11px; color:var(--fg-dim); border:1px solid var(--line-2); border-radius:7px; padding:4px 8px; }
.so-sug{ margin-top:20px; }
.so-sug .so-label{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--fg-dim); margin-bottom:12px; }
.so-chips{ display:flex; flex-wrap:wrap; gap:9px; }
.so-chips a{ padding:9px 14px; border-radius:10px; background:var(--surface); border:1px solid var(--line-2); font-size:13.5px; font-weight:600; color:var(--fg-muted); }
.so-chips a:hover{ color:var(--accent); border-color:var(--accent-line); }
.so-results{ margin-top:20px; display:flex; flex-direction:column; gap:6px; max-height:46vh; overflow-y:auto; }
.so-result{ display:flex; align-items:center; gap:14px; padding:10px; border-radius:12px; }
.so-result:hover{ background:var(--surface); }
.so-result .sr-media{ width:48px; height:48px; border-radius:9px; background:#fff; position:relative; overflow:hidden; flex:none; }
.so-result .sr-media .ph{ position:absolute; inset:0; }
.so-result .sr-info{ flex:1; }
.so-result .sr-info b{ display:block; font-size:13.5px; font-weight:600; }
.so-result .sr-info span{ font-family:var(--font-mono); font-size:10px; letter-spacing:0.1em; text-transform:uppercase; color:var(--fg-dim); }
.so-result .sr-price{ font-family:var(--font-display); font-weight:800; font-size:14px; }
.so-none{ color:var(--fg-dim); font-size:14px; padding:14px 10px; }

/* Toast */
.toast-wrap{ position:fixed; left:50%; bottom:84px; transform:translateX(-50%); z-index:99; display:flex; flex-direction:column; gap:10px; align-items:center; pointer-events:none; }
.toast{
  display:flex; align-items:center; gap:11px; background:var(--surface-2); color:var(--fg);
  border:1px solid var(--line-2); border-radius:13px; padding:13px 17px; font-size:13.5px; font-weight:600;
  box-shadow:var(--shadow); transform:translateY(20px); opacity:0; transition:.3s; max-width:90vw;
}
.toast.show{ transform:none; opacity:1; }
.toast .t-ic{ width:26px; height:26px; border-radius:8px; background:var(--ok); color:#06140c; display:grid; place-items:center; flex:none; }
.toast .t-ic svg{ width:16px; height:16px; }

/* Checkout modal */
.checkout-modal{
  position:fixed; inset:0; z-index:96; display:grid; place-items:center; padding:18px;
  background:rgba(0,0,0,0.7); backdrop-filter:blur(4px);
  opacity:0; visibility:hidden; transition:.22s;
}
.checkout-modal.open{ opacity:1; visibility:visible; }
.co-card{
  width:min(520px,100%); max-height:90vh; overflow-y:auto;
  background:var(--bg); border:1px solid var(--line-2); border-radius:var(--radius-lg);
  transform:translateY(16px) scale(.98); transition:.25s;
}
.checkout-modal.open .co-card{ transform:none; }
.co-head{ padding:20px 20px 16px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.co-head .steps{ display:flex; align-items:center; gap:7px; }
.co-head .steps i{ width:7px; height:7px; border-radius:50%; background:var(--line-2); transition:.2s; }
.co-head .steps i.active{ background:var(--accent); width:22px; border-radius:4px; }
.co-head h3{ font-family:var(--font-display); font-weight:800; font-size:18px; text-transform:uppercase; }
.co-body{ padding:20px; }
.co-body .field{ margin-bottom:14px; }
.co-body label{ display:block; font-size:12px; font-weight:600; color:var(--fg-muted); margin-bottom:7px; }
.co-body input, .co-body select{
  width:100%; height:46px; background:var(--surface); border:1px solid var(--line-2); border-radius:11px;
  color:var(--fg); padding:0 14px; font-family:var(--font-body); font-size:14.5px; outline:none;
}
.co-body input:focus, .co-body select:focus{ border-color:var(--accent-line); }
.co-row2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.pay-opts{ display:flex; flex-direction:column; gap:9px; }
.pay-opt{ display:flex; align-items:center; gap:12px; padding:14px; border:1px solid var(--line-2); border-radius:12px; cursor:pointer; transition:.15s; }
.pay-opt:hover{ border-color:var(--line-2); background:var(--surface); }
.pay-opt.sel{ border-color:var(--accent); background:var(--accent-soft); }
.pay-opt .radio{ width:20px; height:20px; border-radius:50%; border:2px solid var(--line-2); flex:none; display:grid; place-items:center; }
.pay-opt.sel .radio{ border-color:var(--accent); }
.pay-opt.sel .radio::after{ content:''; width:10px; height:10px; border-radius:50%; background:var(--accent); }
.pay-opt .po-txt{ flex:1; }
.pay-opt .po-txt b{ font-size:13.5px; font-weight:600; display:block; }
.pay-opt .po-txt small{ font-size:11.5px; color:var(--fg-muted); }
.co-summary{ background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:14px; margin-bottom:16px; }
.co-summary .row{ display:flex; justify-content:space-between; font-size:13px; color:var(--fg-muted); padding:4px 0; }
.co-summary .row.grand{ font-family:var(--font-display); font-weight:800; font-size:17px; color:var(--fg); border-top:1px solid var(--line); margin-top:6px; padding-top:10px; }
.co-success{ padding:40px 24px; text-align:center; }
.co-success .check{ width:72px; height:72px; border-radius:50%; background:var(--ok); color:#06140c; display:grid; place-items:center; margin:0 auto 20px; }
.co-success .check svg{ width:38px; height:38px; }
.co-success h3{ font-size:24px; margin-bottom:10px; }
.co-success p{ color:var(--fg-muted); font-size:14px; margin-bottom:6px; }
.co-success .order-id{ font-family:var(--font-mono); color:var(--accent); font-weight:700; }

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; }
}

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks-panel{
  position:fixed; right:16px; bottom:84px; z-index:120; width:264px;
  background:rgba(18,17,22,0.96); backdrop-filter:blur(16px);
  border:1px solid var(--line-2); border-radius:16px;
  box-shadow:0 24px 60px -20px rgba(0,0,0,0.8);
  opacity:0; visibility:hidden; transform:translateY(10px) scale(.98); transition:.2s;
}
.tweaks-panel.open{ opacity:1; visibility:visible; transform:none; }
.tweaks-panel .tw-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid var(--line); }
.tweaks-panel .tw-head b{ font-family:var(--font-display); font-weight:800; font-size:14px; text-transform:uppercase; letter-spacing:0.04em; }
.tweaks-panel .tw-head button{ width:28px; height:28px; border-radius:8px; color:var(--fg-muted); display:grid; place-items:center; font-size:14px; }
.tweaks-panel .tw-head button:hover{ background:var(--surface-2); color:var(--fg); }
.tweaks-panel .tw-body{ padding:16px; display:flex; flex-direction:column; gap:18px; }
.tweaks-panel .tw-label{ display:block; font-family:var(--font-mono); font-size:10px; letter-spacing:0.14em; text-transform:uppercase; color:var(--fg-dim); margin-bottom:10px; }
.tweaks-panel .tw-swatches{ display:flex; gap:10px; }
.tweaks-panel .tw-swatches button{ width:34px; height:34px; border-radius:50%; background:var(--sw); border:2px solid transparent; box-shadow:0 0 0 2px var(--line-2); transition:.15s; }
.tweaks-panel .tw-swatches button.on{ box-shadow:0 0 0 2px var(--sw); border-color:var(--bg); transform:scale(1.06); }
.tweaks-panel .tw-seg{ display:flex; gap:6px; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:4px; }
.tweaks-panel .tw-seg button{ flex:1; height:34px; border-radius:7px; font-size:12.5px; font-weight:600; color:var(--fg-muted); transition:.15s; }
.tweaks-panel .tw-seg button.on{ background:var(--accent); color:var(--accent-fg); }


/* ============================================================
   WOOCOMMERCE INTEGRATION
   ============================================================ */

/* Reset WC defaults to match theme */
.woocommerce-page .woocommerce,
.woocommerce { background: transparent; }

/* Product archive grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); }
}

/* CRITICO: Resetear float/width por defecto de WooCommerce
   (woocommerce.css trae li.product{float:left;width:30.75%} que
   pelea contra el grid y deja tarjetas de 56px cortadas) */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}

/* Evitar texto cortado en titulos y botones de las tarjetas */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .button {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.woocommerce ul.products li.product:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--fg);
  padding: 12px 14px 4px;
  margin: 0;
}

.woocommerce ul.products li.product .price {
  color: var(--accent);
  font-weight: 700;
  padding: 0 14px 12px;
  display: block;
}

.woocommerce ul.products li.product .price del { 
  color: var(--fg-muted); 
  font-weight: 400;
}

.woocommerce ul.products li.product .button {
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s;
}

.woocommerce ul.products li.product .button:hover { opacity: .85; }

/* ============================================================
   FIX: Ancho del contenedor WooCommerce + layout de producto
   El espacio negro a la derecha venia de que las plantillas Woo
   no usaban todo el ancho (esperaban un sidebar inexistente).
   ============================================================ */
.wc-wrap,
.wc-main {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  box-sizing: border-box;
}

/* El contenido principal de Woo ocupa el 100% (no hay sidebar) */
.woocommerce .content-area,
.woocommerce-page .content-area,
.woocommerce #primary,
.woocommerce-page #primary,
.woocommerce #content,
.woocommerce-page #content,
.woocommerce-page > .wc-wrap,
.woocommerce-page main,
.woocommerce main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Ocultar cualquier sidebar residual de WooCommerce */
.woocommerce-page .widget-area,
.woocommerce-page #secondary,
.woocommerce .widget-area,
.woocommerce #secondary {
  display: none !important;
}

/* Limpiar floats residuales que dejan hueco */
.woocommerce::after,
.woocommerce-page::after {
  content: "";
  display: table;
  clear: both;
}

/* Single product page */
.woocommerce div.product {
  color: var(--fg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Galeria de imagenes a la izquierda */
.woocommerce div.product .woocommerce-product-gallery {
  width: 100% !important;
  min-width: 0 !important;   /* CLAVE: permite que la columna 1fr se encoja en grid */
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* La imagen no debe desbordar. NO forzamos width en el __wrapper:
   FlexSlider necesita ponerle width:800% para alinear las slides en
   fila. Si lo forzamos a 100%, las slides se apilan y se rompe. */
.woocommerce div.product .woocommerce-product-gallery img {
  max-width: 100% !important;
  height: auto !important;
}
/* Fondo blanco en la galería: evita el parpadeo negro durante la
   transición al cambiar de foto (el fondo del main es oscuro). */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery .flex-viewport {
  background: #fff;
}

/* Resumen/info del producto a la derecha */
.woocommerce div.product .summary,
.woocommerce div.product .entry-summary {
  width: 100% !important;
  min-width: 0 !important;   /* CLAVE: idem, evita que se expanda */
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* Pestañas, descripcion y relacionados ocupan todo el ancho abajo */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells {
  grid-column: 1 / -1;
  min-width: 0;        /* CLAVE: estos bloques full-width también inflaban la columna */
  max-width: 100%;
}

/* En movil, una sola columna */
@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .summary,
  .woocommerce div.product .entry-summary {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

.woocommerce div.product .product_title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 12px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--fg-muted);
  line-height: 1.6;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity .2s;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover { opacity: .85; }

/* Cart page */
.woocommerce table.cart {
  border-collapse: collapse;
  width: 100%;
  color: var(--fg);
}

.woocommerce table.cart th,
.woocommerce table.cart td {
  border-color: var(--line);
  color: var(--fg);
  padding: 12px;
}

.woocommerce table.cart th { color: var(--fg-muted); font-size: .85rem; }

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  border: none !important;
}

/* Checkout */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: var(--font-display);
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.woocommerce form .form-row label { color: var(--fg-muted); }

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--fg);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Payment methods */
.woocommerce-checkout #payment {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.woocommerce-checkout #payment ul.payment_methods li label {
  color: var(--fg);
}

#place_order {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 16px 32px !important;
  width: 100% !important;
  border: none !important;
  cursor: pointer !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
  background: var(--surface-2);
  color: var(--fg);
  border-top-color: var(--accent);
}

.woocommerce-error {
  background: var(--surface-2);
  color: var(--fg);
  border-top-color: var(--sale);
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  color: var(--fg-muted);
  font-size: .85rem;
}

.woocommerce .woocommerce-breadcrumb a { color: var(--accent); }

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  color: var(--fg-muted);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color .2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  color: var(--accent);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--surface);
  border-color: var(--line);
  color: var(--fg);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   FIXES MÓVIL (v1.6.1)
   1. Título de resultados/categoría con margen correcto
   2. Hero: botones no tapados por WhatsApp
   3. Descripción de categoría más compacta
   ============================================================ */

/* --- 1. Títulos de archivo/búsqueda con padding correcto en móvil --- */
.woocommerce-products-header,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce-page .page-title,
.woocommerce h1.entry-title,
.woocommerce-products-header__title {
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.woocommerce-products-header__title,
.woocommerce-page .page-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 5vw, 2rem) !important;
  font-weight: 900;
  color: var(--fg);
  line-height: 1.15;
  word-break: break-word;
}

/* --- 2. WhatsApp float más chico en móvil y fuera del paso de los botones --- */
@media (max-width: 600px) {
  .wa-float {
    bottom: 14px !important;
    right: 14px !important;
    width: 48px !important;
    height: 48px !important;
  }
  .wa-float .wa-ic { width: 48px !important; height: 48px !important; }
  .wa-float .wa-ic svg { width: 24px !important; height: 24px !important; }
  /* Ocultar el texto "¿Necesitás ayuda?" en móvil, solo el ícono */
  .wa-float .wa-txt, .wa-float .wa-label { display: none !important; }

  /* Dar aire abajo del hero para que los botones no choquen con WhatsApp */
  .hero-inner { padding-bottom: 80px !important; }
  .hero-cta { flex-wrap: wrap; }
  .hero-cta .btn { flex: 1 1 auto; min-width: 130px; text-align: center; }
}

/* --- 3. Descripción de categoría más compacta en móvil --- */
@media (max-width: 600px) {
  .woocommerce .term-description,
  .woocommerce-page .term-description,
  .woocommerce-products-header .term-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--fg-muted);
    max-height: 4.5em;
    overflow: hidden;
    position: relative;
    padding: 0 16px;
    margin-bottom: 8px;
  }
  /* Botón "leer más" implícito: degradado al final del texto cortado */
  .woocommerce .term-description::after,
  .woocommerce-page .term-description::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1.8em;
    background: linear-gradient(transparent, var(--bg));
  }
}

/* --- Grid de productos: asegurar que en móvil no se corte --- */
@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    padding: 0 12px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    line-height: 1.3;
  }
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product .added_to_cart {
    font-size: 12px;
    padding: 8px 6px;
  }
}

/* ============================================================
   FIXES MÓVIL PROFUNDOS (v1.6.2)
   Basado en escaneo DOM a 390px. Arregla los 5 problemas graves.
   ============================================================ */

/* === FIX 1 (CRÍTICO): Ocultar nav horizontal en móvil ===
   La .site-nav horizontal medía 770px en 277px y cortaba categorías.
   En móvil/tablet la navegación va SOLO por el menú hamburguesa (drawer). */
.site-nav { display: none; }
@media (min-width: 1000px) {
  .site-nav { display: block; }
}

/* === FIX 2 (CRÍTICO): WhatsApp no tapa el CTA del hero ===
   El botón flotante se montaba sobre "Ver combos"/"Ver reels". */
@media (max-width: 999px) {
  .hero-inner { padding-bottom: 88px !important; }
  .wa-float {
    bottom: 14px !important;
    right: 14px !important;
    width: 48px !important;
    height: 48px !important;
    z-index: 50 !important;
  }
  .wa-float .wa-ic { width: 48px !important; height: 48px !important; }
  .wa-float .wa-ic svg { width: 24px !important; height: 24px !important; }
  .wa-float .wa-txt, .wa-float .wa-label { display: none !important; }
}

/* === FIX 3 (CRÍTICO): Campos del checkout más altos (táctiles) ===
   Inputs de 32px y selects de 27px → mínimo 46px para tocar bien. */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container .select2-selection {
  min-height: 46px !important;
  height: auto !important;
  padding: 11px 14px !important;
  font-size: 16px !important; /* 16px evita el zoom automático de iOS */
  line-height: 1.3 !important;
  box-sizing: border-box;
}
.woocommerce-checkout .select2-container .select2-selection__rendered {
  line-height: 44px !important;
}

/* === FIX 4 (ALTA): Controles del carrito táctiles ===
   Botón eliminar (X) e inputs de cantidad a tamaño táctil completo. */
.woocommerce a.remove {
  width: 44px !important;
  height: 44px !important;
  line-height: 42px !important;
  font-size: 22px !important;
}
.woocommerce .quantity input.qty,
.woocommerce table.cart input.qty {
  min-height: 44px !important;
  height: 44px !important;
  width: 64px !important;
  font-size: 16px !important;
  text-align: center;
}
.woocommerce .cart .button,
.woocommerce .actions .button {
  min-height: 44px !important;
  padding: 11px 16px !important;
}
.shipping-calculator-button {
  display: inline-block;
  min-height: 40px;
  line-height: 32px;
}

/* === FIX 5 (ALTA): Imágenes de producto sin deformar ===
   Originales verticales (390×546) forzadas a 1:1 se estiraban.
   Cambiar de "cover" a "contain" mantiene la proporción real. */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  background: #fff;
  width: 100% !important;
  height: auto !important;
}

/* === EXTRAS del escaneo: legibilidad y zonas táctiles === */
@media (max-width: 999px) {
  /* Botón "Agregar" de las cards más alto (era 40px) */
  .card .add, .card button.add {
    min-height: 44px !important;
    padding: 11px 10px !important;
  }
  /* Etiquetas de categoría legibles (eran 9.5px) */
  .card .cat { font-size: 11px !important; }
  /* Input cantidad en página de producto */
  .woocommerce div.product form.cart .quantity input.qty {
    min-height: 46px !important;
    height: 46px !important;
    width: 70px !important;
    font-size: 16px !important;
  }
  /* "Agregar" de productos relacionados táctil */
  .woocommerce .related a.add_to_cart_button,
  .woocommerce .related .button {
    min-height: 44px !important;
    padding: 11px 10px !important;
  }
}

/* Contenedor de home con padding lateral (no tenía) */
@media (max-width: 999px) {
  .block .wrap, .hero .wrap, .promo-band {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }
}

/* ============================================================
   FIX GRILLA TIENDA (v1.6.4)
   El clearfix ::before/::after de WooCommerce (heredado del
   layout viejo con float) ocupaba la celda (1,1) en CSS Grid,
   empujando el primer producto a la columna derecha y dejando
   un hueco vacío arriba a la izquierda.
   Decisión de diseño: 2 columnas en móvil (confirmado).
   ============================================================ */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

/* ============================================================
   FIXES PRODUCTO (v1.7.0)
   1. Dropdown de variaciones con texto blanco (era negro/invisible)
   2. Layout de producto sin espacio vacío a la derecha
   ============================================================ */

/* === FIX 1: Select de variaciones legible (texto blanco sobre fondo oscuro) === */
.woocommerce div.product form.cart .variations select,
.woocommerce div.product .variations select,
table.variations select,
.single_variation_wrap select {
  background: var(--surface-2) !important;
  color: var(--fg) !important;
  border: 1px solid var(--line-2) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  min-height: 46px !important;
  width: 100% !important;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a6a39d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 38px !important;
}

/* Las opciones dentro del dropdown (cuando se despliega) */
.woocommerce div.product .variations select option,
table.variations select option {
  background: #1d1c22;
  color: #f5f3f0;
}

/* Label "Disponible en" / nombre del atributo */
.woocommerce div.product .variations th,
.woocommerce div.product .variations label {
  color: var(--fg) !important;
  font-weight: 600;
}

/* Link "Limpiar" de la variación */
.woocommerce div.product .reset_variations {
  color: var(--accent) !important;
}

/* === FIX 2: Producto — que la columna de info no deje hueco === */
/* Pasar de 2 columnas iguales a imagen más ancha + info ajustada arriba */
@media (min-width: 769px) {
  .woocommerce div.product {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
  /* La info se pega arriba, no se estira para llenar el alto de la imagen */
  .woocommerce div.product .summary,
  .woocommerce div.product .entry-summary {
    align-self: start;
    position: sticky;
    top: 90px;
  }
}

/* ============================================================
   GALERÍA DE PRODUCTO (v1.7.4) — CORRECCIÓN
   La v1.7.3 forzaba width:100% en .__image, lo que peleaba con
   el cálculo de FlexSlider (que pone las slides en float:left a
   un ancho específico). Resultado: slides apiladas en vertical,
   wrapper con height:0, imagen fuera del viewport = blanco.
   AHORA: NO tocamos el layout interno de FlexSlider. Solo
   estilizamos thumbnails, zoom y el fondo. FlexSlider maneja
   el riel y las slides por su cuenta.
   ============================================================ */

/* Contenedor: fondo blanco para que no se vea el negro detrás */
.woocommerce div.product .woocommerce-product-gallery {
  position: relative;
  margin-bottom: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

/* La imagen: solo asegurar que no deforme. SIN width/display forzados
   que rompan el float de FlexSlider. */
.woocommerce div.product .woocommerce-product-gallery__image img {
  background: #fff;
}

/* Miniaturas debajo */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  float: none !important;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
  width: auto !important;
  display: block !important;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  cursor: pointer;
  opacity: .55;
  display: block;
  transition: opacity .2s, border-color .2s;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  opacity: 1;
  border-color: var(--accent);
}

/* Botón de zoom (lupa) */
.woocommerce div.product .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 12px; right: 12px; z-index: 9;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: grid; place-items: center;
}

/* ============================================================
   CHECKOUT MODAL — 3 pasos (v1.8.0)
   ============================================================ */
.sb-co-overlay{
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.sb-co-overlay[hidden]{ display: none; }
.sb-co-modal{
  position: relative;
  width: 100%; max-width: 480px;
  max-height: 92vh; overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 28px;
}
.sb-co-close{
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  background: none; border: none;
  color: var(--fg-muted); font-size: 28px; line-height: 1;
  cursor: pointer; border-radius: 8px;
  transition: color .15s, background .15s;
}
.sb-co-close:hover{ color: var(--fg); background: var(--surface-2); }

/* Indicador de progreso */
.sb-co-progress{ display: flex; gap: 8px; margin-bottom: 26px; }
.sb-co-bar{
  width: 28px; height: 5px; border-radius: 99px;
  background: var(--line-2); transition: background .3s;
}
.sb-co-bar.active{ background: var(--accent); }

.sb-co-step h2{
  font-family: var(--font-display);
  font-size: 24px; font-weight: 900;
  color: var(--fg); margin: 0 0 22px;
}

/* Campos */
.sb-co-field{ margin-bottom: 16px; }
.sb-co-field label{
  display: block; font-size: 13px; font-weight: 600;
  color: #c4c4cc; margin-bottom: 6px;
}
.sb-co-field input,
.sb-co-field select{
  width: 100%; box-sizing: border-box;
  height: 52px; padding: 0 16px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--fg); font-size: 15px;
  transition: border-color .15s;
}
.sb-co-field input:focus,
.sb-co-field select:focus{
  outline: none; border-color: var(--accent);
}
.sb-co-field input::placeholder{ color: var(--fg-muted); }
.sb-co-row{ display: flex; gap: 12px; }
.sb-co-row .sb-co-field{ flex: 1; min-width: 0; }

/* Botón principal */
.sb-co-btn{
  width: 100%; height: 54px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 12px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: background .15s, opacity .15s;
  margin-top: 8px;
}
.sb-co-btn:hover{ background: var(--accent-2, #2566b0); }
.sb-co-btn:disabled{ opacity: .6; cursor: default; }
.sb-co-btn.ghost{
  background: var(--surface-2); color: var(--fg);
  border: 1px solid var(--line-2);
}
.sb-co-btn.ghost:hover{ background: var(--surface-3, #26252b); }
.sb-co-actions{ display: flex; gap: 12px; }
.sb-co-actions .ghost{ flex: 0 0 40%; }
.sb-co-actions .sb-co-btn:not(.ghost){ flex: 1; }

/* Métodos de pago */
.sb-co-methods{ display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.sb-co-method{
  display: flex; align-items: center; gap: 14px;
  padding: 18px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 14px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.sb-co-method input{ position: absolute; opacity: 0; }
.sb-co-radio{
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #4a4a52; position: relative;
  transition: border-color .15s;
}
.sb-co-method input:checked ~ .sb-co-radio{ border-color: var(--accent); }
.sb-co-method input:checked ~ .sb-co-radio::after{
  content: ""; position: absolute; inset: 3px;
  background: var(--accent); border-radius: 50%;
}
.sb-co-method:has(input:checked){
  border-color: var(--accent);
  background: var(--accent-soft);
}
.sb-co-method-txt{ display: flex; flex-direction: column; gap: 2px; }
.sb-co-method-txt b{ font-size: 15px; font-weight: 600; color: var(--fg); }
.sb-co-method-txt small{ font-size: 13px; color: #9ca3af; }

/* Resumen */
.sb-co-summary{
  background: var(--surface-2); border-radius: 14px;
  padding: 18px; margin-bottom: 18px;
}
.sb-co-sum-row{
  display: flex; justify-content: space-between;
  font-size: 14px; color: #c4c4cc; margin-bottom: 10px;
}
.sb-co-sum-row:last-child{ margin-bottom: 0; }
.sb-co-sum-row.grand{
  color: var(--fg); font-weight: 700; font-size: 18px;
  border-top: 1px solid var(--line-2);
  padding-top: 12px; margin-top: 4px;
}

/* Error */
.sb-co-error{
  color: #ff6b6b; font-size: 13px;
  margin: 0 0 12px; text-align: center;
}
.sb-co-error[hidden]{ display: none; }

/* Paso 3: éxito */
.sb-co-success{ text-align: center; padding: 16px 0; }
.sb-co-check{
  width: 72px; height: 72px; margin: 0 auto 20px;
  background: var(--accent); border-radius: 50%;
  display: grid; place-items: center; color: #fff;
}
.sb-co-check svg{ width: 36px; height: 36px; }
.sb-co-success h2{ margin-bottom: 12px; }
.sb-co-ordernum{ color: var(--fg-muted); font-size: 15px; margin: 0 0 8px; }
.sb-co-ordernum b{ color: var(--accent); }
.sb-co-submsg{ color: var(--fg-muted); font-size: 14px; margin: 0 0 24px; }

/* Móvil */
@media (max-width: 520px){
  .sb-co-modal{ padding: 22px; border-radius: 16px; }
  .sb-co-step h2{ font-size: 21px; }
}

/* Nota de zona en el checkout (interior del país) */
.sb-co-zonanota{
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--fg);
  margin: 0 0 16px;
  line-height: 1.45;
}
.sb-co-zonanota[hidden]{ display: none; }
