
:root{
  --yv3-green:#155b31;
  --yv3-green-dark:#123f25;
  --yv3-lime:#8edc19;
  --yv3-bg:#f6f8f2;
  --yv3-border:#dce5da;
  --yv3-muted:#748077;
}
.yana-v3-featured,.yana-v3-store{font-family:inherit;color:#183422}
.yana-v3-featured *,.yana-v3-store *{box-sizing:border-box}

.yana-v3-featured{padding:34px 26px 28px;background:var(--yv3-bg);border-radius:26px}
.yana-v3-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.yana-v3-heading span,.yana-v3-store__intro>span{display:block;color:#2d7041;font-size:12px;font-weight:900;letter-spacing:.16em;margin-bottom:9px}
.yana-v3-heading h2,.yana-v3-store__intro h2{margin:0;color:#173f27;font-size:clamp(36px,4vw,58px);line-height:1;letter-spacing:-.035em}
.yana-v3-heading>a{color:#24643a;text-decoration:none;font-size:15px;font-weight:850;padding-bottom:7px}

.yana-v3-grid{display:grid;gap:18px}
.yana-v3-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.yana-v3-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.yana-v3-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}

.yana-v3-card{min-width:0;overflow:hidden;background:#fff;border:1px solid var(--yv3-border);border-radius:22px;display:flex;flex-direction:column;box-shadow:0 7px 22px rgba(21,71,38,.045);transition:.2s ease}
.yana-v3-card:hover{transform:translateY(-3px);border-color:#bfd5c2;box-shadow:0 18px 42px rgba(21,71,38,.10)}
.yana-v3-card__image{position:relative;aspect-ratio:1.05/1;background:#f1f3ef;overflow:hidden}
.yana-v3-card__image>a{display:block;width:100%;height:100%}
.yana-v3-card__image img{width:100%;height:100%;object-fit:contain;display:block;transition:.25s ease}
.yana-v3-card:hover .yana-v3-card__image img{transform:scale(1.025)}
.yana-v3-card__badge{position:absolute;z-index:2;top:14px;left:14px;padding:8px 14px;border-radius:999px;background:var(--yv3-lime);color:#183e22;font-size:11px;font-weight:900;letter-spacing:.03em}
.yana-v3-card__badge--soft{background:#e8f7eb;border:1px solid #bfe3c7;color:#176333}

.yana-v3-card__body{padding:20px;display:flex;flex:1;flex-direction:column}
.yana-v3-card__category{display:block;color:#7a867d;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
.yana-v3-card__title{display:block;color:#184128;text-decoration:none;font-size:20px;font-weight:850;line-height:1.18;margin-bottom:9px}
.yana-v3-card__title:hover{color:#16803c}
.yana-v3-card__price-label{display:block;color:#748076;font-size:11px;font-weight:850;letter-spacing:.10em;text-transform:uppercase;margin-bottom:5px}
.yana-v3-card__price{color:var(--yv3-green);font-size:26px;font-weight:900;margin-bottom:4px}
.yana-v3-card__price del{color:#8c978e;font-size:14px;font-weight:600}
.yana-v3-card__price ins{text-decoration:none}
.yana-v3-card__pack{color:var(--yv3-muted);font-size:14px;margin-bottom:18px}

.yana-v3-card__buy{display:grid;grid-template-columns:minmax(126px,.9fr) 1fr;gap:10px;align-items:center;margin-top:auto}
.yana-v3-stepper{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;min-height:48px;border:1px solid #dce8de;border-radius:15px;overflow:hidden;background:#f8faf8}
.yana-v3-stepper button{height:48px;border:0;background:transparent;color:#176333;font-size:22px;font-weight:900;cursor:pointer}
.yana-v3-stepper span{text-align:center;font-size:17px;font-weight:900}
.yana-v3-add,.yana-v3-options{display:flex;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:15px;background:#175c34;color:#fff!important;padding:10px 15px;font-size:14px;font-weight:850;cursor:pointer;text-decoration:none;transition:.18s ease}
.yana-v3-add:hover,.yana-v3-options:hover{background:#104a29;transform:translateY(-1px)}
.yana-v3-add.is-added{background:#238445}
.yana-v3-soldout{display:flex;justify-content:center;align-items:center;min-height:48px;border-radius:15px;background:#f0f3f0;color:#758078;font-weight:800;margin-top:auto}

.yana-v3-cartbar{position:fixed;z-index:99995;right:22px;bottom:22px;min-width:390px;max-width:calc(100vw - 28px);display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 15px 14px 18px;background:#fff;border:1px solid #dbe8dd;border-radius:20px;box-shadow:0 18px 50px rgba(0,0,0,.18);transform:translateY(140%);opacity:0;pointer-events:none;transition:.25s ease}
.yana-v3-cartbar.is-visible{transform:translateY(0);opacity:1;pointer-events:auto}
.yana-v3-cartbar span{display:block;color:#728077;font-size:11px;margin-bottom:2px}
.yana-v3-cartbar strong{display:block;color:#19492c;font-size:15px}
.yana-v3-cartbar__actions{display:flex;gap:7px}
.yana-v3-cartbar__actions a{display:flex;align-items:center;min-height:40px;padding:8px 12px;border-radius:12px;text-decoration:none;font-size:12px;font-weight:850;color:#1b5f35;background:#edf6ef}
.yana-v3-cartbar__actions a.is-primary{background:#176333;color:#fff}

.yana-v3-store{padding:28px;background:#f6f9f5;border-radius:28px}
.yana-v3-store__intro{margin-bottom:22px}
.yana-v3-store__intro p{margin:8px 0 0;color:var(--yv3-muted);font-size:15px}
.yana-v3-store__toolbar{position:sticky;top:10px;z-index:15;padding:8px 0 18px;background:rgba(246,249,245,.95);backdrop-filter:blur(12px)}
.yana-v3-store__toolbar>label{display:flex;align-items:center;gap:10px;height:56px;padding:0 16px;background:#fff;border:1px solid var(--yv3-border);border-radius:17px}
.yana-v3-store__toolbar>label>span{font-size:23px;color:#8a978d}
.yana-v3-store__toolbar input{width:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
.yana-v3-store__filters{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding-top:12px}
.yana-v3-store__filters::-webkit-scrollbar{display:none}
.yana-v3-store__filters button{flex:0 0 auto;border:1px solid var(--yv3-border);background:#fff;color:#526055;border-radius:999px;padding:10px 15px;font-weight:800;cursor:pointer}
.yana-v3-store__filters button.is-active,.yana-v3-store__filters button:hover{background:#16803c;border-color:#16803c;color:#fff}
.yana-v3-store__item.is-hidden{display:none}
.yana-v3-empty{padding:16px;border:1px solid #dce5da;border-radius:14px;background:#fff}

@media(max-width:1200px){
  .yana-v3-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .yana-v3-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .yana-v3-featured,.yana-v3-store{padding:20px 14px;border-radius:20px}
  .yana-v3-heading{align-items:flex-start}
  .yana-v3-heading h2,.yana-v3-store__intro h2{font-size:36px}
  .yana-v3-grid--4,.yana-v3-grid--3,.yana-v3-grid--2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .yana-v3-card__body{padding:15px}
  .yana-v3-card__title{font-size:17px}
  .yana-v3-card__buy{grid-template-columns:1fr}
  .yana-v3-cartbar{left:10px;right:10px;bottom:10px;min-width:0}
}
@media(max-width:520px){
  .yana-v3-heading{display:block}
  .yana-v3-heading>a{display:inline-block;margin-top:12px}
  .yana-v3-grid--4,.yana-v3-grid--3,.yana-v3-grid--2{grid-template-columns:1fr}
  .yana-v3-card__image{aspect-ratio:1.18/1}
  .yana-v3-card__buy{grid-template-columns:130px 1fr}
  .yana-v3-cartbar{align-items:flex-end}
  .yana-v3-cartbar__actions{flex-direction:column}
}


/* =========================================================
   V3.1 — spacing and action-control corrections
   ========================================================= */

.yana-v3-card{
  min-width:0;
}

.yana-v3-card__body{
  min-width:0;
}

.yana-v3-card__title{
  overflow-wrap:anywhere;
}

.yana-v3-card__buy{
  display:flex;
  width:100%;
  gap:12px;
  align-items:stretch;
  margin-top:auto;
}

.yana-v3-stepper{
  flex:0 0 138px;
  width:138px;
  min-width:138px;
  display:grid;
  grid-template-columns:42px 54px 42px;
  min-height:50px;
  border:1px solid #dce8de;
  border-radius:15px;
  overflow:hidden;
  background:#f8faf8;
}

.yana-v3-stepper button{
  display:flex;
  width:42px;
  min-width:42px;
  height:50px;
  padding:0!important;
  margin:0!important;
  align-items:center;
  justify-content:center;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#176333!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer;
}

.yana-v3-stepper button:first-child{
  border-right:1px solid #e3ebe4!important;
}

.yana-v3-stepper button:last-child{
  border-left:1px solid #e3ebe4!important;
}

.yana-v3-stepper span{
  display:flex;
  width:54px;
  min-width:54px;
  height:50px;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  font-size:17px;
  font-weight:900;
  line-height:1;
  color:#173b23;
}

.yana-v3-add{
  flex:1 1 auto;
  min-width:0;
  width:auto;
  min-height:50px;
  padding:10px 14px!important;
  white-space:nowrap;
}

.yana-v3-options{
  width:100%;
  min-height:50px;
}

/* 4-column featured cards have less horizontal room:
   stack controls to guarantee zero overlap. */
.yana-v3-featured .yana-v3-grid--4 .yana-v3-card__buy{
  flex-direction:column;
}

.yana-v3-featured .yana-v3-grid--4 .yana-v3-stepper,
.yana-v3-featured .yana-v3-grid--4 .yana-v3-add{
  width:100%;
  flex-basis:auto;
}

.yana-v3-featured .yana-v3-grid--4 .yana-v3-stepper{
  grid-template-columns:50px 1fr 50px;
  min-width:0;
}

.yana-v3-featured .yana-v3-grid--4 .yana-v3-stepper button{
  width:50px;
  min-width:50px;
}

.yana-v3-featured .yana-v3-grid--4 .yana-v3-stepper span{
  width:auto;
  min-width:0;
}

/* Store cards at 3 columns: keep them side-by-side when room exists. */
.yana-v3-store .yana-v3-grid--3 .yana-v3-card__buy{
  flex-wrap:nowrap;
}

/* Better grid breathing */
.yana-v3-grid{
  align-items:stretch;
}

.yana-v3-card__body{
  min-height:310px;
}

.yana-v3-card__pack{
  min-height:20px;
}

/* Ver todo: make it look like a deliberate button */
.yana-v3-heading>a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border:1px solid #cadbcd;
  border-radius:13px;
  background:#fff;
  box-shadow:0 5px 14px rgba(21,71,38,.04);
  white-space:nowrap;
}

.yana-v3-heading>a:hover{
  background:#155b31;
  border-color:#155b31;
  color:#fff;
}

/* If the surrounding Elementor column becomes narrower, stack actions early. */
@media(max-width:1180px){
  .yana-v3-store .yana-v3-card__buy{
    flex-direction:column;
  }

  .yana-v3-store .yana-v3-stepper,
  .yana-v3-store .yana-v3-add{
    width:100%;
    flex-basis:auto;
  }

  .yana-v3-store .yana-v3-stepper{
    grid-template-columns:50px 1fr 50px;
    min-width:0;
  }

  .yana-v3-store .yana-v3-stepper button{
    width:50px;
    min-width:50px;
  }

  .yana-v3-store .yana-v3-stepper span{
    width:auto;
    min-width:0;
  }
}

@media(max-width:720px){
  .yana-v3-card__body{
    min-height:0;
  }

  .yana-v3-card__buy{
    flex-direction:column!important;
  }

  .yana-v3-stepper,
  .yana-v3-add{
    width:100%!important;
    flex-basis:auto!important;
  }

  .yana-v3-stepper{
    grid-template-columns:50px 1fr 50px!important;
    min-width:0!important;
  }

  .yana-v3-stepper button{
    width:50px!important;
    min-width:50px!important;
  }

  .yana-v3-stepper span{
    width:auto!important;
    min-width:0!important;
  }
}

@media(max-width:520px){
  .yana-v3-card__buy{
    grid-template-columns:none!important;
  }
}


/* =========================================================
   V3.2 — [yana_tienda] kiosk-style store
   3 product cards + sticky order summary
   ========================================================= */

.yana-store-kiosk{
  font-family:inherit;
  color:#17211b;
  background:linear-gradient(180deg,#f7faf7 0%,#f3f7f3 100%);
  border:1px solid #e4eee5;
  border-radius:30px;
  padding:26px;
}

.yana-store-kiosk *{
  box-sizing:border-box;
}

.yana-store-kiosk__hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}

.yana-store-kiosk__eyebrow{
  display:block;
  color:#16803c;
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  margin-bottom:8px;
}

.yana-store-kiosk__hero h2{
  margin:0 0 8px;
  font-size:clamp(34px,4vw,48px);
  line-height:1;
  color:#111a14;
  letter-spacing:-.03em;
}

.yana-store-kiosk__hero p{
  margin:0;
  color:#708076;
  font-size:15px;
}

.yana-store-kiosk__summary{
  flex:0 0 270px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
  border-radius:26px;
  background:linear-gradient(135deg,#176f37 0%,#16984a 100%);
  color:#fff;
  box-shadow:0 18px 38px rgba(21,128,61,.22);
}

.yana-store-kiosk__summary-icon{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:rgba(255,255,255,.13);
  font-size:27px;
}

.yana-store-kiosk__summary span{
  display:block;
  font-size:13px;
  opacity:.9;
}

.yana-store-kiosk__summary strong{
  display:block;
  margin:2px 0;
  font-size:29px;
  line-height:1;
}

.yana-store-kiosk__summary small{
  font-size:12px;
  opacity:.88;
}

.yana-store-kiosk__toolbar{
  position:sticky;
  top:10px;
  z-index:20;
  padding:8px 0 18px;
  background:rgba(244,248,244,.96);
  backdrop-filter:blur(12px);
}

.yana-store-kiosk__search{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:60px;
  padding:0 18px;
  border:1px solid #d8e7da;
  border-radius:19px;
  background:#fff;
  box-shadow:0 8px 22px rgba(16,74,33,.04);
}

.yana-store-kiosk__search>span{
  color:#8c998f;
  font-size:25px;
}

.yana-store-kiosk__search input{
  width:100%;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
  font-size:16px;
}

.yana-store-kiosk__filters{
  display:flex;
  gap:9px;
  padding-top:13px;
  overflow-x:auto;
  scrollbar-width:none;
}

.yana-store-kiosk__filters::-webkit-scrollbar{
  display:none;
}

.yana-store-kiosk__filters button{
  flex:0 0 auto;
  padding:11px 17px;
  border:1px solid #d8e7da;
  border-radius:999px;
  background:#fff;
  color:#4d5d51;
  font-weight:800;
  cursor:pointer;
}

.yana-store-kiosk__filters button.is-active,
.yana-store-kiosk__filters button:hover{
  background:#16803c;
  border-color:#16803c;
  color:#fff;
}

.yana-store-kiosk__layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:22px;
  align-items:start;
}

.yana-store-kiosk__products{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.yana-store-product{
  position:relative;
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border:1px solid #d8e7da;
  border-radius:27px;
  background:#fff;
  box-shadow:0 10px 24px rgba(16,74,33,.055);
  transition:.2s ease;
}

.yana-store-product:hover{
  transform:translateY(-3px);
  border-color:#bfd8c4;
  box-shadow:0 18px 42px rgba(16,74,33,.10);
}

.yana-store-product.is-hidden{
  display:none;
}

.yana-store-product__top{
  position:absolute;
  z-index:3;
  top:14px;
  left:14px;
  right:14px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:8px;
}

.yana-store-product__category,
.yana-store-product__badge{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  font-size:11px;
  font-weight:850;
  line-height:1;
}

.yana-store-product__category{
  color:#526055;
  border:1px solid #e4ece5;
  background:rgba(255,255,255,.94);
}

.yana-store-product__badge{
  color:#176333;
  border:1px solid #c9e9d0;
  background:#e9f8ec;
}

.yana-store-product__image{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:1.05/1;
  padding:34px 20px 22px;
  background:
    radial-gradient(circle at top right,rgba(21,128,61,.11),transparent 30%),
    linear-gradient(180deg,#fafcf9 0%,#f0f5f0 100%);
}

.yana-store-product__image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}

.yana-store-product__body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:18px;
}

.yana-store-product__title{
  display:block;
  margin-bottom:7px;
  color:#162119;
  text-decoration:none;
  font-size:20px;
  font-weight:850;
  line-height:1.18;
  overflow-wrap:anywhere;
}

.yana-store-product__title:hover{
  color:#16803c;
}

.yana-store-product__price-label{
  display:block;
  margin-bottom:7px;
  color:#748076;
  font-size:11px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.yana-store-product__price{
  margin-bottom:7px;
  color:#145b31;
  font-size:30px;
  font-weight:900;
  line-height:1;
}

.yana-store-product__price del{
  color:#89958c;
  font-size:14px;
  font-weight:600;
}

.yana-store-product__price ins{
  text-decoration:none;
}

.yana-store-product__pack{
  min-height:20px;
  margin:0 0 15px;
  color:#718076;
  font-size:14px;
}

.yana-store-product__stepper{
  display:grid;
  grid-template-columns:54px 1fr 54px;
  min-height:54px;
  margin-top:auto;
  overflow:hidden;
  border:1px solid #d8e7da;
  border-radius:17px;
  background:#f8faf8;
}

.yana-store-product__stepper button{
  width:54px;
  min-width:54px;
  height:54px;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:#eef6ef!important;
  color:#176333!important;
  font-size:26px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer;
  box-shadow:none!important;
}

.yana-store-product__stepper button:last-child{
  background:#16803c!important;
  color:#fff!important;
}

.yana-store-product__stepper span{
  display:flex;
  min-width:0;
  align-items:center;
  justify-content:center;
  color:#152019;
  font-size:22px;
  font-weight:900;
}

.yana-store-product__options,
.yana-store-product__soldout{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  margin-top:auto;
  border-radius:17px;
  font-weight:850;
}

.yana-store-product__options{
  background:#176333;
  color:#fff!important;
  text-decoration:none;
}

.yana-store-product__soldout{
  background:#f0f3f0;
  color:#758078;
}

.yana-store-order{
  position:sticky;
  top:155px;
  max-height:calc(100vh - 180px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border:1px solid #d8e7da;
  border-radius:28px;
  background:#fff;
  box-shadow:0 20px 48px rgba(16,74,33,.10);
}

.yana-store-order__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:20px;
  border-bottom:1px solid #e8f0e9;
}

.yana-store-order__header span{
  display:block;
  margin-bottom:4px;
  font-size:25px;
  font-weight:900;
  line-height:1;
}

.yana-store-order__header strong{
  color:#748077;
  font-size:13px;
}

.yana-store-order__header button{
  padding:11px 14px;
  border:1px solid #deebdf;
  border-radius:14px;
  background:#f7faf7;
  color:#16803c;
  font-weight:850;
  cursor:pointer;
}

.yana-store-order__empty{
  padding:38px 20px;
  text-align:center;
  color:#748077;
}

.yana-store-order__empty>div{
  width:74px;
  height:74px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  background:#f0f6f1;
  font-size:34px;
}

.yana-store-order__empty strong{
  display:block;
  margin-bottom:6px;
  color:#17211b;
  font-size:21px;
}

.yana-store-order__empty span{
  font-size:13px;
}

.yana-store-order__items{
  overflow:auto;
  padding:0 20px;
}

.yana-store-order-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  padding:15px 0;
  border-bottom:1px dashed #e3ebe4;
}

.yana-store-order-item__name{
  color:#17211b;
  font-size:14px;
  font-weight:850;
  line-height:1.25;
}

.yana-store-order-item__meta{
  margin-top:4px;
  color:#748077;
  font-size:12px;
}

.yana-store-order-item__price{
  white-space:nowrap;
  color:#145b31;
  font-size:14px;
  font-weight:900;
}

.yana-store-order__footer{
  margin-top:auto;
  padding:20px;
  border-top:1px solid #e8f0e9;
  background:linear-gradient(180deg,#fff 0%,#f8fbf8 100%);
}

.yana-store-order__total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.yana-store-order__total span{
  font-size:19px;
  font-weight:850;
}

.yana-store-order__total strong{
  color:#145b31;
  font-size:31px;
  line-height:1;
}

.yana-store-order__footer small{
  display:block;
  margin-bottom:15px;
  color:#748077;
  font-size:13px;
  line-height:1.45;
}

.yana-store-order__footer>button{
  width:100%;
  min-height:56px;
  border:0;
  border-radius:17px;
  background:linear-gradient(135deg,#15803d 0%,#16a34a 100%);
  color:#fff;
  font-size:17px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 14px 26px rgba(21,128,61,.20);
}

.yana-store-order__footer>button:disabled{
  opacity:.43;
  cursor:not-allowed;
  box-shadow:none;
}

.yana-store-order__status{
  min-height:18px;
  margin-top:8px;
  text-align:center;
  color:#748077;
  font-size:12px;
}

.yana-store-mobilebar,
.yana-store-overlay{
  display:none;
}

@media(max-width:1200px){
  .yana-store-kiosk__layout{
    grid-template-columns:minmax(0,1fr) 320px;
  }

  .yana-store-kiosk__products{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:850px){
  .yana-store-kiosk{
    padding:16px 14px 96px;
    border-radius:20px;
  }

  .yana-store-kiosk__hero{
    flex-direction:column;
  }

  .yana-store-kiosk__summary{
    width:100%;
    flex-basis:auto;
  }

  .yana-store-kiosk__layout{
    display:block;
  }

  .yana-store-kiosk__products{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .yana-store-order{
    position:fixed;
    z-index:99998;
    left:12px;
    right:12px;
    bottom:12px;
    top:auto;
    max-height:76vh;
    transform:translateY(calc(100% + 30px));
    transition:.25s ease;
  }

  .yana-store-kiosk.is-order-open .yana-store-order{
    transform:translateY(0);
  }

  .yana-store-mobilebar{
    position:fixed;
    z-index:99996;
    left:10px;
    right:10px;
    bottom:10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 14px;
    border:1px solid #d8e7da;
    border-radius:20px;
    background:#fff;
    box-shadow:0 16px 40px rgba(0,0,0,.16);
  }

  .yana-store-mobilebar span{
    display:block;
    color:#748077;
    font-size:11px;
  }

  .yana-store-mobilebar strong{
    display:block;
    color:#145b31;
    font-size:20px;
  }

  .yana-store-mobilebar button{
    padding:13px 16px;
    border:0;
    border-radius:15px;
    background:#16803c;
    color:#fff;
    font-weight:850;
  }

  .yana-store-overlay{
    position:fixed;
    z-index:99997;
    inset:0;
    background:rgba(0,0,0,.34);
  }

  .yana-store-kiosk.is-order-open .yana-store-overlay{
    display:block;
  }
}

@media(max-width:560px){
  .yana-store-kiosk__products{
    grid-template-columns:1fr;
  }

  .yana-store-product__image{
    aspect-ratio:1.15/1;
  }
}


/* =========================================================
   V3.3 — Native WooCommerce Shop / Category archive cards
   ========================================================= */

/* Replace theme float layout with the approved Yana card grid. */
body.woocommerce-shop ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products,
body[class*="tax-pa_"] ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:20px!important;
  clear:both!important;
}

body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after,
body[class*="tax-pa_"] ul.products::before,
body[class*="tax-pa_"] ul.products::after{
  display:none!important;
}

body.woocommerce-shop ul.products li.product.yana-v3-native-product,
body.tax-product_cat ul.products li.product.yana-v3-native-product,
body.tax-product_tag ul.products li.product.yana-v3-native-product,
body[class*="tax-pa_"] ul.products li.product.yana-v3-native-product{
  float:none!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

.yana-v3-card--archive{
  height:100%;
}

.yana-v3-card--archive .yana-v3-card__body{
  min-height:325px;
}

.yana-v3-card--archive .yana-v3-card__image{
  aspect-ratio:1.05/1;
}

/* Native archive uses the horizontal controls on wide screens. */
.yana-v3-card--archive .yana-v3-card__buy{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  width:100%!important;
}

.yana-v3-card--archive .yana-v3-stepper,
.yana-v3-card--archive .yana-v3-add{
  width:100%!important;
  min-width:0!important;
  flex-basis:auto!important;
}

.yana-v3-card--archive .yana-v3-stepper{
  grid-template-columns:50px 1fr 50px!important;
}

.yana-v3-card--archive .yana-v3-stepper button{
  width:50px!important;
  min-width:50px!important;
}

.yana-v3-card--archive .yana-v3-stepper span{
  width:auto!important;
  min-width:0!important;
}

/* Keep WooCommerce archive controls, but visually align them with Yana. */
body.woocommerce-shop .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count,
body[class*="tax-pa_"] .woocommerce-result-count{
  color:#66756b;
  font-size:14px;
}

body.woocommerce-shop .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select,
body[class*="tax-pa_"] .woocommerce-ordering select{
  min-height:44px;
  padding:8px 38px 8px 14px;
  border:1px solid #d8e7da;
  border-radius:13px;
  background:#fff;
  color:#526055;
}

/* Floating cart bar on native WooCommerce archives. */
.yana-v3-archive-cartbar-wrap .yana-v3-cartbar{
  display:flex;
}

@media(max-width:1250px){
  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body[class*="tax-pa_"] ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:900px){
  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body[class*="tax-pa_"] ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:560px){
  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body[class*="tax-pa_"] ul.products{
    grid-template-columns:1fr!important;
  }

  .yana-v3-card--archive .yana-v3-card__body{
    min-height:0;
  }
}


/* =========================================================
   YANA COMMERCE v6.1 — quitar producto individual de Tu pedido
   ========================================================= */
.yana-store-order-item__content{min-width:0;}
.yana-store-order-item__side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:7px;
}
.yana-store-order-item__remove{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-height:0!important;
  padding:3px 0!important;
  border:0!important;
  background:transparent!important;
  color:#7a877e!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.2!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.yana-store-order-item__remove span{
  font-size:16px;
  line-height:1;
}
.yana-store-order-item__remove:hover{
  color:#b43c32!important;
  background:transparent!important;
}


/* =========================================================
   v6.3 — MINI CARRITO DEL HEADER
   ========================================================= */
#yana-store-header .yana-actions{
    overflow:visible!important;
}

#yana-store-header .yana-header-cart-wrap{
    position:relative;
    display:flex;
    align-items:center;
    overflow:visible;
}

#yana-store-header .yana-header-minicart{
    position:absolute;
    top:calc(100% + 12px);
    right:-4px;
    width:390px;
    max-width:calc(100vw - 24px);
    padding:0;
    overflow:hidden;
    border:1px solid #dfe7df;
    border-radius:16px;
    background:#fff;
    box-shadow:0 20px 55px rgba(19,57,37,.18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(8px);
    transition:
        opacity .16s ease,
        transform .16s ease,
        visibility .16s ease;
    z-index:100000;
}

#yana-store-header .yana-header-minicart::before{
    content:"";
    position:absolute;
    top:-12px;
    right:18px;
    width:44px;
    height:14px;
}

#yana-store-header .yana-header-cart-wrap.is-open .yana-header-minicart{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
}

#yana-store-header .yana-header-minicart__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:16px 17px 13px;
    border-bottom:1px solid #e8ede8;
}

#yana-store-header .yana-header-minicart__head span,
#yana-store-header .yana-header-minicart__head strong{
    display:block;
}

#yana-store-header .yana-header-minicart__head span{
    color:#6f7e74;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.06em;
}

#yana-store-header .yana-header-minicart__head strong{
    margin-top:2px;
    color:#173d29;
    font-size:15px;
    line-height:1.2;
}

#yana-store-header .yana-header-minicart__head>a{
    color:#258344!important;
    text-decoration:none!important;
    font-size:11px;
    font-weight:900;
}

#yana-store-header .yana-header-minicart__body{
    max-height:360px;
    overflow:auto;
    padding:5px 14px;
}

#yana-store-header .yana-header-minicart__loading,
#yana-store-header .yana-header-minicart__empty{
    padding:28px 12px;
    text-align:center;
    color:#718078;
    font-size:11px;
}

#yana-store-header .yana-header-minicart__empty strong,
#yana-store-header .yana-header-minicart__empty span{
    display:block;
}

#yana-store-header .yana-header-minicart__empty strong{
    color:#294835;
    font-size:13px;
}

#yana-store-header .yana-header-minicart__empty span{
    margin-top:4px;
}

#yana-store-header .yana-header-minicart__item{
    display:grid!important;
    grid-template-columns:55px minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    padding:10px 2px!important;
    border-bottom:1px solid #edf1ed;
    color:inherit!important;
    text-decoration:none!important;
}

#yana-store-header .yana-header-minicart__item:last-child{
    border-bottom:0;
}

#yana-store-header .yana-header-minicart__image{
    width:55px;
    height:55px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:10px;
    background:#f5f7f3;
}

#yana-store-header .yana-header-minicart__image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
}

#yana-store-header .yana-header-minicart__copy{
    min-width:0;
}

#yana-store-header .yana-header-minicart__copy strong,
#yana-store-header .yana-header-minicart__copy small{
    display:block;
}

#yana-store-header .yana-header-minicart__copy strong{
    overflow:hidden;
    color:#213f2c;
    font-size:11px;
    line-height:1.3;
    font-weight:900;
    text-overflow:ellipsis;
    white-space:nowrap;
}

#yana-store-header .yana-header-minicart__copy small{
    margin-top:4px;
    color:#7a867e;
    font-size:9px;
    line-height:1.25;
}

#yana-store-header .yana-header-minicart__price{
    color:#183d29;
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
}

#yana-store-header .yana-header-minicart__more{
    padding:10px 2px;
    text-align:center;
    color:#718078;
    font-size:10px;
    font-weight:800;
}

#yana-store-header .yana-header-minicart__foot{
    display:block;
    padding:14px 16px 16px;
    border-top:1px solid #e5ebe5;
    background:#fafbfa;
}

#yana-store-header .yana-header-minicart__foot>div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:11px;
}

#yana-store-header .yana-header-minicart__foot span{
    color:#68776d;
    font-size:11px;
    font-weight:800;
}

#yana-store-header .yana-header-minicart__foot strong{
    color:#168733;
    font-size:18px;
    font-weight:900;
}

#yana-store-header .yana-header-minicart__checkout{
    width:100%;
    min-height:42px;
    display:flex!important;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    background:#174d32!important;
    color:#fff!important;
    text-decoration:none!important;
    font-size:11px;
    font-weight:900;
}

#yana-store-header .yana-header-minicart__foot.is-empty{
    display:none;
}

@media(max-width:720px){
    /*
     * En móvil no usamos hover. El icono conserva su comportamiento normal:
     * tocarlo abre /carrito/.
     */
    #yana-store-header .yana-header-minicart{
        display:none!important;
    }
}
