﻿/* =========================
   FlowerLine — main styles (cleaned)
   Premium pastel glass + unified buttons
   ========================= */

:root{
  --bg:#f4efe7;
  --text:#2b2b2b;
  --muted:#6f6a64;

  /* Accent */
  --accent:#b77a7a;
  --accent2:#a56969;

  /* Primary (Buy) */
  --buy1:#d27a82;
  --buy2:#b95d65;

  /* Vanilla / luxury */
  --vanilla1:#f7efe5;
  --vanilla2:#efe2d3;
  --vanilla3:#e5d3bf;
  --luxury-text:#8a7770;

  /* Glass */
  --glass:rgba(255,255,255,.58);
  --glass2:rgba(255,255,255,.42);
  --glass-border:rgba(255,255,255,.62);
  --blur:14px;

  --shadow:0 12px 30px rgba(20,20,20,.08);
  --shadow2:0 18px 46px rgba(20,20,20,.10);
  --shadowHover:0 26px 70px rgba(20,20,20,.14);

  --r:18px;
  --r2:22px;

  /* Floating cart */
  --container-w:1320px;
  --cart-size:200px;
}

/* Reset */
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
html{
  min-height:100%;
  background:var(--bg);
}
img{max-width:100%;display:block;}
a{color:inherit;}
button,input,select,textarea{font:inherit;}

button{
  appearance:none;
  -webkit-appearance:none;
  background-clip:padding-box;
}

/* Page */
body{
  min-height:100%;
  width:100%;
  background:var(--bg);
  color:var(--text);
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial;
  line-height:1.35;
  font-weight:400;
}

body.home-page{
  line-height:0;
}

body.home-page > .site-header,
body.home-page > .promo-ticket,
body.home-page > .page,
body.home-page > .floating-cart,
body.home-page > .pmodal{
  line-height:1.35;
}

/* Container */
.container{width:min(1320px,calc(100% - 24px));margin:0 auto;}

.page{
  background:var(--bg);
}

/* Glass helper */
.glass{
  background:var(--glass);
  backdrop-filter:blur(var(--blur));
  -webkit-backdrop-filter:blur(var(--blur));
  border:1px solid var(--glass-border);
  box-shadow:var(--shadow);
}

/* =========================
   Buttons (unified)
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  height:42px;
  padding:0 26px;
  border-radius:12px;

  font-family:"Playfair Display",Georgia,serif;
  font-weight:600;
  font-size:17px;
  letter-spacing:.1px;

  text-decoration:none;
  cursor:pointer;
  user-select:none;

  color:#fff;
  border:1px solid rgba(186,110,118,.35);
  background:linear-gradient(180deg,var(--buy1) 0%,var(--buy2) 100%);
  box-shadow:
    0 10px 22px rgba(185,93,101,.18),
    0 4px 10px rgba(0,0,0,.06);

  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change:transform;
}
.btn:hover{
  transform:translateY(-3px);
  box-shadow:
    0 14px 24px rgba(185,93,101,.22),
    0 6px 12px rgba(0,0,0,.08);
  filter:saturate(1.02);
}
.btn:active{transform:translateY(0) scale(.99);}
.btn--full{width:100%;}

.btn--ghost{
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial;
  font-weight:700;
  font-size:14px;
  color:rgba(43,43,43,.88);
  background:rgba(255,255,255,.80);
  border:1px solid rgba(0,0,0,.10);
  box-shadow:0 10px 24px rgba(20,20,20,.08);
}
.btn--ghost:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(20,20,20,.12);
}

.hero__text .btn--primary,
.cart-page .cart-empty .btn--filter{
  height:42px;
  min-width:112px;
  padding:0 22px;
  border-radius:10px;
  border:1px solid rgba(126,105,100,.10);
  background:linear-gradient(180deg,rgba(241,226,216,.94),rgba(231,211,198,.94));
  color:#7b625b;
  box-shadow:none;
  filter:none;
  font-family:"Playfair Display",Georgia,serif;
  font-size:17px;
  font-weight:600;
  letter-spacing:0;
  transform:none;
  will-change:auto;
}

.hero__text .btn--primary:hover,
.cart-page .cart-empty .btn--filter:hover{
  background:linear-gradient(180deg,rgba(246,235,226,.98),rgba(235,218,206,.98));
  border-color:rgba(126,105,100,.16);
  box-shadow:none;
  filter:none;
  transform:translateY(-1px);
}

.hero__text .btn--primary:active,
.cart-page .cart-empty .btn--filter:active{
  transform:translateY(0);
}

.btn--cart{
  width:48px;min-width:48px;
  height:42px;padding:0;
  border-radius:999px;

  background:#fff;
  border:1px solid rgba(223,206,187,.95);
  color:#fff;
  box-shadow:
    0 10px 18px rgba(116,95,79,.10),
    0 4px 10px rgba(0,0,0,.05);
  transition:transform .18s ease, box-shadow .18s ease, background-color .12s ease, filter .18s ease;
}
.btn--cart:hover{
  transform:translateY(-3px);
  box-shadow:
    0 14px 22px rgba(116,95,79,.14),
    0 6px 12px rgba(0,0,0,.07);
  filter:saturate(1.02);
}
.btn--cart:active{
  transform:translateY(0) scale(.99);
}

.btn__icon{
  width:20px;
  height:20px;
  object-fit:contain;
  display:block;
}

.btn--cart .btn__icon{
  filter:brightness(0) saturate(100%) invert(51%) sepia(8%) saturate(733%) hue-rotate(331deg) brightness(88%) contrast(86%);
}

/* cart/checkout vanilla buttons */
.cart-head .btn,
.cart-summary .btn,
.checkout-actions .btn{
  color:var(--luxury-text);
  border:1px solid rgba(223,206,187,.95);
  background:linear-gradient(180deg,var(--vanilla1) 0%,var(--vanilla2) 100%);
  box-shadow:
    0 10px 18px rgba(116,95,79,.10),
    0 4px 10px rgba(0,0,0,.05);
  text-shadow:none;
}
.cart-head .btn:hover,
.cart-summary .btn:hover,
.checkout-actions .btn:hover{
  box-shadow:
    0 14px 22px rgba(116,95,79,.14),
    0 6px 12px rgba(0,0,0,.07);
}

/* also promo apply button */
.cart-promo__apply.btn{
  color:var(--luxury-text);
  border:1px solid rgba(223,206,187,.95);
  background:linear-gradient(180deg,var(--vanilla1) 0%,var(--vanilla2) 100%);
  box-shadow:
    0 10px 18px rgba(116,95,79,.10),
    0 4px 10px rgba(0,0,0,.05);
}

.btn:focus-visible,
.btn--cart:focus-visible,
.cart-wheel__card-btn:focus-visible,
.catalog-addon-card__iconbtn:focus-visible,
.cart-suggestion-card__btn:focus-visible,
.cart-item__remove:focus-visible,
.qty__btn:focus-visible,
.cart-wheel__arrow:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(185,93,101,.18);
}

/* =========================
   Header (center logo)
   ========================= */


















/* =========================
   Hero
   ========================= */
.hero{
  position:relative;
  height:clamp(280px,44vw,560px);
  margin-top:-10px;
  overflow:hidden;
  background:#e9e2da;
}
.hero__bg{
  position:absolute;
  left:0;
  right:0;
  top:-64px;
  bottom:0;
  background-image:
    linear-gradient(90deg,rgba(244,239,231,.92) 0%,rgba(244,239,231,.70) 42%,rgba(244,239,231,.10) 72%),
    url("../images/hero.jpg");
  background-position:center, center 44%;
  background-size:auto, cover;
  background-repeat:no-repeat;
}
.hero__content{position:relative;height:100%;display:flex;align-items:center;}
.hero__text{max-width:560px;}
.hero__text h1{
  color: rgba(111,93,90,.92);
  font-family:"Playfair Display",Georgia,serif;
  font-weight:500;margin:0 0 10px;
  font-size:clamp(30px,4vw,58px);
}
.hero__text p{margin:0 0 18px;color:var(--muted);font-size:clamp(14px,1.7vw,18px);font-weight:300;}

/* =========================
   Catalog
   ========================= */
.catalog{padding:20px 0 70px;animation:catalogIn .35s ease;}
@keyframes catalogIn{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}

.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}

/* Product card */
.card{
  background:rgba(255,255,255,.82);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border:1px solid rgba(222,208,198,.72);
  border-radius:22px;
  box-shadow:0 12px 26px rgba(80,62,52,.08);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change:transform;
}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(80,62,52,.11);border-color:rgba(222,208,198,.9);}

.card__media{
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
  background:rgba(255,255,255,.25);
}
.card__favorite{
  position:absolute;
  top:14px;
  right:14px;
  z-index:3;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(209,121,136,.38);
  background:rgba(255,255,255,.72);
  color:#ca7988;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(95,75,65,.10);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.card__favorite:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.88);
  box-shadow:0 16px 30px rgba(95,75,65,.14);
}
.card__favorite svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.card__favorite.is-active{
  background:#fff;
  color:#ca7988;
}
.card__favorite.is-active svg{
  fill:currentColor;
}
.card__favorite:disabled{
  opacity:.7;
  cursor:wait;
}
.card__media img{width:100%;height:100%;object-fit:cover;transition:transform .22s ease;}
.card:hover .card__media img{transform:none;}

.card__popular-badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  width:22px;
  height:28px;
  min-height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  color:transparent;
  font-size:0;
  line-height:0;
}
.card__popular-badge::before{
  content:"";
  display:block;
  width:22px;
  height:28px;
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32' fill='none'><path d='M14.5 1C15.1 6.2 20 9.1 20 14.6C20 20.7 15.5 25 10.3 25C5.3 25 1 20.8 1 15.5C1 10.5 4.7 7.2 7.7 4.3C8 7.8 10.2 9.4 12 10.4C12.6 7.1 13.8 4.4 14.5 1Z' fill='%23d58f54'/><path d='M11.3 13.2C11.7 15.8 15 17.2 15 20C15 22.9 12.9 25 10.2 25C7.7 25 5.5 22.9 5.5 20.2C5.5 17.8 7.3 16.2 8.7 14.8C8.9 16.6 10 17.4 10.8 17.9C11.1 16.2 11.1 14.6 11.3 13.2Z' fill='%23f5c36c'/></svg>");
  filter:drop-shadow(0 6px 10px rgba(213,143,84,.18));
}

.card__body{
  padding:5px 0px 10px;
  display:flex;
  flex-direction:column;
  text-align:center;
}
.card__title{
  margin:10px;
  font-size:16px;
  font-weight:700;
  position:relative;
}
.card__title::after{
  content:"";
  display:block;
  width:110px;height:1px;
  margin:10px auto -20px;
  background:rgba(0,0,0,.18);
}
.card__desc{
  font-size:13px;
  color:var(--muted);
  line-height:1.4;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:calc(1.4em * 2);
}
.card__pricebox{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:8px;
  min-height:44px;
}
.card__pricebox--discount{
  justify-content:space-between;
  padding:0 18px;
}
.card__pricegroup{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
}
.card__price{
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.card__price--old{
  font-size:13px;
  color:rgba(43,43,43,.45);
  text-decoration:line-through;
  font-weight:600;
}
.card__price--sale{
  font-size:20px;
  color:#c2465d;
}
.card__discount{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:60px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(194,70,93,.12);
  color:#c2465d;
  font-size:14px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(194,70,93,.08);
}

.card__btnrow{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top:auto;
  padding-top:10px;
}

/* =========================
   Floating cart
   Desktop: always visible
   Mobile: appears only after add (.is-visible)
   ========================= */
.floating-cart{
  position:fixed;
  top:720px;
  right:22px;
  z-index:45000;
  width:var(--cart-size);
  height:var(--cart-size);
  background:transparent;
  border:0;
  box-shadow:none;

  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;

  transform-origin:center;
  transition:transform .18s ease, filter .18s ease, opacity .25s ease;
  opacity:1;
  visibility:visible;

  filter:drop-shadow(0 12px 16px rgba(36,27,24,.14));
}
.floating-cart:hover{
  transform:translateY(-2px);
  filter:drop-shadow(0 14px 18px rgba(36,27,24,.16));
}
.floating-cart:active{
  transform:translateY(1px) scale(.98);
  filter:drop-shadow(0 10px 14px rgba(36,27,24,.14)) brightness(.96);
}

.floating-cart__icon{width:200px;height:200px;object-fit:contain;display:block;transform:translateZ(0);}

/* badges */
.floating-cart__count{
  position:absolute;
  right:40px;top:40px;
  min-width:34px;height:34px;
  padding:0 10px;
  border-radius:999px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:linear-gradient(180deg,var(--buy1) 0%,var(--buy2) 100%);
  border:0;
  color:#fff;
  font-size:14px;
  font-weight:900;

  box-shadow:0 5px 10px rgba(111,58,64,.18);
  text-shadow:none;
}
.floating-cart__sum{
  position:absolute;
  left:50%;
  top:calc(100% - 60px);
  transform:translateX(-50%);
  white-space:nowrap;

  background:linear-gradient(180deg,var(--buy1) 0%,var(--buy2) 100%);
  border:0;
  color:#fff;
  font-size:14px;
  font-weight:900;
  padding:10px 14px;
  border-radius:14px;

  box-shadow:0 7px 12px rgba(111,58,64,.18);
  text-shadow:none;
}

.floating-cart.is-bump{animation:cartBump .45s ease;}
@keyframes cartBump{
  0%{transform:translateY(0) scale(1);}
  25%{transform:translateY(-2px) scale(1.05);}
  55%{transform:translateY(0) scale(.98);}
  100%{transform:translateY(0) scale(1);}
}
.floating-cart__count.is-pop{animation:badgePop .35s ease;}
@keyframes badgePop{0%{transform:scale(1);}40%{transform:scale(1.25);}100%{transform:scale(1);}}
.floating-cart__sum.is-drop{animation:sumDrop .28s ease;}
@keyframes sumDrop{from{opacity:.6;transform:translateX(-50%) translateY(-10px);}to{opacity:1;transform:translateX(-50%) translateY(0);}}

/* mobile behaviour */
@media (max-width:520px){
  .floating-cart{
    top:auto;
    bottom:14px;
    right:14px;
    width:120px;height:120px;

    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:scale(.92);
  }
  .floating-cart.is-visible{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:scale(1);
  }
  .floating-cart__icon{width:120px;height:120px;}
  .floating-cart__count{
    right:18px;top:18px;
    min-width:26px;height:26px;
    font-size:12px;
  }
  .floating-cart__sum{
    top:calc(100% - 40px);
    font-size:12px;
    padding:6px 10px;
  }

  .cart-promo{
    padding:10px;
    border-radius:16px;
  }

  .cart-promo__input{
    height:42px;
  }

  .cart-promo__apply{
    height:42px;
    font-size:16px;
  }
}

/* =========================
   Cart page (glass)
   ========================= */
.cart-page{padding:28px 0 70px;position:relative;min-height:100vh;}
.cart-page::before{
  content:"";
  position:fixed;inset:0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.68),rgba(246,239,231,.84)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132' viewBox='0 0 132 132'%3E%3Cg fill='none' stroke='%23c9966e' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' opacity='.95'%3E%3Cpath d='M66 0 132 66 66 132 0 66Z'/%3E%3Cpath d='M66 14 118 66 66 118 14 66Z' opacity='.72'/%3E%3Cpath d='M0 66 66 0 132 66' opacity='.46'/%3E%3Cpath d='M0 66 66 132 132 66' opacity='.38'/%3E%3Cpath d='M66 28 104 66 66 104 28 66Z' opacity='.28'/%3E%3Cpath d='M66 56 70 66 66 76 62 66Z' opacity='.9'/%3E%3Cpath d='M56 66 66 62 76 66 66 70Z' opacity='.9'/%3E%3C/g%3E%3C/svg%3E") repeat;
  background-size:auto,132px 132px;
  background-position:center top,center top;
  opacity:1;
  pointer-events:none;
  z-index:0;
}
.cart-page>.container{position:relative;z-index:1;}

.cart-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:10px 0 18px;
}
/* Cart styles moved to cart.css */

/* =========================
   Contact / Map block
   ========================= */
.contact-section{
  position:relative;
  padding:100px 0 0;
  overflow:hidden;
  border:0;
  outline:0;
  background:var(--bg);
  margin-top:-1px;
  margin-bottom:0;
  box-shadow:none;
}
.contact-section::before{
  display:none;
}
.contact-section .flora-left{
  position:absolute;left:-170px;bottom:-180px;
  width:52vw;max-width:150%;height:150%;
  background:url("../images/downleft.png") left bottom/contain no-repeat;
  opacity:.82;pointer-events:none;z-index:4;
}
.contact-section .flora-right{
  position:absolute;right:-180px;bottom:-180px;
  width:62vw;max-width:190%;height:170%;
  background:url("../images/downright.png") right bottom/contain no-repeat;
  opacity:.82;pointer-events:none;z-index:4;
}
.contact-section .container{position:relative;z-index:2;}

.contact-card{
  background:var(--glass);
  backdrop-filter:blur(var(--blur));
  -webkit-backdrop-filter:blur(var(--blur));
  border:1px solid var(--glass-border);
  border-radius:26px;
  box-shadow:var(--shadow2);
  padding:18px;

  display:grid;
  grid-template-columns:1.25fr .95fr .8fr;
  gap:18px;
  position:relative;
  z-index:2;
}

.contact-map{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.35);
  display:flex;
  flex-direction:column;
  min-height:280px;
}
.contact-map iframe,
.contact-map__canvas{
  width:100%;
  height:100%;
  min-height:240px;
  border:0;
  display:block;
}
.contact-map__canvas{
  position:relative;
  overflow:hidden;
}
.contact-map__fallback{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  text-align:center;
  color:rgba(43,43,43,.62);
  background:rgba(255,255,255,.42);
}
.contact-map__link{
  display:block;
  text-align:center;
  padding:12px 10px;
  color:rgba(43,43,43,.72);
  text-decoration:none;
  border-top:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.45);
}
.contact-map__link:hover{text-decoration:underline;}

.contact-info{padding:6px 6px 6px 10px;}
.contact-socials{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap;}
.social-btn{
  width:60px;height:30px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.58);
  color:rgba(43,43,43,.85);
  transition:transform .18s ease, filter .18s ease, background .18s ease;
}
.social-btn:hover{transform:translateY(-2px);filter:brightness(1.03);background:rgba(255,255,255,.78);}
.social-btn:active{transform:translateY(0) scale(.98);}
.social-btn svg{width:18px;height:18px;display:block;}

.contact-lines{display:flex;flex-direction:column;gap:14px;}
.contact-line{display:flex;gap:12px;align-items:flex-start;}
.contact-ico{
  width:38px;height:38px;border-radius:999px;
  background:rgba(183,122,122,.14);
  color:#8f3434;
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;
}
.contact-ico svg{width:20px;height:20px;display:block;}
.contact-label{font-size:12px;color:rgba(43,43,43,.55);margin-bottom:2px;}
.contact-text{font-size:16px;color:rgba(43,43,43,.92);}

.contact-hours{
  padding:10px 10px 10px 8px;
  border-left:1px solid rgba(0,0,0,.08);
}
.contact-hours h3{
  margin:0 0 14px;
  font-family:"Playfair Display",ui-serif,Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:28px;
  color:rgba(43,43,43,.92);
}
.hours-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:6px 11px;
  margin:0 0 2px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:999px;
  background:rgba(255,255,255,.50);
  color:rgba(43,43,43,.76);
  font-size:14px;
  font-weight:500;
}
.hours-status__lamp{
  width:9px;
  height:9px;
  border-radius:999px;
  background:#b54a4a;
  box-shadow:0 0 0 4px rgba(181,74,74,.13), 0 0 12px rgba(181,74,74,.45);
  flex:0 0 auto;
}
.hours-status.is-open .hours-status__lamp{
  background:#3ca35b;
  box-shadow:0 0 0 4px rgba(60,163,91,.14), 0 0 12px rgba(60,163,91,.45);
}
.hours-status.is-closed .hours-status__lamp{
  background:#b54a4a;
  box-shadow:0 0 0 4px rgba(181,74,74,.13), 0 0 12px rgba(181,74,74,.45);
}
.hours-row{padding:12px 0;}
.hours-row + .hours-row{border-top:1px solid rgba(0,0,0,.08);}
.hours-day{font-weight:500;color:rgba(43,43,43,.78);}
.hours-time{margin-top:6px;color:rgba(43,43,43,.62);}

/* Contact: mobile order fix */
@media (max-width:768px){
  .contact-card{display:flex;flex-direction:column;gap:16px;padding:16px;}
  .contact-map{order:1;min-height:auto;}
  .contact-info{order:2;padding:0;}
  .contact-hours{
    order:3;
    border-left:0;
    border-top:1px solid rgba(0,0,0,.08);
    padding:14px 0 0;
  }
  .contact-map iframe{height:220px;min-height:220px;}
  .contact-hours h3{font-size:24px;margin-bottom:12px;}
  .hours-row{padding:10px 0;}
}
@media (max-width:420px){
  .contact-map iframe{height:200px;min-height:200px;}
}

/* =========================
   Footer strip
   ========================= */
.footer-strip__inner{
  position:relative;
  z-index:3;
  height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--bg);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border:0;
  outline:0;
  box-shadow:none;
  margin-top:0;
  margin-bottom:0;
  padding-bottom:0;
}
.footer-strip__inner--center{justify-content:center;}
.footer-brandline{
  width:min(980px,100%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
}
.footer-brandline__line{
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(126,105,100,.22), transparent);
  flex:1;
}
.footer-logo-text{
  font-family:"Playfair Display", Georgia, serif;
  font-size:clamp(30px, 3vw, 42px);
  font-weight:500;
  line-height:1;
  letter-spacing:.4px;
  color:#7d6b66;
  text-decoration:none;
  opacity:.98;
  white-space:nowrap;
}
.footer-logo-text:hover{
  color:#6f5d5a;
}

/* =========================
   Responsive (catalog)
   ========================= */
@media (max-width:1200px){.grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:720px){.grid{grid-template-columns:repeat(2,1fr);}}

/* =========================
   Contact email link
   ========================= */
.contact-mail{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.2);
  transition:opacity .15s ease;
}
.contact-mail:hover{opacity:.75;}

/* =========================
   Mobile: 12 items + Show more
   ========================= */
.catalog-more{display:none;margin-top:18px;text-align:center;justify-content:center;}
@media (max-width:520px){
  .catalog-more{display:flex;}
  .grid .card.is-paged-hidden{display:none !important;}
}

/* "Показать ещё" — centered luxury pill */
.catalog-more .catalog-more__btn{
  width:78% !important;
  max-width:340px !important;
  height:48px !important;

  border-radius:999px !important;
  background:linear-gradient(180deg,#ffffff 0%,#f4f1ec 100%) !important;
  border:1px solid rgba(0,0,0,.08) !important;

  color:#1c1c1c !important;
  font-weight:600 !important;
  letter-spacing:.3px !important;

  box-shadow:
    0 12px 24px rgba(0,0,0,.08),
    0 4px 10px rgba(0,0,0,.05) !important;

  text-shadow:none !important;
  transition:transform .18s ease, box-shadow .18s ease !important;
}
.catalog-more .catalog-more__btn:hover{transform:translateY(-3px);}
.catalog-more .catalog-more__btn:active{
  transform:translateY(0) scale(.99);
  background:linear-gradient(180deg,#f1ede7 0%,#ffffff 100%) !important;
}

/* =========================
   Filters UI small fixes
   ========================= */
filters__panel{
  overflow: visible;
}

/* === FIX: красивый "мягкий" шэдоу без квадратов === */
.filters__item--button .btn{
  border-radius: 999px;
  box-shadow: none !important;
  filter: drop-shadow(0 10px 18px rgba(20,20,20,.14));
}

/* Hover — чуть сильнее */
.filters__item--button .btn:hover{
  filter: drop-shadow(0 14px 24px rgba(20,20,20,.18));
}

/* =========================
   Checkout (uses cart-page bg)
   ========================= */

.checkout-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) 400px;
  gap: 18px;
  align-items:start;
}

.checkout-layout > *{
  min-width:0;
}

.checkout-card{
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 22px;
  box-shadow: var(--shadow2);
  backdrop-filter: blur(12px);
  padding: 18px;
}

.checkout-form{ display:flex; flex-direction:column; gap: 14px; }

.field{ display:flex; flex-direction:column; gap: 6px; }

.field.is-disabled{
  opacity: .6;
}

.field.is-disabled .field__textarea{
  cursor: not-allowed;
  resize: none;
}

.checkout-address-field{
  max-height: 460px;
  overflow: hidden;
  transition: max-height .18s ease, opacity .14s ease, transform .18s ease, margin .18s ease;
}

.checkout-address-field.is-collapsed{
  max-height: 0;
  opacity: 0;
  margin-top: -6px;
  transform: translateY(-4px);
  pointer-events: none;
}

.checkout-address-legacy{
  display:none !important;
}

.checkout-form > .checkout-pickup{
  order: 3;
}

.checkout-form > .checkout-address-field{
  order: 4;
}

.checkout-form > .field:has(#comment){
  order: 5;
}

.checkout-form > .checkout-actions{
  order: 6;
}

.checkout-form > .checkout-note{
  order: 7;
}

.checkout-delivery-grid{
  display:grid;
  grid-template-columns: minmax(180px, .9fr) minmax(260px, 1.4fr);
  gap: 16px 18px;
}

.checkout-delivery-grid .is-hidden{
  display:none;
}

.checkout-delivery-grid .field{
  gap: 8px;
}

.checkout-delivery-grid .field__label{
  color: rgba(43,43,43,.86);
  font-weight: 700;
  font-size: 14px;
}

.checkout-delivery-grid .field__label span{
  color: #c64f63;
}

.checkout-delivery-grid .field__input{
  width:100%;
  min-height: 48px;
  border-radius: 8px;
  background: rgba(246,242,238,.88);
  padding-right: 14px;
}

.checkout-delivery-grid .field__error,
.checkout-form > .field .field__error{
  color: rgba(206,71,88,.9);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 4px;
}

.checkout-delivery-grid .field__select{
  appearance:auto;
}

.checkout-comment-field .field__textarea{
  width:min(100%, 440px);
  min-height:132px;
  border-radius:8px;
  background:rgba(246,242,238,.88);
  padding-right:14px;
}

.checkout-pickup{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.50);
  padding: 10px 12px;
}

.checkout-pickup__label{
  display:flex;
  align-items:center;
  gap: 10px;
  cursor:pointer;
  user-select:none;
}

.checkout-pickup__input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.checkout-pickup__check{
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid rgba(126,92,92,.34);
  background: transparent;
  position: relative;
  flex: 0 0 auto;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.checkout-pickup__check::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -56%) rotate(45deg) scale(.8);
  transform-origin: center;
  opacity:0;
  transition: opacity .16s ease, transform .16s ease;
}

.checkout-pickup__input:checked + .checkout-pickup__check{
  border-color: rgba(178,102,111,.72);
  background: #bd5968;
  box-shadow: none;
}

.checkout-pickup__input:checked + .checkout-pickup__check::after{
  opacity:1;
  transform: translate(-50%, -56%) rotate(45deg) scale(1);
}

.checkout-pickup__input:focus-visible + .checkout-pickup__check{
  box-shadow: 0 0 0 3px rgba(183,122,122,.18);
}

.checkout-pickup__text{
  display:flex;
  flex-direction:column;
  gap: 2px;
}

.checkout-pickup__title{
  font-weight: 600;
  color: rgba(43,43,43,.82);
}

.checkout-pickup__hint{
  font-size: 12px;
  color: rgba(43,43,43,.55);
}

.field__label{
  font-size: 12px;
  color: rgba(43,43,43,.62);
}

.field__input,
.field__textarea,
.field__select{
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.78);
  padding: 12px 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.field__textarea{ resize: vertical; min-height: 110px; }

.field__input:focus,
.field__textarea:focus,
.field__select:focus{
  border-color: rgba(183,122,122,.55);
  box-shadow: 0 0 0 3px rgba(183,122,122,.18);
}

.field__hint{
  font-size: 12px;
  color: rgba(43,43,43,.55);
}

.checkout-actions{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-top: 4px;
}

.checkout-note{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(43,43,43,.55);
}

.checkout-side{
  position: sticky;
  top: 120px;
  width:100%;
  min-width:400px;
}

.checkout-side__box{
  width:100%;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 16px;
}

.checkout-side__title{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 15px;
}

.checkout-side__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(43,43,43,.72);
  line-height: 1.5;
}

/* responsive */
@media (max-width: 920px){
  .checkout-layout{
    display:flex;
    flex-direction:column;
  }

  .checkout-side{
    position: static;
    display: contents;
    width:auto;
    min-width:0;
  }

  .checkout-layout > .checkout-side__box,
  .checkout-side > .checkout-side__box:first-child{
    order:1;
  }

  .checkout-layout > .checkout-card,
  .checkout-side > .checkout-card{
    order:2;
  }

  .checkout-layout > .checkout-promo,
  .checkout-side > .checkout-promo{
    order:3;
  }

  .checkout-card .pay-form{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    max-height:none !important;
    overflow:visible !important;
  }
}

/* ===== checkout errors ===== */
.field__control{ position: relative; }

.field__error{
  position: static;
  transform: none;
  font-size: 12px;
  color: rgba(190, 35, 35, .92);
  background: transparent;
  border: 0;
  padding: 2px 0 0;
  border-radius: 0;
  box-shadow: none;
  max-width: 100%;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.field__textarea + .field__error{
  transform: none;
}

.field__input.is-invalid,
.field__textarea.is-invalid,
.field__select.is-invalid{
  border-color: rgba(206, 71, 88, .82) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* чтобы текст ошибки не перекрывал ввод */
.field__input{ padding-right: 14px; }

@media (max-width: 520px){
  .field__error{
    position: static;
    transform: none;
    margin-top: 6px;
    max-width: 100%;
    white-space: normal;
  }
  .field__input{ padding-right: 14px; }
}

/* =========================
   Payment page UI
   ========================= */

.pay-head{ margin-bottom: 14px; }
.pay-head__title{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 4px;
}
.pay-head__sub{ color: var(--muted); font-size: 13px; }

.pay-methods{
  display:grid;
  gap: 10px;
  margin: 14px 0 14px;
}
.pay-method{
  display:flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
}
.pay-method input{ display:none; }
.pay-method__box{
  width:100%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(20,20,20,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pay-method__name{ font-weight: 700; display:block; }
.pay-method__desc{ color: var(--muted); font-size: 12px; display:block; margin-top:2px; }
.pay-method input:checked + .pay-method__box{
  border-color: rgba(0,0,0,.16);
  box-shadow: 0 18px 40px rgba(20,20,20,.10);
  transform: translateY(-1px);
}

.pay-form{
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(20,20,20,.08);
}
.pay-form__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.pay-safe{
  margin-top: 10px;
  color: rgba(43,43,43,.70);
  font-size: 12px;
}

.pay-status{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px dashed rgba(0,0,0,.18);
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(10px);
}
.pay-status__idle{ color: var(--muted); font-size: 13px; }
.pay-status__loading,
.pay-status__success{
  display:flex;
  gap: 12px;
  align-items:center;
}
.pay-status__title{ font-weight: 800; }
.pay-status__text{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.spinner{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(0,0,0,.10);
  border-top-color: rgba(0,0,0,.55);
  animation: spin 0.9s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

.pay-success__icon{
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(20,20,20,.12));
}

.pay-badges{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pay-badge{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: rgba(43,43,43,.82);
}

@media (max-width: 520px){
  .pay-form__grid{ grid-template-columns: 1fr; }
}

/* =========================
   Product Modal
   ========================= */
html.is-modal-open,
html.is-modal-open body{overflow:hidden;}

.pmodal{
  position:fixed;
  inset:0;
  z-index:30000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.pmodal.is-open{display:flex;}

.pmodal__overlay{
  position:absolute;
  inset:0;
  background:rgba(20,20,20,.18);
  overflow:hidden;
}
.pmodal__overlay::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:url("../images/backmadel.png") center/cover no-repeat;
  filter:blur(10px);
  transform:scale(1.06);
  opacity:.85;
}
.pmodal__overlay::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(245,239,231,.55);
}

.pmodal__dialog{
  position:relative;
  width:min(1120px,calc(100% - 24px));
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 28px 78px rgba(20,20,20,.18);
  z-index:1;
}

.pmodal__close{
  position:absolute;
  right:16px;
  top:14px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(223,206,187,.95);
  background:linear-gradient(180deg,var(--vanilla1) 0%,var(--vanilla2) 100%);
  cursor:pointer;
  font-size:22px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--luxury-text);
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow:
    0 12px 22px rgba(116,95,79,.10),
    0 4px 10px rgba(0,0,0,.05);
}
.pmodal__close:hover{
  transform:translateY(-1px);
  box-shadow:
    0 16px 26px rgba(116,95,79,.14),
    0 6px 12px rgba(0,0,0,.07);
}
.pmodal__close:active{transform:translateY(1px) scale(.98);}

.pmodal__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:0;}
.pmodal__media{
  padding:22px;
  background:#fff;
  border-right:1px solid rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:center;
}
.pmodal__mediaInner{
  width:100%;
  border-radius:22px;
  overflow:hidden;
  background:rgba(255,255,255,.40);
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 18px 40px rgba(20,20,20,.10);
}
.pmodal__img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio:4/3;
}

.pmodal__content{
  padding:26px 26px 24px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.pmodal__title{
  margin:2px 0 0;
  font-family:"Playfair Display",Georgia,serif;
  font-weight:600;
  font-size:clamp(24px,3vw,38px);
  letter-spacing:.1px;
  line-height:1.12;
}
.pmodal__price{
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight:600;
  font-size:clamp(20px,2.2vw,30px);
  margin-top:-4px;
  letter-spacing:.2px;
  font-variant-numeric:tabular-nums;
}
.pmodal__desc{
  margin:6px 0 0;
  color:rgba(43,43,43,.72);
  font-size:15px;
  line-height:1.6;
  max-width:44ch;
}

.pmodal__divider{height:1px;background:rgba(0,0,0,.10);margin:4px 0;}
.pmodal__divider--thin{background:rgba(0,0,0,.08);}
.pmodal__block{display:flex;flex-direction:column;gap:8px;}
.pmodal__label{font-weight:700;color:rgba(43,43,43,.78);}
.pmodal__text{color:rgba(43,43,43,.68);line-height:1.55;}

.pmodal__qty{
  display:inline-grid;
  grid-template-columns:46px 70px 46px;
  align-items:center;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.62);
  box-shadow:0 12px 26px rgba(20,20,20,.08);
  width:max-content;
}
.pmodal__qtybtn{
  height:44px;
  border:0;
  background:rgba(255,255,255,0);
  cursor:pointer;
  font-size:22px;
  color:rgba(43,43,43,.70);
  transition:background .18s ease, transform .18s ease;
}
.pmodal__qtybtn:hover{background:rgba(0,0,0,.04);}
.pmodal__qtybtn:active{transform:scale(.98);}
.pmodal__qtyinput{
  height:44px;
  border:0;
  outline:none;
  background:rgba(255,255,255,0);
  text-align:center;
  font-weight:700;
  color:rgba(43,43,43,.82);
}

.pmodal__actions{margin-top:8px;}

/* modal responsive */
@media (max-width:920px){
  .pmodal__grid{grid-template-columns:1fr;}
  .pmodal__media{
    border-right:0;
    border-bottom:1px solid rgba(0,0,0,.06);
  }
  .pmodal__content{padding:20px 20px 18px;}
  .pmodal__desc{max-width:none;}
}

/* Accessibility helper */
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* =========================
   Modal final layout (keeps your latest behavior)
   ========================= */
.pmodal__dialog{background:#ffffff;}

.pmodal__qty{
  width:130px;
  height:38px;
  border-radius:10px;
  grid-template-columns:36px 1fr 36px;
}
.pmodal__qtybtn{width:36px;height:38px;font-size:16px;}
.pmodal__qtyinput{width:40px;font-size:15px;height:38px;}

.pmodal__actions .card__btnrow{
  justify-content:flex-start;
  margin-top:12px;
}
.pmodal__actions .btn--buy{
  height:40px;
  padding:0 22px;
  font-size:16px;
}
.pmodal__actions .btn--cart{
  width:46px;
  height:40px;
  border-radius:20px;
}
.pmodal__actions .btn--full{width:auto;}

/* Slightly smaller on phones */
@media (max-width:520px){
  .btn{height:40px;padding:0 22px;font-size:16px;}
  .btn--cart{width:46px;min-width:46px;height:40px;border-radius:20px;}
  .btn__icon{width:19px;height:19px;}
  .card__pricebox--discount{padding:0 14px;}
  .card__price--sale{font-size:18px;}
  .card__discount{min-width:54px;padding:7px 10px;font-size:13px;}
  .card__popular-badge{
    top:10px;
    left:10px;
    width:20px;
    height:26px;
  }
}

/* FIX: cart icon/button on mobile */
@media (max-width: 520px){
  .btn--cart{
    width: 46px;
    min-width: 46px;
    height: 40px;
    padding: 0;
    border-radius: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn--cart .btn__icon{
    width: 19px;
    height: 19px;
    object-fit: contain;
    display: block;
    filter:brightness(0) saturate(100%) invert(51%) sepia(8%) saturate(733%) hue-rotate(331deg) brightness(88%) contrast(86%);
  }
}

/* =========================
   FIX: align card buttons on mobile (push ACTIONS to bottom)
   ========================= */

@media (max-width: 520px){

  /* карточка должна растягиваться как колонка */
  .card{
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  /* тело занимает всё доступное место */
  .card__body{
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
  }

  /* ВАЖНО: именно actions/form прижимаем вниз */
  .card__actions{
    margin-top: auto !important;
  }

  /* если кнопки в ряд внутри actions */
  .card__btnrow{
    margin-top: 0 !important;
  }

  /* чтобы описания занимали одинаковое место (2 строки) */
  .card__desc{
    min-height: calc(1.4em * 2) !important;
  }
}

/* =========================
   Addons / extras
   ========================= */

/* =========================
   Product card reference style
   ========================= */
.grid .card{
  border:1px solid rgba(255,255,255,.72);
  border-radius:24px;
  background:#fbf7f1;
  box-shadow:0 18px 38px rgba(126,105,100,.14);
  overflow:hidden;
  transform:none;
}

.grid .card:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 48px rgba(126,105,100,.18);
  border-color:rgba(255,255,255,.86);
}

.grid .card__media{
  aspect-ratio:4 / 3;
  background:#f5f0e9;
}

.grid .card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.grid .card__body{
  padding:23px 24px 26px;
  text-align:center;
  background:linear-gradient(180deg, #fbf8f3 0%, #f8f1e9 100%);
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
}

.grid .card__title{
  margin:0;
  color:#37323a;
  font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:20px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:0;
}

.grid .card__title::after{
  content:"";
  display:block;
  width:190px;
  max-width:72%;
  height:1px;
  margin:12px auto 0;
  border-radius:999px;
  background:#e89aa8;
}

.grid .card__desc{
  margin:14px auto 0;
  max-width:290px;
  min-height:42px;
  color:#74717a;
  font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:15px;
  font-weight:400;
  line-height:1.35;
  -webkit-line-clamp:2;
}

.grid .card__price-wrap,
.grid .card__price{
  min-height:48px;
  margin:18px 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-variant-numeric:tabular-nums;
}

.grid .card__price-wrap{
  flex-direction:column;
  gap:5px;
}

.grid .card__price{
  color:#d55265;
  font-size:18px;
  font-weight:700;
}

.grid .card__price-old{
  color:#9a9699;
  font-size:15px;
  font-weight:600;
  line-height:1;
  text-decoration:line-through;
  text-decoration-thickness:2px;
}

.grid .card__price-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:28px;
}

.grid .card__price-new{
  color:#d55265;
  font-size:18px;
  font-weight:700;
  line-height:1;
}

.grid .card__discount-badge{
  min-width:60px;
  padding:8px 13px;
  border-radius:999px;
  border:1px solid rgba(214,91,109,.14);
  background:#f6d8dd;
  color:#d65b6d;
  font-size:14px;
  font-weight:700;
  line-height:1;
}

.grid .card__actions{
  margin-top:auto;
}

.grid .card__btnrow{
  width:100%;
  margin:17px 0 0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

.grid .btn--buy{
  width:168px;
  height:54px;
  padding:0 26px;
  border:0;
  border-radius:22px;
  background:linear-gradient(180deg, #da7d8b 0%, #c95568 100%);
  color:#fff;
  box-shadow:0 8px 16px rgba(112,72,78,.12);
  font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:16px;
  font-weight:700;
  line-height:1;
  gap:12px;
}

.grid .btn--buy:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(112,72,78,.14);
  filter:none;
}

.grid .btn--cart{
  width:54px;
  min-width:54px;
  height:54px;
  padding:0;
  border-radius:50%;
  border:1px solid rgba(223,151,164,.34);
  background:#fff;
  color:#db7182;
  box-shadow:0 7px 14px rgba(112,72,78,.10);
}

.grid .btn--cart:hover{
  transform:translateY(-1px);
  background:#fff;
  box-shadow:0 9px 16px rgba(112,72,78,.12);
  filter:none;
}

.grid .btn__svg{
  display:block;
  flex:0 0 auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.45;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.grid .btn__svg--bag{
  width:29px;
  height:29px;
}

.grid .btn__svg--cart{
  width:26px;
  height:26px;
}

.grid .btn__svg--cart circle{
  fill:currentColor;
  stroke:none;
}

@media (max-width:520px){
  .grid .card{
    border-radius:20px;
  }

  .grid .card__body{
    padding:18px 12px 16px;
  }

  .grid .card__title{
    min-height:auto;
    margin:0;
    font-size:18px;
    line-height:1.16;
  }

  .grid .card__title::after{
    width:92px;
    max-width:70%;
    height:1px;
    margin:9px auto 0;
  }

  .grid .card__desc{
    margin-top:10px;
    min-height:36px;
    font-size:12px;
    line-height:1.3;
  }

  .grid .card__price-wrap,
  .grid .card__price{
    margin-top:13px;
    min-height:42px;
  }

  .grid .card__price-wrap{
    gap:4px;
  }

  .grid .card__price-old{
    font-size:12px;
    text-decoration-thickness:1.5px;
  }

  .grid .card__price-line{
    gap:6px;
    min-height:24px;
  }

  .grid .card__price-new,
  .grid .card__price{
    font-size:14px;
  }

  .grid .card__discount-badge{
    min-width:42px;
    padding:5px 7px;
    font-size:10px;
  }

  .grid .card__btnrow{
    gap:8px;
    margin-top:12px;
  }

  .grid .card__btnrow .btn--buy{
    width:auto;
    flex:1 1 auto;
    height:42px;
    padding:0 12px;
    border-radius:17px;
    font-size:14px;
    font-weight:700;
    gap:8px;
  }

  .grid .card__btnrow .btn--cart{
    flex:0 0 42px;
    width:42px;
    min-width:42px;
    height:42px;
    border-radius:50%;
    border:1px solid rgba(223,151,164,.34) !important;
    background:#fff !important;
  }

  .grid .card__btnrow .btn__svg--bag{
    width:24px;
    height:24px;
  }

  .grid .card__btnrow .btn__svg--cart{
    width:22px;
    height:22px;
  }
}

.catalog-addons{
  margin-top:32px;
  padding-top:20px;
  border-top:1px solid rgba(0,0,0,.08);
}

.catalog-addons__head{
  margin-bottom:16px;
  text-align:center;
}

.catalog-addons__title{
  margin:0 0 6px;
  font-family:"Playfair Display",Georgia,serif;
  font-size:30px;
  font-weight:500;
}

.catalog-addons__sub{
  margin:0;
  color:rgba(43,43,43,.60);
}

.catalog-addons__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:16px;
}

.catalog-addon-card{
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.65);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  height:100%;
}

.catalog-addon-card__media{
  aspect-ratio:4/3;
  overflow:hidden;
  background:rgba(255,255,255,.25);
}

.catalog-addon-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.catalog-addon-card__body{
  padding:12px;
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1 1 auto;
}

.catalog-addon-card__title{
  margin:0;
  color:#7d6b66;
  font-family:"Playfair Display", Georgia, serif;
  font-size:22px;
  font-weight:500;
  min-height:26px;
  line-height:1.12;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.catalog-addon-card__cat,
.catalog-addon-card__category{
  display:none !important;
}

.catalog-addon-card__desc{
  margin:0;
  font-size:13px;
  line-height:1.28;
  color:var(--muted);
  min-height:50px;
  max-height:50px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.catalog-addon-card__price{
  margin-top:auto;
  min-height:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#c84d4d;
  font-weight:800;
}

.catalog-addon-card__btn{
  width:100%;
}

/* Cart wheel styles moved to cart.css */

/* =========================
   Cart suggestions static
   ========================= */

.cart-suggestion-card__btn{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(223,206,187,.95);
  color:var(--luxury-text);
  font-size:24px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,var(--vanilla1) 0%,var(--vanilla2) 100%);
  box-shadow:
    0 10px 18px rgba(116,95,79,.10),
    0 4px 10px rgba(0,0,0,.05);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease,
    background .18s ease;
}

.cart-suggestion-card__btn:hover{
  transform:translateY(-2px) scale(1.04);
  box-shadow:
    0 14px 24px rgba(116,95,79,.14),
    0 6px 12px rgba(0,0,0,.07);
}

.cart-suggestion-card__btn:active{
  transform:translateY(1px) scale(.95);
  box-shadow:
    0 6px 12px rgba(116,95,79,.10),
    0 3px 8px rgba(0,0,0,.05);
}

.cart-suggestion-card__btn--minus{
  background:linear-gradient(180deg,var(--vanilla1) 0%,var(--vanilla2) 100%);
  color:var(--luxury-text);
  border:1px solid rgba(223,206,187,.95);
  box-shadow:
    0 10px 18px rgba(116,95,79,.10),
    0 4px 10px rgba(0,0,0,.05);
}

.cart-suggestion-card__btn--minus:hover{
  box-shadow:
    0 14px 24px rgba(116,95,79,.14),
    0 6px 12px rgba(0,0,0,.07);
}

.catalog-addon-card{
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.66);
  border-radius:22px;
  overflow:hidden;
  box-shadow:
    0 14px 28px rgba(20,20,20,.08),
    0 4px 10px rgba(20,20,20,.05);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    filter .22s ease;
  will-change:transform;
}

.catalog-addon-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,.88);
  box-shadow:
    0 22px 42px rgba(20,20,20,.12),
    0 8px 18px rgba(20,20,20,.08);
  filter:saturate(1.02);
}

.catalog-addon-card__media{
  overflow:hidden;
  background:rgba(255,255,255,.26);
}

.catalog-addon-card__media img{
  transition:transform .32s ease, filter .32s ease;
}

.catalog-addon-card:hover .catalog-addon-card__media img{
  transform:scale(1.05);
  filter:brightness(1.02);
}

.catalog-addon-card__body{
  transition:transform .22s ease;
}

.catalog-addon-card:hover .catalog-addon-card__body{
  transform:translateY(-1px);
}

.catalog-addon-card__actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.catalog-addon-card__iconbtn{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(223,206,187,.95);
  color:var(--luxury-text);
  font-size:24px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,var(--vanilla1) 0%,var(--vanilla2) 100%);
  box-shadow:
    0 10px 18px rgba(116,95,79,.10),
    0 4px 10px rgba(0,0,0,.05);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease,
    background .18s ease;
}

.catalog-addon-card__iconbtn:hover{
  transform:translateY(-2px) scale(1.05);
  box-shadow:
    0 14px 24px rgba(116,95,79,.14),
    0 6px 12px rgba(0,0,0,.07);
}

.catalog-addon-card__iconbtn:active{
  transform:translateY(1px) scale(.94);
  box-shadow:
    0 6px 12px rgba(116,95,79,.10),
    0 3px 8px rgba(0,0,0,.05);
}

.catalog-addon-card__iconbtn--minus{
  background:linear-gradient(180deg,var(--vanilla1) 0%,var(--vanilla2) 100%);
  color:var(--luxury-text);
  border:1px solid rgba(223,206,187,.95);
  box-shadow:
    0 10px 18px rgba(116,95,79,.10),
    0 4px 10px rgba(0,0,0,.05);
}

.catalog-addon-card__iconbtn--minus:hover{
  box-shadow:
    0 14px 24px rgba(116,95,79,.14),
    0 6px 12px rgba(0,0,0,.07);
}

.catalog-addon-card__state{
  display:none;
  align-items:center;
  gap:8px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.52);
  box-shadow:0 8px 18px rgba(20,20,20,.08);
  animation:addonStateIn .24s ease;
}

.catalog-addon-card__state.is-active{
  display:flex;
}

.catalog-addon-card__iconbtn{
  position:relative;
  width:28px;
  height:28px;
  flex:0 0 28px;
  border-radius:50%;
  border:1px solid rgba(172,143,127,.24);
  background:rgba(255,255,255,.50);
  color:#7c6760;
  font-size:0;
  font-weight:400;
  box-shadow:none;
}

.catalog-addon-card__iconbtn::before,
.catalog-addon-card__iconbtn:not(.catalog-addon-card__iconbtn--minus)::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:9px;
  height:1.2px;
  border-radius:999px;
  background:currentColor;
  transform:translate(-50%,-50%);
}

.catalog-addon-card__iconbtn:not(.catalog-addon-card__iconbtn--minus)::after{
  width:1.2px;
  height:9px;
}

.catalog-addon-card__iconbtn:hover,
.catalog-addon-card__iconbtn--minus:hover{
  transform:translateY(-1px);
  border-color:rgba(172,143,127,.38);
  background:rgba(255,255,255,.64);
  box-shadow:0 7px 14px rgba(95,75,65,.055);
}

.catalog-addon-card__iconbtn:active{
  transform:translateY(0) scale(.96);
  box-shadow:none;
}

.catalog-addon-card__qty{
  min-width:18px;
  font-weight:800;
  color:rgba(43,43,43,.82);
}

.grid .card,
.grid .card:hover,
.catalog-addon-card,
.catalog-addon-card:hover{
  filter:none !important;
  will-change:auto;
}

.grid .card,
.catalog-addon-card{
  cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.grid .card:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 22px 42px rgba(126,105,100,.16) !important;
  border-color:rgba(255,255,255,.9) !important;
}

.catalog-addon-card:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 18px 34px rgba(126,105,100,.14) !important;
  border-color:rgba(255,255,255,.9) !important;
}

.grid .card__media img,
.grid .card:hover .card__media img,
.catalog-addon-card__media img,
.catalog-addon-card:hover .catalog-addon-card__media img{
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
  transition:none !important;
  image-rendering:auto;
  backface-visibility:visible;
}

.grid .card__media,
.catalog-addon-card__media{
  transform:none !important;
  filter:none !important;
}

.grid .btn--buy,
.grid .btn--buy:hover,
.grid .btn--cart,
.grid .btn--cart:hover,
.pmodal__actions .btn--buy,
.pmodal__actions .btn--buy:hover,
.pmodal__actions .btn--cart,
.pmodal__actions .btn--cart:hover,
.payment-success-actions .btn,
.payment-success-actions .btn:hover{
  filter:none !important;
  text-shadow:none;
  -webkit-font-smoothing:auto;
  text-rendering:auto;
  backface-visibility:visible;
  transform:none;
  will-change:auto;
}

.grid .btn--buy,
.pmodal__actions .btn--buy{
  background:linear-gradient(180deg, #d86f80 0%, #c95568 100%) !important;
  box-shadow:none !important;
  border:1px solid rgba(191,80,98,.18) !important;
  color:#fff !important;
}

.grid .btn--buy:hover,
.pmodal__actions .btn--buy:hover{
  transform:translateY(-1px);
  box-shadow:none !important;
}

.grid .btn--buy span,
.pmodal__actions .btn--buy span{
  color:#fff;
  font-weight:700;
}

.grid .btn--cart,
.pmodal__actions .btn--cart{
  background:#fff !important;
  border:1px solid rgba(223,151,164,.34) !important;
  color:#db7182 !important;
  box-shadow:none !important;
}

.grid .btn--cart:hover,
.pmodal__actions .btn--cart:hover{
  transform:translateY(-1px);
  box-shadow:none !important;
}

.grid .btn__svg,
.pmodal__actions .btn__svg{
  display:block;
  flex:0 0 auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.45;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.grid .btn__svg--cart circle,
.pmodal__actions .btn__svg--cart circle{
  fill:currentColor;
  stroke:none;
}

.pmodal__actions .btn__svg--bag{
  width:29px;
  height:29px;
}

.pmodal__actions .btn__svg--cart{
  width:25px;
  height:25px;
}

.payment-success-actions .btn{
  box-shadow:none !important;
  text-shadow:none !important;
}

.payment-success-actions .btn--primary{
  border:1px solid rgba(191,80,98,.18) !important;
}

.payment-success-actions .btn--ghost{
  background:#fff !important;
  border:1px solid rgba(126,105,100,.16) !important;
}

.grid .card__title{
  color:#7d6b66;
  font-family:"Playfair Display", Georgia, serif;
  font-weight:500;
  font-size:24px;
  line-height:1.12;
}

.payment-success-card{
  display:block;
  max-width:860px;
  margin:0 auto;
  padding:22px;
}

.payment-success-head{
  display:flex;
  gap:14px;
  align-items:center;
}

.payment-success-head__icon{
  width:48px !important;
  max-width:48px !important;
  height:48px !important;
  object-fit:contain;
  flex:0 0 48px;
}

.payment-success-head .cart-title{
  margin:0;
}

.payment-success-head p{
  margin:6px 0 0;
  color:rgba(43,43,43,.70);
}

.payment-success-summary{
  margin-top:14px;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(0,0,0,.08);
}

.payment-success-summary .cart-summary__row:last-child{
  margin-bottom:0;
}

.payment-success-comment{
  align-items:flex-start;
}

.payment-success-comment b{
  max-width:65%;
  text-align:right;
  line-height:1.4;
}

.payment-success-actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.payment-success-actions .btn{
  min-width:185px;
}

.payment-success-actions__catalog svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.payment-success-note{
  margin:10px 0 0;
  color:rgba(43,43,43,.55);
  font-size:13px;
  line-height:1.45;
}

@keyframes addonStateIn{
  from{
    opacity:0;
    transform:translateY(6px) scale(.92);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media (max-width:920px){
  .cart-suggestions__grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:520px){
  .cart-suggestions{
    padding:12px;
  }

  .cart-suggestions__title{
    font-size:24px;
  }

  .cart-suggestions__grid{
    grid-template-columns:1fr;
  }
}

/* Cart wheel left sticky moved to cart.css */


/* =========================
   Mobile polish: buttons + addon cards
   ========================= */
@media (max-width:520px){
  /* mobile buttons */
  .btn{
    font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    font-size:15px;
    font-weight:700;
    letter-spacing:.01em;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
    border:none !important;
    outline:none;
  }

  .btn--full{
    height:38px;
    padding:0 14px;
    border-radius:12px;
  }

  .btn--cart{
    width:42px;
    min-width:42px;
    height:38px;
    padding:0;
    border-radius:12px;
    border:none !important;
    box-shadow:0 8px 18px rgba(116,95,79,.10), 0 4px 10px rgba(0,0,0,.05);
  }

  .btn__icon{
    width:18px;
    height:18px;
  }

  .btn--cart .btn__icon{
    width:20px;
    height:20px;
  }

  .btn:focus,
  .btn:active,
  .btn:focus-visible,
  .btn--cart:focus,
  .btn--cart:active,
  .btn--cart:focus-visible{
    outline:none;
    border:none !important;
  }

  .card__body{
    padding:8px 8px 10px;
  }

  .card__title{
    margin:8px 6px 0;
    font-size:14px;
    line-height:1.2;
    min-height:34px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .card__title::after{
    width:76px;
    margin:8px auto -12px;
  }

  .card__desc{
    font-size:12px;
    line-height:1.3;
    min-height:calc(1.3em * 2);
    -webkit-line-clamp:2;
  }

  .card__pricebox{
    margin-top:6px;
    min-height:36px;
  }

  .card__price,
  .card__price--sale{
    font-size:16px;
  }

  .card__price--old{
    font-size:12px;
  }

  .card__discount{
    min-width:48px;
    padding:6px 8px;
    font-size:12px;
  }

  .card__btnrow{
    gap:6px;
    padding-top:8px;
    width:100%;
  }

  .card__btnrow .btn{
    height:36px;
    font-size:14px;
    padding:0 14px;
    border-radius:12px;
  }

  .card__btnrow .btn--full{
    flex:1 1 auto;
    min-width:0;
  }

  .card__btnrow .btn--cart{
    flex:0 0 40px;
    width:40px;
    min-width:40px;
    height:36px;
    border-radius:12px;
  }

  .card__btnrow .btn--cart .btn__icon{
    width:19px;
    height:19px;
  }

  /* addon cards */
  .catalog-addons__grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
  }

  .catalog-addon-card{
    min-width:0;
    border-radius:18px;
  }

  .catalog-addon-card__media{
    aspect-ratio:4/3;
  }

  .catalog-addon-card__body{
    min-height:172px;
    padding:10px 8px 12px;
    gap:6px;
    text-align:left;
  }

  .catalog-addon-card__title{
    margin:0;
    min-height:34px;
    font-size:14px;
    line-height:1.2;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .catalog-addon-card__cat,
  .catalog-addon-card__category{
    display:none !important;
  }

  .catalog-addon-card__desc{
    margin:0;
    min-height:calc(1.28em * 3);
    font-size:12px;
    line-height:1.28;
    color:var(--muted);
    display:-webkit-box !important;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .catalog-addon-card__desc::after{
    content:"";
  }

  .catalog-addon-card__price{
    margin-top:auto;
    min-height:20px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    font-size:14px;
    line-height:1.15;
    text-align:left;
  }

  .catalog-addon-card__actions{
    margin-top:4px;
    justify-content:center;
  }

  .catalog-addon-card__iconbtn{
    width:28px;
    height:28px;
    flex-basis:28px;
    font-size:0;
    border:1px solid rgba(172,143,127,.24) !important;
  }

  .catalog-addon-card__state{
    gap:6px;
    padding:3px 7px;
    box-shadow:none;
  }

  .catalog-addon-card__qty{
    min-width:16px;
    font-size:14px;
  }
}


/* =========================
   Responsive fixes: floating cart + catalog widths
   ========================= */
@media (max-width: 1100px){
  .floating-cart{
    top:auto;
    bottom:18px;
    right:18px;
    width:156px;
    height:156px;
  }

  .floating-cart__icon{
    width:156px;
    height:156px;
  }

  .floating-cart__count{
    right:26px;
    top:26px;
    min-width:30px;
    height:30px;
    font-size:13px;
  }

  .floating-cart__sum{
    top:calc(100% - 48px);
    font-size:13px;
    padding:8px 12px;
  }
}

@media (max-width: 900px){
  .grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .floating-cart{
    width:132px;
    height:132px;
    bottom:16px;
    right:16px;
  }

  .floating-cart__icon{
    width:132px;
    height:132px;
  }

  .floating-cart__count{
    right:20px;
    top:20px;
    min-width:28px;
    height:28px;
    font-size:12px;
  }

  .floating-cart__sum{
    top:calc(100% - 42px);
    font-size:12px;
    padding:7px 11px;
  }
}

@media (max-width: 680px){
  .floating-cart{
    width:116px;
    height:116px;
    bottom:14px;
    right:14px;
  }

  .floating-cart__icon{
    width:116px;
    height:116px;
  }

  .floating-cart__count{
    right:16px;
    top:16px;
    min-width:25px;
    height:25px;
    font-size:11px;
  }

  .floating-cart__sum{
    top:calc(100% - 38px);
    font-size:11px;
    padding:6px 10px;
  }
}

@media (max-width: 520px){
  .grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

/* =========================
   Product Modal — mobile size tweak (ONLY PHONES)
   ========================= */
@media (max-width:520px){

  .pmodal{
    padding:10px; /* было 18px → меньше отступы */
  }

  .pmodal__dialog{
    width:calc(100% - 10px); /* чуть уже */
    border-radius:20px;
  }

  .pmodal__media{
    padding:14px; /* меньше */
  }

  .pmodal__content{
    padding:16px 16px 14px; /* компактнее */
    gap:10px;
  }

  .pmodal__title{
    font-size:clamp(20px,5vw,26px); /* меньше заголовок */
  }

  .pmodal__price{
    font-size:clamp(18px,4vw,24px);
  }

  .pmodal__desc{
    font-size:13px;
    line-height:1.45;
  }

  .pmodal__img{
    aspect-ratio:4/3;
  }

  .pmodal__qty{
    height:34px;
    grid-template-columns:32px 1fr 32px;
  }

  .pmodal__qtybtn{
    height:34px;
    font-size:14px;
  }

  .pmodal__qtyinput{
    height:34px;
    font-size:14px;
  }

  .pmodal__close{
    width:36px;
    height:36px;
    font-size:18px;
    top:10px;
    right:10px;
  }
}


/* ===== Ошибки полей ===== */

/* по умолчанию скрыты */
.field__error{
  display:none;
  color:#d66;
  font-size:12px;
  margin-top:6px;
}

/* показываются только при ошибке */
.is-invalid + .field__error,
.field__control .is-invalid ~ .field__error{
  display:block;
}

/* красная рамка только при ошибке */
.is-invalid{
  border-color:#e3a5a5 !important;
  box-shadow:none !important;
  outline:none !important;
}

/* Stable checkout validation: reserve space so errors do not push fields down. */
.checkout-form .field__error{
  display:block !important;
  visibility:hidden;
  min-height:18px;
  margin-top:4px;
  padding:0;
  color:rgba(206,71,88,.9);
  font-size:12px;
  font-weight:500;
  line-height:1.25;
}

.checkout-form .is-invalid + .field__error,
.checkout-form .field__control .is-invalid ~ .field__error{
  visibility:visible;
}

/* ===== Checkout mobile fix ===== */

@media (max-width:640px){

  .checkout-top{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .checkout-back{
    width:100%;
    max-width:220px;

    font-size:14px;
    padding:10px 14px;

    white-space:normal;
  }

}

/* ===== Checkout mobile hard fix ===== */

.field__error{
  display:none;
}

@media (max-width: 640px){

  .checkout-address-field{
    max-height:none;
  }

  .checkout-address-field.is-collapsed{
    max-height:0;
  }

  .checkout-delivery-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .field__control{
    min-width:0;
  }

  .field__input,
  .field__textarea{
    width:100%;
    max-width:100%;
  }

  .checkout-actions .btn,
  .checkout-actions a,
  .checkout-actions button,
  .pay-head .btn,
  .pay-head a,
  .pay-head button{
    max-width:100%;
  }

  .pay-head{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .pay-head .btn,
  .pay-head a{
    width:auto;
    max-width:190px;
    white-space:normal;
    text-align:center;
    line-height:1.25;
    padding:10px 14px;
    align-self:flex-end;
  }
}

@media (max-width: 640px){
  .cart-head{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .cart-head .btn{
    align-self:flex-end;
    max-width:190px;
    width:auto;
    white-space:normal;
    text-align:center;
    line-height:1.25;
    padding:10px 14px;
  }
}

/* =========================
   GLOBAL SCALE FIX (1600x900 и ниже)
   ========================= */

/* 1. Контейнер становится уже */
@media (max-width: 1600px){
  .container{
    width: min(1200px, calc(100% - 24px));
  }
}

/* 2. Основной фикс — уменьшение интерфейса */
@media (max-height: 900px){
  html{
    font-size: 15px;
  }
}

/* 3. Ещё меньше экраны */
@media (max-height: 800px){
  html{
    font-size: 14px;
  }
}

/* =========================
   FIX GRID (чтобы не ломался layout)
   ========================= */
/* ===== FIX: вернуть 2 карточки на мобилке ===== */
@media (max-width: 720px){
  .grid{
    grid-template-columns: repeat(2,1fr) !important;
  }
}

/* =========================
   FLOATING CART FIX (он у тебя улетает вниз)
   ========================= */
.floating-cart{
  top: auto;
  bottom: 24px;
}

.floating-support{
  position:fixed;
  left:24px;
  bottom:24px;
  z-index:80;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:8px 18px 8px 8px;
  border-radius:999px;
  border:1px solid rgba(126,105,100,.16);
  background:rgba(255,255,255,.88);
  color:#6f5d59;
  text-decoration:none;
  box-shadow:0 18px 40px rgba(126,105,100,.16);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.floating-support:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.96);
  box-shadow:0 22px 48px rgba(126,105,100,.20);
}

.floating-support__icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(180deg,#f7ebe3,#ead8ca);
  color:#8f746d;
  border:1px solid rgba(126,105,100,.12);
}

.floating-support__icon svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.floating-support__text{
  font-weight:700;
  font-size:14px;
  letter-spacing:.01em;
  white-space:nowrap;
}

@media (max-width: 560px){
  .floating-support{
    display:none;
  }
}

/* =========================
   HERO FIX (он слишком высокий)
   ========================= */
.hero{
  height: clamp(280px, 44vw, 560px);
  margin-top: -10px;
}

@media (max-width: 560px){
  .hero{
    margin-top:0;
    margin-bottom: 6px;
  }

  .hero__content{
    align-items:flex-start;
    padding-top:28px;
  }

  .hero__text{
    width:100%;
    max-width:none;
  }

  .hero__text p{
    display:none;
  }

  .hero__text .btn{
    margin-top:10px;
  }
}

/* =========================
   CONTACT FIX (иногда растягивает страницу)
   ========================= */
.contact-card{
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
}

/* =========================
   EXTRA SAFETY (чтобы ничего не вылазило)
   ========================= */
body{
  overflow-x: hidden;
}

/* =========================
   Checkout promo block
   ========================= */
.checkout-promo{
  margin-top:14px;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.checkout-promo .cart-promo__label{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  color:var(--muted);
}

.checkout-promo .cart-promo__form{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.checkout-promo .cart-promo__inputwrap{
  position:relative;
}

.checkout-promo .cart-promo__icon{
  position:absolute;
  left:3px;
  top:50%;
  transform:translateY(-50%);
  width:24px;
  height:24px;
  color:rgba(183,122,122,.9);
  pointer-events:none;
}

.checkout-promo .cart-promo__icon svg,
.checkout-promo .cart-promo__icon img{
  width:150%;
  height:100%;
  display:block;
}

.checkout-promo .cart-promo__input{
  width:100%;
  height:44px;
  padding:0 14px 0 40px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.84);
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease;
}

.checkout-promo .cart-promo__input:focus{
  border-color:rgba(183,122,122,.55);
  box-shadow:0 0 0 3px rgba(183,122,122,.16);
}

.checkout-promo .cart-promo__apply{
  height:44px;
}

.checkout-promo .cart-promo__meta{
  margin-top:10px;
  min-height:18px;
  font-size:13px;
}

.checkout-promo .cart-promo__ok{
  color:#2f7a43;
  font-weight:600;
}

.checkout-promo .cart-promo__err{
  color:#b53f4f;
  font-weight:600;
}

.checkout-promo .cart-promo__remove{
  margin-top:8px;
  padding:0;
  border:0;
  background:transparent;
  color:rgba(43,43,43,.62);
  font-size:13px;
  cursor:pointer;
  text-decoration:underline;
}

.checkout-promo .cart-promo__remove:hover{
  color:rgba(43,43,43,.86);
}

@media (max-width:520px){
  .checkout-promo{
    padding:10px;
    border-radius:16px;
  }

  .checkout-promo .cart-promo__input{
    height:42px;
  }

  .checkout-promo .cart-promo__apply{
    height:42px;
    font-size:16px;
  }
}

/* =========================
   PAYMENT MOBILE FINAL FIX
   ========================= */
@media (max-width: 920px){

  .checkout-layout{
    display: flex !important;
    flex-direction: column !important;
    gap: 18px;
  }

  /* контейнер справа больше не sticky и не мешает */
  .checkout-side{
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;

    display: contents !important; /* 🔥 ключевой момент */
  }

  /* 1. ИТОГО */
  .checkout-side__box{
    order: 1;
  }

  /* 2. ФОРМА */
  .checkout-card{
    order: 2;
  }

  /* 3. ПРОМОКОД (САМЫЙ НИЗ) */
  .checkout-promo{
    order: 3;
    margin-top: 14px;
  }

}



/* =========================
   Payment page final fix
   ========================= */
.checkout-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) 400px;
  gap:18px;
  align-items:start;
}

.checkout-layout > *{min-width:0;}

.checkout-side{
  position:sticky;
  top:120px;
  width:100%;
  min-width:400px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.checkout-side > .checkout-side__box{
  margin-top:0 !important;
  width:100%;
}

.checkout-card .pay-form[hidden]{
  display:none !important;
}

@media (max-width:920px){
  .checkout-layout{
    display:flex !important;
    flex-direction:column !important;
    gap:18px;
  }

  .checkout-side{
    position:static !important;
    min-width:0 !important;
    width:100% !important;
    display:contents !important;
  }

  .checkout-side > .checkout-side__box:first-child{
    order:1;
  }

  .checkout-card{
    order:2;
  }

  .checkout-side > .checkout-side__box:last-child{
    order:3;
    margin-top:0 !important;
  }

  .checkout-side > .checkout-side__box,
  .checkout-side .checkout-promo,
  .checkout-side .cart-promo__form,
  .checkout-side .cart-promo__inputwrap,
  .checkout-side .cart-promo__input,
  .checkout-side .cart-promo__apply{
    width:100% !important;
    max-width:100% !important;
  }
}

/* =========================
   Payment mobile width/open fix
   ========================= */
@media (max-width:920px){
  .checkout-layout{
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
  }

  .checkout-side{
    position:static !important;
    min-width:0 !important;
    width:100% !important;
    display:contents !important;
  }

  .checkout-side > .checkout-side__box:first-child{
    order:1 !important;
  }

  .checkout-card{
    order:2 !important;
    width:100% !important;
    max-width:100% !important;
  }

  .checkout-side > .checkout-side__box:last-child{
    order:3 !important;
    width:100% !important;
    max-width:100% !important;
    margin-top:0 !important;
  }

  .checkout-side > .checkout-side__box,
  .checkout-side > .checkout-side__box:last-child,
  .checkout-side .checkout-promo,
  .checkout-side .cart-promo__form,
  .checkout-side .cart-promo__inputwrap,
  .checkout-side .cart-promo__input,
  .checkout-side .cart-promo__apply{
    width:100% !important;
    max-width:100% !important;
  }

  .checkout-card .pay-form,
  .checkout-card .pay-form[hidden]{
    display:block !important;
  }

  .checkout-card .pay-form[hidden]{
    visibility:visible !important;
    opacity:1 !important;
    max-height:none !important;
    overflow:visible !important;
  }
}

/* =========================
   PAYMENT TOP ROW MOBILE FIX
   ========================= */
@media (max-width: 640px){

  .cart-page{
    padding-top: 12px !important;
  }

  .cart-head{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    margin:0 0 12px !important;
  }

  .cart-title{
    margin:0 !important;
    font-size:24px !important;
    line-height:1.1 !important;
  }

  .cart-head .btn{
    align-self:auto !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    padding:10px 14px !important;
    white-space:nowrap !important;
    flex:0 0 auto !important;
  }
}

/* =========================
   COMMENT → TOTAL SPACING
   ========================= */

.checkout-note{
  margin: 6px 0 10px;
}

.pay-total{
  margin-top: 22px;
}

.pmodal__mediaInner {
  padding-bottom: 20px; /* 👈 вот это ключ */
}

.pmodal__thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  width: 100%;
  margin-top: 28px; /* увеличил */
  padding: 14px 10px 10px; /* добавил сверху паддинг */

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pmodal__thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;

  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;

  opacity: 0.55;
  border: 2px solid transparent;
  background: #f7f1eb;

  scroll-snap-align: center;
  transition: transform .18s ease, opacity .18s ease, border-color .18s ease;
}

.pmodal__thumb.active {
  opacity: 1;
  transform: scale(1.04);
  border-color: rgba(183, 108, 122, 0.85);
}

.pmodal__media {
  overflow: visible; /* 👈 самое главное */
}

.pmodal__thumbs {
  margin-top: 24px;
}

.pmodal__thumbs::-webkit-scrollbar {
  height: 6px;
}

.pmodal__thumbs::-webkit-scrollbar-thumb {
  background: rgba(120, 90, 80, 0.25);
  border-radius: 999px;
}

@media (max-width: 768px) {
  .pmodal__thumbs {
    justify-content: center; /* 👈 центр */
    gap: 10px;
    padding: 10px 14px 10px;
    scrollbar-width: none;
  }

  .pmodal__thumbs::-webkit-scrollbar {
    display: none;
  }

  .pmodal__thumb {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
  }
}

.pmodal__close {
  z-index: 10; /* 👈 выше всего */
}

@media (max-width:520px){
  .grid .card__title{
    display:block;
    min-height:2.32em;
    max-height:2.32em;
    overflow:hidden;
    padding-bottom:9px;
    border-bottom:0;
    background-image:linear-gradient(#e89aa8,#e89aa8);
    background-repeat:no-repeat;
    background-position:center bottom;
    background-size:76% 1px;
    font-size:16px;
    line-height:1.16;
  }

  .grid .card__title::after{
    display:none;
  }

  .grid .card__desc{
    margin-top:10px;
  }
}

.pmodal{
  align-items:stretch;
  padding:0 16px;
}

.pmodal__dialog{
  width:min(1160px,100%);
  height:100dvh;
  max-height:100dvh;
  border-radius:0;
}

.pmodal__grid{
  height:100%;
  min-height:0;
}

.pmodal__media{
  --pmodal-media-bg:#fff;
  height:100%;
  min-height:0;
  align-items:stretch;
  background:var(--pmodal-media-bg) !important;
  overflow:hidden;
}

.pmodal__mediaInner{
  height:100%;
  min-height:0;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  gap:18px;
  padding:20px;
  border:0;
  border-radius:0;
  background:var(--pmodal-media-bg) !important;
  box-shadow:none;
  overflow:hidden;
}

.pmodal__slider{
  position:relative;
  min-height:0;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  overflow:hidden;
  background:var(--pmodal-media-bg) !important;
}

.pmodal__photoFrame{
  --pmodal-photo-ratio:1 / 1;
  position:relative;
  width:min(100%, 640px);
  max-width:100%;
  max-height:100%;
  min-height:0;
  aspect-ratio:var(--pmodal-photo-ratio);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:var(--pmodal-media-bg) !important;
  box-sizing:border-box;
  box-shadow:none;
}

.pmodal__photoFrame::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  border:1px solid #bfb7b0;
  border-radius:0;
  box-sizing:border-box;
}

.pmodal__img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  border:0;
  border-radius:0;
  background:var(--pmodal-media-bg) !important;
  opacity:1;
  filter:none;
  mix-blend-mode:normal;
  box-shadow:none;
  transform:scale(1.035);
  transform-origin:center;
}

.pmodal__content{
  height:100%;
  min-height:0;
  overflow-y:auto;
}

.pmodal__nav{
  position:absolute;
  top:50%;
  z-index:4;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(126,105,100,.18);
  background:rgba(255,255,255,.86);
  color:#6f5d5a;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(90,62,48,.12);
  cursor:pointer;
  font-size:28px;
  line-height:1;
  transform:translateY(-50%);
  transition:background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.pmodal__nav:hover{
  background:#fff;
  transform:translateY(-50%) scale(1.04);
  box-shadow:0 14px 30px rgba(90,62,48,.16);
}

.pmodal__nav--prev{
  left:14px;
}

.pmodal__nav--next{
  right:14px;
}

.pmodal__nav[hidden]{
  display:none !important;
}

.pmodal__thumbs{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:62px;
  margin:0;
  padding:0;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
}

.pmodal__thumb{
  flex:0 0 58px;
  width:58px;
  height:58px;
  opacity:1;
  border:1px solid #ded8d3;
  border-radius:12px;
  background:var(--pmodal-media-bg) !important;
  object-fit:cover;
  box-shadow:none;
}

.pmodal__thumb.active{
  border-color:rgba(183,108,122,.88);
  transform:none;
}

.grid .card__media,
.catalog-addon-card__media{
  overflow:hidden !important;
}

.grid .card__media img,
.grid .card:hover .card__media img,
.catalog-addon-card__media img,
.catalog-addon-card:hover .catalog-addon-card__media img{
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  transform:scale(1.055) !important;
  transform-origin:center !important;
  transition:none !important;
}

@media (max-width:920px){
  .pmodal{
    padding:0;
  }

  .pmodal__dialog{
    width:100%;
    height:100dvh;
    max-height:100dvh;
    overflow-y:auto;
  }

  .pmodal__grid{
    display:block;
    height:auto;
    min-height:100%;
  }

  .pmodal__media{
    height:auto;
    padding:0;
  }

  .pmodal__mediaInner{
    height:auto;
    grid-template-rows:auto auto;
    padding:18px 18px 20px;
    gap:14px;
    border-radius:0;
    overflow:visible;
  }

  .pmodal__slider{
    overflow:visible;
  }

  .pmodal__photoFrame{
    width:100%;
    max-height:none;
    border:0;
    box-shadow:none;
    border-radius:0;
  }

  .pmodal__img{
    transform:scale(1.035);
  }

  .pmodal__thumbs{
    min-height:66px;
    padding:6px 0 4px;
    align-items:center;
    overflow:visible;
  }

  .pmodal__thumb,
  .pmodal__thumb.active{
    transform:none !important;
    flex-basis:58px;
    width:58px;
    height:58px;
  }

  .pmodal__content{
    height:auto;
    overflow:visible;
  }
}

/* Keep catalog prices aligned regardless of title/description length. */
.grid .card{
  height:100%;
}

.grid .card__body{
  display:grid !important;
  grid-template-rows:58px 44px 56px auto;
  row-gap:10px;
  min-height:304px;
}

.grid .card__title{
  min-height:58px;
  max-height:58px;
  margin:0 !important;
  padding:0 0 7px !important;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  background-image:linear-gradient(#e89aa8,#e89aa8);
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:72% 1px;
}

.grid .card__title::after{
  display:none !important;
}

.grid .card__desc{
  min-height:44px;
  max-height:44px;
  margin:0 auto !important;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  align-self:start;
}

.grid .card__price-wrap,
.grid .card__price{
  min-height:56px;
  margin:0 !important;
  align-self:center;
}

.grid .card__actions{
  margin:0 !important;
  align-self:end;
}

.grid .card__btnrow{
  margin:0 !important;
}

@media (max-width:520px){
  .grid .card__body{
    grid-template-rows:50px 48px 54px auto;
    row-gap:8px;
    min-height:252px;
  }

  .grid .card__title{
    min-height:50px;
    max-height:50px;
    padding-bottom:6px !important;
    font-size:16px;
    line-height:1.16;
    background-size:72% 1px;
  }

  .grid .card__desc{
    min-height:48px;
    max-height:48px;
  }

  .grid .card__price-wrap,
  .grid .card__price{
    min-height:54px;
  }
}
