/* ==========================================================================
   FONTS (self-hosted, assets/fonts)
   Declared here rather than in a separate stylesheet: theme.yml assets are
   cached in config/themes/lajoya/shopN.json, so a new CSS file would need a
   theme reset on every environment. Browsers only download faces in use.
   ========================================================================== */

/* Supreme (UI) */
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-Thin.woff2") format("woff2"), url("../fonts/Supreme-Thin.woff") format("woff"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-ThinItalic.woff2") format("woff2"), url("../fonts/Supreme-ThinItalic.woff") format("woff"); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-Extralight.woff2") format("woff2"), url("../fonts/Supreme-Extralight.woff") format("woff"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-ExtralightItalic.woff2") format("woff2"), url("../fonts/Supreme-ExtralightItalic.woff") format("woff"); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-Light.woff2") format("woff2"), url("../fonts/Supreme-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-LightItalic.woff2") format("woff2"), url("../fonts/Supreme-LightItalic.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-Regular.woff2") format("woff2"), url("../fonts/Supreme-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-Italic.woff2") format("woff2"), url("../fonts/Supreme-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-Medium.woff2") format("woff2"), url("../fonts/Supreme-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-MediumItalic.woff2") format("woff2"), url("../fonts/Supreme-MediumItalic.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-Bold.woff2") format("woff2"), url("../fonts/Supreme-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-BoldItalic.woff2") format("woff2"), url("../fonts/Supreme-BoldItalic.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-Extrabold.woff2") format("woff2"), url("../fonts/Supreme-Extrabold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("../fonts/Supreme-ExtraboldItalic.woff2") format("woff2"), url("../fonts/Supreme-ExtraboldItalic.woff") format("woff"); font-weight: 800; font-style: italic; font-display: swap; }

/* F37 Drago (display). "Tilted" cuts are its italics: use font-style: italic */
@font-face { font-family: "F37 Drago"; src: url("../fonts/F37Drago-Light.woff2") format("woff2"), url("../fonts/F37Drago-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "F37 Drago"; src: url("../fonts/F37Drago-LightTilted.woff2") format("woff2"), url("../fonts/F37Drago-LightTilted.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "F37 Drago"; src: url("../fonts/F37Drago-Medium.woff2") format("woff2"), url("../fonts/F37Drago-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "F37 Drago"; src: url("../fonts/F37Drago-MediumTilted.woff2") format("woff2"), url("../fonts/F37Drago-MediumTilted.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }

/* DM Sans Light (mobile menu links only; latin subset) */
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }

/* Signifier (accent, italics only) */
@font-face { font-family: "Signifier"; src: url("../fonts/Signifier-ExtralightItalic.woff2") format("woff2"), url("../fonts/Signifier-ExtralightItalic.woff") format("woff"); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: "Signifier"; src: url("../fonts/Signifier-RegularItalic.woff2") format("woff2"), url("../fonts/Signifier-RegularItalic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

/* ==========================================================================
   STRUCTURE
   Page canvas as in Figma: boxed container capped at 1440px with 64px side
   padding (1312px content area). Full-bleed sections use .lj-fullwidth.
   Grid: 12 columns, 24px gutter.
   Prefixed with "lj-" to avoid clashing with Hummingbird/Bootstrap classes.
   ========================================================================== */

:root {
  --lj-icon-cart: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M22.4728%206.95062L20.0691%2015.6019C19.9369%2016.0745%2019.6542%2016.4911%2019.2639%2016.7885C18.8736%2017.0859%2018.397%2017.2479%2017.9062%2017.25H8.64C8.14784%2017.2498%207.66926%2017.0886%207.27725%2016.791C6.88523%2016.4935%206.6013%2016.0758%206.46875%2015.6019L3.18%203.75H1.5C1.30109%203.75%201.11032%203.67098%200.96967%203.53033C0.829018%203.38968%200.75%203.19891%200.75%203C0.75%202.80109%200.829018%202.61032%200.96967%202.46967C1.11032%202.32902%201.30109%202.25%201.5%202.25H3.75C3.91397%202.24997%204.07343%202.30367%204.20398%202.40289C4.33452%202.50211%204.42895%202.64138%204.47281%202.79938L5.36156%206H21.75C21.8656%205.99998%2021.9797%206.02669%2022.0833%206.07805C22.1869%206.1294%2022.2772%206.20401%2022.3472%206.29605C22.4171%206.38809%2022.4649%206.49506%2022.4867%206.60861C22.5085%206.72216%2022.5037%206.83922%2022.4728%206.95062ZM8.25%2018.75C7.95333%2018.75%207.66332%2018.838%207.41665%2019.0028C7.16997%2019.1676%206.97771%2019.4019%206.86418%2019.676C6.75065%2019.9501%206.72094%2020.2517%206.77882%2020.5426C6.8367%2020.8336%206.97956%2021.1009%207.18934%2021.3107C7.39912%2021.5204%207.66639%2021.6633%207.95736%2021.7212C8.24834%2021.7791%208.54994%2021.7494%208.82403%2021.6358C9.09811%2021.5223%209.33238%2021.33%209.4972%2021.0834C9.66203%2020.8367%209.75%2020.5467%209.75%2020.25C9.75%2019.8522%209.59196%2019.4706%209.31066%2019.1893C9.02936%2018.908%208.64782%2018.75%208.25%2018.75ZM18%2018.75C17.7033%2018.75%2017.4133%2018.838%2017.1666%2019.0028C16.92%2019.1676%2016.7277%2019.4019%2016.6142%2019.676C16.5006%2019.9501%2016.4709%2020.2517%2016.5288%2020.5426C16.5867%2020.8336%2016.7296%2021.1009%2016.9393%2021.3107C17.1491%2021.5204%2017.4164%2021.6633%2017.7074%2021.7212C17.9983%2021.7791%2018.2999%2021.7494%2018.574%2021.6358C18.8481%2021.5223%2019.0824%2021.33%2019.2472%2021.0834C19.412%2020.8367%2019.5%2020.5467%2019.5%2020.25C19.5%2019.8522%2019.342%2019.4706%2019.0607%2019.1893C18.7794%2018.908%2018.3978%2018.75%2018%2018.75Z'/%3E%3C/svg%3E");
  --lj-container-max: 1440px;
  --lj-container-padding: 64px;
  --lj-grid-columns: 12;
  --lj-grid-gutter: 24px;

  /* Colors */
  --lj-color-jara: #FFC758; /* amarillo-300 Jara */
  --lj-color-joya: #FFA300; /* amarillo-500 La joya */
  --lj-color-black: #000;
  --lj-color-oliva: #111010; /* Negro Oliva */
  --lj-color-grey-800: #333;
  --lj-color-encalado: #FBFBFB;
  --lj-color-trigo: #F0ECE3; /* beige-50 Trigo viejo */

  /* Typography (faces declared at the top of this file) */
  --lj-font-display: "F37 Drago", serif;
  --lj-font-accent: "Signifier", serif;
  --lj-font-ui: "Supreme", system-ui, sans-serif;
}

/* Boxed wrapper: centers content (max 1440px) with side padding */
.lj-container {
  width: 100%;
  max-width: var(--lj-container-max);
  margin-inline: auto;
  padding-inline: var(--lj-container-padding);
  box-sizing: border-box;
}

/* Full-width sections (banners, backgrounds) — no max-width, no padding */
.lj-fullwidth {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

/* Breaks a full-width element out of a boxed parent */
.lj-fullwidth--breakout {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* 12-column grid */
.lj-grid {
  display: grid;
  grid-template-columns: repeat(var(--lj-grid-columns), minmax(0, 1fr));
  column-gap: var(--lj-grid-gutter);
}

/* Column spans: .lj-col-1 ... .lj-col-12 */
.lj-col-1  { grid-column-end: span 1; }
.lj-col-2  { grid-column-end: span 2; }
.lj-col-3  { grid-column-end: span 3; }
.lj-col-4  { grid-column-end: span 4; }
.lj-col-5  { grid-column-end: span 5; }
.lj-col-6  { grid-column-end: span 6; }
.lj-col-7  { grid-column-end: span 7; }
.lj-col-8  { grid-column-end: span 8; }
.lj-col-9  { grid-column-end: span 9; }
.lj-col-10 { grid-column-end: span 10; }
.lj-col-11 { grid-column-end: span 11; }
.lj-col-12 { grid-column-end: span 12; }

/* Column start: .lj-start-1 ... .lj-start-12 */
.lj-start-1  { grid-column-start: 1; }
.lj-start-2  { grid-column-start: 2; }
.lj-start-3  { grid-column-start: 3; }
.lj-start-4  { grid-column-start: 4; }
.lj-start-5  { grid-column-start: 5; }
.lj-start-6  { grid-column-start: 6; }
.lj-start-7  { grid-column-start: 7; }
.lj-start-8  { grid-column-start: 8; }
.lj-start-9  { grid-column-start: 9; }
.lj-start-10 { grid-column-start: 10; }
.lj-start-11 { grid-column-start: 11; }
.lj-start-12 { grid-column-start: 12; }



/*Fix horizontal scroll */

#wrapper {
  overflow-x: hidden;
}


/* ==========================================================================
   HEADER
   Desktop: the megamenu (mod_megamenu) paints the full-width yellow bar, so
   Hummingbird's header-bottom padding and border must not frame it.
   `position: relative` anchors the full-width megamenu dropdowns to the bar.
   ========================================================================== */

@media (min-width: 1200px) {
  .header-bottom {
    position: relative;
    padding-block: 0;
    border-bottom: 0;
  }
}

/* ==========================================================================
   FOOTER
   Clone of the www.thisislajoya.com (Squarespace) footer, measured at 1440px.
   Jara background, boxed container, own 24-column grid with 11px gap (the
   Squarespace fluid-engine grid) so every block lands on the same columns:
   newsletter 1-9 · "Información" + legal 15-18 · "Síguenos" + brand 19-24 ·
   giant La Joya logo 1-24 (the reference's top/bottom 1px rules are dropped,
   their bands kept as footer padding).
   Type sizes follow Squarespace's fluid formulas (its html font-size is 20px,
   hence the px bases): body 18px, small 16px, button 15px at 1440px.
   Its grid rows scale with the viewport (row ~2.02vw + 11px gap), so the
   structural spacing does too; the legal/brand row sits at a fixed offset
   below the top rule whatever the number of links above it.
   Below 992px blocks simply stack (no mobile design yet).
   ========================================================================== */

.lj-footer {
  --lj-footer-text: #1d231c;
  --lj-footer-columns: 24;
  --lj-footer-gap: 11px;
  --lj-footer-font-body: min(calc(20px - 0.12vw), 18px);
  --lj-footer-font-small: min(calc(20px - 0.24vw), 16px);
  --lj-footer-font-button: min(calc(20px - 0.3vw), 15px);
  --lj-footer-font-title: calc(21.4px + 0.5vw);
  --lj-footer-row: 2.02vw;

  background: var(--lj-color-jara);
  color: var(--lj-color-black);
  font-family: var(--lj-font-display);
  font-weight: 300;
  /* Top: the reference's rule band (one row) is kept as space, without the rule.
     Bottom: same space the bottom rule band took below the giant logo. */
  padding-block: calc(2 * var(--lj-footer-row) + var(--lj-footer-gap)) calc(16px + var(--lj-footer-row));
}

.lj-footer__grid {
  grid-template-columns: repeat(var(--lj-footer-columns), minmax(0, 1fr));
  grid-template-rows: auto minmax(389px, auto) auto auto auto;
  column-gap: var(--lj-footer-gap);
  row-gap: 0;
}

.lj-footer__newsletter { grid-column: 1 / 10;  grid-row: 2 / span 2; padding-top: 51px; }
.lj-footer__info       { grid-column: 15 / 19; grid-row: 2; padding-top: 64px; }
.lj-footer__social     { grid-column: 19 / 23; grid-row: 2; padding-top: 64px; }
.lj-footer__legal      { grid-column: 15 / 19; grid-row: 3; padding-top: 64px; }
.lj-footer__brand      { grid-column: 19 / 25; grid-row: 3; padding-top: 64px; }
.lj-footer__logo       { grid-column: 1 / -1;  grid-row: 4; margin-top: calc(6.67vw + 4px); }

/* :where() keeps resets at class specificity so component margins below win */
.lj-footer :where(p, ul) { margin: 0; }

.lj-footer :where(ul) {
  padding: 0;
  list-style: none;
}

/* Column labels: "INFORMACIÓN", "SÍGUENOS" (bold Drago on the reference) */
.lj-footer__label {
  font-size: var(--lj-footer-font-small);
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

.lj-footer__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.lj-footer__links--small {
  gap: 19px;
  margin-top: 0;
}

.lj-footer__link {
  color: var(--lj-color-black);
  font-size: var(--lj-footer-font-body);
  font-weight: 300;
  line-height: 1.3;
  text-decoration: underline;
}

.lj-footer__links--small .lj-footer__link {
  font-size: var(--lj-footer-font-small);
}

.lj-footer__link:hover,
.lj-footer__link:focus-visible { color: var(--lj-color-black); opacity: .7; }

.lj-footer__social-link {
  display: inline-block;
  margin-top: 20px;
  line-height: 0;
}

/* One grid column wide (the brand block spans 6), as on the reference */
.lj-footer__brand-logo {
  display: block;
  width: calc((100% - 5 * var(--lj-footer-gap)) / 6);
  height: auto;
}

.lj-footer__brand-text {
  margin-top: 11px;
  font-size: var(--lj-footer-font-small);
  line-height: 1.3;
}

.lj-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Output of displayFooter / displayFooterAfter, if any module is hooked */
.lj-footer__hooks { margin-top: 40px; }

/* Newsletter (ps_emailsubscription override, Figma 4442:1641) */
.lj-newsletter__title {
  color: var(--lj-footer-text);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.39;
  letter-spacing: -0.024em;
}

.lj-newsletter__text {
  margin-top: 31px;
  font-size: 17px;
  line-height: 1.6;
}

.lj-newsletter__form { padding-top: 32px; }

/* Input and button on one row (Figma: 288px input slot + 141px button) */
.lj-newsletter__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 31px;
}

.lj-newsletter__input {
  flex: 0 1 284px;
  min-width: 0;
  padding: 23px 33px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 0;
  background: #fff;
  color: var(--lj-color-black);
  font-family: var(--lj-font-ui);
  font-size: 19.5px;
  font-weight: 300;
  line-height: 24px;
}

.lj-newsletter__input::placeholder { color: rgba(0, 0, 0, .3); }

.lj-newsletter__input:focus {
  outline: 2px solid var(--lj-color-black);
  outline-offset: -2px;
}

.lj-newsletter__submit {
  flex: 0 0 auto;
  padding: 22px 32px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-black);
  color: #F1F1F1;
  font-family: var(--lj-font-ui);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 19.2px;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
}

.lj-newsletter__submit:hover,
.lj-newsletter__submit:focus-visible { background: #333; }

.lj-newsletter__gdpr { margin-bottom: 8px; font-size: 14px; }

.lj-newsletter__gdpr a {
  color: var(--lj-color-black);
  font-weight: bold;
}

.lj-newsletter__note {
  font-size: 16px;
  line-height: 1.65;
  opacity: .8;
}

/* Phones: no room for both on one row, the button goes below the full-width input */
@media (max-width: 575.98px) {
  .lj-newsletter__row { flex-wrap: wrap; row-gap: 16px; }
  .lj-newsletter__input { flex-basis: 100%; }
}

/* Minimal fallback: no mobile design yet, stack everything full width */
@media (max-width: 991.98px) {
  .lj-footer {
    --lj-container-padding: 16px;
    padding-block: 24px 0;
  }

  .lj-footer__grid { grid-template-rows: none; }

  .lj-footer__grid > * {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-top: 40px;
  }
  .lj-footer__brand-logo { width: 45px; }
  .lj-footer__logo { margin-top: 24px; }
}

/* ==========================================================================
   LOGIN (customer/authentication.tpl) — content area only
   Figma: desktop 4462:10048, mobile 4675:16455
   ========================================================================== */

:root {
  --lj-color-negro: #111010;     /* negro oliva */
  --lj-color-gris-800: #333;
  --lj-color-blanco: #FBFBFB;    /* blanco encalado */
  --lj-color-beige: #EADCBD;     /* tierra dehesa */
}

.lj-login {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--lj-container-padding);
  overflow: hidden;
  background: #d4d4d4;
}

.lj-login__media,
.lj-login__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lj-login__image { object-fit: cover; }

.lj-login__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 486px;
  padding: 40px 32px 24px;
  background: var(--lj-color-jara);
  font-family: var(--lj-font-ui);
  color: var(--lj-color-gris-800);
}

.lj-login__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.lj-login__mark { width: 25px; height: 40px; }

.lj-login__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--lj-color-negro);
}

.lj-login__lead {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
}

.lj-login__form { display: flex; flex-direction: column; gap: 16px; }
.lj-login__form .mb-3 { margin-bottom: 0 !important; }

.lj-login__form .form-label {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-login__form .form-control {
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  background: var(--lj-color-blanco);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--lj-color-gris-800);
  box-shadow: none;
}

.lj-login__form .form-control:focus {
  border-color: var(--lj-color-negro);
  outline: 2px solid var(--lj-color-negro);
  outline-offset: 1px;
}

.lj-login__form .password-field .btn {
  border: 1px solid var(--lj-color-beige);
  border-left: 0;
  border-radius: 0;
  background: var(--lj-color-blanco);
  color: var(--lj-color-negro);
}

.lj-login__submit {
  min-height: 44px;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-negro);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-blanco);
  cursor: pointer;
  transition: background-color .2s;
}

.lj-login__submit:hover,
.lj-login__submit:focus-visible { background: var(--lj-color-gris-800); }

.lj-login__forgot,
.lj-login__register {
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  color: var(--lj-color-negro);
}

.lj-login__forgot { font-size: 14px; text-decoration: underline; }
.lj-login__register { margin: 0; }
.lj-login__register a { margin-left: 8px; color: inherit; text-decoration: underline; }

/* Mobile (Figma 390px): photo band on top, card below at full width */
@media (max-width: 991.98px) {
  .lj-login {
    display: block;
    padding: 0;
    background: var(--lj-color-jara);
  }

  .lj-login__media,
  .lj-login__image {
    position: static;
    display: block;
    height: 217px;
  }

  .lj-login__card {
    max-width: none;
    gap: 16px;
    padding: 40px 16px;
  }

  .lj-login__title { font-size: 32px; line-height: 1.3; }
}

/* --------------------------------------------------------------------------
   REGISTER (customer/registration.tpl) — Figma desktop 4462:10195, mobile 4677:17293
   Reuses the .lj-login card; only width and the name row change.
   -------------------------------------------------------------------------- */

.lj-login--register .lj-login__card { max-width: 641px; }

.lj-login__form--register .lj-login__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Everything spans the full row except first/last name, which sit side by side */
.lj-login__form--register .lj-login__field { grid-column: 1 / -1; }
.lj-login__form--register .lj-login__field--firstname,
.lj-login__form--register .lj-login__field--lastname { grid-column: auto; }

.lj-login__form--register .lj-login__actions { display: flex; flex-direction: column; }
.lj-login__form--register .lj-login__submit { width: 100%; }

.lj-login__form--register .form-check-label a,
.lj-login__form--register .form-text a { color: inherit; text-decoration: underline; }

@media (max-width: 991.98px) {
  .lj-login__form--register .lj-login__fields { grid-template-columns: 1fr; }
  .lj-login__form--register .lj-login__field--firstname,
  .lj-login__form--register .lj-login__field--lastname { grid-column: 1 / -1; }
}

/* Register: no helper texts, compact consent checkboxes like the design */
.lj-login__form--register .form-text { display: none; }

.lj-login__form--register .form-check { display: flex; align-items: center; gap: 4px; padding-left: 0; }

.lj-login__form--register .form-check-input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid var(--lj-color-negro);
  border-radius: 2px;
  background-color: var(--lj-color-jara);
  accent-color: var(--lj-color-negro);
}

.lj-login__form--register .form-check-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

/* Long legal paragraph under the privacy checkbox: the label already states the consent */
.lj-login__form--register .form-check-label em { display: none; }

/* Register fields (manual markup, see customer-form.tpl) */
.lj-login__label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-login__form .form-control::placeholder {
  color: var(--lj-color-gris-800);
  opacity: 1;
}

.lj-login__form--register .form-control.is-invalid { border-color: #b3261e; }

.lj-login__error {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #b3261e;
}

.lj-login__check { display: flex; align-items: center; gap: 4px; }

.lj-login__checkbox {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--lj-color-negro);
}

.lj-login__check label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-login__check a { color: inherit; text-decoration: underline; }

/* ==========================================================================
   USER AREA (customer/my-account.tpl)
   Figma: mobile "Area de usuario" 4748:16839, desktop "Datos de usuario" 4590:10524
   ========================================================================== */

:root { --lj-color-trigo: #F0ECE3; /* trigo viejo */ }

.lj-account {
  background: var(--lj-color-trigo);
  font-family: var(--lj-font-ui);
  color: var(--lj-color-gris-800);
}

/* Background stays full-bleed; content is capped to the 1440px site container */
.lj-account__breadcrumb,
.lj-account__body {
  max-width: var(--lj-container-max);
  margin-inline: auto;
  box-sizing: border-box;
}

.lj-account__breadcrumb { padding: 0 16px; }

.lj-account__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lj-account__crumb {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--lj-font-display);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: #000;
}

.lj-account__crumb a { color: inherit; text-decoration: none; }
.lj-account__crumb--home a { font-style: italic; } /* Drago Light Tilted in the design */

/* chevron between crumbs */
.lj-account__crumb + .lj-account__crumb::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.lj-account__crumb--desktop { display: none; }

.lj-account__body { padding: 16px 16px 40px; }

.lj-account__title {
  margin: 0 0 16px;
  font-family: var(--lj-font-display);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
  color: #000;
}

/* Mobile menu: three bordered tiles inside a white card */
.lj-account__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 2px;
  background: var(--lj-color-blanco);
}

.lj-account__menu-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
  text-decoration: none;
}

.lj-account__menu-link:hover,
.lj-account__menu-link:focus-visible { background: var(--lj-color-trigo); }

.lj-account__panel { display: none; }

@media (min-width: 992px) {
  .lj-account__breadcrumb { padding: 8px var(--lj-container-padding); }
  .lj-account__crumb--desktop { display: flex; }

  .lj-account__body {
    display: grid;
    grid-template-columns: 309px minmax(0, 866px);
    justify-content: space-between;
    align-items: start;
    padding: 64px var(--lj-container-padding) 80px;
  }

  /* h1 stays for SEO/a11y but the desktop design greets the user instead */
  .lj-account__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .lj-account__menu { gap: 8px; }

  .lj-account__menu-link {
    flex-direction: row;
    gap: 8px;
    padding: 12px 16px;
    border: 0;
  }

  .lj-account__menu-link--active { background: var(--lj-color-jara); }

  .lj-account__panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 16px;
    border-radius: 8px;
    background: var(--lj-color-blanco);
  }
}

.lj-account__panel-header { display: flex; flex-direction: column; gap: 8px; }

.lj-account__greeting {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  color: #000;
}

.lj-account__subtitle { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.4; color: #545454; }

.lj-account__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--lj-color-beige);
}

.lj-account__block-head { display: flex; align-items: center; justify-content: space-between; }

.lj-account__block-title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: .5px;
  line-height: 1.4;
  color: var(--lj-color-negro);
}

.lj-account__link {
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-negro);
  text-decoration: underline;
}

.lj-account__rows { display: flex; flex-direction: column; gap: 8px; margin: 0; }

.lj-account__row {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  background: var(--lj-color-blanco);
  font-size: 14px;
  line-height: 1.4;
}

.lj-account__row dt { flex: 0 0 25%; margin: 0; font-weight: 500; }
.lj-account__row dd { margin: 0; font-weight: 300; }

.lj-account__address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  background: var(--lj-color-blanco);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.4;
}

.lj-account__address strong { font-weight: 700; }

.lj-account__newsletter {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-top: 0;
  border-radius: 2px;
  background: var(--lj-color-trigo);
}

.lj-account__newsletter-title { margin: 0 0 4px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--lj-color-negro); }
.lj-account__newsletter-text { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.4; }

/* Read-only state indicator, same look as the design's toggle */
.lj-account__switch {
  position: relative;
  flex: none;
  width: 52px;
  height: 28px;
  border-radius: 14px;
  background: #b9b3a5;
}

.lj-account__switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lj-color-negro);
  transition: transform .2s;
}

.lj-account__switch--on { background: var(--lj-color-joya); }
.lj-account__switch--on::after { transform: translateX(24px); }

.lj-account__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--lj-color-beige);
}

.lj-account__logout {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 14px 24px;
  border-radius: 0;
  background: var(--lj-color-negro);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-blanco);
  text-decoration: none;
}

.lj-account__logout:hover,
.lj-account__logout:focus-visible { background: var(--lj-color-gris-800); color: var(--lj-color-blanco); }

/* Full-bleed account pages: no gap between the content and the footer */
#wrapper:has(.lj-login, .lj-account) {
  margin-block-end: 0;
  padding-block-end: 0;
}

#wrapper:has(.lj-login, .lj-account) #center-column { margin-block-end: 0; padding-block-end: 0; }

/* --- User area: exact values from Figma 4590:10524 (desktop) and "Datos de usuario mbl" --- */

/* value column starts where the design's 548px value box starts */
@media (min-width: 992px) {
  .lj-account__row dt { flex: 0 0 calc(100% - 548px - 16px); }
}

/* mobile: label above value */
@media (max-width: 991.98px) {
  .lj-account__row { flex-direction: column; gap: 4px; }
  .lj-account__row dt { flex: none; }
}

/* the select-style menu only exists on the mobile "Datos de usuario" view */
.lj-account__select { display: none; }

@media (max-width: 991.98px) {
  /* default mobile view: tiles only; ?vista=datos: select bar + panel only */
  .lj-account--data .lj-account__menu,
  .lj-account--data .lj-account__title { display: none; }
  .lj-account--data .lj-account__select { display: block; margin-bottom: 16px; }
  .lj-account--data .lj-account__panel { display: flex; flex-direction: column; gap: 24px; padding: 16px; border-radius: 8px; background: var(--lj-color-blanco); }
  .lj-account--data .lj-account__crumb--data { display: flex; }

  .lj-account__select-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 2px;
    background: var(--lj-color-jara);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--lj-color-gris-800);
    list-style: none;
    cursor: pointer;
  }

  .lj-account__select-summary::-webkit-details-marker { display: none; }
  .lj-account__select-arrow { margin-left: auto; transition: transform .2s; }
  .lj-account__select[open] .lj-account__select-arrow { transform: rotate(180deg); }

  .lj-account__select-list { display: flex; flex-direction: column; background: var(--lj-color-blanco); }

  .lj-account__select-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--lj-color-gris-800);
    text-decoration: none;
  }

  .lj-account__greeting { font-size: 32px; }
  .lj-account__subtitle { font-size: 16px; }
  .lj-account__actions { flex-wrap: wrap; }
}

/* the "Datos de usuario" crumb: always on desktop, on mobile only in the data view */
@media (max-width: 991.98px) {
  .lj-account__crumb--data { display: none; }
}

/* --- "Datos de usuario mbl" (Figma 4679:17445): exact mobile values --- */
@media (max-width: 991.98px) {
  .lj-account--data .lj-account__panel { padding: 24px 16px 16px; }
  .lj-account--data .lj-account__greeting { font-size: 24px; }
  .lj-account--data .lj-account__subtitle { font-size: 16px; }
  .lj-account--data .lj-account__block-title { font-size: 18px; letter-spacing: 0; }
  .lj-account--data .lj-account__row { gap: 8px; }
  .lj-account--data .lj-account__address { gap: 8px; }
  .lj-account--data .lj-account__address span { overflow-wrap: anywhere; }
  .lj-account--data .lj-account__newsletter { padding: 16px; }
  .lj-account--data .lj-account__newsletter-copy { flex: 1 1 0; min-width: 0; }
  .lj-account--data .lj-account__actions { flex-wrap: nowrap; }
}

/* ==========================================================================
   USER AREA SUB-PAGES (customer/page.tpl: identity, addresses, address,
   discount, order-slip, module pages) + shared menu (_partials/lj-account-menu.tpl)
   No Figma frame: derived from "Datos de usuario" 4590:10524 / mbl 4679:17445,
   the checkout forms (.lj-checkout__*) and the login form (.lj-login__form).
   ========================================================================== */

/* --- "Datos personales" submenu (side menu, desktop) --- */
.lj-account__submenu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 8px 28px; /* links line up with the parent label (16 + 24 + 8 - 2px rule - 16) */
}

.lj-account__submenu-modules { display: contents; }

.lj-account__submenu-link,
.lj-account__submenu-modules a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: none;
  min-height: 40px;
  margin: 0;
  padding: 8px 16px;
  border-left: 2px solid var(--lj-color-beige);
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
  text-decoration: none;
}

.lj-account__submenu-link:hover,
.lj-account__submenu-link:focus-visible,
.lj-account__submenu-modules a:hover,
.lj-account__submenu-modules a:focus-visible { background: var(--lj-color-trigo); color: var(--lj-color-gris-800); }

.lj-account__submenu-link--active,
.lj-account__submenu-modules a[aria-current="page"],
.lj-account__submenu-modules a.account-menu__link--active {
  border-left-color: var(--lj-color-negro);
  background: var(--lj-color-trigo);
  font-weight: 500;
}

/* Module links bring their own icon and Bootstrap column classes */
.lj-account__submenu-modules a .link-item,
.lj-account__select-modules a .link-item { display: contents; }

.lj-account__submenu-modules a i,
.lj-account__submenu-modules a svg,
.lj-account__submenu-modules a img,
.lj-account__select-modules a i,
.lj-account__select-modules a svg,
.lj-account__select-modules a img { display: none; }

/* --- Mobile select bar: sub-page entries are indented under "Datos personales" --- */
.lj-account__select-modules { display: contents; }

@media (max-width: 991.98px) {
  .lj-account__select-list .lj-account__select-sub,
  .lj-account__select-modules a {
    width: auto;
    max-width: none;
    margin: 0;
    padding-left: 48px;
    font-weight: 300;
  }

  .lj-account--sub .lj-account__crumb--mobile { display: flex; }
}

/* --- Page --- */
.lj-account--no-menu .lj-account__body { grid-template-columns: minmax(0, 866px); justify-content: center; }

@media (max-width: 991.98px) {
  .lj-account--no-menu .lj-account__panel { display: flex; flex-direction: column; gap: 24px; padding: 24px 16px 16px; border-radius: 8px; background: var(--lj-color-blanco); }
}

.lj-account__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid var(--lj-color-beige);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-account__content p { margin: 0; }

.lj-account__content h2,
.lj-account__content .h5 {
  margin: 0 0 8px;
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: .5px;
  line-height: 1.4;
  color: var(--lj-color-negro);
}

.lj-account__content a:not(.btn):not(.lj-account__add) { color: var(--lj-color-negro); text-decoration: underline; }

.lj-account__content-footer:empty { display: none; }

/* Notifications are printed inside the panel (customer/page.tpl) */
.lj-account__panel #notifications:not(:has(.alert)) { display: none; }
.lj-account__panel #notifications .container { max-width: none; padding: 0; }

.lj-account__panel .alert {
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-left: 2px solid var(--lj-color-joya);
  border-radius: 2px;
  background: var(--lj-color-trigo);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-account__panel .alert + .alert { margin-top: 8px; }
.lj-account__panel .alert-success { border-left-color: #6fa63f; }
.lj-account__panel .alert-danger { border-left-color: #b3261e; color: #b3261e; }
.lj-account__panel .alert .btn-close { padding: 14px 16px; }

/* --- Buttons (square, as the rest of the theme) --- */
.lj-account__panel .btn-primary,
.lj-account__panel .btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid var(--lj-color-negro);
  border-radius: 0;
  background: var(--lj-color-negro);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-blanco);
  box-shadow: none;
}

.lj-account__panel .btn-primary:hover,
.lj-account__panel .btn-primary:focus-visible,
.lj-account__panel .btn-primary:active { border-color: var(--lj-color-gris-800); background: var(--lj-color-gris-800); color: var(--lj-color-blanco); }

.lj-account__panel .btn-outline-primary { background: transparent; color: var(--lj-color-negro); }
.lj-account__panel .btn-outline-primary .material-icons { font-size: 20px; }

.lj-account__panel .btn-outline-primary:hover,
.lj-account__panel .btn-outline-primary:focus-visible,
.lj-account__panel .btn-outline-primary:active { background: var(--lj-color-negro); color: var(--lj-color-blanco); }

.lj-account__panel .btn:focus-visible { outline: 2px solid var(--lj-color-negro); outline-offset: 2px; }

/* --- Forms (identity, address): core markup, checkout/login look --- */
.lj-account__form form { display: flex; flex-direction: column; gap: 24px; }
.lj-account__form .form-fields,
.lj-account__form form > section { display: flex; flex-direction: column; gap: 16px; }
.lj-account__form .mb-3 { margin-bottom: 0 !important; }

.lj-account__form .form-label {
  margin-bottom: 4px;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-account__form .form-label.required::after,
.lj-account__form .form-check-label.required::before { color: inherit; }

.lj-account__form .form-control,
.lj-account__form .form-select {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  background-color: var(--lj-color-blanco);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
  box-shadow: none;
}

.lj-account__form .form-select {
  padding-right: 48px;
  appearance: none;
  background-image: url("../img/checkout/chevron-resumen.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
}

.lj-account__form .form-control:focus,
.lj-account__form .form-select:focus {
  border-color: var(--lj-color-negro);
  outline: 2px solid var(--lj-color-negro);
  outline-offset: 1px;
  box-shadow: none;
}

.lj-account__form .form-control::placeholder { color: #8a8378; opacity: 1; }

.lj-account__form .is-invalid,
.lj-account__form .has-error .form-control,
.lj-account__form .has-error .form-select { border-color: #b3261e; }

.lj-account__form .form-text,
.lj-account__form .help-block {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-account__form .invalid-feedback,
.lj-account__form .has-error .help-block,
.lj-account__form .alert-danger { color: #b3261e; }

/* Password + "show" button (input-group): one bordered field */
.lj-account__form .password-field .form-control { border-right: 0; }

.lj-account__form .password-field .btn {
  min-width: 44px;
  border: 1px solid var(--lj-color-beige);
  border-left: 0;
  border-radius: 0 2px 2px 0;
  background: var(--lj-color-blanco);
  color: var(--lj-color-negro);
  box-shadow: none;
}

.lj-account__form .password-field .btn:hover,
.lj-account__form .password-field .btn:focus-visible { background: var(--lj-color-trigo); color: var(--lj-color-negro); }
.lj-account__form .password-field .btn .material-icons { color: inherit; }
.lj-account__form .password-field:focus-within .form-control,
.lj-account__form .password-field:focus-within .btn { border-color: var(--lj-color-negro); }

/* Birthday selects (day / month / year) */
.lj-account__form .js-parent-focus { display: flex; gap: 8px; }

/* Radios and checkboxes: the checkout's Figma icons */
.lj-account__form .form-check { display: flex; align-items: flex-start; gap: 8px; min-height: 24px; margin: 0; padding-left: 0; }
.lj-account__form .form-check-inline { display: inline-flex; margin-right: 24px; }

.lj-account__form .form-check-input,
.lj-account__form .form-check-input:checked,
.lj-account__form .form-check-input:focus {
  flex: none;
  float: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("../img/checkout/check-desmarcado.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
}

.lj-account__form .form-check-input[type="checkbox"]:checked { background-image: url("../img/checkout/check-marcado.svg"); }
.lj-account__form .form-check-input[type="radio"] { background-image: url("../img/checkout/radio-desmarcado.svg"); }
.lj-account__form .form-check-input[type="radio"]:checked { background-image: url("../img/checkout/radio-marcado.svg"); }
.lj-account__form .form-check-input:focus-visible { outline: 2px solid var(--lj-color-negro); outline-offset: 2px; }

.lj-account__form .form-check-label {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--lj-color-negro);
  cursor: pointer;
}

/* Long legal texts under a consent label */
.lj-account__form .form-check-label em {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-account__form .form-check-label a { color: inherit; text-decoration: underline; }

.lj-account__form .buttons-wrapper { display: flex; justify-content: flex-start; margin: 0; padding-top: 24px; border-top: 1px solid var(--lj-color-beige); }

.lj-account__back-link { align-self: flex-start; }

/* --- Address cards (wireframe "Mis datos dsk") --- */
.lj-account__addresses { display: flex; flex-direction: column; gap: 8px; }

.lj-account__address-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  background: var(--lj-color-blanco);
}

.lj-account__address-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.lj-account__address-alias { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--lj-color-negro); }

.lj-account__address-text {
  margin: 0;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.lj-account__address-actions { display: flex; flex: none; gap: 16px; }

.lj-account__add {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-negro);
  text-decoration: underline;
}

.lj-account__add:hover,
.lj-account__add:focus-visible { color: var(--lj-color-gris-800); }

@media (max-width: 991.98px) {
  .lj-account__address-card { flex-direction: column; gap: 8px; }
}

/* --- Vouchers / credit slips tables (core grid-table) --- */
.lj-account__content .grid-table { border: 1px solid var(--lj-color-beige); border-radius: 2px; }
.lj-account__content .grid-table__header { font-weight: 500; background: var(--lj-color-trigo); }
.lj-account__content .grid-table__cell { padding: 8px 12px; }
.lj-account__content .grid-table__row + .grid-table__row,
.lj-account__content .grid-table__header + .grid-table__row { border-top: 1px solid var(--lj-color-beige); }

/* ==========================================================================
   MY ORDERS (customer/history.tpl)
   Figma: desktop "Mis pedidos" 4599:11629, mobile "Mis pedidos mbl" 4679:18786
   Shares the .lj-account layout (breadcrumb, side menu / select bar, panel).
   ========================================================================== */

:root {
  --lj-color-estado-entregado: #AEE182;
  --lj-color-estado-incidencia: #E8987F; /* rosa terracota */
}

.lj-account--orders .lj-account__block--orders { gap: 16px; }

.lj-account__orders { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }

.lj-account__order {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 4px;
}

.lj-account__order-top { display: flex; align-items: flex-start; justify-content: space-between; }

.lj-account__order-main { display: flex; flex-direction: column; justify-content: center; gap: 24px; }

.lj-account__order-head { display: flex; align-items: center; gap: 8px; }

.lj-account__order-number {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lj-color-negro);
}

.lj-account__status {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--lj-color-jara);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
  text-transform: uppercase;
  white-space: nowrap;
}

.lj-account__status--delivered { background: var(--lj-color-estado-entregado); }
.lj-account__status--incident { background: var(--lj-color-estado-incidencia); }

.lj-account__order-meta { display: flex; flex-direction: column; gap: 8px; margin: 0; font-size: 14px; line-height: 1.4; }
.lj-account__order-meta > div { display: flex; align-items: center; gap: 24px; }
.lj-account__order-meta dt { flex: 0 0 165px; margin: 0; font-weight: 500; }
.lj-account__order-meta dd { margin: 0; font-weight: 300; }

.lj-account__order-link { display: inline-flex; align-items: center; min-height: 44px; }

.lj-account__thumbs { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }

.lj-account__thumb {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--lj-color-trigo);
  border-radius: 2px;
}

.lj-account__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3.6px; }

.lj-account__thumbs-more { font-size: 16px; font-weight: 300; line-height: 1.4; color: var(--lj-color-gris-800); }

.lj-account__empty { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.4; }

@media (max-width: 991.98px) {
  .lj-account--orders .lj-account__order { gap: 16px; padding: 16px 16px 8px; }
  .lj-account--orders .lj-account__order-top { width: 100%; }
  .lj-account--orders .lj-account__order-main { flex: 1; min-width: 0; }

  .lj-account--orders .lj-account__order-head {
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
  }

  .lj-account--orders .lj-account__order-number { font-size: 18px; line-height: 1.4; }
  .lj-account--orders .lj-account__order-meta > div { justify-content: space-between; gap: 8px; }
  .lj-account--orders .lj-account__order-meta dt { flex: none; }

  .lj-account--orders .lj-account__thumbs { gap: 6px; }
  .lj-account--orders .lj-account__thumb { width: 48px; height: 48px; border-width: .75px; border-radius: 1.5px; }
  .lj-account--orders .lj-account__thumbs-more { font-size: 14px; }
}

/* order card: head row (number + status | link), meta, thumbs */
.lj-account__order-top { align-items: center; }
.lj-account__order-main { display: contents; }

@media (max-width: 991.98px) {
  .lj-account--orders .lj-account__order-top { align-items: flex-start; }
  .lj-account--orders .lj-account__order-head { flex-direction: column; align-items: flex-start; justify-content: flex-start; width: auto; gap: 8px; }
}

/* ==========================================================================
   ORDER DETAIL (customer/order-detail.tpl)
   Figma: Confirmado 4615:16570, Preparando 4610:9281 / mobile 4696:11072, Enviado 4615:15490
   ========================================================================== */

.lj-account__crumb--mobile { display: none; }

@media (max-width: 991.98px) {
  .lj-account--order .lj-account__crumb--desktop { display: none; }
  .lj-account--order .lj-account__crumb--mobile { display: flex; }
  .lj-account--order .lj-account__menu { display: none; }
  .lj-account--order .lj-account__body { padding: 16px 16px 40px; }
}

.lj-order__wrap { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.lj-order {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 16px 16px;
  border-radius: 8px;
  background: var(--lj-color-blanco);
  color: var(--lj-color-gris-800);
  font-family: var(--lj-font-ui);
}

.lj-order__rule { width: 100%; height: 0; margin: 0; border: 0; border-top: 1px solid var(--lj-color-beige); opacity: 1; }

.lj-order__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  align-self: flex-start;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-negro);
  text-decoration: underline;
}

.lj-order__back img { transform: scaleX(-1); }

/* header: mobile = title + status on one row, then number, then summary */
.lj-order__header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "title status" "number number" "summary summary";
  align-items: center;
  gap: 8px;
}

.lj-order__id { display: contents; }
.lj-order__title { grid-area: title; margin: 0; font-family: var(--lj-font-display); font-size: 24px; font-weight: 300; line-height: 1.3; color: #000; }
.lj-order__status { grid-area: status; }

.lj-order__number {
  grid-area: number;
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .5px;
  line-height: 1.4;
  color: var(--lj-color-negro);
}

.lj-order__summary { grid-area: summary; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 14px; font-weight: 300; line-height: 1.4; }

/* tracking: mobile = vertical list */
.lj-order__steps { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }

.lj-order__step { display: flex; align-items: stretch; gap: 8px; }

.lj-order__progress { display: flex; flex: none; flex-direction: column; align-items: center; gap: 8px; }

.lj-order__dot {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.lj-order__step--current .lj-order__dot { background-image: url("../img/account/paso-actual.svg"); }
.lj-order__step--pending .lj-order__dot { background-image: url("../img/account/paso-pendiente.svg"); }

/* mobile design: yellow circle with a dark check */
.lj-order__step--done .lj-order__dot {
  background-color: var(--lj-color-jara);
  background-image: url("../img/account/paso-completado-check-oscuro.svg");
  background-size: 20.571px 20.571px;
  background-position: center;
}

.lj-order__line { flex: 1 1 auto; width: 2px; min-height: 8px; background: var(--lj-color-beige); }
.lj-order__step--done .lj-order__line { background: var(--lj-color-jara); }

.lj-order__step-text { display: flex; flex: 1 1 0; flex-direction: column; gap: 4px; min-width: 0; padding-bottom: 8px; line-height: 1.4; }
.lj-order__step-name { margin: 0; font-size: 16px; font-weight: 500; color: var(--lj-color-gris-800); }
.lj-order__step--done .lj-order__step-name,
.lj-order__step--current .lj-order__step-name { color: var(--lj-color-negro); }
.lj-order__step-note { margin: 0; font-size: 14px; font-weight: 300; }

.lj-order__notice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 2px;
  background: var(--lj-color-trigo);
}

.lj-order__notice-text { display: flex; flex-direction: column; gap: 4px; line-height: 1.4; }
.lj-order__notice-title { margin: 0; font-size: 16px; font-weight: 500; color: var(--lj-color-negro); }
.lj-order__notice-body { margin: 0; font-size: 14px; font-weight: 300; }

.lj-order__addresses { display: flex; flex-direction: column; gap: 32px; }
.lj-order__block { display: flex; flex-direction: column; gap: 8px; }

.lj-order__block-title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-negro);
}

.lj-order__address { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 14px; font-style: normal; font-weight: 300; line-height: 1.4; }
.lj-order__address strong { font-weight: 700; }

.lj-order__items { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; border-top: 1px solid var(--lj-color-beige); }

.lj-order__items-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--lj-color-beige); }
.lj-order__count { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.4; }

.lj-order__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }

.lj-order__item { display: flex; gap: 32px; padding: 8px 8px 8px 0; }
.lj-order__item-main { display: flex; flex: 1 1 0; min-width: 0; }

.lj-order__item-image { flex: none; width: 80px; height: 80px; overflow: hidden; border-radius: 1.127px; }
.lj-order__item-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4.5px; }

.lj-order__item-text { display: flex; flex: 1 1 0; flex-direction: column; justify-content: space-between; min-width: 0; padding: 0 8px; line-height: 1.4; }
.lj-order__item-name { margin: 0; font-family: var(--lj-font-display); font-size: 16px; font-weight: 300; color: var(--lj-color-negro); overflow: hidden; text-overflow: ellipsis; }
.lj-order__item-qty { margin: 0; font-size: 14px; font-weight: 300; }
.lj-order__item-price { align-self: center; margin: 0; font-family: var(--lj-font-display); font-size: 16px; font-weight: 500; line-height: 1.4; color: #000; white-space: nowrap; }

.lj-order__totals { display: flex; flex-direction: column; gap: 8px; width: 100%; margin: 0; padding-top: 16px; border-top: 1px solid var(--lj-color-beige); }

.lj-order__total-row { display: flex; align-items: center; justify-content: space-between; }
.lj-order__total-row dt { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.4; }
.lj-order__total-row dd { margin: 0; font-family: var(--lj-font-display); font-size: 16px; font-weight: 300; line-height: 1.4; color: #272727; }
.lj-order__total-row--discount dd { font-size: 14px; color: #c33; }

.lj-order__total-final { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.lj-order__total-final dt { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--lj-color-negro); }
.lj-order__total-final dd { margin: 0; font-family: var(--lj-font-display); font-size: 18px; font-weight: 500; line-height: 1.4; color: #000; }
.lj-order__tax { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.4; }

.lj-order__help {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 16px 16px;
  border-radius: 8px;
  background: var(--lj-color-jara);
  text-align: center;
}

.lj-order__help-text { display: flex; flex-direction: column; gap: 8px; }
.lj-order__help-title { margin: 0; font-family: var(--lj-font-display); font-size: 24px; font-weight: 300; line-height: 1.3; color: var(--lj-color-negro); }
.lj-order__help-body { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.4; color: var(--lj-color-gris-800); }

.lj-order__help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 24px;
  border-radius: 0;
  background: var(--lj-color-negro);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-blanco);
  text-decoration: none;
}

.lj-order__help-button:hover,
.lj-order__help-button:focus-visible { background: var(--lj-color-gris-800); color: var(--lj-color-blanco); }

@media (min-width: 992px) {
  .lj-order__wrap { gap: 24px; }
  .lj-order { gap: 32px; padding: 24px; }

  .lj-order__header { grid-template-areas: "title title" "number status" "summary summary"; }
  .lj-order__title { font-size: 32px; }
  .lj-order__number { font-size: 24px; letter-spacing: 0; line-height: 1.3; }
  .lj-order__summary { font-size: 16px; }

  /* tracking: horizontal bar, black circle with a yellow check */
  .lj-order__steps { flex-direction: row; gap: 16px; }
  .lj-order__step { flex: 1 1 0; flex-direction: column; gap: 8px; min-width: 0; }
  .lj-order__progress { flex-direction: row; width: 100%; }
  .lj-order__dot { width: 28px; height: 28px; }
  .lj-order__line { width: auto; height: 2px; min-height: 0; }
  .lj-order__step-text { flex: none; padding-bottom: 0; }

  .lj-order__step--done .lj-order__dot {
    background-color: var(--lj-color-negro);
    background-image: url("../img/account/paso-completado-check.svg");
    background-size: 24px 24px;
  }

  .lj-order__notice { flex-direction: row; align-items: center; gap: 16px; }
  .lj-order__notice-text { flex: 1 1 0; }

  .lj-order__addresses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .lj-order__block-title { font-size: 20px; letter-spacing: .5px; }

  .lj-order__count { font-size: 16px; }
  .lj-order__totals { width: 395px; margin-left: auto; }

  .lj-order__help { flex-direction: row; justify-content: space-between; padding: 24px; }
  .lj-order__help-text { width: 420px; }
  .lj-order__help-title { font-size: 32px; }
}

/* incident notice (Figma incidencia 4615:16200 / mobile 4696:11575): rosa nácar */
.lj-order__notice--incident { background: #F2DCDF; }

/* delivered (Figma entregado 4615:15842): final step = yellow circle with a dark check */
.lj-order__step--final .lj-order__dot {
  background-color: var(--lj-color-jara);
  background-image: url("../img/account/paso-completado-check-oscuro.svg");
  background-size: 20.571px 20.571px;
  background-position: center;
}

@media (min-width: 992px) {
  .lj-order__step--final .lj-order__dot { background-size: 24px 24px; }
}

/* ==========================================================================
   HELP (templates/contact.tpl + modules/contactform widget, and the mod_faqs
   overrides in modules/mod_faqs: <details> on the contact page, buttons
   toggled by mod_faqs.js there)
   Figma 4605:13526 (desktop) / mobile 4696:10138 (inferred)
   ========================================================================== */

.lj-help { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.lj-help__faq-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 16px 16px;
  border-radius: 8px;
  background: var(--lj-color-blanco);
  color: var(--lj-color-gris-800);
  font-family: var(--lj-font-ui);
}

.lj-help__header { display: flex; flex-direction: column; gap: 8px; }

.lj-help__title { margin: 0; font-family: var(--lj-font-display); font-size: 24px; font-weight: 300; line-height: 1.3; color: #000; }
.lj-help__subtitle { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.4; color: #545454; }

.lj-help__faq { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--lj-color-beige); }

.lj-help__faq-title { margin: 0; font-family: var(--lj-font-display); font-size: 22px; font-weight: 300; line-height: 1.3; color: var(--lj-color-negro); }

/* Full card width (the 644px of the Figma looked cut off next to the 866px card) */
.lj-help__items { display: flex; flex-direction: column; gap: 16px; }

.lj-help__item { border-bottom: 1px solid var(--lj-color-beige); }

.lj-help__question-heading { margin: 0; font: inherit; }

/* <summary> (contact page) or <button> (mod_faqs): 44px row, question + chevron */
.lj-help__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: none;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-negro);
  text-align: left;
  list-style: none;
  cursor: pointer;
}

.lj-help__question:focus-visible { outline: 2px solid var(--lj-color-negro); outline-offset: 2px; }

.lj-help__question::-webkit-details-marker { display: none; }
.lj-help__chevron { flex: none; transition: transform .2s; }
.lj-help__item[open] .lj-help__chevron,
.lj-help__question[aria-expanded="true"] .lj-help__chevron { transform: rotate(180deg); }

.lj-help__answer { margin: 0 0 8px; font-size: 14px; font-weight: 300; line-height: 1.4; }

/* mod_faqs answers are back-office HTML */
.lj-help__answer > :first-child { margin-top: 0; }
.lj-help__answer > :last-child { margin-bottom: 0; }
.lj-help__answer a { color: inherit; text-decoration: underline; }
/* Lists in the answers (the theme reset removes the markers) */
.lj-help__answer ul,
.lj-help__answer ol { margin: 0 0 1em; padding-left: 20px; }
.lj-help__answer ul { list-style: disc; }
.lj-help__answer ol { list-style: decimal; }
.lj-help__answer li + li { margin-top: 4px; }

/* mod_faqs topics: each group of FAQs under a display-font heading (H3, under the
   "Preguntas frecuentes" H2). Sized between the section title and the questions so the
   hierarchy reads: faq-title 22/28px > topic 18/22px > question 16/18px. */
.lj-help__topic { display: flex; flex-direction: column; gap: 8px; }
.lj-help__topic + .lj-help__topic { margin-top: 24px; }
.lj-help__topic-title {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--lj-color-negro);
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--lj-color-negro);
}

@media (min-width: 992px) {
  .lj-help__topic + .lj-help__topic { margin-top: 40px; }
  .lj-help__topic-title { font-size: 22px; }
}

/* yellow form block */
.lj-help__form-card {
  padding: 24px 16px 16px;
  border-radius: 8px;
  background: var(--lj-color-jara);
  color: var(--lj-color-gris-800);
  font-family: var(--lj-font-ui);
}

.lj-help__form { display: flex; flex-direction: column; gap: 24px; }

.lj-help__form-header { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.lj-help__form-title { margin: 0; font-family: var(--lj-font-display); font-size: 24px; font-weight: 300; line-height: 1.3; color: var(--lj-color-negro); }
.lj-help__form-lead { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.4; }

.lj-help__fields { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lj-help__field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.lj-help__label { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--lj-color-gris-800); }

.lj-help__control {
  width: 100%;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  background-color: var(--lj-color-blanco);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
  box-shadow: none;
}

.lj-help__control::placeholder { color: var(--lj-color-gris-800); opacity: 1; }

.lj-help__control:focus { border-color: var(--lj-color-negro); outline: 2px solid var(--lj-color-negro); outline-offset: 1px; }

.lj-help__control--select {
  appearance: none;
  padding-right: 48px;
  background-image: url("../img/account/flecha-desplegable-24.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px 24px;
}

.lj-help__control--textarea { min-height: 44px; resize: vertical; }

.lj-help__consent { font-size: 14px; font-weight: 500; line-height: 1.4; }
.lj-help__consent .form-check { display: flex; align-items: center; gap: 4px; min-height: 44px; padding-left: 0; margin: 0; }

/* Same Figma checkbox icons as the checkout (Figma 4581:7407) */
.lj-help__consent .form-check-input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: url("../img/checkout/check-desmarcado.svg") center / 20px 20px no-repeat;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
}

.lj-help__consent .form-check-input:checked { background-image: url("../img/checkout/check-marcado.svg"); }
.lj-help__consent .form-check-input:focus-visible { outline: 2px solid var(--lj-color-negro); outline-offset: 2px; }
.lj-help__consent label { font-size: 14px; font-weight: 500; color: var(--lj-color-gris-800); }
.lj-help__consent a { color: inherit; text-decoration: underline; }

.lj-help__actions { display: flex; }

.lj-help__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-negro);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-blanco);
  cursor: pointer;
}

.lj-help__submit:hover,
.lj-help__submit:focus-visible { background: var(--lj-color-gris-800); }

.lj-help__alert { margin-bottom: 8px; padding: 16px; border-radius: 2px; background: var(--lj-color-blanco); font-size: 14px; line-height: 1.4; }
.lj-help__alert ul { margin: 0; padding-left: 16px; }
.lj-help__alert--error { border-left: 4px solid #c33; }
.lj-help__alert--success { border-left: 4px solid #1f7a3a; }
.lj-help__alert p { margin: 0; }

/* mod_faqs card: the header sits outside the form (the form keeps its own gap) */
.lj-help__form-card > .lj-help__form-header { margin-bottom: 24px; }

/* Full-width center column (contact.tpl, mod_faqs account.tpl override): the layout's
   Bootstrap .row gutters (-20px margins, 20px padding) made the page 40px wider than
   the viewport */
.columns-container.p-0 > .row:has(> .page--full-width) { margin-inline: 0; }
.columns-container.p-0 > .row > .page--full-width { padding-inline: 0; }

/* Contact page (templates/contact.tpl): the form card alone, centred, 866px like the
   "Ayuda" content column */
.lj-contact__body {
  max-width: calc(866px + 2 * 16px);
  margin-inline: auto;
  padding: 16px 16px 40px;
}

@media (min-width: 992px) {
  .lj-contact__body {
    max-width: calc(866px + 2 * var(--lj-container-padding));
    padding: 64px var(--lj-container-padding) 80px;
  }
}

/* mod_faqs accordion under the contact form */
.lj-contact__faqs { margin-top: 16px; }

@media (min-width: 992px) {
  .lj-contact__faqs { margin-top: 24px; }
}

/* Public FAQ page of mod_faqs (front/faq.tpl override): cards on the beige band */
.lj-help-page { padding-block: 64px 80px; background: var(--lj-color-trigo, #F0ECE3); }
.lj-help-page__inner { max-width: calc(866px + 2 * var(--lj-container-padding)); }

@media (min-width: 992px) {
  .lj-help { gap: 24px; }
  .lj-help__faq-card { padding: 16px 16px 40px; }
  .lj-help__question { font-size: 18px; }
  .lj-help__answer { font-size: 16px; }
  .lj-help__title { font-size: 32px; }
  .lj-help__subtitle { font-size: 18px; }
  .lj-help__faq-title { font-size: 28px; }
  .lj-help__form-card { padding: 40px 24px 24px; }
  .lj-help__form-header { max-width: 420px; margin-inline: auto; }
  .lj-help__form-title { font-size: 32px; }
  .lj-help__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lj-help__field--full { grid-column: 1 / -1; }
}

/* ==========================================================================
   HOME — FEATURED PRODUCTS (Figma 4652-15505)
   Second half of the yellow band under the hero: 80px gap from the
   mod_featuredhomeproduct banner, 200px bottom, 3 cards per row (4 cols each).
   ========================================================================== */

/* Hummingbird spaces home blocks with a 40px grid gap; the Figma sections
   carry their own padding, so blocks sit edge to edge */
.page-content--home {
  gap: 0;
}

.lj-home-products {
  padding-block: 80px 200px;
  background: var(--lj-color-jara);
}

/* .products is restyled by Hummingbird; restate the site grid */
.lj-home-products .products.lj-grid {
  display: grid;
  grid-template-columns: repeat(var(--lj-grid-columns), minmax(0, 1fr));
  gap: var(--lj-grid-gutter);
  margin: 0;
}

.lj-home-products .products.lj-grid > * {
  grid-column: span 4;
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
}

@media (max-width: 991.98px) {
  .lj-home-products {
    --lj-container-padding: 16px;
    padding-block: 40px 80px;
  }

  .lj-home-products .products.lj-grid > * { grid-column: span 6; }
}

@media (max-width: 575.98px) {
  .lj-home-products .products.lj-grid > * { grid-column: 1 / -1; }
}

/* ==========================================================================
   HOME — PRODUCT SELECTIONS (mod_homeselectedproducts, _2 and _3)
   Product grids under the cofres / jamones / embutidos banners (Figma
   4652:15516, 4652:14521, 4652:14538). 80px below the banner, 24px gaps.
   Modifiers set by each module template:
   --cols-N       cards per row on desktop (3 cofres, 4 jamones, 5 embutidos)
   --compact      compact cards; the templates also pass ljCompact=true so the
                  card renders no short description nor review stars
   --small-titles 20px titles kept to two lines (embutidos)
   The card variants are scoped here so category and PDP listings keep the
   full card.
   ========================================================================== */

/* section.* beats the module's .mod-home-selected-products--has-bg padding */
section.lj-home-selection {
  --lj-home-selection-columns: 4;
  padding-block: 80px 200px;
  /* Reached from the PDP breadcrumb (/#category): keep the cards clear of the
     sticky header even before it turns compact */
  scroll-margin-top: 64px;
}

section.lj-home-selection--cols-3 { --lj-home-selection-columns: 3; }
section.lj-home-selection--cols-5 { --lj-home-selection-columns: 5; }

/* Embutidos closes its band with 120px (Figma 4652:14529) */
section.lj-home-selection.mod-home-selected-products-3 { padding-bottom: 120px; }

.lj-home-selection__grid {
  position: relative;
}

/* .products is restyled by Hummingbird; restate the grid */
.lj-home-selection .products.lj-home-selection__products {
  display: grid;
  grid-template-columns: repeat(var(--lj-home-selection-columns), minmax(0, 1fr));
  gap: var(--lj-grid-gutter);
  margin: 0;
}

.lj-home-selection .products.lj-home-selection__products > * {
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
}

/* Compact cards (rendered with ljCompact=true: no description, no stars) */
.lj-home-selection--compact .product-miniature.lj-card .lj-card__body { padding: 16px 8px; }

/* Drago XL: 20px, two lines reserved so prices line up */
.lj-home-selection--small-titles .product-miniature.lj-card .lj-card__title {
  min-height: 2.8em;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: .5px;
}

/* "Cortador" illustration (Figma 4652:14528, 522x718): decorative, in the
   empty cells at the bottom-right of the jamones grid, reaching into the
   section padding and the container's right gutter */
.lj-home-selection__illustration {
  position: absolute;
  right: -62px;
  bottom: -178px;
  width: 522px;
  max-width: none;
  height: auto;
  pointer-events: none;
}

@media (max-width: 1199.98px) {
  .lj-home-selection__illustration { display: none; }
}

@media (max-width: 991.98px) {
  section.lj-home-selection {
    --lj-container-padding: 16px;
    padding-block: 40px 80px;
  }

  section.lj-home-selection,
  section.lj-home-selection--cols-3,
  section.lj-home-selection--cols-5 { --lj-home-selection-columns: 2; }

  section.lj-home-selection.mod-home-selected-products-3 { padding-bottom: 64px; }
}

@media (max-width: 575.98px) {
  /* Landscape cofres cards need the full width; portrait cards stay in pairs */
  section.lj-home-selection.lj-home-selection--cols-3 { --lj-home-selection-columns: 1; }

  .lj-home-selection .products.lj-home-selection__products { column-gap: 16px; }

  .lj-home-selection--compact .product-miniature.lj-card .lj-card__title,
  .lj-home-selection--compact .product-miniature.lj-card .lj-card__price { font-size: 18px; }

  .lj-home-selection--compact .product-miniature.lj-card .lj-card__seal {
    top: 8px;
    right: 8px;
    width: 56px;
    height: 56px;
  }

  .lj-home-selection--compact .product-miniature.lj-card .lj-card__seal img {
    width: 88px;
    height: 88px;
  }

  .lj-home-selection--compact .product-miniature.lj-card .lj-card__add { padding-inline: 8px; }
}

/* ==========================================================================
   PRODUCT MINIATURE (Figma 4652-15517)
   Card = image block (324.01/243.2, 8px radius, "Gama" seal) + body.
   Inner elements use lj-card__* classes, so Hummingbird's
   .product-miniature__* rules (white bg, hover shadow, quickview) don't apply;
   the article itself is reset in case a parent rule targets it.
   ========================================================================== */

.product-miniature.lj-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--lj-color-oliva);
}

/* Image block */
/* Card formats (Figma 4652:14389), chosen by the category "card_format":
   portrait 4:5 by default (jamones, embutidos), landscape 4:3 for "apaisado" (cofres) */
.product-miniature.lj-card .lj-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 298 / 372.5;
  border-radius: 8px;
}

.product-miniature.lj-card.lj-card--landscape .lj-card__media { aspect-ratio: 324.01 / 243.2; }

.product-miniature.lj-card .lj-card__image-link,
.product-miniature.lj-card .lj-card__image-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Portrait: the square image is cut to 4:5 (cover); landscape: the 4:3 card_landscape image */
.product-miniature.lj-card .lj-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Seal: 88px circle, 16px from the top-right corner (bottom-right on landscape
   cards); the 141px image is cropped by the circle */
.product-miniature.lj-card .lj-card__seal {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
}

.product-miniature.lj-card.lj-card--landscape .lj-card__seal {
  top: auto;
  bottom: 16px;
}

.product-miniature.lj-card .lj-card__seal img {
  flex-shrink: 0;
  width: 141px;
  max-width: none;
  height: 141px;
}

.product-miniature.lj-card .lj-card__seal--bellota-100 {
  background: var(--lj-color-oliva);
}

.product-miniature.lj-card .lj-card__seal--cebo-50 {
  border: 1px solid var(--lj-color-oliva);
  background: var(--lj-color-encalado);
}

/* Body */
.product-miniature.lj-card .lj-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 24px;
  padding: 24px 8px;
}

.product-miniature.lj-card .lj-card__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-miniature.lj-card .lj-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--lj-font-display);
  font-weight: 300;
}

.product-miniature.lj-card .lj-card__title {
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--lj-color-oliva);
}

.product-miniature.lj-card .lj-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-miniature.lj-card .lj-card__description {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.product-miniature.lj-card .lj-card__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: var(--lj-font-display);
}

.product-miniature.lj-card .lj-card__price {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lj-color-oliva);
}

.product-miniature.lj-card .lj-card__regular-price {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
  text-decoration: line-through;
}

/* CTA */
.product-miniature.lj-card .lj-card__actions {
  margin-top: auto;
}

.product-miniature.lj-card .lj-card__form {
  margin: 0;
}

.product-miniature.lj-card .lj-card__add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-oliva);
  color: var(--lj-color-encalado);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  cursor: pointer;
  transition: opacity .2s ease;
}

.product-miniature.lj-card .lj-card__add:hover:not(:disabled) {
  opacity: .85;
}

.product-miniature.lj-card .lj-card__add:focus-visible {
  outline: 2px solid var(--lj-color-oliva);
  outline-offset: 2px;
}

.product-miniature.lj-card .lj-card__add:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* No mobile design yet: scale text down a bit */
@media (max-width: 575.98px) {
  .product-miniature.lj-card .lj-card__title,
  .product-miniature.lj-card .lj-card__price { font-size: 20px; }

  .product-miniature.lj-card .lj-card__description { font-size: 16px; }
}

/* ==========================================================================
   CART — "Tu cesta" (Figma desktop 4559:15556, empty cart 4588:9836 and
   mobile 4705:14201, "Producto añadido" popup 4559:13354)
   Everything is scoped to .lj-cart*, .lj-cart-more* and .lj-cart-modal*, so
   the header and the footer are not affected.
   There is no Figma frame for the mobile cart with products: that layout
   (<= 767.98px) is derived from the desktop frame and the mobile empty cart.
   ========================================================================== */

.lj-cart,
.lj-cart-modal {
  --lj-cart-trigo: #F0ECE3;   /* beige-50 "Trigo viejo" */
  --lj-cart-rojo: #CC3333;    /* rojo bellota 50% */
  --lj-cart-texto: #272727;
}

/* --- "Producto añadido" popup (Figma 4559:14170) ------------------------ */

/* Backdrop: Rectangle 1990 is #111010 at 30% */
body:has(#blockcart-modal) .modal-backdrop {
  --bs-backdrop-bg: #111010;
  --bs-backdrop-opacity: .3;
}

.lj-cart-modal .lj-cart-modal__dialog {
  position: absolute;
  top: 129px;
  right: max(var(--lj-container-padding), calc((100vw - var(--lj-container-max)) / 2 + var(--lj-container-padding)));
  width: 485px;
  max-width: calc(100vw - 32px);
  margin: 0;
}

/* Desktop header spans the full width with a 3vw gutter (mod_megamenu), so the popup
   hangs under the cart icon instead of the 1440 content column */
@media (min-width: 1200px) {
  .lj-cart-modal .lj-cart-modal__dialog { right: 3vw; }
}

.lj-cart-modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: var(--lj-cart-trigo);
  box-shadow: none;
}

.lj-cart-modal__title {
  margin: 0;
  padding-right: 44px;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}

.lj-cart-modal__close img { display: block; width: 44px; height: 44px; }
.lj-cart-modal__close:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: -2px; }

.lj-cart-modal__line {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 8px 8px 8px 0;
}

.lj-cart-modal__product {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

.lj-cart-modal__media {
  position: relative;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 1.127px;
}

.lj-cart-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 4.507px;
  object-fit: cover;
}

.lj-cart-modal__text {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-inline: 8px;
}

.lj-cart-modal__name {
  margin: 0;
  overflow: hidden;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-overflow: ellipsis;
  color: var(--lj-color-oliva);
}

.lj-cart-modal__quantity {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart-modal__prices {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  text-align: right;
}

.lj-cart-modal__price {
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  color: #000;
}

.lj-cart-modal__regular-price {
  font-family: var(--lj-font-display);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: line-through;
  text-decoration-skip-ink: none;
  color: var(--lj-cart-rojo);
}

/* "Ver cesta" link: same look as the cart's checkout button */
.lj-cart-modal__cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 14px 24px;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  color: var(--lj-color-encalado);
  transition: opacity .2s ease;
}

.lj-cart-modal__cart-link:hover { opacity: .85; color: var(--lj-color-encalado); }
.lj-cart-modal__cart-link:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

/* Seal on the product image: 32px circle at 94/20 inside the 142px cart image,
   18px at 53/11 inside the 80px popup image. Sizes are percentages of the image
   box, so one rule serves both (the cart line classes are used by the cart) */
.lj-cart-line__seal,
.lj-cart-modal__seal {
  position: absolute;
  top: 14.0845%;
  right: 11.2676%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22.5352%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
}

.lj-cart-line__seal img,
.lj-cart-modal__seal img {
  flex-shrink: 0;
  width: 160.23%;
  max-width: none;
  height: auto;
}

.lj-cart-line__seal--bellota-100,
.lj-cart-modal__seal--bellota-100 {
  background: var(--lj-color-oliva);
}

.lj-cart-line__seal--cebo-50,
.lj-cart-modal__seal--cebo-50 {
  border: .364px solid var(--lj-color-oliva);
  background: var(--lj-color-encalado);
}

/* --- Page section ------------------------------------------------------- */

/* Hummingbird's page wrapper adds 32px below the content; on the cart the
   rhombus strip must touch the footer (rule limited to pages with the cart) */
.center-column:has(> .lj-cart) { padding-bottom: 0; }

/* Home: the last block (full-bleed banner) must touch the footer */
#index .center-column { padding-bottom: 0; }

.lj-cart__main {
  padding-block: 64px 80px;
  background: var(--lj-cart-trigo);
}

/* Heading and products card live inside .js-cart (core.js replaces it after
   every update); it takes no box so they sit on the page grid */
.lj-cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 752px) 421px;
  grid-template-areas:
    "alert alert"
    "head  head"
    "list  aside";
  justify-content: space-between;
  align-items: start;
  column-gap: 24px;
}

.lj-cart__overview { display: contents; }
.lj-cart__alert { grid-area: alert; }
.lj-cart__alert:not(:empty) { margin-bottom: 24px; }
.lj-cart__aside { grid-area: aside; min-width: 0; }

.lj-cart__heading {
  grid-area: head;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.lj-cart__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-oliva);
}

.lj-cart__count {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

/* --- Cards -------------------------------------------------------------- */

.lj-cart__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: var(--lj-color-encalado);
}

.lj-cart__products { grid-area: list; min-width: 0; }

.lj-cart__card-title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: .5px;
  color: var(--lj-color-oliva);
}

.lj-cart__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lj-cart__rule {
  display: block;
  width: 100%;
  max-width: none;
  height: 1px;
}

.lj-cart__empty {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart__empty a {
  color: var(--lj-color-oliva);
  text-decoration: underline;
}

/* --- Product line ------------------------------------------------------- */

.lj-cart-line {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px 16px 0;
}

.lj-cart-line__product {
  display: flex;
  flex: 0 1 517px;
  min-width: 0;
}

.lj-cart-line__media {
  position: relative;
  flex: 0 0 142px;
  width: 142px;
  height: 142px;
  overflow: hidden;
  border-radius: 2px;
}

.lj-cart-line__image-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.lj-cart-line__image-link picture { display: block; width: 100%; height: 100%; }

.lj-cart-line__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.lj-cart-line__body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-inline: 8px;
}

.lj-cart-line__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lj-cart-line__title {
  display: block;
  overflow: hidden;
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: .5px;
  text-decoration: none;
  text-overflow: ellipsis;
  color: var(--lj-color-oliva);
}

.lj-cart-line__meta {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart-line__meta--alert { color: var(--lj-cart-rojo); }

.lj-cart-line__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lj-cart-line__quantity-group {
  display: flex;
  align-items: stretch;
}

.lj-cart-line__gift {
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--lj-color-grey-800);
}

/* 44px square buttons; the Figma image sits inside the .material-icons the
   cart JS shows and hides, the beige fill covers the spinner state */
.lj-cart-line__step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-beige);
  cursor: pointer;
}

.lj-cart-line__step .material-icons {
  display: block;
  width: 44px;
  height: 44px;
  font-size: 0;
  line-height: 0;
}

.lj-cart-line__step .material-icons img { display: block; width: 44px; height: 44px; }
.lj-cart-line__step .material-icons.confirmation { font-size: 24px; line-height: 44px; text-align: center; }
.lj-cart-line__step .spinner-border { color: var(--lj-color-oliva); }

.lj-cart-line__quantity-input {
  box-sizing: border-box;
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-beige);
  box-shadow: none;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: var(--lj-color-oliva);
}

.lj-cart-line__step:focus-visible,
.lj-cart-line__quantity-input:focus-visible,
.lj-cart-line__remove:focus-visible {
  outline: 2px solid var(--lj-color-oliva);
  outline-offset: 2px;
}

.lj-cart-line__remove {
  display: block;
  flex: 0 0 56px;
  width: 56px;
  height: 44px;
  line-height: 0;
}

.lj-cart-line__remove img { display: block; width: 56px; height: 44px; }

.lj-cart-line__prices {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 0;
  text-align: right;
}

.lj-cart-line__price {
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .5px;
  white-space: nowrap;
  color: #000;
}

.lj-cart-line__regular-price {
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: line-through;
  text-decoration-skip-ink: none;
  color: var(--lj-cart-rojo);
}

/* --- Order summary ------------------------------------------------------ */

.lj-cart__totals {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lj-cart__summary { border-radius: 2px; }

.lj-cart__card-title--summary {
  font-size: 18px;
  letter-spacing: 0;
}

.lj-cart__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lj-cart__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lj-cart__line-label {
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart__line-value {
  font-family: var(--lj-font-display);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-cart-texto);
}

/* mod_cartshippingestimate row (its own CSS only loads on the cart page) */
.mod-cse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mod-cse--empty { display: none; }

.lj-cart__line-value small { font-size: inherit; }
.lj-cart__line-value--discount { color: var(--lj-cart-rojo); }

/* Promo code: beige box with the white field and the underlined "Aplicar" */
.lj-cart__voucher {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lj-cart__voucher-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lj-cart__voucher-remove {
  margin-left: 8px;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  text-decoration: underline;
  color: var(--lj-color-oliva);
}

.lj-cart__voucher-form {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin: 0;
  padding-right: 16px;
  border: 2px solid var(--lj-color-beige);
  border-radius: 2px;
  background: var(--lj-color-beige);
}

.lj-cart__voucher-field {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  border-radius: 2px;
  background: var(--lj-color-encalado);
}

.lj-cart__voucher-field img { flex: 0 0 24px; width: 24px; height: 24px; }

.lj-cart__voucher-input {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart__voucher-input::placeholder { color: var(--lj-color-grey-800); opacity: 1; }
.lj-cart__voucher-input:focus { outline: 0; }
.lj-cart__voucher-field:focus-within { outline: 2px solid var(--lj-color-oliva); outline-offset: -2px; }

.lj-cart__voucher-apply {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-position: from-font;
  color: var(--lj-color-oliva);
  cursor: pointer;
}

.lj-cart__voucher-error {
  padding: 8px 12px;
  border-radius: 2px;
  background: var(--lj-color-encalado);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  line-height: 1.4;
  color: var(--lj-cart-rojo);
}

.lj-cart__voucher-offers {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart__voucher-code {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 500;
  text-decoration: underline;
  color: var(--lj-color-oliva);
  cursor: pointer;
}

.lj-cart__total {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lj-cart__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lj-cart__total-label {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}

.lj-cart__total-value {
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #000;
}

.lj-cart__note {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lj-cart__alert-text {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  line-height: 1.4;
  color: var(--lj-cart-rojo);
}

.lj-cart__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  color: var(--lj-color-encalado);
  cursor: pointer;
  transition: opacity .2s ease;
}

.lj-cart__checkout:hover:not(:disabled) { opacity: .85; color: var(--lj-color-encalado); }
.lj-cart__checkout:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }
.lj-cart__checkout:disabled { opacity: .5; cursor: not-allowed; }

/* Parent theme's @layer ps-components .cart__item adds a bottom border */
.lj-cart__item { border-block-end: 0; }

.lj-cart__assurances {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lj-cart__assurance {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--lj-color-grey-800);
}

.lj-cart__assurance img { flex: 0 0 16px; width: 16px; height: 16px; }

/* Free-shipping status box */
.lj-cart__shipping {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border-radius: 2px;
  background: var(--lj-color-beige);
}

.lj-cart__shipping > img { flex: 0 0 16px; width: 16px; height: 16px; }

.lj-cart__shipping-body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.lj-cart__shipping-text {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart__progress {
  display: flex;
  height: 4px;
  background: var(--lj-color-encalado);
}

.lj-cart__progress-fill {
  display: block;
  height: 4px;
  background: var(--lj-color-joya);
}

/* --- "Podria interesarte" band + rhombus strip -------------------------- */

.lj-cart-more {
  padding-block: 64px;
  background: var(--lj-color-jara);
}

.lj-cart-more > .lj-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.lj-cart-more__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lj-cart-more__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--lj-color-oliva);
}

/* "Seguir comprando": underlined text link (Figma 4559:15556) */
.lj-cart-more__cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-position: from-font;
  white-space: nowrap;
  color: var(--lj-color-oliva);
}

.lj-cart-more__cta:hover { color: var(--lj-color-oliva); opacity: .7; }
.lj-cart-more__cta:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

/* Reuse the home featured-products block (miniature + site grid): drop its
   band padding/background and lay the cards out in five columns */
.lj-cart-more .lj-home-products {
  width: auto;
  margin-inline: 0;
  padding: 0;
  background: none;
}

.lj-cart-more .lj-home-products > .lj-container {
  max-width: none;
  padding-inline: 0;
}

.lj-cart-more .lj-home-products .products.lj-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.lj-cart-more .lj-home-products .products.lj-grid > * { grid-column: auto; }

/* Cart variant of the card (Figma 4559:15659): 20px two-line title and no
   description (image format and seal come from the card format) */

.lj-cart-more .product-miniature.lj-card .lj-card__body { padding: 16px 8px; }

.lj-cart-more .product-miniature.lj-card .lj-card__title {
  display: -webkit-box;
  height: 56px;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: .5px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lj-cart-more .product-miniature.lj-card .lj-card__description { display: none; }

/* Rhombus strip: the Figma SVG is 36 rhombi wide, so it tiles horizontally;
   the first row is mirrored as in the design */
.lj-cart-more-band { background: var(--lj-color-jara); }

.lj-cart-more-band__row {
  height: 64px;
  background: url("../img/cart/banda-rombos.svg") left top / 1448.267px 64px repeat-x;
}

.lj-cart-more-band__row--flipped { transform: scaleY(-1); }

/* --- Empty cart (Figma 4588:9836, mobile 4705:14201) -------------------- */

.lj-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 200px 32px;
  background: var(--lj-cart-trigo);
  text-align: center;
}

.lj-cart-empty__icon {
  display: block;
  width: 25.1435px;
  height: 40px;
}

.lj-cart-empty__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 389px;
  max-width: 100%;
}

.lj-cart-empty__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-oliva);
}

.lj-cart-empty__description {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-cart-empty__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 389px;
  max-width: 100%;
  height: 44px;
  padding: 14px 24px;
  border-radius: 0;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  color: var(--lj-color-encalado);
  transition: opacity .2s ease;
}

.lj-cart-empty__cta:hover { opacity: .85; color: var(--lj-color-encalado); }
.lj-cart-empty__cta:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

/* Empty cart on mobile (Figma 4705:14201: 390px, 500px tall, 16px side padding) */
@media (max-width: 767.98px) {
  .lj-cart-empty {
    justify-content: center;
    gap: 16px;
    min-height: 500px;
    padding: 40px 16px;
  }

  .lj-cart-empty__icon { width: 20.1148px; height: 32px; }
  .lj-cart-empty__text { width: 100%; }
  .lj-cart-empty__title { font-size: 32px; line-height: 1.3; }
  .lj-cart-empty__cta { width: 100%; }
}

/* --- 404 (no Figma frame: same language as the empty cart) -------------- */

/* The beige band reaches the footer: no white strip below it */
#wrapper:has(.lj-notfound) #center-column { margin-block-end: 0; padding-block-end: 0; }

.lj-notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 160px 32px;
  background: var(--lj-color-trigo);
  text-align: center;
}

.lj-notfound__icon {
  display: block;
  width: 25.1435px;
  height: 40px;
}

.lj-notfound__code {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 120px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--lj-color-oliva);
}

.lj-notfound__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 480px;
  max-width: 100%;
}

.lj-notfound__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-oliva);
}

.lj-notfound__description {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-notfound__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 389px;
  max-width: 100%;
}

.lj-notfound__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 14px 24px;
  border-radius: 0;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  color: var(--lj-color-encalado);
  transition: opacity .2s ease;
}

.lj-notfound__cta:hover { opacity: .85; color: var(--lj-color-encalado); }
.lj-notfound__cta:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

.lj-notfound__link {
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lj-notfound__link:hover { color: var(--lj-color-oliva); opacity: .75; }
.lj-notfound__link:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

@media (max-width: 767.98px) {
  .lj-notfound {
    justify-content: center;
    gap: 16px;
    min-height: 560px;
    padding: 48px 16px;
  }

  .lj-notfound__icon { width: 20.1148px; height: 32px; }
  .lj-notfound__code { font-size: 80px; }
  .lj-notfound__text { width: 100%; }
  .lj-notfound__title { font-size: 32px; line-height: 1.3; }
  .lj-notfound__actions { width: 100%; }
}

/* --- Responsive --------------------------------------------------------- */

/* Cards in five columns until the container gets narrow */
@media (max-width: 1099.98px) {
  .lj-cart__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "alert"
      "head"
      "list"
      "aside";
  }

  .lj-cart__aside { margin-top: 24px; }

  .lj-cart-more .lj-home-products .products.lj-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .lj-cart__main,
  .lj-cart-more { --lj-container-padding: 16px; }

  .lj-cart__main { padding-block: 40px 56px; }
  .lj-cart-more { padding-block: 40px; }
}

/* Mobile. Derived from the desktop frame and the mobile empty cart (390px:
   16px side padding, 32px titles, 16px body, 44px buttons) */
@media (max-width: 767.98px) {
  .lj-cart__title { font-size: 32px; line-height: 1.3; }
  .lj-cart__count { font-size: 16px; }

  /* Line: image | name + price, then quantity and trash on their own row */
  .lj-cart-line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "media info"
      "media prices"
      "actions actions";
    gap: 8px 16px;
    padding: 0;
  }

  .lj-cart-line__product,
  .lj-cart-line__body { display: contents; }

  .lj-cart-line__media {
    grid-area: media;
    flex-basis: 96px;
    width: 96px;
    height: 96px;
  }

  .lj-cart-line__info { grid-area: info; }

  .lj-cart-line__title {
    font-size: 18px;
    letter-spacing: 0;
  }

  .lj-cart-line__prices {
    grid-area: prices;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    align-self: end;
    flex-wrap: wrap;
    gap: 0 8px;
    text-align: left;
  }

  .lj-cart-line__price { font-size: 18px; letter-spacing: 0; }
  .lj-cart-line__regular-price { font-size: 16px; }

  .lj-cart-line__actions {
    grid-area: actions;
    justify-content: space-between;
    margin-top: 4px;
  }

  .lj-cart-more__title { font-size: 24px; }

  .lj-cart-more .lj-home-products .products.lj-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .lj-cart-more .product-miniature.lj-card .lj-card__title {
    height: auto;
    font-size: 16px;
    letter-spacing: 0;
  }

  .lj-cart-more .product-miniature.lj-card .lj-card__price { font-size: 20px; }
  .lj-cart-more .product-miniature.lj-card .lj-card__seal { top: 8px; right: 8px; width: 56px; height: 56px; }
  .lj-cart-more .product-miniature.lj-card .lj-card__seal img { width: 88px; height: 88px; }
  .lj-cart-more .product-miniature.lj-card .lj-card__add { padding-inline: 8px; }

  .lj-cart-modal .lj-cart-modal__dialog {
    top: 64px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }

  .lj-cart-modal__line { gap: 16px; }
}

/* ==========================================================================
   CHECKOUT (checkout/checkout.tpl and its step partials) + ORDER CONFIRMATION
   Figma: user data 4581:7602 / 4588:8168 / 4588:8525, shipping address 4581:5704,
   payment 4588:8889, confirmation 4462:9911 (desktop) and 4705:13866 (mobile).
   Everything is scoped to .lj-checkout* and .lj-confirm*, so the header and the
   footer are not affected.
   There is no Figma frame for the mobile checkout steps: that layout
   (<= 991.98px) is derived from the desktop frames and the mobile confirmation.
   ========================================================================== */

.lj-checkout,
.lj-confirm {
  --lj-ck-trigo: #F0ECE3;   /* beige-50 "Trigo viejo" */
  --lj-ck-rojo: #CC3333;    /* rojo bellota 50% */
  --lj-ck-texto: #272727;
}

/* The step navigation of the parent theme stays in the DOM (the theme JS
   clicks its buttons) but the design has no such bar */
.lj-checkout__nav { display: none; }

/* Hummingbird's page wrapper adds space below the content */
.center-column:has(> .lj-checkout),
.center-column:has(> .lj-confirm) { padding-bottom: 0; }

/* --- Page --------------------------------------------------------------- */

.lj-checkout {
  padding-block: 64px 80px;
  background: var(--lj-ck-trigo);
}

.lj-checkout__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 24px;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  text-decoration: underline;
  text-underline-position: from-font;
}

.lj-checkout__back:hover,
.lj-checkout__back:focus-visible { color: var(--lj-color-oliva); }

.lj-checkout__layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.lj-checkout__steps {
  display: flex;
  flex: 1 1 752px;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 752px;
}

.lj-checkout__aside {
  flex: 0 1 421px;
  min-width: 0;
}

/* --- Step card ---------------------------------------------------------- */

.lj-checkout-step {
  padding: 16px;
  border-radius: 8px;
  background: var(--lj-color-encalado);
}

/* Only the open step shows its panel. The theme JS moves "active" between
   panels; the card state below follows it through :has() */
.lj-checkout-step > .tab-pane { display: none; }
.lj-checkout-step > .tab-pane.active { display: block; }
.lj-checkout-step > .step--unreachable { display: none; }

.lj-checkout-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
}

.lj-checkout-step__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lj-checkout-step__indicator {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: url("../img/checkout/indicador-pendiente.svg") center / 28px 28px no-repeat;
}

.lj-checkout-step__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: .5px;
  color: var(--lj-color-oliva);
}

.lj-checkout-step__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  text-decoration: underline;
  text-underline-position: from-font;
  cursor: pointer;
}

.lj-checkout-step__edit:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

/* Complete step: yellow dot with a check */
.lj-checkout-step:has(> .step--complete) .lj-checkout-step__indicator {
  background: var(--lj-color-jara) url("../img/checkout/indicador-check-amarillo.svg") center / 24px 24px no-repeat;
}

/* Open step: yellow dot with the diamond, heading separated from the content */
.lj-checkout-step:has(> .tab-pane.active) .lj-checkout-step__indicator {
  background: url("../img/checkout/indicador-actual.svg") center / 28px 28px no-repeat;
}

.lj-checkout-step:has(> .tab-pane.active) .lj-checkout-step__head {
  margin-bottom: 24px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--lj-color-beige);
}

.lj-checkout-step:has(> .tab-pane.active) .lj-checkout-step__edit { display: none; }

/* --- User data tabs ------------------------------------------------------ */

.lj-checkout-tabs {
  margin-bottom: 16px;
  padding: 8px;
  border-radius: 2px;
  background: var(--lj-ck-trigo);
}

.lj-checkout-tabs__list {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-radius: 2px;
  background: var(--lj-color-encalado);
}

.lj-checkout-tabs__btn {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
  cursor: pointer;
}

.lj-checkout-tabs__btn.active { background: var(--lj-color-jara); }
.lj-checkout-tabs__btn:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 1px; }

/* Hummingbird adds space above its tab content; the 16px gap is set above */
.lj-checkout .tab-content { margin-top: 0; padding-top: 0; }

/* --- Forms --------------------------------------------------------------- */

.lj-checkout__form,
.lj-checkout__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lj-checkout__form { gap: 0; }

.lj-checkout__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lj-checkout__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lj-checkout__label {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-checkout .lj-checkout__field .form-control,
.lj-checkout .lj-checkout__field .form-select,
.lj-checkout .lj-checkout__field textarea.form-control {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  background-color: var(--lj-color-blanco);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
  box-shadow: none;
}

.lj-checkout .lj-checkout__field textarea.form-control {
  height: auto;
  min-height: 88px;
  padding: 12px 16px;
}

.lj-checkout .lj-checkout__field .form-select {
  padding-right: 48px;
  appearance: none;
  background-image: url("../img/checkout/chevron-resumen.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
}

.lj-checkout .lj-checkout__field .form-control:focus,
.lj-checkout .lj-checkout__field .form-select:focus {
  border-color: var(--lj-color-negro);
  outline: 2px solid var(--lj-color-negro);
  outline-offset: 1px;
  box-shadow: none;
}

.lj-checkout .lj-checkout__field .is-invalid { border-color: var(--lj-ck-rojo); }

.lj-checkout__hint {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-checkout__error {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-ck-rojo);
}

.lj-checkout__separator {
  height: 0;
  margin-top: -1px;
  border-top: 1px solid var(--lj-color-beige);
}

/* Checkboxes and radios use the Figma icons */
.lj-checkout__checkbox,
.lj-checkout__radio {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 0;
  background: url("../img/checkout/check-desmarcado.svg") center / 20px 20px no-repeat;
  appearance: none;
  cursor: pointer;
}

.lj-checkout__checkbox:checked { background-image: url("../img/checkout/check-marcado.svg"); }

.lj-checkout__radio { background-image: url("../img/checkout/radio-desmarcado.svg"); }
.lj-checkout__radio:checked { background-image: url("../img/checkout/radio-marcado.svg"); }

.lj-checkout__checkbox:focus-visible,
.lj-checkout__radio:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

.lj-checkout__check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.lj-checkout__check label {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  cursor: pointer;
}

.lj-checkout__check a { color: inherit; text-decoration: underline; }
.lj-checkout__check.has-error label { color: var(--lj-ck-rojo); }

.lj-checkout__conditions { margin-top: 16px; }

/* --- Buttons and links --------------------------------------------------- */

.lj-checkout__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
}

.lj-checkout__actions--split { justify-content: space-between; }
.lj-checkout__actions--links { margin-top: 16px; }

.lj-checkout .btn.lj-checkout__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-height: 44px;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-encalado);
  cursor: pointer;
  transition: opacity .2s ease;
}

.lj-checkout .btn.lj-checkout__submit:hover:not(:disabled):not(.disabled) {
  background: var(--lj-color-oliva);
  color: var(--lj-color-encalado);
  opacity: .85;
}

.lj-checkout .btn.lj-checkout__submit:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

.lj-checkout .btn.lj-checkout__submit:disabled,
.lj-checkout .btn.lj-checkout__submit.disabled {
  opacity: .5;
  cursor: not-allowed;
}

.lj-checkout__link {
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  text-decoration: underline;
  text-underline-position: from-font;
}

.lj-checkout__link:hover,
.lj-checkout__link:focus-visible { color: var(--lj-color-oliva); }

.lj-checkout__subtitle {
  margin: 24px 0 16px;
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}

.lj-checkout__account {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-checkout__account p { margin: 0; }
.lj-checkout__account a { color: var(--lj-color-oliva); text-decoration: underline; }

/* --- Shipping notice (address step) -------------------------------------- */

.lj-checkout-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 2px;
  background: var(--lj-ck-trigo);
}

.lj-checkout-notice > img { flex: none; align-self: flex-start; }

.lj-checkout-notice__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lj-checkout-notice__title,
.lj-checkout-notice__text,
.lj-checkout-notice__price { margin: 0; line-height: 1.4; }

.lj-checkout-notice__title {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--lj-color-oliva);
}

.lj-checkout-notice__text {
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--lj-color-gris-800);
}

.lj-checkout-notice__price {
  flex: none;
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--lj-color-oliva);
}

/* Existing addresses of a registered customer (selector of the parent theme) */
.lj-checkout .address__list { margin-bottom: 16px; }

/* Address cards reuse .lj-checkout-option (no .address-card--radio, so no Bootstrap blue) */
.lj-checkout-address__content {
  margin: 0;
  font-style: normal;
}

.lj-checkout-address__actions {
  display: flex;
  gap: 24px;
  margin: 12px 0 0 36px; /* aligned with the text: radio 20px + gap 16px */
}

.lj-checkout-address__action { font-size: 14px; }

/* --- Delivery and payment option cards ----------------------------------- */

.lj-checkout-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lj-checkout-option {
  padding: 15px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 8px;
  background: transparent;
}

.lj-checkout-option:has(.lj-checkout__radio:checked) {
  padding: 14px;
  border: 2px solid var(--lj-color-joya);
}

.lj-checkout-option__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.lj-checkout-option__head .lj-checkout__radio { margin-top: 1px; }

.lj-checkout-option__label {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.lj-checkout-option__label .lj-checkout__radio { margin-top: 1px; }

.lj-checkout-option__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lj-checkout-option__name {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}

.lj-checkout-option__desc {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-checkout-option__price {
  flex: none;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}

.lj-checkout-option__logos {
  display: flex;
  flex: none;
  align-items: flex-start;
  gap: 8px;
}

/* Options without a logo leave the container empty */
.lj-checkout-option__logos:not(:has(*)) { display: none; }

.lj-checkout-option__logo {
  max-width: 70px;
  max-height: 48px;
  object-fit: contain;
}

.lj-checkout-option__brand {
  position: relative;
  display: block;
  flex: none;
  width: 70px;
  height: 48px;
  border-radius: 6px;
}

.lj-checkout-option__brand--base {
  border: 1px solid var(--lj-ck-trigo);
  background: #fff;
}

.lj-checkout-option__brand img { position: absolute; display: block; max-width: none; }
.lj-checkout-option__brand--visa img { inset: 0; }
.lj-checkout-option__brand--paypal img { top: 6.3px; left: 15px; }
.lj-checkout-option__brand--mastercard img { top: 10px; left: 13px; }

/* Extra content of the option (carrier extras, module forms and information) */
.lj-checkout-option .delivery-option__extra { margin-top: 0; }

.lj-checkout-option .js-additional-information.lj-checkout-option__panel,
.lj-checkout-option .js-payment-option-form.lj-checkout-option__panel:has(input:not([type="hidden"]), select, textarea, iframe) {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--lj-color-beige);
}

.lj-checkout-option .js-additional-information {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

/* --- Order summary "Detalles del pedido" (Figma 4581:7726) --------------- */

.lj-checkout-summary__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 2px;
  background: var(--lj-color-encalado);
}

/* The core JS replaces these fragments: their children behave as direct
   children of the card so every block keeps the same 16px rhythm */
.lj-checkout-summary__products,
.lj-checkout-summary__subtotals,
.lj-checkout-summary__total,
.lj-checkout-summary__card > .cart-summary__top { display: contents; }

.lj-checkout-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lj-checkout-summary__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}

.lj-checkout-summary__toggle {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: url("../img/checkout/chevron-resumen.svg") center / 24px 24px no-repeat;
  cursor: pointer;
}

.lj-checkout-summary__toggle[aria-expanded="true"] { transform: scaleY(-1); }
.lj-checkout-summary__toggle:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

.lj-checkout-summary hr.lj-checkout-summary__line,
.lj-checkout-summary__card hr.lj-checkout-summary__line {
  height: 0;
  margin: -1px 0 0;
  border: 0;
  border-top: 1px solid var(--lj-color-beige);
  opacity: 1;
}

.lj-checkout-summary__collapse.show {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lj-checkout-summary__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Product row: image + seal, name and units, prices */
.lj-checkout-line {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: start;
  padding: 8px 8px 8px 0;
}

.lj-checkout-line__media {
  position: relative;
  width: 80px;
  height: 80px;
}

.lj-checkout-line__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4.5px;
  object-fit: cover;
}

.lj-checkout-line__seal {
  position: absolute;
  top: 14.0875%;
  right: 11.265%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22.535%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
}

.lj-checkout-line__seal img {
  flex-shrink: 0;
  width: 160.23%;
  max-width: none;
  height: auto;
}

.lj-checkout-line__seal--bellota-100 { background: var(--lj-color-oliva); }

.lj-checkout-line__seal--cebo-50 {
  border: .364px solid var(--lj-color-oliva);
  background: var(--lj-color-encalado);
}

.lj-checkout-line__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  min-width: 0;
  padding-inline: 8px;
}

.lj-checkout-line__name,
.lj-checkout-line__units { margin: 0; line-height: 1.4; }

.lj-checkout-line__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-oliva);
}

.lj-checkout-line__units {
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--lj-color-gris-800);
}

.lj-checkout-line__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: center;
  gap: 4px;
  margin-left: 32px;
  white-space: nowrap;
}

.lj-checkout-line__price {
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #000;
}

.lj-checkout-line__regular-price {
  font-family: var(--lj-font-display);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-ck-rojo);
  text-decoration: line-through;
  text-decoration-skip-ink: none;
}

/* Subtotals and applied coupons */
.lj-checkout-summary__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lj-checkout-summary__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  line-height: 1.4;
}

.lj-checkout-summary__label {
  font-family: var(--lj-font-ui);
  font-weight: 300;
  color: var(--lj-color-gris-800);
}

.lj-checkout-summary__value {
  font-family: var(--lj-font-display);
  font-weight: 300;
  color: var(--lj-ck-texto);
}

.lj-checkout-summary__value--discount { color: var(--lj-ck-rojo); }

.lj-checkout-summary__vouchers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lj-checkout-summary__voucher {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding-right: 16px;
  border-radius: 2px;
  background: var(--lj-ck-trigo);
}

.lj-checkout-summary__voucher-code {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 16px;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-checkout-summary__voucher-code img { flex: none; }

.lj-checkout-summary__voucher-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  text-decoration: underline;
  text-underline-position: from-font;
}

.lj-checkout-summary__voucher-remove:hover { color: var(--lj-color-oliva); }

/* Total */
.lj-checkout-summary__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
}

.lj-checkout-summary__total-label {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--lj-color-oliva);
}

.lj-checkout-summary__total-value {
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 500;
  color: #000;
}

.lj-checkout-summary__note {
  margin: -8px 0 0;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-checkout-summary__assurances {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lj-checkout-summary__assurance {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

/* --- Order confirmation (Figma 4462:9911 / 4705:13866) ------------------- */

.lj-confirm__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1440 / 800;
  overflow: hidden;
  background: #D4D4D4;
}

.lj-confirm__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lj-confirm__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 423px;
  max-width: 100%;
  padding: 40px 32px 24px;
  background: var(--lj-color-jara);
  text-align: center;
}

.lj-confirm__diamond--mobile { display: none; }

.lj-confirm__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.lj-confirm__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-oliva);
}

.lj-confirm__message {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.lj-confirm__reference {
  width: 100%;
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}

.lj-confirm__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 389px;
  max-width: calc(100% + 30px);
  min-height: 44px;
  max-height: 44px;
  padding: 14px 24px;
  border-radius: 0;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-encalado);
  text-decoration: none;
  transition: opacity .2s ease;
}

.lj-confirm__cta:hover { opacity: .85; color: var(--lj-color-encalado); }
.lj-confirm__cta:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: 2px; }

/* What the shop still needs after an order (payment instructions, guest
   account...) goes below the hero, on the page background of the checkout */
.lj-confirm__extra {
  padding: 64px 16px 80px;
  background: var(--lj-ck-trigo);
}

.lj-confirm__extra-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 752px;
  margin-inline: auto;
}

.lj-confirm__extra-card {
  padding: 16px;
  border-radius: 8px;
  background: var(--lj-color-encalado);
  font-family: var(--lj-font-ui);
  font-weight: 300;
  color: var(--lj-color-gris-800);
}

.lj-confirm__extra-link {
  color: var(--lj-color-oliva);
  text-decoration: underline;
}

/* Modules and the guest form bring Bootstrap markup: bring it to the site style */
.lj-confirm__extra-card h2,
.lj-confirm__extra-card h3 {
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}

.lj-confirm__extra-card a:not(.btn) { color: var(--lj-color-oliva); }

.lj-confirm__extra-card .form-control {
  height: 44px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  background: var(--lj-color-blanco);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--lj-color-gris-800);
  box-shadow: none;
}

.lj-confirm__extra-card .btn.btn-primary {
  min-height: 44px;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-encalado);
}

.lj-confirm__extra-card .btn.btn-primary:hover { opacity: .85; background: var(--lj-color-oliva); color: var(--lj-color-encalado); }

/* --- Responsive (derived: Figma only has the mobile confirmation) -------- */

@media (max-width: 991.98px) {
  .lj-checkout__layout { flex-direction: column; gap: 24px; }
  .lj-checkout__steps,
  .lj-checkout__aside { flex: 0 0 auto; width: 100%; max-width: none; }
}

@media (max-width: 767.98px) {
  .lj-checkout { --lj-container-padding: 16px; padding-block: 32px 40px; }
  .lj-confirm__extra { padding-block: 40px 48px; }
}

@media (max-width: 575.98px) {
  .lj-checkout-step__title { font-size: 18px; }

  .lj-checkout-tabs__btn { flex-direction: column; gap: 4px; padding: 8px; text-align: center; }

  .lj-checkout__row { grid-template-columns: minmax(0, 1fr); }

  .lj-checkout-notice { flex-wrap: wrap; }

  .lj-checkout__actions { flex-direction: column; align-items: stretch; }
  .lj-checkout__actions--split { flex-direction: column-reverse; }
  .lj-checkout .btn.lj-checkout__submit { width: 100%; }
  .lj-checkout__link { text-align: center; }

  .lj-checkout-option__label { flex-wrap: wrap; }
  .lj-checkout-option__logos { flex-basis: 100%; }

  .lj-checkout-line { grid-template-columns: 64px minmax(0, 1fr); }
  .lj-checkout-line__media { width: 64px; height: 64px; }
  .lj-checkout-line__prices { grid-column: 2; align-items: flex-start; margin: 8px 0 0 8px; }
  .lj-checkout-line__body { min-height: 0; }

  /* Mobile confirmation: photo first, then the yellow block (Figma 4705:13866) */
  .lj-confirm__hero { display: block; aspect-ratio: auto; overflow: visible; background: transparent; }
  .lj-confirm__photo { position: static; display: block; width: 100%; height: auto; aspect-ratio: 1440 / 800; }
  .lj-confirm__card { width: 100%; gap: 16px; padding: 40px 16px; }
  .lj-confirm__diamond { display: none; }
  .lj-confirm__diamond--mobile { display: block; }
  .lj-confirm__title { font-size: 32px; line-height: 1.3; }
  .lj-confirm__cta { width: 100%; max-width: none; }
}

/* ==========================================================================
   PRODUCT PAGE (catalog/product.tpl — Figma 4628:20040 "Detalle de producto")
   Breadcrumb band + hero: info column (5 cols) and sticky gallery (7 cols)
   over a Jara band with two rows of rhombi.
   ========================================================================== */

#product {
  --lj-pdp-trigo: #F0ECE3; /* beige-50 "Trigo viejo" */
  --lj-pdp-beige: #EADCBD; /* beige-200 "Tierra dehesa" */
}

#product #wrapper,
#product #center-column {
  margin-block-end: 0;
  padding-block-end: 0;
}

#product #wrapper { background: var(--lj-pdp-trigo); }

#product.page-product .product__additional-info {
  gap: 0 !important;
}

/* --- Breadcrumb (Figma 4628:20044) -------------------------------------- */

.lj-pdp-breadcrumb { background: var(--lj-pdp-trigo); }

.lj-pdp-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding-block: 8px;
  list-style: none;
}

.lj-pdp-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  font-family: var(--lj-font-display);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-black);
}

/* First crumb is set in the tilted (italic) cut */
.lj-pdp-breadcrumb__item:first-child .lj-pdp-breadcrumb__link { font-style: italic; }

.lj-pdp-breadcrumb__link {
  color: inherit;
  text-decoration: none;
}

.lj-pdp-breadcrumb__link:hover,
.lj-pdp-breadcrumb__link:focus-visible { text-decoration: underline; }

/* --- Hero (Figma 4922:21024) -------------------------------------------- */

.lj-pdp-hero {
  position: relative;
  background: var(--lj-pdp-trigo);
}

.lj-pdp-hero__inner {
  position: relative;
  align-items: start;
  padding-block: 24px 80px;
}

/* The info column stays in view while the stacked media scrolls past;
   80px clears the compact sticky header */
.lj-pdp-hero__info {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.lj-pdp-hero__buy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lj-pdp-hero__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lj-pdp-hero__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--lj-color-black);
}

.lj-pdp-hero__subtitle,
.lj-pdp-hero__subtitle p {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--lj-color-black);
}

/* Hummingbird partials inside the hero: spacing comes from the flex gaps */
.lj-pdp-hero .product__prices,
.lj-pdp-hero .product__actions,
.lj-pdp-hero .product__add-to-cart-container,
.lj-pdp-hero .product__variants,
.lj-pdp-hero .product__discounts,
.lj-pdp-hero .product__pack,
.lj-pdp-hero .product__minimal-quantity { margin-block-end: 0; }

/* Not in the design: tax label and share buttons (ps_sharebuttons) */
.lj-pdp-hero .product__tax-infos,
.lj-pdp-hero .ps-sharebuttons { display: none; }

/* Product flags styled as the design's card tag (Figma "MAS POPULAR") */
.product-miniature.lj-card .product-flags,
.lj-pdp-gallery .product-flags {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-miniature.lj-card .product-flags .badge,
.lj-pdp-gallery .product-flags .badge {
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: var(--lj-color-jara);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
  text-transform: uppercase;
}

/* On the Jara band of "Descubre otras joyas" the Jara tag would vanish: use "La joya" yellow */
.lj-pdp-gifts--grid .product-miniature.lj-card .product-flags .badge { background: var(--lj-color-joya); }

.lj-pdp-hero .product__price {
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lj-color-black);
}

.lj-pdp-hero .product__regular-price,
.lj-pdp-hero .product__tax-infos,
.lj-pdp-hero .product__unit-price {
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--lj-color-grey-800);
}

.lj-pdp-hero__actions form { margin: 0; }

.lj-pdp-hero .product__availability:not([hidden]) {
  margin-block-end: 12px;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
}

/* Quantity stepper + add to cart (Figma 4628:20149) */
.lj-pdp-buy {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lj-pdp-buy__quantity {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
}

.lj-pdp-buy__step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--lj-pdp-beige);
  cursor: pointer;
}

/* Hummingbird sizes .material-icons to 1em: pin them to the 44px button */
.lj-pdp-buy__step .material-icons {
  display: block;
  width: 44px;
  height: 44px;
  font-size: 0;
  line-height: 0;
}

.lj-pdp-buy__step .material-icons.confirmation { font-size: 24px; line-height: 44px; text-align: center; }
.lj-pdp-buy__step .spinner-border { color: var(--lj-color-oliva); }

.lj-pdp-buy__step img {
  display: block;
  width: 44px;
  height: 44px;
}

.lj-pdp-buy__input.form-control {
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--lj-pdp-beige);
  box-shadow: none;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 44px;
  color: var(--lj-color-oliva);
  text-align: center;
}

.lj-pdp-buy__step:focus-visible,
.lj-pdp-buy__input.form-control:focus-visible {
  outline: 2px solid var(--lj-color-oliva);
  outline-offset: 2px;
}

.lj-pdp-buy__add {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-encalado);
  cursor: pointer;
}

.lj-pdp-buy__add:hover,
.lj-pdp-buy__add:focus-visible { background: var(--lj-color-grey-800); }

.lj-pdp-buy__add:disabled { opacity: .5; cursor: not-allowed; }

.lj-pdp-hero__extra {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Exclusive gift card (Figma 5859:11802) */
.lj-pdp-gift {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px 12px 24px;
  background: #ffc758;
  border: 1px solid #ffc758;
  border-radius: 4px;
}

.lj-pdp-gift__copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.lj-pdp-gift__copy img { width: 32px; height: 32px; }

.lj-pdp-gift__label,
.lj-pdp-gift__text { margin: 0; }

.lj-pdp-gift__label {
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #000;
}

.lj-pdp-gift__text {
  font-family: var(--lj-font-display);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--lj-color-negro);
}

.lj-pdp-gift__image {
  flex: none;
  width: 140px;
  height: 140px;
}

/* Highlights (Figma 4628:20162) */
.lj-pdp-highlights {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lj-pdp-highlights__item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  text-align: center;
}

/* Accordions (Figma 4628:20187) */
.lj-pdp-accordion {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lj-pdp-accordion__item { border-bottom: 1px solid var(--lj-pdp-beige); }

.lj-pdp-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  list-style: none;
  cursor: pointer;
}

.lj-pdp-accordion__summary::-webkit-details-marker { display: none; }

.lj-pdp-accordion__arrow { transition: transform .2s ease; }

.lj-pdp-accordion__item[open] .lj-pdp-accordion__arrow { transform: rotate(180deg); }

.lj-pdp-accordion__content {
  padding-block: 4px 16px;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

/* "Compleméntalo con" accessory card (Figma 4628:20204) */
.lj-pdp-complement {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lj-pdp-complement__label {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-pdp-complement__card {
  display: flex;
  align-items: center;
  padding: 12px 16px 12px 0;
  border: 1px solid var(--lj-pdp-beige);
  border-radius: 2px;
  background: var(--lj-pdp-beige);
}

.lj-pdp-complement__media {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
}

.lj-pdp-complement__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5.4px;
}

.lj-pdp-complement__seal {
  position: absolute;
  top: 13.52px;
  left: 63.55px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21.634px;
  height: 21.634px;
  overflow: hidden;
  border-radius: 50%;
}

.lj-pdp-complement__seal img {
  flex-shrink: 0;
  width: 34.663px;
  max-width: none;
  height: 34.663px;
}

.lj-pdp-complement__seal--bellota-100 { background: var(--lj-color-oliva); }

.lj-pdp-complement__seal--cebo-50 {
  border: 1px solid var(--lj-color-oliva);
  background: var(--lj-color-encalado);
}

.lj-pdp-complement__info {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-inline: 8px;
}

.lj-pdp-complement__name {
  overflow: hidden;
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  text-decoration: none;
  text-overflow: ellipsis;
}

.lj-pdp-complement__price {
  font-family: var(--lj-font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lj-color-oliva);
}

.lj-pdp-complement__form { flex-shrink: 0; margin: 0; }

.lj-pdp-complement__add {
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-encalado);
  cursor: pointer;
}

.lj-pdp-complement__add:hover,
.lj-pdp-complement__add:focus-visible { background: var(--lj-color-grey-800); }

/* Gallery (Figma 4922:21100): 642px square beige frame, seal top-right;
   the unboxing video (4922:21104) is stacked 24px below */
.lj-pdp-hero__media {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lj-pdp-gallery { position: relative; }

.lj-pdp-gallery__frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--lj-pdp-beige);
}

.lj-pdp-gallery__inner,
.lj-pdp-gallery__item,
.lj-pdp-gallery__item picture { height: 100%; }

.lj-pdp-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lj-pdp-gallery__seal {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
}

.lj-pdp-gallery__seal img {
  flex-shrink: 0;
  width: 320.455px;
  max-width: none;
  height: 320.455px;
}

.lj-pdp-gallery__seal--bellota-100 { background: var(--lj-color-oliva); }

.lj-pdp-gallery__seal--cebo-50 {
  border: 1px solid var(--lj-color-oliva);
  background: var(--lj-color-encalado);
}

.lj-pdp-gallery__indicators [data-bs-target] { background-color: var(--lj-color-oliva); }

.lj-pdp-gallery__control { width: 64px; }

.lj-pdp-gallery__control .carousel-control-prev-icon,
.lj-pdp-gallery__control .carousel-control-next-icon { filter: invert(1); }

/* --- Product page: tablet and mobile ----------------------------------- */

@media (max-width: 991.98px) {
  .lj-pdp-hero__inner { row-gap: 40px; }

  .lj-pdp-hero__info,
  .lj-pdp-hero__media { grid-column: 1 / -1; }

  .lj-pdp-hero__media { order: -1; }

  .lj-pdp-hero__info { position: static; }

  .lj-pdp-hero__title { font-size: 40px; }

  .lj-pdp-hero__subtitle,
  .lj-pdp-hero__subtitle p { font-size: 24px; }

  .lj-pdp-gallery__seal {
    top: 16px;
    right: 16px;
    width: 120px;
    height: 120px;
  }

  .lj-pdp-gallery__seal img { width: 192.27px; height: 192.27px; }
}

/* --- Story (Figma 4929:24425): large 4:5 photo on the left; description on
   top of the right column and, at its bottom, the small 4:5 photo next to
   "Compleméntalo con". Product images are padded to squares ("fit");
   uploading the photos at 4:5 lets object-fit: cover crop exactly that
   padding inside the 4:5 frames. */

.lj-pdp-story {
  padding-block: 80px;
  background: var(--lj-pdp-trigo);
}

.lj-pdp-story__inner { align-items: stretch; }

.lj-pdp-story__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.lj-pdp-story__text { max-width: 643px; }

.lj-pdp-story__aside--full .lj-pdp-story__text { max-width: none; }

.lj-pdp-story__text,
.lj-pdp-story__text p {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--lj-color-black);
}

.lj-pdp-story__text p + p { margin-block-start: 1em; }

.lj-pdp-story__bottom {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.lj-pdp-story__bottom .lj-pdp-complement {
  flex: 1 1 0;
  min-width: 0;
}

.lj-pdp-story__image {
  display: block;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.lj-pdp-story__image--large { width: 100%; }

/* 266px of the 756px column in the design */
.lj-pdp-story__image--small {
  flex-shrink: 0;
  width: 35.2%;
}

/* --- Unboxing video under the gallery (Figma 4922:21104): 642x513 frame,
   poster = first video frame, yellow play button on the top-right corner
   until playback starts */
.lj-pdp-video {
  position: relative;
  aspect-ratio: 1080 / 1260;
  overflow: hidden;
  border-radius: 2px;
  background: var(--lj-pdp-beige);
}

.lj-pdp-video__player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lj-pdp-video__play {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lj-color-jara);
  cursor: pointer;
}

.lj-pdp-video__play:focus-visible {
  outline: 2px solid var(--lj-color-oliva);
  outline-offset: 2px;
}

.lj-pdp-video__icon-pause { display: none; color: var(--lj-color-oliva); }

/* Looping autoplay: the button is hidden while playing and shows "pause" on hover/focus */
.lj-pdp-video.is-playing .lj-pdp-video__play {
  opacity: 0;
  transition: opacity 0.2s;
}

.lj-pdp-video.is-playing:hover .lj-pdp-video__play,
.lj-pdp-video.is-playing .lj-pdp-video__play:focus-visible { opacity: 1; }

.lj-pdp-video.is-playing .lj-pdp-video__icon-play { display: none; }
.lj-pdp-video.is-playing .lj-pdp-video__icon-pause { display: block; }

@media (hover: none) {
  .lj-pdp-video.is-playing .lj-pdp-video__play { opacity: 1; }
}

@media (max-width: 991.98px) {
  .lj-pdp-story { padding-block: 56px; }

  .lj-pdp-story__inner { row-gap: 24px; }

  .lj-pdp-story__aside,
  .lj-pdp-story__image--large { grid-column: 1 / -1; }

  .lj-pdp-story__text,
  .lj-pdp-story__text p { font-size: 24px; }
}

@media (max-width: 575.98px) {
  .lj-pdp-story__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .lj-pdp-story__image--small { width: 50%; }
}

/* --- Seal variants shared by the product page and the cards ------------ */

.product-miniature.lj-card .lj-card__seal--bellota-50,
.lj-pdp-gallery__seal--bellota-50,
.lj-pdp-complement__seal--bellota-50,
.lj-pdp-brida__seal--bellota-50 { background: var(--lj-cart-rojo, #CC3333); }

/* --- Rating line under the add to cart (Figma 4628:20152) -------------- */

.lj-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 24px;
}

.lj-rating__stars {
  display: flex;
  gap: 4px;
}

.lj-rating__value {
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}

.lj-rating__count,
.lj-rating__write {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
  text-decoration: underline;
  cursor: pointer;
}

/* --- Brida (Figma 4628:20229): copy + seal over a full-width photo ----- */

.lj-pdp-brida {
  position: relative;
  isolation: isolate;
  padding-block-start: 80px;
  background: var(--lj-pdp-trigo);
}

/* The copy overlaps the photo by 388px, as in the design */
.lj-pdp-brida__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  margin-block-end: -388px;
}

.lj-pdp-brida__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(644px, 100%);
}

.lj-pdp-brida__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-black);
}

.lj-pdp-brida__body {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-black);
}

/* 260px circle, right-aligned in a 310px slot */
.lj-pdp-brida__seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 260px;
  margin-inline-end: 50px;
  overflow: hidden;
  border-radius: 50%;
}

.lj-pdp-brida__seal img {
  flex-shrink: 0;
  width: 416.591px;
  max-width: none;
  height: 416.591px;
}

.lj-pdp-brida__seal--bellota-100 { background: var(--lj-color-oliva); }

/* Red and white circles are 261.123px in the design, the black one 260px */
.lj-pdp-brida__seal--bellota-50,
.lj-pdp-brida__seal--cebo-50 {
  width: 261.123px;
  height: 261.123px;
  margin-inline-end: 48.877px;
}

.lj-pdp-brida__seal--cebo-50 {
  border: 2.955px solid var(--lj-color-oliva);
  background: var(--lj-color-encalado);
}

.lj-pdp-brida__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 920;
  object-fit: cover;
}

/* --- Guarantees band: mod_reassurance (Figma 4628:20230) ---------------
   The module prints colors (--modr-bg / --modr-title / --modr-text) and the
   columns per device inline from its configuration; this only sets the
   design's layout and typography. */

.mod-reassurance {
  padding: 80px var(--lj-container-padding);
}

.mod-reassurance__viewport {
  max-width: calc(var(--lj-container-max) - 2 * var(--lj-container-padding));
}

.mod-reassurance:not(.is-carousel-active) .mod-reassurance__track {
  flex-wrap: nowrap;
  gap: 80px;
}

.mod-reassurance:not(.is-carousel-active) .mod-reassurance__item {
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
  padding: 0;
}

.mod-reassurance__icon {
  width: 50.287px;
  height: 80px;
  margin: 0 auto 16px;
}

.mod-reassurance__title {
  margin: 0 0 4px;
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: .5px;
}

.mod-reassurance__text {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
}

/* --- Reviews (Figma 4628:20231) ---------------------------------------- */

.lj-reviews {
  padding-block: 80px;
  background: var(--lj-pdp-trigo);
}

.lj-reviews__title {
  margin: 0 0 40px;
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--lj-color-oliva);
}

.lj-reviews__body { align-items: start; }

/* Yellow card with a folded top-right corner */
.lj-reviews__summary {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px;
  border-radius: 2px;
  background: var(--lj-color-jara);
}

.lj-reviews__corner {
  position: absolute;
  top: -.5px;
  right: -1.2px;
}

.lj-reviews__average {
  margin: 0 0 -9.7px;
  font-family: var(--lj-font-display);
  font-size: 80px;
  font-weight: 500;
  line-height: 1;
  color: var(--lj-color-black);
}

.lj-reviews__summary-stars {
  display: flex;
  gap: 8px;
}

.lj-reviews__count {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-reviews__list { border-top: 1px solid var(--lj-pdp-beige); }

.lj-review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 24px;
  border-bottom: 1px solid var(--lj-pdp-beige);
}

.lj-review__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.lj-review__author {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-black);
}

.lj-review__date {
  margin-inline-start: -8px;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-review__text {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

/* CSS-only 5-star rating: --lj-rating (integer 0-5) full stars over empty ones */
/* Tiles are 20x16 (16px star + 4px gap); the full layer is clipped after the last full star */
.lj-stars {
  position: relative;
  display: inline-block;
  width: 96px; /* 5 x 16px + 4 x 4px */
  height: 16px;
  background: url("../img/product/estrella-vacia-tira.svg") left top / 20px 16px repeat-x;
}

.lj-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/product/estrella-tira.svg") left top / 20px 16px repeat-x;
  clip-path: inset(0 max(0px, calc(100px - var(--lj-rating, 0) * 20px)) 0 0);
}

.lj-reviews__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-block-start: 8px;
}

.lj-reviews__more,
.lj-reviews__write {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  text-decoration: underline;
  cursor: pointer;
}

.lj-reviews #empty-product-comment {
  padding-block: 24px;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-grey-800);
}

/* "Sea el primero en escribir…": square outline button, same look as the theme buttons */
.lj-reviews__first {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid var(--lj-color-negro);
  border-radius: 0;
  background: transparent;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-negro);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.lj-reviews__first:hover,
.lj-reviews__first:focus-visible,
.lj-reviews__first:active {
  background: var(--lj-color-negro);
  color: var(--lj-color-blanco);
}

/* --- Review popups (productcomments: write, sent and error modals) ------
   Same look as the "Producto añadido" popup: trigo card, square corners, 30% backdrop. */

body:has(.product-comment-modal.show) .modal-backdrop {
  --bs-backdrop-bg: #111010;
  --bs-backdrop-opacity: .3;
}

.product-comment-modal .modal-dialog { max-width: 560px; }

.product-comment-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: 0;
  background: var(--lj-pdp-trigo, #F0ECE3);
  box-shadow: none;
  font-family: var(--lj-font-ui);
  color: var(--lj-color-gris-800);
}

.product-comment-modal .modal-header,
.product-comment-modal .modal-footer { border: 0; background: none; }

.product-comment-modal .modal-header { padding: 24px 56px 8px 24px; }
.product-comment-modal .modal-body { padding: 8px 24px 16px; }
.product-comment-modal .modal-footer { padding: 8px 24px 24px; gap: 16px; justify-content: space-between; }

.product-comment-modal .modal-title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--lj-color-oliva);
}

.product-comment-modal .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: url("../img/cart/cerrar-aviso.svg") center / 44px 44px no-repeat;
  opacity: 1;
}

.product-comment-modal .btn-close:focus-visible { outline: 2px solid var(--lj-color-oliva); outline-offset: -2px; box-shadow: none; }

/* Product recap */
.product-comment-modal .product-cover img { border-radius: 0; }
.product-comment-modal .modal-body .h5 {
  margin: 0 0 4px;
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}
.product-comment-modal .modal-body [itemprop="description"] { font-size: 14px; font-weight: 300; line-height: 1.4; }
.product-comment-modal .modal-body [itemprop="description"] p { margin: 0; }

/* Fields, same as the contact form */
.product-comment-modal .form-label,
.product-comment-modal #criterions_list legend {
  margin-bottom: 4px;
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
}

.product-comment-modal .form-label.required::after,
.product-comment-modal #criterions_list legend.required::after { color: var(--lj-color-rojo, #CC3333); }

.product-comment-modal .form-control {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--lj-color-beige);
  border-radius: 2px;
  background-color: var(--lj-color-blanco);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
  box-shadow: none;
}

.product-comment-modal textarea.form-control { min-height: 120px; resize: vertical; }

.product-comment-modal .form-control:focus {
  border-color: var(--lj-color-negro);
  outline: 2px solid var(--lj-color-negro);
  outline-offset: 1px;
  box-shadow: none;
}

/* Stars: theme stars, filled up to the chosen one */
.product-comment-modal .stars-selector { gap: 4px; }

.product-comment-modal .stars-selector .stars-selector__input-label {
  width: 24px;
  height: 24px;
  background: url("../img/product/estrella.svg") center / 24px 24px no-repeat;
}

.product-comment-modal .stars-selector:not(:has(.stars-selector__input:checked)) .stars-selector__input-label,
.product-comment-modal .stars-selector .stars-selector__input:checked + .stars-selector__input-label ~ .stars-selector__input-label {
  background: url("../img/product/estrella-vacia.svg") center / 24px 24px no-repeat;
}

.product-comment-modal .stars-selector .stars-selector__input:focus-visible + .stars-selector__input-label { border-radius: 0; outline: 2px solid var(--lj-color-negro); }

/* Footer: required note + square buttons like the rest of the theme */
.product-comment-modal .modal-footer > p { margin: 0; font-size: 14px; font-weight: 300; }
.product-comment-modal .modal-footer .post-comment-buttons { width: auto; margin: 0; }

.product-comment-modal .modal-footer .btn,
.product-comment-modal .modal-content > .modal-body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid var(--lj-color-negro);
  border-radius: 0;
  background: var(--lj-color-negro);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-blanco);
  box-shadow: none;
}

.product-comment-modal .modal-footer .btn-outline-primary { background: transparent; color: var(--lj-color-negro); }

.product-comment-modal .modal-footer .btn:hover,
.product-comment-modal .modal-footer .btn:focus-visible,
.product-comment-modal .modal-footer .btn:active {
  border-color: var(--lj-color-gris-800);
  background: var(--lj-color-gris-800);
  color: var(--lj-color-blanco);
}

.product-comment-modal .modal-footer .btn-outline-primary:hover,
.product-comment-modal .modal-footer .btn-outline-primary:focus-visible,
.product-comment-modal .modal-footer .btn-outline-primary:active { background: var(--lj-color-negro); border-color: var(--lj-color-negro); }

@media (max-width: 575.98px) {
  .product-comment-modal .modal-footer { flex-direction: column-reverse; align-items: stretch; }
  .product-comment-modal .modal-footer .post-comment-buttons { width: 100%; }
}

/* --- Nuestras otras gamas (Figma 4628:20260) --------------------------- */

.lj-pdp-ranges {
  padding-block: 64px;
  background: var(--lj-pdp-beige);
}

.lj-pdp-ranges__inner { align-items: start; }

.lj-pdp-ranges__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lj-pdp-ranges__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--lj-color-black);
}

.lj-pdp-ranges__text {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

/* Cards show name, price and button only (Figma 4922:21145) */
.lj-pdp-ranges .product-miniature.lj-card .lj-card__description { display: none; }

.lj-pdp-ranges__products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* --- Regalos carousel (Figma 4628:20269) ------------------------------- */

.lj-pdp-gifts {
  padding-block: 80px;
  background: var(--lj-color-jara);
}

.lj-pdp-gifts__header,
.lj-pdp-gifts__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lj-pdp-gifts__header { margin-block-end: 24px; }

.lj-pdp-gifts__title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--lj-color-oliva);
}

.lj-pdp-gifts__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
  text-decoration: underline;
}

/* 3 cards per view; the track bleeds to the right edge like the design */
.lj-pdp-gifts__track {
  display: grid;
  grid-auto-columns: calc((100% - 48px) / 3);
  grid-auto-flow: column;
  gap: 24px;
  margin-inline-end: calc(var(--lj-container-padding) * -1);
  padding-inline-end: var(--lj-container-padding);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lj-pdp-gifts__track::-webkit-scrollbar { display: none; }

.lj-pdp-gifts__slide { scroll-snap-align: start; }

.lj-pdp-gifts__footer { margin-block-start: 24px; }

/* "Descubre otras joyas" (Figma 5115:13636): 5 cards in a plain row, no carousel */
@media (min-width: 992px) {
  .lj-pdp-gifts--grid .lj-pdp-gifts__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-columns: auto;
    margin-inline-end: 0;
    padding-inline-end: 0;
    overflow: visible;
  }
}

.lj-pdp-gifts__counter {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-oliva);
}

.lj-pdp-gifts__arrows {
  display: flex;
  overflow: hidden;
  border-radius: 0;
}

.lj-pdp-gifts__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--lj-pdp-trigo);
  cursor: pointer;
}

.lj-pdp-gifts__arrow:disabled { opacity: .4; cursor: default; }

/* --- Rhombus band before the footer (Figma 4628:20293) ------------------ */

.lj-pdp-band { background: var(--lj-color-jara); overflow: hidden; }

.lj-pdp-band__row {
  height: 64px;
  background: url("../img/cart/banda-rombos.svg") left top / 1448.267px 64px repeat-x;
}

.lj-pdp-band__row--flipped { transform: scaleY(-1); }

/* --- Rhombus band, generic (home before the footer, Figma 4652:14585) ----
   Same strip as the PDP and cart bands: two 64px rows of the tiled SVG, the
   first one mirrored. */
.lj-rhombus-band { background: var(--lj-color-jara); overflow: hidden; }

.lj-rhombus-band__row {
  height: 64px;
  background: url("../img/cart/banda-rombos.svg") left top / 1448.267px 64px repeat-x;
}

.lj-rhombus-band__row--flipped { transform: scaleY(-1); }

/* --- Lower sections: tablet and mobile --------------------------------- */

@media (max-width: 991.98px) {
  /* Brida mobile (Figma 4637:25710 / 4637:26157 / 4637:26168) */
  .lj-pdp-brida { padding-block-start: 40px; }

  .lj-pdp-brida__content { margin-block-end: -60px; }

  .lj-pdp-brida__title { font-size: 32px; line-height: 1.3; }

  .lj-pdp-brida__body { font-size: 16px; }

  .lj-pdp-brida__seal {
    width: 173px;
    height: 173px;
    margin-inline-end: 0;
  }

  /* Red and white circles are 173.747px on mobile */
  .lj-pdp-brida__seal--bellota-50,
  .lj-pdp-brida__seal--cebo-50 {
    width: 173.747px;
    height: 173.747px;
    margin-inline-end: 0;
  }

  .lj-pdp-brida__seal--cebo-50 { border-width: 1.966px; }

  .lj-pdp-brida__seal img { width: 277.193px; height: 277.193px; }

  .lj-pdp-brida__photo { aspect-ratio: 390 / 248.987; }

  .mod-reassurance { padding-block: 56px; }

  .mod-reassurance:not(.is-carousel-active) .mod-reassurance__track {
    flex-wrap: wrap;
    gap: 40px 24px;
  }

  .mod-reassurance:not(.is-carousel-active) .mod-reassurance__item {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .lj-reviews__summary,
  .lj-reviews__list-wrap,
  .lj-pdp-ranges__intro,
  .lj-pdp-ranges__products { grid-column: 1 / -1; }

  .lj-reviews__summary { margin-block-end: 32px; }

  .lj-pdp-ranges__intro { margin-block-end: 32px; }

  .lj-pdp-ranges__title { font-size: 36px; }

  .lj-pdp-gifts__track { grid-auto-columns: 75%; }
}

@media (max-width: 575.98px) {
  .mod-reassurance:not(.is-carousel-active) .mod-reassurance__item { flex-basis: 100%; }

  .lj-pdp-ranges__products { grid-template-columns: minmax(0, 1fr); }
}

/* Card tag sits on the bottom-left corner of the image (Figma 4652:14522 "MAS POPULAR") */
.product-miniature.lj-card .product-flags {
  top: auto;
  bottom: 0;
  left: 0;
}

/* "¿Eres empresa?" banner photo framed as in Figma 4462:7638 (image shown at
   205.71% height, -42.45% top -> vertical focus at 40%) */
.banner-home-empresa .custom-banner__bg { object-position: 50% 40%; }

/* --- Product card: review stars on the right of the price ---------------
   productcomments (Hummingbird JS) fills .product-list-review and shows it
   (d-flex) only when the product has reviews. The "N review(s)" text node is
   compacted to "(N)" so it fits next to the price on narrow cards. */
.product-miniature.lj-card .lj-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
}

.product-miniature.lj-card .lj-card__price-row .product-list-review {
  gap: 6px;
  margin: 0;
}

.product-miniature.lj-card .product-list-review .product-list-comments-number {
  padding: 0;
  font-size: 0;
  line-height: 1;
}

.product-miniature.lj-card .product-list-review [data-ps-ref="number-value"] {
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--lj-color-grey-800);
}

.product-miniature.lj-card .product-list-review [data-ps-ref="number-value"]::before { content: "("; }
.product-miniature.lj-card .product-list-review [data-ps-ref="number-value"]::after { content: ")"; }

/* --- Square buttons (client feedback) ----------------------------------- */
/* Front-office buttons/CTAs have square corners: neutralise Bootstrap's
   default .btn radius (incl. size and group variants) and Hummingbird's
   input-group / header action buttons. */
.btn,
.btn-lg,
.btn-sm,
.btn-group-lg > .btn,
.btn-group-sm > .btn {
  --bs-btn-border-radius: 0;
}

.btn-group,
.input-group-lg > .btn,
.input-group-sm > .btn,
.header-block__action-btn {
  border-radius: 0;
}

/* --- Diagonal corners on hover (Nagore's proposal on Figma 4652:14389) --- */
/* Filled buttons are square at rest and cut their four corners diagonally on
   hover (rhombus motif), giving a second hover cue besides the colour change.
   Both polygons have 8 vertices so clip-path interpolates smoothly. The rest
   polygon reaches 8px outside the box so focus outlines are not clipped.
   Outlined buttons are left out: the cut would erase their border corners. */
:root { --lj-btn-chamfer: 12px; }

.btn.btn-primary,
.lj-login__submit,
.lj-account__logout,
.lj-order__help-button,
.lj-help__submit,
.lj-newsletter__submit,
.product-miniature.lj-card .lj-card__add,
.lj-cart__checkout,
.lj-cart-empty__cta,
.lj-notfound__cta,
.lj-checkout .btn.lj-checkout__submit,
.lj-confirm__cta,
.lj-pdp-buy__add,
.lj-pdp-complement__add,
.fhp-product__btn--primary,
.fhp-product__btn--secondary,
.custom-banner__cta,
.mcb-slide__btn,
.mod-megamenu__dropdown .qv-mega-menu__product-add-btn,
.mod-megamenu__shop-btn,
.mod-popup .mod-popup__button,
.lj-tag__cta:not(.lj-tag__cta--ghost) {
  clip-path: polygon(
    -8px -8px, calc(100% + 8px) -8px,
    calc(100% + 8px) -8px, calc(100% + 8px) calc(100% + 8px),
    calc(100% + 8px) calc(100% + 8px), -8px calc(100% + 8px),
    -8px calc(100% + 8px), -8px -8px
  );
  transition: clip-path .25s ease, background-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}

@media (hover: hover) {
  .btn.btn-primary:hover:not(:disabled):not(.disabled),
  .lj-login__submit:hover:not(:disabled),
  .lj-account__logout:hover,
  .lj-order__help-button:hover,
  .lj-help__submit:hover:not(:disabled),
  .lj-newsletter__submit:hover:not(:disabled),
  .product-miniature.lj-card .lj-card__add:hover:not(:disabled),
  .lj-cart__checkout:hover:not(.disabled),
  .lj-cart-empty__cta:hover,
  .lj-notfound__cta:hover,
  .lj-checkout .btn.lj-checkout__submit:hover:not(:disabled):not(.disabled),
  .lj-confirm__cta:hover,
  .lj-pdp-buy__add:hover:not(:disabled),
  .lj-pdp-complement__add:hover:not(:disabled),
  .fhp-product__btn--primary:hover:not(:disabled),
  .fhp-product__btn--secondary:hover,
  .custom-banner__cta:hover,
  .mcb-slide__btn:hover,
  .mod-megamenu__dropdown .qv-mega-menu__product-add-btn:hover,
  .mod-megamenu__shop-btn:hover,
  .mod-popup .mod-popup__button:hover:not(:disabled),
  .lj-tag__cta:not(.lj-tag__cta--ghost):hover {
    clip-path: polygon(
      var(--lj-btn-chamfer) 0, calc(100% - var(--lj-btn-chamfer)) 0,
      100% var(--lj-btn-chamfer), 100% calc(100% - var(--lj-btn-chamfer)),
      calc(100% - var(--lj-btn-chamfer)) 100%, var(--lj-btn-chamfer) 100%,
      0 calc(100% - var(--lj-btn-chamfer)), 0 var(--lj-btn-chamfer)
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn.btn-primary,
  .lj-login__submit,
  .lj-account__logout,
  .lj-order__help-button,
  .lj-help__submit,
  .lj-newsletter__submit,
  .product-miniature.lj-card .lj-card__add,
  .lj-cart__checkout,
  .lj-cart-empty__cta,
  .lj-notfound__cta,
  .lj-checkout .btn.lj-checkout__submit,
  .lj-confirm__cta,
  .lj-pdp-buy__add,
  .lj-pdp-complement__add,
  .fhp-product__btn--primary,
  .fhp-product__btn--secondary,
  .custom-banner__cta,
  .mcb-slide__btn,
  .mod-megamenu__dropdown .qv-mega-menu__product-add-btn,
  .mod-megamenu__shop-btn,
  .mod-popup .mod-popup__button,
  .lj-tag__cta:not(.lj-tag__cta--ghost) {
    transition-property: background-color, color, opacity;
  }
}

/* ==========================================================================
   ANNOUNCEMENT BAR - mod_navticker static mode (Figma 4652:14391)
   Markup: themes/lajoya/modules/mod_navticker/views/templates/hook/mod_navticker.tpl,
   printed above the header from templates/_partials/header.tpl.
   54px Negro Oliva band: Jara diamonds and messages spread edge to edge inside the
   1440/64px container. Below 992px only the first message, between two diamonds.
   ========================================================================== */
.lj-ticker {
  background: var(--lj-color-oliva, #111010);
  color: #fff;
}

.lj-ticker__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--lj-ticker-height);
}

.lj-ticker__diamond {
  flex: 0 0 auto;
  display: block;
  width: 10.0574px;
  height: 16px;
}

.lj-ticker__msg {
  margin: 0;
  font-family: var(--lj-font-display, "F37 Drago", serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  color: inherit;
}

/* Animated mode (marquee): same band as the static bar. The module paints its own
   yellow pill and 35px strip, so those are reset here. */
.header .lj-ticker--marquee.ticketholder {
  height: var(--lj-ticker-height);
  background: var(--lj-color-oliva, #111010);
}

.header .lj-ticker--marquee .simple-marquee-container {
  display: block;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* The plugin replaces .marquee with absolutely positioned .marquee-N copies
   (sized 27px by the module): make them as tall as the bar and center the items. */
.header .lj-ticker--marquee .simple-marquee-container > div {
  top: 0;
  display: flex;
  align-items: center;
  height: 100%;
  line-height: 1.4;
}

.header .lj-ticker--marquee .simple-marquee-container .marquee-content-items {
  height: auto;
}

.header .lj-ticker--marquee .simple-marquee-container .marquee-content-items {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  margin: 0;
  padding: 0 24px;
}

/* The plugin already adds 10px between copies */
.header .lj-ticker--marquee .simple-marquee-container .marquee-content-items:last-child {
  padding-right: 14px;
}

/* Jara diamond between messages */
.header .lj-ticker--marquee .simple-marquee-container .marquee-content-items::after {
  content: "";
  flex: 0 0 auto;
  width: 10.0574px;
  height: 16px;
  background: url("../img/navticker-diamond.svg") center / contain no-repeat;
}

.header .lj-ticker--marquee .simple-marquee-container .marquee-content-items span {
  padding: 0;
  font-family: var(--lj-font-display, "F37 Drago", serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: #fff;
}

.header .lj-ticker--marquee .simple-marquee-container .marquee-content-items span p { display: inline; margin: 0; }
.header .lj-ticker--marquee .simple-marquee-container .marquee-content-items span a { color: inherit; text-decoration: underline; }

/* RTE content (paragraphs, links) stays inline and inherits the bar style */
.lj-ticker__msg p { display: inline; margin: 0; }
.lj-ticker__msg a { color: inherit; text-decoration: underline; }

@media (max-width: 991.98px) {
  .lj-ticker__inner {
    --lj-container-padding: 16px;
    gap: 16px;
  }

  .lj-ticker__msg:not(.is-current),
  .lj-ticker__diamond:not(:first-child):not(:last-child) {
    display: none;
  }

  .lj-ticker__msg {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
  }
}

/* ===========================================
   HEADER — COMPACT ON SCROLL
   Hummingbird's .header is already sticky; custom.js adds .lj-header--compact
   on scroll down and removes it on scroll up (Squarespace 0.14s timing):
   - the announcement bar slides out (transform: no layout change);
   - desktop: thinner menu (16px -> 8px padding, 63px -> 48px logo). The header
     is in the flow, so a bottom margin of the same amount keeps the content
     below from jumping while it shrinks.
   =========================================== */
.header {
  --lj-ticker-height: 54px;
  --lj-header-compact-ease: 0.14s ease-in-out;

  transition: transform var(--lj-header-compact-ease), margin-bottom var(--lj-header-compact-ease);
}

.header.lj-header--compact:has(.lj-ticker) {
  transform: translateY(calc(-1 * var(--lj-ticker-height)));
}

@media (min-width: 1200px) {
  .header .mod-megamenu > .container {
    transition: padding var(--lj-header-compact-ease);
  }

  .header .mod-megamenu__row,
  .header .mod-megamenu__logo-img {
    transition: min-height var(--lj-header-compact-ease), height var(--lj-header-compact-ease);
  }

  .header.lj-header--compact .mod-megamenu {
    --lj-header-logo-height: 48px;
  }

  .header.lj-header--compact .mod-megamenu > .container {
    padding-block: 8px;
  }

  /* 2 x (16px - 8px) padding + (63px - 48px) logo */
  .header.lj-header--compact {
    margin-bottom: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header,
  .header .mod-megamenu > .container,
  .header .mod-megamenu__row,
  .header .mod-megamenu__logo-img {
    transition: none;
  }
}

/* ==========================================================================
   NEWSLETTER POPUP - mod_popup (Figma 4559:12982)
   Markup and layout live in the module (modules/mod_popup/views/css/mod_popup.css);
   the theme only supplies its fonts and squares the CTA like the rest of buttons.
   ========================================================================== */
.mod-popup {
  --mod-popup-heading-font: var(--lj-font-display);
  --mod-popup-body-font: var(--lj-font-ui);
}

.mod-popup .mod-popup__button {
  border-radius: 0;
}

/* ==========================================================================
   MOBILE — HEADER, MENU DRAWER AND HOME (Figma "Tienda mbl" 4628:21326, 390px)
   Everything below lives inside max-width media queries, so desktop (>= 1200px)
   is untouched. Breakpoints follow the ones already in use:
   - 1199.98px: below xl the megamenu bar collapses into the burger + drawer;
   - 767.98px:  phone header and the stacked home sections (Bootstrap md, the
                same limit as the theme's _mobile_ placeholders, d-md-none);
   - 575.98px:  product grids go down to one card per row.
   Home rules are prefixed with .page-content--home: besides scoping them to the
   home page, the extra class wins over the module stylesheets whatever their
   load order.
   ========================================================================== */

/* --- Menu drawer (mod_megamenu offcanvas), every width where it exists -------
   The module paints the panel and the backdrop with variables this theme does
   not define (--color-bg-primary, --color-purple-900), so both were transparent
   and the page showed through the open menu. */
@media (max-width: 1199.98px) {
  #mobileMenu.mod-megamenu__offcanvas {
    background-color: var(--lj-color-jara);
    color: var(--lj-color-oliva);
  }

  .mod-megamenu .offcanvas-backdrop { background-color: var(--lj-color-oliva); }

  /* Keep the announcement bar visible: the drawer starts right below it */
  .header:has(.lj-ticker) #mobileMenu.mod-megamenu__offcanvas { top: var(--lj-ticker-height); }
  .header:has(.lj-ticker) .offcanvas-backdrop { top: var(--lj-ticker-height); }

  /* The drawer is position:fixed inside #header: the compact-on-scroll
     translateY would turn the header into its containing block, so the
     transform is dropped while the drawer is open. */
  .header.lj-header--compact:has(#mobileMenu.show, #mobileMenu.showing) { transform: none; }
}

/* --- Header (Figma "Menú" 4637:25686): logo · · · cart + burger, 68px ------- */
@media (max-width: 767.98px) {
  /* Announcement bar: 44px, 14px copy (Figma 4628:22289) */
  .header { --lj-ticker-height: 44px; }
  .lj-ticker__msg,
  .header .lj-ticker--marquee .simple-marquee-container .marquee-content-items span { font-size: 14px; }

  /* One flex row on the Jara band. The Bootstrap wrappers between
     .header-bottom and its widgets are flattened with display: contents. The
     megamenu wrappers carry d-flex, a layered !important utility that an
     unlayered rule cannot override, so the megamenu stays one flex item (logo
     on the left) and the burger is pinned to the right edge, with the cart
     reserving its 44px. */
  #header .header-bottom {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 68px;
    padding: 12px 16px;
    border-bottom: 0;
    background: var(--lj-color-jara);
  }

  #header .header-bottom__container,
  #header .header-bottom__row,
  #header .header-bottom__megamenu,
  #header .mod-megamenu > .container {
    display: contents;
  }

  /* The account link lives in the drawer on phones. Taken out of the flow
     and hidden (its wrapper is d-flex, see above). */
  #header #_mobile_ps_customersignin {
    position: absolute;
    visibility: hidden;
  }

  #header .mod-megamenu {
    order: 0;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
  }

  #header .mod-megamenu__mobile-logo {
    position: static;
    order: 0;
    margin-right: auto;
    transform: none;
  }

  /* 94.286 x 32 in Figma */
  #header .mod-megamenu__mobile-logo img {
    width: 94.286px;
    height: auto;
    aspect-ratio: auto;
  }

  #header .mod-megamenu__desktop { order: 1; }

  #header #_mobile_ps_shoppingcart {
    order: 1;
    margin-right: 44px;
    padding: 0;
  }

  #header .mod-megamenu__burger {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
  }

  /* 44px touch targets with a 24px icon */
  #header #_mobile_ps_shoppingcart .header-block,
  #header .mod-megamenu__burger { margin: 0; }

  #header #_mobile_ps_shoppingcart .header-block__action-btn,
  #header .mod-megamenu__burger .header-block__action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--lj-color-black);
  }

  /* Same icon swap as the desktop bar: custom cart SVG (--lj-icon-cart) */
  #header #_mobile_ps_shoppingcart .header-block__icon {
    width: 24px;
    height: 24px;
    font-size: 0;
    color: var(--lj-color-black);
  }

  #header #_mobile_ps_shoppingcart .header-block__icon::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask: var(--lj-icon-cart) center / contain no-repeat;
    mask: var(--lj-icon-cart) center / contain no-repeat;
  }

  #header #_mobile_ps_shoppingcart .header-block__badge {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--lj-color-black);
    color: var(--lj-color-jara);
    font-size: 10px;
    line-height: 16px;
    text-align: center;
  }

  #header #_mobile_ps_shoppingcart .cart-preview.inactive .header-block__badge { display: none; }

  /* density_medium: three 18px lines in a 24px box (the 32px SVG scaled) */
  #header .mod-megamenu__burger .header-block__action-btn { color: var(--lj-color-black); }

  #header .mod-megamenu__burger svg.header-block__icon {
    width: 27px;
    height: 27px;
  }

  /* --- Drawer: full screen on La Joya yellow, centred light links, social at
     the bottom (Figma mobile menu redesign) ------------------------------- */
  #mobileMenu.mod-megamenu__offcanvas {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--lj-color-joya);
    box-shadow: none;
  }

  #mobileMenu .mod-megamenu__offcanvas-header {
    min-height: 68px;
    padding: 24px;
    border-bottom: 0;
  }

  #mobileMenu .mod-megamenu__offcanvas-header a img {
    width: 183px;
    height: auto;
  }

  #mobileMenu .mod-megamenu__offcanvas-header .btn-close {
    width: 44px;
    height: 44px;
    margin: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111010' stroke-width='1'%3E%3Cpath d='M1 1l22 22M23 1L1 23'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
  }

  #mobileMenu .mod-megamenu__mobile {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  #mobileMenu .mod-megamenu__mobile-nav:not(.is-hidden) {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
  }

  /* Links block sits in the vertical middle; the social row stays at the bottom */
  #mobileMenu .mod-megamenu__mobile-list {
    margin: auto 0;
    text-align: center;
  }

  #mobileMenu .mod-megamenu__mobile-item {
    justify-content: center;
    padding: 0 16px;
    border-bottom: 0;
  }

  #mobileMenu .mod-megamenu__mobile-link {
    flex: 0 1 auto;
    padding: 8px 0;
    font-family: "DM Sans", var(--lj-font-ui);
    font-size: 36px;
    font-weight: 300;
    line-height: 1.3;
    color: var(--lj-color-oliva);
  }

  /* The account link is not part of the redesigned menu */
  #mobileMenu .mod-megamenu__mobile-item--account { display: none; }

  #mobileMenu .mod-megamenu__mobile-social {
    justify-content: center;
    padding: 0 16px 32px;
  }

  #mobileMenu .mod-megamenu__mobile-social .mm-social-icon {
    width: 24px;
    height: 24px;
  }

  #mobileMenu .mod-megamenu__mobile-toggle,
  #mobileMenu .mod-megamenu__back-btn,
  #mobileMenu .mod-megamenu__mobile-social .mod-megamenu__social-link { color: var(--lj-color-oliva); }

  #mobileMenu .mod-megamenu__child-nav { background: var(--lj-color-joya); }
}

/* --- Home, phone layout ---------------------------------------------------- */
@media (max-width: 767.98px) {
  /* Hero "La tienda" (Figma 4628:21330): 24/40px band, 48px title, 390:281.55 photo */
  .page-content--home .mcb-slide--type1 .mcb-slide__container {
    row-gap: 40px;
    padding: 24px 16px 40px;
  }

  .page-content--home .mcb-slide--type1 .mcb-slide__heading { gap: 8px; }

  .page-content--home .mcb-slide--type1 .mcb-slide__title {
    font-size: 48px;
    line-height: 1.15;
  }

  .page-content--home .mcb-slide--type1 .mcb-slide__html {
    font-size: 18px;
    line-height: 1.4;
  }

  .page-content--home .mcb-slide--type1 .mcb-slide__media {
    min-height: 0;
    aspect-ratio: 390 / 281.551;
  }

  /* Category intros (cofres / jamones / embutidos, Figma 4628:21343): text only,
     the Figma mobile frame hides the photo ("Frame 1618873198" is hidden) */
  .page-content--home .custom-banner:not(.custom-banner--cover):not(.custom-banner--collage) { padding-top: 40px; }

  .page-content--home .custom-banner:not(.custom-banner--cover):not(.custom-banner--collage) .custom-banner__media { display: none; }

  .page-content--home .custom-banner:not(.custom-banner--cover):not(.custom-banner--collage) .custom-banner__eyebrow {
    font-size: 14px;
    letter-spacing: .56px;
  }

  .page-content--home .custom-banner:not(.custom-banner--cover):not(.custom-banner--collage) .custom-banner__title {
    font-size: 36px;
    line-height: 1.2;
  }

  .page-content--home .custom-banner:not(.custom-banner--cover):not(.custom-banner--collage) .custom-banner__text { font-size: 16px; }

  /* Product selections: 40px from the intro, 40px band bottom, 24px between cards */
  .page-content--home section.lj-home-selection,
  .page-content--home section.lj-home-selection.mod-home-selected-products-3 { padding-block: 40px; }

  .page-content--home .lj-home-selection .products.lj-home-selection__products { row-gap: 24px; }

  /* "Nuestra gran Joya" (Figma 4652:16053): square photo on top, orange panel
     below; no product cutout nor beige strip in the mobile design */
  .page-content--home .featured-home-product.fhp-product { padding: 0; }
  .page-content--home .featured-home-product.fhp-product::after { display: none; }
  .page-content--home .fhp-product__cutout { display: none; }

  .page-content--home .fhp-product__photo {
    order: -1;
    height: auto;
    aspect-ratio: 1;
  }

  .page-content--home .fhp-product__panel { padding: 40px 16px; }
  .page-content--home .fhp-product__content { gap: 40px; }

  .page-content--home .fhp-product__title {
    font-size: 48px;
    line-height: 1.15;
  }

  .page-content--home .fhp-product__subtitle { font-size: 24px; }
  .page-content--home .fhp-product__text { font-size: 16px; }

  /* "¿Eres empresa?" (Figma 4922:19329): text on the full-width band, then a
     390px square photo instead of the floating card over the photo */
  .page-content--home .custom-banner--cover {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
    background: var(--custom-banner-bg, var(--lj-color-jara));
  }

  .page-content--home .custom-banner--cover .custom-banner__inner {
    order: 1;
    padding-block: 40px;
  }

  .page-content--home .custom-banner--cover .custom-banner__bg {
    position: static;
    order: 2;
    height: auto;
    aspect-ratio: 1;
  }

  .page-content--home .custom-banner--cover .custom-banner__card {
    width: 100%;
    gap: 40px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .page-content--home .custom-banner--cover .custom-banner__heading { gap: 4px; }

  .page-content--home .custom-banner--cover .custom-banner__eyebrow {
    font-size: 36px;
    line-height: 1.2;
  }

  .page-content--home .custom-banner--cover .custom-banner__title {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: .5px;
  }

  /* Guarantees (Figma 4637:25731): a vertical list, icon on the left. A visible
     count above the number of blocks keeps the module JS from starting the
     carousel (it only runs when there are more blocks than visible slots). */
  .page-content--home .mod-reassurance {
    --modr-visible: 99;
    padding: 40px 16px 64px;
  }

  .page-content--home .mod-reassurance:not(.is-carousel-active) .mod-reassurance__track {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 32px;
  }

  .page-content--home .mod-reassurance:not(.is-carousel-active) .mod-reassurance__item {
    display: grid;
    grid-template-columns: 30.172px minmax(0, 1fr);
    align-content: start;
    column-gap: 16px;
    row-gap: 4px;
    flex: 0 0 auto;
    max-width: none;
    padding: 0 0 0 8px;
    text-align: left;
  }

  .page-content--home .mod-reassurance__icon {
    grid-row: 1 / span 2;
    width: 30.172px;
    height: 48px;
    margin: 0;
  }

  .page-content--home .mod-reassurance__title {
    grid-column: 2;
    margin: 0;
    font-size: 18px;
    letter-spacing: 0;
  }

  .page-content--home .mod-reassurance__text {
    grid-column: 2;
    font-size: 14px;
  }

  /* "Sobre nosotros" collage (Figma 4628:21437): 263px photo, text, then the
     two small photos (134 and 173px) bottom-aligned on the right */
  .page-content--home .custom-banner--collage { padding-block: 40px; }

  .page-content--home .custom-banner__collage {
    grid-template-columns: minmax(0, 1fr) 37.43% 48.32%;
    column-gap: 12px;
    row-gap: 24px;
    align-items: end;
  }

  .page-content--home .custom-banner__collage-img--main {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 73.47%;
  }

  .page-content--home .custom-banner--collage .custom-banner__content {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0 0 16px;
  }

  .page-content--home .custom-banner__collage-img--top {
    grid-column: 2;
    grid-row: 3;
  }

  .page-content--home .custom-banner__collage-img--bottom {
    grid-column: 3;
    grid-row: 3;
  }

  .page-content--home .custom-banner--collage .custom-banner__title { font-size: 36px; }

  /* Rhombus band before the footer: 80px (two 40px rows) */
  .page-content--home .lj-rhombus-band__row {
    height: 40px;
    background-size: 905.167px 40px;
  }
}

@media (max-width: 575.98px) {
  /* One card per row in every selection (Figma 4628:21352 / 21386 / 21403) */
  .page-content--home section.lj-home-selection.lj-home-selection--cols-4,
  .page-content--home section.lj-home-selection.lj-home-selection--cols-5 { --lj-home-selection-columns: 1; }

  /* Drago 24px prices; compact cards back to the full-size body and seal */
  .page-content--home .lj-home-selection .product-miniature.lj-card .lj-card__price { font-size: 24px; }

  .page-content--home .lj-home-selection--compact .product-miniature.lj-card .lj-card__body { padding: 24px 8px; }

  .page-content--home .lj-home-selection--compact .product-miniature.lj-card .lj-card__title {
    display: -webkit-box;
    min-height: 0;
    overflow: hidden;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .page-content--home .lj-home-selection--compact .product-miniature.lj-card .lj-card__seal {
    top: 16px;
    right: 16px;
    width: 88px;
    height: 88px;
  }

  .page-content--home .lj-home-selection--compact .product-miniature.lj-card .lj-card__seal img {
    width: 141px;
    height: 141px;
  }

  .page-content--home .lj-home-selection--compact .product-miniature.lj-card .lj-card__add { padding-inline: 24px; }

  /* Testimonials (Figma 4628:21411): 312px cards out of 358, 12px apart */
  .page-content--home .mod-testimonials {
    --mt-gap: 12px;
    padding-block: 40px;
  }

  .page-content--home .mod-testimonials__title { font-size: 24px; }

  .page-content--home .mod-testimonials__slide { flex-basis: calc(100cqw * 312 / 358); }

  /* Card "Opiniones / mbl" (Figma 4637:22868): 48px cut corner, 16px body */
  .page-content--home .mod-testimonials__corner { width: 49.3px; }

  .page-content--home .mod-testimonials__body {
    gap: 4px;
    padding: 16px;
  }

  .page-content--home .mod-testimonials__name {
    font-size: 18px;
    letter-spacing: 0;
  }

  .page-content--home .mod-testimonials__quote p { font-size: 14px; }
}

/* --- Footer, phone layout (the Figma mobile frame only has a screenshot of the
   reference footer, 4637:25771): "Información" and "Síguenos" side by side,
   legal links under "Información", a rule above the giant logo -------------- */
@media (max-width: 767.98px) {
  .lj-footer__grid > .lj-footer__info { grid-column: 1 / 15; }

  .lj-footer__grid > .lj-footer__social {
    grid-column: 15 / -1;
    grid-row: 2;
  }

  .lj-footer__grid > .lj-footer__legal { padding-top: 20px; }

  .lj-footer__grid > .lj-footer__logo {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--lj-color-black);
  }
}

/* ==========================================================================
   MOBILE — PRODUCT PAGE (Figma "Detalle de producto 1" 4637:24859, 390px)
   Everything below lives inside max-width media queries, so desktop is
   untouched. Same breakpoints as the block above; the tablet adaptation
   (<= 991.98px: stacked hero, static info column, brida sizes) already lives
   in the PRODUCT PAGE section. Rules are prefixed with #product (body id) so
   they only reach the product page and win over the module stylesheets
   (mod_reassurance, custom banners) whatever their load order.
   ========================================================================== */

@media (max-width: 767.98px) {
  /* 16px page gutter for every boxed section of the content */
  #product #wrapper { --lj-container-padding: 16px; }

  /* --- Breadcrumb (Figma 4637:24863): one 44px row, scrolls sideways ---- */
  #product .lj-pdp-breadcrumb__list {
    flex-wrap: nowrap;
    padding-block: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  #product .lj-pdp-breadcrumb__list::-webkit-scrollbar { display: none; }

  #product .lj-pdp-breadcrumb__item {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* --- Hero (Figma 4637:24878): gallery, 24px, info; 8/24px band -------- */
  #product .lj-pdp-hero__inner {
    row-gap: 24px;
    padding-block: 8px 24px;
  }

  #product .lj-pdp-hero__media { gap: 24px; }

  /* Seal: 111.5px circle 22.3px from the corner of the 358px frame */
  #product .lj-pdp-gallery__seal {
    top: 6.23%;
    right: 6.23%;
    width: 31.15%;
    height: auto;
    aspect-ratio: 1;
  }

  #product .lj-pdp-gallery__seal img {
    width: 160.23%;
    height: auto;
  }

  /* Counter + arrows under the frame replace the overlay controls */
  #product .lj-pdp-gallery__control,
  #product .lj-pdp-gallery__indicators { display: none; }

  #product .lj-pdp-gallery__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block-start: 8px;
  }

  #product .lj-pdp-gallery__counter {
    margin: 0;
    font-family: var(--lj-font-ui);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--lj-color-oliva);
  }

  #product .lj-pdp-gallery__arrows { display: flex; }

  #product .lj-pdp-gallery__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--lj-pdp-trigo);
    cursor: pointer;
  }

  #product .lj-pdp-gallery__arrow:focus-visible {
    outline: 2px solid var(--lj-color-oliva);
    outline-offset: -2px;
  }

  /* Info: title 40px, subtitle 20px, price 24px */
  #product .lj-pdp-hero__title { line-height: 1.2; }

  #product .lj-pdp-hero__subtitle,
  #product .lj-pdp-hero__subtitle p {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: .5px;
  }

  #product .lj-pdp-hero .product__price { font-size: 24px; }

  #product .lj-pdp-buy__add {
    padding-inline: 16px;
    white-space: nowrap;
  }

  /* Highlights 24px icons + 14px copy; accordions 16px; 24px between them */
  #product .lj-pdp-hero__extra { gap: 24px; }

  #product .lj-pdp-highlights__item { font-size: 14px; }

  #product .lj-pdp-highlights__item img {
    width: 24px;
    height: 24px;
  }

  #product .lj-pdp-accordion__summary { font-size: 16px; }

  #product .lj-pdp-accordion__content { font-size: 14px; }

  /* --- Story (Figma 4637:25034): large 4:5 photo, 20px copy, the small
     photo right-aligned (265 of 358px), then "Compleméntalo con" --------- */
  #product .lj-pdp-story { padding-block: 24px 40px; }

  #product .lj-pdp-story__inner { row-gap: 40px; }

  #product .lj-pdp-story__text,
  #product .lj-pdp-story__text p {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: .5px;
  }

  #product .lj-pdp-story__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  #product .lj-pdp-story__image--small {
    align-self: flex-end;
    width: 74.02%;
  }

  /* Accessory card (Figma 4929:24515): 80px photo, 16/20px copy and a 44px
     "+" button instead of the "Añadir" label (the aria-label names it) */
  #product .lj-pdp-complement__card { padding: 12px 8px 12px 0; }

  #product .lj-pdp-complement__media {
    width: 80px;
    height: 80px;
  }

  #product .lj-pdp-complement__seal {
    top: 11.27px;
    left: 52.96px;
    width: 18.028px;
    height: 18.028px;
  }

  #product .lj-pdp-complement__seal img {
    width: 28.886px;
    height: 28.886px;
  }

  #product .lj-pdp-complement__info { gap: 8px; }

  #product .lj-pdp-complement__name { font-size: 16px; }

  #product .lj-pdp-complement__price {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: .5px;
  }

  #product .lj-pdp-complement__add {
    width: 44px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
    color: transparent;
    background-image: url("../img/product/icono-anadir.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
  }

  /* --- Guarantees (Figma 4637:26118): vertical list, icon on the left, as
     on the home. A visible count above the number of blocks keeps the
     module JS from starting its carousel. ------------------------------ */
  #product .mod-reassurance {
    --modr-visible: 99;
    padding: 40px 16px 64px;
  }

  #product .mod-reassurance:not(.is-carousel-active) .mod-reassurance__track {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 32px;
  }

  #product .mod-reassurance:not(.is-carousel-active) .mod-reassurance__item {
    display: grid;
    grid-template-columns: 30.172px minmax(0, 1fr);
    align-content: start;
    column-gap: 16px;
    row-gap: 4px;
    flex: 0 0 auto;
    max-width: none;
    padding: 0 0 0 8px;
    text-align: left;
  }

  #product .mod-reassurance__icon {
    grid-row: 1 / span 2;
    width: 30.172px;
    height: 48px;
    margin: 0;
  }

  #product .mod-reassurance__title {
    grid-column: 2;
    margin: 0;
    font-size: 18px;
    letter-spacing: 0;
  }

  #product .mod-reassurance__text {
    grid-column: 2;
    font-size: 14px;
  }

  /* --- Reviews (Figma 4851:18111): 24px title, 266px summary card -------- */
  #product .lj-reviews { padding-block: 64px; }

  #product .lj-reviews__title {
    margin-block-end: 24px;
    font-size: 24px;
  }

  #product .lj-reviews__summary {
    justify-self: start;
    width: min(266px, 100%);
    gap: 13.394px;
    margin-block-end: 24px;
    padding: 8.929px;
  }

  #product .lj-reviews__corner {
    width: 35.716px;
    height: 35.716px;
  }

  #product .lj-reviews__average {
    margin: 0;
    font-size: 48px;
    line-height: 1.15;
  }

  #product .lj-reviews__summary-stars { gap: 6px; }

  #product .lj-reviews__summary-stars img {
    width: 24px;
    height: 24px;
  }

  #product .lj-reviews__count { font-size: 14px; }

  /* Name, stars and date on one line when they fit; a wrapped date starts
     flush with the column */
  #product .lj-review__meta { column-gap: 8px; }

  #product .lj-review__author { margin-inline-end: 8px; }

  #product .lj-review__date { margin-inline-start: 0; }

  #product .lj-review__text { font-size: 14px; }

  /* --- Nuestras otras gamas (Figma 4637:25073) ---------------------------- */
  #product .lj-pdp-ranges__intro { margin-block-end: 24px; }

  #product .lj-pdp-ranges__title { line-height: 1.2; }

  #product .lj-pdp-ranges__text { font-size: 16px; }

  /* --- ¿Eres empresa? (Figma 4922:19395): same phone layout as the home
     banner — text on the band, then a square photo ------------------------ */
  #product .custom-banner--cover {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
    background: var(--custom-banner-bg, var(--lj-color-jara));
  }

  #product .custom-banner--cover .custom-banner__inner {
    order: 1;
    padding-block: 40px;
  }

  #product .custom-banner--cover .custom-banner__bg {
    position: static;
    order: 2;
    height: auto;
    aspect-ratio: 1;
  }

  #product .custom-banner--cover .custom-banner__card {
    width: 100%;
    gap: 40px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  #product .custom-banner--cover .custom-banner__heading { gap: 4px; }

  #product .custom-banner--cover .custom-banner__eyebrow {
    font-size: 36px;
    line-height: 1.2;
  }

  #product .custom-banner--cover .custom-banner__title {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: .5px;
  }

  /* --- Regalos (Figma 4637:26181): 40px band, 24px title, 312px cards out
     of 358 with 12px between them -------------------------------------- */
  #product .lj-pdp-gifts { padding-block: 40px; }

  #product .lj-pdp-gifts__title {
    font-size: 24px;
    white-space: nowrap;
  }

  #product .lj-pdp-gifts__track {
    grid-auto-columns: calc(100% * 312 / 358);
    gap: 12px;
  }

  #product .lj-pdp-gifts .product-miniature.lj-card .lj-card__title {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: .5px;
  }

  #product .lj-pdp-gifts .product-miniature.lj-card .lj-card__description { font-size: 16px; }

  /* Rhombus band before the footer: 80px (two 40px rows), as on the home */
  #product .lj-pdp-band__row {
    height: 40px;
    background-size: 905.167px 40px;
  }
}

@media (max-width: 575.98px) {
  /* Drago 24px name and price on the full-width range cards (the generic
     card rule drops them to 20px at this width) */
  #product .lj-pdp-ranges .product-miniature.lj-card .lj-card__title,
  #product .lj-pdp-ranges .product-miniature.lj-card .lj-card__price,
  #product .lj-pdp-gifts .product-miniature.lj-card .lj-card__price { font-size: 24px; }
}

/* ==========================================================================
   HEADER USER DROPDOWN — same look as the user-area side menu (.lj-account__menu)
   ========================================================================== */
.lj-user-menu {
  min-width: 260px;
  padding: 8px;
  border: 0;
  border-radius: 2px;
  background: var(--lj-color-blanco);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  font-family: var(--lj-font-ui);
}

.lj-user-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-gris-800);
  white-space: nowrap;
}

.lj-user-menu .dropdown-item .material-icons {
  margin: 0 !important;
  font-size: 24px;
  color: var(--lj-color-gris-800);
}

.lj-user-menu .dropdown-item:hover,
.lj-user-menu .dropdown-item:focus-visible { background: var(--lj-color-trigo); color: var(--lj-color-gris-800); }

.lj-user-menu .dropdown-item[aria-current="page"],
.lj-user-menu .dropdown-item:active { background: var(--lj-color-jara); color: var(--lj-color-gris-800); }

.lj-user-menu .dropdown-divider {
  margin: 8px 0;
  border-color: var(--lj-color-beige);
  opacity: 1;
}

/* ==========================================================================
   CMS PAGES (templates/cms/page.tpl: shipping, legal notice, terms, about us,
   secure payment, FAQs)
   No Figma frame: extrapolated from the contact page and the user area —
   trigo band + .lj-account breadcrumb, display-font title, white card with a
   readable long-form text column. The FAQ page reuses the mod_faqs accordion
   (.lj-help, see HELP section).
   ========================================================================== */

/* Centred column: ~68ch text measure inside the card; the FAQ page keeps the
   866px width of the contact page accordion */
.lj-cms__body {
  max-width: calc(760px + 2 * 16px);
  margin-inline: auto;
  padding: 16px 16px 40px;
}

.lj-cms--faq .lj-cms__body { max-width: calc(866px + 2 * 16px); }

.lj-cms__title {
  margin: 8px 0 24px;
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-negro);
  overflow-wrap: anywhere;
}

.lj-cms__card {
  padding: 24px 16px 32px;
  border-radius: 8px;
  background: var(--lj-color-blanco);
}

/* --- Long-form content written in the back office (scoped to the wrapper) --- */
.lj-cms__content {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--lj-color-gris-800);
  overflow-wrap: break-word;
}

.lj-cms__content > :first-child { margin-top: 0; }
.lj-cms__content > :last-child { margin-bottom: 0; }

/* The page prints the H1: a heading H1 inside the content reads as a section title */
.lj-cms__content h1,
.lj-cms__content h2 {
  margin: 40px 0 16px;
  font-family: var(--lj-font-display);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--lj-color-negro);
}

.lj-cms__content h3 {
  margin: 32px 0 8px;
  font-family: var(--lj-font-display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-negro);
}

.lj-cms__content h4,
.lj-cms__content h5,
.lj-cms__content h6 {
  margin: 24px 0 8px;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lj-color-negro);
}

/* A heading straight after another one keeps them together */
.lj-cms__content :is(h1, h2, h3) + :is(h2, h3, h4) { margin-top: 8px; }

.lj-cms__content p,
.lj-cms__content ul,
.lj-cms__content ol,
.lj-cms__content blockquote,
.lj-cms__content table { margin: 0 0 16px; }

.lj-cms__content ul,
.lj-cms__content ol { padding-left: 24px; }

.lj-cms__content li { margin-bottom: 8px; }
.lj-cms__content li > ul,
.lj-cms__content li > ol { margin: 8px 0 0; }
.lj-cms__content ul li::marker { color: var(--lj-color-joya); }

.lj-cms__content strong,
.lj-cms__content b { font-weight: 500; }

.lj-cms__content a {
  color: var(--lj-color-negro);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lj-cms__content a:hover { color: var(--lj-color-gris-800); text-decoration-thickness: 2px; }
.lj-cms__content a:focus-visible { outline: 2px solid var(--lj-color-negro); outline-offset: 2px; }

.lj-cms__content blockquote {
  padding: 8px 0 8px 16px;
  border-left: 2px solid var(--lj-color-jara);
  font-family: var(--lj-font-accent);
  font-style: italic;
}

.lj-cms__content hr { margin: 32px 0; border: 0; border-top: 1px solid var(--lj-color-beige); opacity: 1; }

.lj-cms__content img { max-width: 100%; height: auto; }

/* Tables scroll inside the card instead of widening the page */
.lj-cms__content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.4;
}

.lj-cms__content th,
.lj-cms__content td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--lj-color-beige);
  text-align: left;
  vertical-align: top;
}

.lj-cms__content th { font-weight: 500; background: var(--lj-color-trigo); }

/* Legacy CMS markup classes (default PrestaShop content) */
.lj-cms__content .bottom-indent { margin-bottom: 16px; }

@media (min-width: 992px) {
  .lj-cms__body {
    max-width: calc(760px + 2 * var(--lj-container-padding));
    padding: 64px var(--lj-container-padding) 80px;
  }

  .lj-cms--faq .lj-cms__body { max-width: calc(866px + 2 * var(--lj-container-padding)); }

  .lj-cms__title { margin: 0 0 32px; font-size: 40px; }
  .lj-cms__card { padding: 48px 56px 56px; }
  .lj-cms__content { font-size: 17px; }
  .lj-cms__content h1,
  .lj-cms__content h2 { font-size: 28px; }
  .lj-cms__content h3 { font-size: 22px; }
}

/* FAQ page: with the help heading hidden, the accordion's top divider sat alone at the top of the card */
.lj-cms--faq .lj-help__faq { padding-top: 0; border-top: 0; }

/* ==========================================================================
   MOD_RETURNFORM — returns request form
   (modules/mod_returnform/views/templates/front/form.tpl override)
   Public page with the contact page layout: trigo band, .lj-account breadcrumb
   and the yellow .lj-help form card. Only the extras are defined here.
   ========================================================================== */

.lj-returns__required { color: var(--lj-color-negro); font-weight: 500; }

.lj-returns__hint { margin: 0; font-size: 13px; font-weight: 300; line-height: 1.4; color: var(--lj-color-gris-800); }

/* Long answers: room for a couple of lines */
.lj-returns .lj-help__control--textarea { min-height: 88px; }

/* File picker: same box as the other controls, square black "browse" button */
.lj-returns__file { padding: 6px 16px 6px 6px; cursor: pointer; }

.lj-returns__file::file-selector-button {
  height: 32px;
  margin-right: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--lj-color-negro);
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--lj-color-blanco);
  cursor: pointer;
  transition: background-color .2s ease;
}

.lj-returns__file:hover::file-selector-button { background: var(--lj-color-gris-800); }

/* Optional question blocks: separated by a thin rule inside the yellow card */
.lj-returns__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid rgba(17, 16, 16, .2);
}

/* <legend> ignores flex gap: float takes it into the normal flow */
.lj-returns__group-title {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--lj-font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-negro);
}

.lj-returns__group-title + * { clear: both; }

/* Privacy consent: the label holds the asterisk and an optional link */
.lj-returns .lj-help__consent .form-check-label { margin: 0; line-height: 1.4; cursor: pointer; }

.lj-returns__actions { flex-wrap: wrap; align-items: center; gap: 16px; }
.lj-returns__actions .lj-help__submit { min-width: 200px; }

/* Sent state: confirmation + link back to an empty form */
.lj-returns__sent { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: left; }
.lj-returns__sent .lj-help__alert { width: 100%; margin: 0; }

/* <a> styled as the submit button: keep the colours against the global link rules */
a.lj-help__submit.lj-returns__again,
a.lj-help__submit.lj-returns__again:hover,
a.lj-help__submit.lj-returns__again:focus-visible { color: var(--lj-color-blanco); text-decoration: none; }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.lj-returns__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .lj-returns__group-title { font-size: 20px; }
}

@media (max-width: 575.98px) {
  .lj-returns__actions { flex-direction: column; align-items: stretch; }
  .lj-returns__actions .lj-help__submit,
  .lj-returns__again { width: 100%; }
  .lj-returns__actions .lj-returns__hint { text-align: center; }
}

/* ==========================================================================
   SEARCH RESULTS (templates/catalog/listing/search.tpl; no Figma frame)
   Trigo band like contact/account, home product cards, 404-style empty state.
   ========================================================================== */

/* The beige band reaches the footer: no white strip below it */
#wrapper:has(.lj-search) #center-column { margin-block-end: 0; padding-block-end: 0; }

.lj-search__head,
.lj-search__results {
  max-width: var(--lj-container-max);
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: 16px;
}

.lj-search__head { padding-block: 16px 24px; text-align: center; }
.lj-search__results { padding-block: 0 80px; }

.lj-search__title {
  margin: 0 0 24px;
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-oliva);
}

.lj-search__title em { font-style: italic; }

/* Search field: Encalado input + Oliva button, 44px like the other forms */
.lj-search__form {
  display: flex;
  max-width: 640px;
  margin-inline: auto;
}

.lj-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lj-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--lj-color-oliva);
  border-right: 0;
  border-radius: 0;
  background: var(--lj-color-encalado);
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-oliva);
}

.lj-search__input::placeholder { color: #727272; }
.lj-search__input:focus-visible { outline: 2px solid var(--lj-color-joya); outline-offset: -2px; }

.lj-search__submit {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--lj-color-oliva);
  border-radius: 0;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-encalado);
  cursor: pointer;
  transition: opacity .2s ease;
}

.lj-search__submit:hover { opacity: .85; }
.lj-search__submit:focus-visible { outline: 2px solid var(--lj-color-joya); outline-offset: 2px; }

/* Toolbar: count on the left, sort on the right */
.lj-listing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  padding: 16px 0;
  border-block: 1px solid rgba(17, 16, 16, .16);
}

.lj-listing-bar__count {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-grey-800);
}

.lj-listing-bar__sort { display: flex; align-items: center; gap: 12px; margin: 0; }

.lj-listing-bar .products__sort-label {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-grey-800);
}

.lj-listing-bar .products__sort-dropdown-button {
  min-width: 200px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--lj-color-oliva);
  border-radius: 0;
  background: transparent;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  text-align: left;
  color: var(--lj-color-oliva);
}

.lj-listing-bar .dropdown-menu {
  border: 1px solid var(--lj-color-oliva);
  border-radius: 0;
  background: var(--lj-color-encalado);
}

.lj-listing-bar .dropdown-item {
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-oliva);
}

.lj-listing-bar .dropdown-item.current,
.lj-listing-bar .dropdown-item:hover { background: var(--lj-color-trigo); color: var(--lj-color-oliva); }

/* Product grid: 2 columns on phones, 3 on tablets, 4 on desktop (as the home) */
.lj-search .products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin: 0;
}

.lj-search .products > * {
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
}

@media (min-width: 768px) {
  .lj-search .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--lj-grid-gutter); }
}

@media (min-width: 992px) {
  .lj-search__head,
  .lj-search__results { padding-inline: var(--lj-container-padding); }
  .lj-search__head { padding-block: 16px 40px; }
  .lj-search__results { padding-block-end: 120px; }
  .lj-search__title { font-size: 48px; }
  .lj-search .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Pagination: flat Oliva squares */
.lj-listing-pagination { margin-top: 64px; }

.lj-listing-pagination .pagination__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lj-listing-pagination .pagination__number {
  font-family: var(--lj-font-ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--lj-color-grey-800);
}

.lj-listing-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lj-listing-pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--lj-color-oliva);
  border-radius: 0;
  background: transparent;
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--lj-color-oliva);
  transition: background-color .2s ease, color .2s ease;
}

.lj-listing-pagination .page-link:hover:not(:disabled) { background: var(--lj-color-oliva); color: var(--lj-color-encalado); }
.lj-listing-pagination .page-item.active .page-link { background: var(--lj-color-oliva); color: var(--lj-color-encalado); }
.lj-listing-pagination .page-link:disabled,
.lj-listing-pagination .page-item.disabled .page-link { opacity: .4; cursor: default; }

/* Empty state: same pieces as the 404, inside the band */
.lj-search__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 64px 0 80px;
  text-align: center;
}

.lj-search__empty-icon { display: block; width: 25.1435px; height: 40px; }

.lj-search__empty-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 480px;
  max-width: 100%;
}

.lj-search__empty-title {
  margin: 0;
  font-family: var(--lj-font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--lj-color-oliva);
}

.lj-search__empty-description {
  margin: 0;
  font-family: var(--lj-font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--lj-color-grey-800);
}

.lj-search__empty-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 389px;
  max-width: 100%;
  height: 44px;
  padding: 14px 24px;
  background: var(--lj-color-oliva);
  font-family: var(--lj-font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  color: var(--lj-color-encalado);
  transition: opacity .2s ease;
}

.lj-search__empty-cta:hover { opacity: .85; color: var(--lj-color-encalado); }

@media (max-width: 575.98px) {
  .lj-listing-bar { flex-direction: column; align-items: stretch; }
  .lj-listing-bar__sort { justify-content: space-between; }
  .lj-listing-bar .products__sort-dropdown-button { min-width: 0; width: 100%; }
  .lj-search__title { font-size: 28px; }
  .lj-search__empty-cta { width: 100%; }
}

@media (max-width: 767px) {
  .lj-pdp-gift { padding: 12px 12px 12px 16px; gap: 8px; }
  .lj-pdp-gift__text { font-size: 20px; }
  .lj-pdp-gift__image { width: 96px; height: 96px; }
}
