/* ===== site.css (FRUIT THEME / burgundy like screenshot) ===== */
*{ box-sizing:border-box; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
html,body{ height:100%; }

:root{
  /* light page background */
  --bg1:#fbf7f8;
  --bg2:#f1eaec;

  --text:#1f2937;
  --muted:#6b7280;

  --card:#ffffff;
  --stroke: rgba(31,41,55,.16);

  --shadow1: 0 18px 40px rgba(31,41,55,.18);
  --shadow2: 0  6px 16px rgba(31,41,55,.10);

  --radius:22px;

  /* PRIMARY (we keep variable names, but now it's burgundy) */
  --green1:#8f1f32;  /* burgundy top */
  --green2:#5e0f1c;  /* burgundy bottom */

  /* secondary accent (used for links focus etc.) */
  --indigo:#b61b35;

  --container:1300px;

  /* dark header/footer tone */
  --wine:#7d1728;
  --wine2:#5a0f1a;
  --wine3:#3b0b12;

  --onDark:#ffffff;
  --onDarkMuted: rgba(255,255,255,.72);
}

body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg1),var(--bg2));
}

a{ color:var(--text); }
a:hover{ color:var(--indigo); }

.container{
  max-width:1300px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  padding:22px;
  position:relative;
}

.card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  box-shadow: var(--shadow1), var(--shadow2);
  padding:18px;
}

.muted{ color:var(--muted); font-weight:800; }

/* ===== button / interactions ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  background:#fff;
  font-weight:900;
  text-decoration:none;

  /* more volume */
  box-shadow:
    0 18px 36px rgba(31,41,55,.18),
    0  6px 14px rgba(31,41,55,.10);

  cursor:pointer;
  transition:
    background-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease,
    filter .16s ease;
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:
    0 22px 46px rgba(31,41,55,.22),
    0 10px 20px rgba(31,41,55,.12);
}
.btn:active{
  transform:translateY(0px) scale(.99);
  box-shadow:
    0 10px 18px rgba(31,41,55,.18),
    0  3px  8px rgba(31,41,55,.10);
}

.btn-primary{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(180deg,var(--green1),var(--green2));
  box-shadow:
    0 20px 40px rgba(143,31,50,.30),
    0  8px 16px rgba(94,15,28,.20);
}
.btn-primary:hover{
  filter:saturate(1.05);
  box-shadow:
    0 26px 56px rgba(143,31,50,.34),
    0 12px 24px rgba(94,15,28,.22);
}

/* toggles */
#btnCatToggle{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(180deg,var(--green1),var(--green2));
  box-shadow:
    0 20px 40px rgba(143,31,50,.30),
    0  8px 16px rgba(94,15,28,.20);
}
#btnPagesToggle{
  color:#fff;
  border-color:transparent;
  background: linear-gradient(180deg, #2a171c, #b1003f);
  box-shadow:
    0 20px 40px rgba(177,0,63,.24),
    0  8px 16px rgba(42,23,28,.16);
}

.btn-soft{ background:rgba(182,27,53,.10); }

.input{
  width:100%;
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:12px 14px;
  font-weight:800;
  outline:none;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  transition: box-shadow .16s ease, border-color .16s ease;
}
.input:focus{
  border-color:rgba(182,27,53,.40);
  box-shadow:0 0 0 3px rgba(182,27,53,.14);
}

/* ===== sticky header (dark like screenshot) ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:9990;

  background: linear-gradient(180deg, rgba(125,23,40,.96), rgba(90,15,26,.96));
  backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(20,8,10,.30);
}
.header-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  flex-wrap:wrap;
  align-items:center;
}

/* brand */
.brand{
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
  color:var(--onDark);
}
.brand:hover{ color:var(--onDark); }

.brand-mark{
  width:14px;height:14px;border-radius:999px;
  background:linear-gradient(180deg,#fff,rgba(255,255,255,.75));
  box-shadow:0 10px 22px rgba(0,0,0,.25);
  margin-top:0;
}

.brand-name{ font-weight:900; font-size:18px; line-height:1.1; color:var(--onDark); }
.brand-sub{ margin-top:6px; color:var(--onDarkMuted); font-weight:800; font-size:12px; }

/* nav */
.nav{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  flex: 1 1 auto;
  justify-content:center;
}
.nav a{
  text-align:center;
  text-decoration:none;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:900;

  color:var(--onDark);
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.nav a:hover{
  color:var(--onDark);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.20);
}

.header-actions{
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.cart-badge{
  display:inline-flex;
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:linear-gradient(180deg,#ff4a79,#b1003f);
  font-weight:900;
  font-size:12px;
  box-shadow: 0 10px 22px rgba(177,0,63,.28);
}

/* ===== grid products ===== */
.grid-products{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
@media (max-width:980px){ .grid-products{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .grid-products{ grid-template-columns:1fr;} }

/* ===== product card ===== */
.pcard{
  background:#fff;
  border:1px solid rgba(31,41,55,.16);
  border-radius:22px;
  box-shadow:0 14px 30px rgba(31,41,55,.14), 0 5px 12px rgba(31,41,55,.08);
  overflow:hidden;
  transition:background-color .15s ease, box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.pcard:hover{ transform:translateY(-3px); box-shadow: var(--shadow1), var(--shadow2); }

.pmedia{
  aspect-ratio: 1/1;
  background: rgba(31,41,55,.03);
  overflow:hidden;
}
.pmedia img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:transparent;
  padding:10px;
  transition:transform .25s ease;
  border-radius:22px;
}
.pcard:hover .pmedia img{ transform:scale(1.10); }

.pbody{ padding:14px 14px 12px; }
.ptitle{
  margin:0;
  font-weight:900;
  font-size:15px;
  line-height:1.25;
  min-height:38px;
}
.price-row{ margin-top:10px; display:flex; gap:10px; align-items:baseline; }
.price{ font-weight:900; font-size:18px; }
.price-old{ color:var(--muted); text-decoration:line-through; font-weight:900; }

.pactions{
  padding:0 14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

/* stepper */
.stepper{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(31,41,55,.16);
  border-radius:14px;
  padding:6px;
  background:#fff;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
}
.stepper button{
  width:34px; height:34px;
  border-radius:12px;
  border:1px solid rgba(31,41,55,.16);
  background:#fff;
  cursor:pointer;
  font-weight:900;
  font-size:18px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.stepper button:hover{ transform:translateY(-1px); box-shadow:0 12px 22px rgba(31,41,55,.10); }
.stepper button:active{ transform:translateY(0px) scale(.98); }
.stepper .val{ width:34px; text-align:center; font-weight:900; }

/* ===== catalog with left sidebar ===== */
.catalog-wrap{
  margin-top:14px;
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.cat-sidebar{
  width:290px;
  position:sticky;
  top:84px;
  flex:0 0 auto;
}
.cat-content{
  flex:1 1 auto;
  min-width:0;
}
@media (max-width:980px){
  .catalog-wrap{ display:block; }
  .cat-sidebar{
    position:static;
    top:auto;
    width:100%;
    margin-bottom:14px;
  }
}
@media (max-width: 980px){ .cat-content{ margin-left:0; } }

.cat-list{ padding:16px; }
.cat-item{
  display:block;
  text-decoration:none;
  color:var(--text);
  padding:12px 14px;
  border-radius:18px;
  border:1px solid transparent;
  font-weight:900;
  background:#fff;
  margin-bottom:10px;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  transition:background-color .15s ease, box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.cat-item:hover{
  transform:translateY(-2px);
  border-color:rgba(31,41,55,.16);
  box-shadow:0 18px 36px rgba(31,41,55,.14), 0 7px 14px rgba(31,41,55,.08);
}
.cat-item.active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(180deg,var(--green1),var(--green2));
  box-shadow:0 18px 36px rgba(143,31,50,.28), 0 7px 14px rgba(94,15,28,.18);
  transform:translateY(-1px) scale(1.03);
}
.cat-child{ margin-left:14px; opacity:.95; }

/* ===== footer (dark like screenshot) ===== */
.site-footer{
  margin-top:18px;
  padding:26px 0 30px;
  color:var(--onDarkMuted);
  font-weight:800;

  background: linear-gradient(180deg, rgba(59,11,18,.96), rgba(40,10,14,.98));
  border-top: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 -18px 40px rgba(20,8,10,.22);
}
.site-footer a{ color: rgba(255,255,255,.86); }
.site-footer a:hover{ color:#fff; text-decoration:underline; }

.footer-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

/* ===== CART DRAWER ===== */
.cart-drawer{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}
.cart-drawer.is-open{ display:block; }

.cart-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
}

.cart-panel{
  position:absolute;
  right:0; top:0;
  height:100%;
  width:min(420px, 92vw);
  background:#fff;
  border-left:1px solid rgba(31,41,55,.16);
  box-shadow: 0 18px 40px rgba(31,41,55,.18), 0 6px 16px rgba(31,41,55,.10);
  transform: translateX(110%);
  transition: transform .18s ease;
  display:flex;
  flex-direction:column;
}
.cart-drawer.is-open .cart-panel{ transform: translateX(0); }

.cart-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(31,41,55,.10);
}
.cart-title{ font-weight:900; font-size:18px; }
.cart-x{
  width:40px;height:40px;
  border-radius:14px;
  border:1px solid rgba(31,41,55,.16);
  background:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cart-x:hover{ transform:translateY(-1px); box-shadow:0 16px 30px rgba(31,41,55,.12); }
.cart-sub{ padding:10px 14px 0; }

.cart-body{
  padding:12px 14px;
  overflow:auto;
  flex:1;
}

.cart-item{
  display:grid;
  grid-template-columns:74px 1fr;
  gap:12px;
  padding:12px;
  border:1px solid rgba(31,41,55,.16);
  border-radius:18px;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  margin-bottom:12px;
}
.cart-img{
  width:74px;height:74px;border-radius:16px;
  overflow:hidden; border:1px solid rgba(31,41,55,.16);
  background:rgba(31,41,55,.03);
}
.cart-img img{ width:100%;height:100%;object-fit:cover;display:block; }
.cart-name{ font-weight:900; text-decoration:none; }
.cart-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
}
.cart-price{ font-weight:900; }
.cart-sum{ font-weight:900; color:#8f1f32; }

.cart-qty{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
}
.cart-qty button{
  border:1px solid rgba(31,41,55,.16);
  border-radius:12px;
  background:#fff;
  padding:8px 12px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cart-qty button:hover{ transform:translateY(-1px); box-shadow:0 14px 26px rgba(31,41,55,.10); }
.cart-qty button:active{ transform:translateY(0px) scale(.98); }

.cart-qty input{
  width:74px;
  border:1px solid rgba(31,41,55,.16);
  border-radius:12px;
  padding:8px 10px;
  font-weight:900;
}
.cart-remove{ background: rgba(185,28,28,.06); }

.cart-foot{
  border-top:1px solid rgba(31,41,55,.10);
  padding:12px 14px;
}
.cart-total-row{
  display:flex; justify-content:space-between; gap:12px;
  font-weight:900;
}
.cart-total{ font-size:18px; }
.cart-btns{
  display:flex; gap:10px; margin-top:12px; flex-wrap:wrap;
}
@media (max-width:520px){
  .cart-btns{ flex-direction:column; }
}

/* ===== PRODUCT PAGE LAYOUT ===== */
.pwrap{ margin-top:14px; }

.pgrid{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
}
@media (max-width: 920px){
  .pgrid{ grid-template-columns:1fr; }
}

.pgallery{ padding:14px; }
.pbig{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(31,41,55,.16);
  background: rgba(31,41,55,.03);
  box-shadow:0 14px 30px rgba(31,41,55,.14), 0 5px 12px rgba(31,41,55,.08);
  aspect-ratio: 1/1;
}
.pbig img{
  width:100%;
  border-radius:22px;
  height:100%;
  object-fit:contain;
  display:block;
  background:#fff;
}

.pthumbs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.pth{
  width:100px; height:100px;
  padding:0;
  border-radius:16px;
  border:1px solid rgba(31,41,55,.16);
  background:#fff;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  transition:transform .30s ease, box-shadow .30s ease;
}
.pth:hover{ transform:translateY(-2px); box-shadow:0 18px 36px rgba(31,41,55,.14), 0 7px 14px rgba(31,41,55,.08); }
.pth img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#fff;
  border-radius:16px;
  padding:6px;
}

.pinfo{ padding:18px; }
.ptitle2{ margin:0; font-weight:900; font-size:24px; line-height:1.15; }

.pprice{ margin-top:10px; display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; }

.pmeta{
  margin-top:12px;
  border:1px solid rgba(31,41,55,.16);
  border-radius:18px;
  padding:12px;
  background:#fff;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  font-weight:800;
  color:#374151;
  line-height:1.45;
}
.pbuy{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.pdesc2{ margin-top:14px; }
.psec{ font-weight:900; margin-bottom:8px; }
.ptext{ line-height:1.65; font-weight:800; color:#374151; }

/* ===== PAGE CONTENT ===== */
.page-content{
  color:#1f2937;
  font-weight:800;
  line-height:1.75;
}
.page-content h2,
.page-content h3{
  margin:18px 0 10px;
  font-weight:900;
  line-height:1.2;
}
.page-content p{ margin:10px 0; }
.page-content a{
  color:var(--indigo);
  text-decoration:underline;
  font-weight:900;
}
.page-content a:hover{ opacity:.9; }
.page-content ul,
.page-content ol{
  margin:10px 0 10px 18px;
  padding:0;
}
.page-content li{ margin:6px 0; }
.page-content img{
  max-width:100%;
  height:auto;
  border-radius:22px;
  border:1px solid rgba(31,41,55,.16);
  box-shadow:0 14px 30px rgba(31,41,55,.14), 0 5px 12px rgba(31,41,55,.08);
  display:block;
  margin:12px 0;
}
.page-content blockquote{
  margin:12px 0;
  padding:14px 16px;
  border-radius:22px;
  border:1px solid rgba(31,41,55,.16);
  background:rgba(182,27,53,.06);
  box-shadow:0 10px 22px rgba(31,41,55,.06);
}
.page-content table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:12px 0;
  border:1px solid rgba(31,41,55,.16);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
}
.page-content th,
.page-content td{
  padding:12px 12px;
  border-bottom:1px solid rgba(31,41,55,.10);
  text-align:left;
}
.page-content th{
  background:rgba(31,41,55,.03);
  font-weight:900;
}
.page-content tr:last-child td{ border-bottom:0; }

/* ===== MOBILE HEADER DROPDOWN ===== */
.mnav{ display:none; gap:10px; align-items:center; flex-wrap:wrap; }

.nav-list{
  width:100%;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

/* mobile behavior */
@media (max-width: 980px){
  .mnav{ display:flex; }

  .nav{
    width:100%;
    order: 10;
  }
  .nav-list{
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    margin-top:10px;
    padding:12px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:22px;
    background: rgba(0,0,0,.12);
    box-shadow:0 18px 40px rgba(0,0,0,.22);
  }
  .nav.is-open .nav-list{ display:flex; }

  .nav-list a{
    display:block;
    padding:12px 14px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.14);
    text-decoration:none;
    font-weight:900;
    background:rgba(255,255,255,.06);
    color:#fff;
  }
  .nav-list a:hover{
    background:rgba(255,255,255,.10);
    transform:translateY(-1px);
  }
}

/* ===== MOBILE CATEGORIES TOGGLE ===== */
.cat-toggle{ display:none; margin-bottom:10px; width:100%; justify-content:center; }

@media (max-width: 980px){
  .cat-toggle{ display:inline-flex; }
  .cat-list{ display:none; }
  .cat-sidebar.is-open .cat-list{ display:block; }
}

/* ===== AUTH MODAL ===== */
.modal{
  position:fixed;
  inset:0;
  z-index:9998;
  display:none;
}
.modal.is-open{ display:block; }

.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.40);
}

.modal-panel{
  position:relative;
  width:min(560px, 92vw);
  margin:8vh auto 0;
  background:#fff;
  border-radius:22px;
  border:1px solid rgba(31,41,55,.16);
  box-shadow:0 18px 40px rgba(31,41,55,.18), 0 6px 16px rgba(31,41,55,.10);
  padding:16px;
}

.modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.modal-title{ font-weight:900; font-size:18px; }
.modal-x{
  width:40px;height:40px;
  border-radius:14px;
  border:1px solid rgba(31,41,55,.16);
  background:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.modal-x:hover{ transform:translateY(-1px); box-shadow:0 16px 30px rgba(31,41,55,.10); }
.modal-sub{ margin-top:8px; font-weight:800; }
.modal-body{ margin-top:12px; }

/* ===== /assets/css/order.css ===== (оставил, только цвета не ломаем) */
.order-wrap{ max-width: 1100px; margin: 0 auto; padding: 18px 0 32px; }
.order-card{
  background:#fff;
  border:1px solid rgba(31,41,55,.16);
  border-radius:22px;
  box-shadow:0 18px 40px rgba(31,41,55,.18), 0 6px 16px rgba(31,41,55,.10);
  padding:18px;
  margin-bottom:14px;
}
.order-title{ font-weight:900; font-size:24px; line-height:1.1; }
.order-sub{ margin-top:6px; color:#6b7280; font-weight:800; font-size:13px; }
.order-section-title{ font-weight:900; font-size:18px; margin-bottom:12px; }
.order-note{ margin-top:10px; color:#6b7280; font-weight:800; font-size:13px; line-height:1.45; }
.order-summary{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
.order-sitem{
  border:1px solid rgba(31,41,55,.16);
  border-radius:18px;
  padding:12px 14px;
  background:#fff;
}
.order-slabel{ font-size:13px; color:#6b7280; font-weight:900; margin-bottom:6px; }
.order-svalue{ font-weight:900; font-size:16px; }
@media (max-width:720px){ .order-summary{ grid-template-columns:1fr; } }
.order-toggle{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.order-radio{
  display:flex; gap:10px; align-items:center;
  border:1px solid rgba(31,41,55,.16);
  border-radius:18px;
  padding:12px 14px;
  background:#fff;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  font-weight:900;
  font-size:15px;
}
.order-radio input{ margin:0; transform: scale(1.05); }
.order-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
@media (max-width:720px){ .order-grid{ grid-template-columns:1fr; } }
.lk-label{ font-size:14px !important; font-weight:900 !important; color:#111827 !important; }
.lk-input{ font-size:16px !important; font-weight:800 !important; padding:12px 14px !important; border-radius:14px !important; }
.rev-textarea{ font-size:16px !important; font-weight:700 !important; padding:12px 14px !important; border-radius:14px !important; line-height:1.4 !important; }
#dateInput, #timeInput{ font-size:16px !important; padding:12px 14px !important; border-radius:14px !important; }
#timeHint{ font-size:13px; line-height:1.45; }

.oc-item{
  display:grid;
  grid-template-columns: 76px 1fr;
  gap:12px;
  padding:12px;
  border:1px solid rgba(31,41,55,.16);
  border-radius:18px;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  background:#fff;
  margin-bottom:10px;
}
.oc-name{ font-weight:900; text-decoration:none; color:#1f2937; font-size:16px; }
.oc-meta{ display:flex; justify-content:space-between; gap:10px; margin-top:8px; }
.oc-price, .oc-sum{ font-weight:900; white-space:nowrap; font-size:15px; }

/* ====== ANALOG TIME PICKER (modal) ====== */
.tp-modal{ position:fixed; inset:0; display:none; z-index:9999; }
.tp-modal.is-open{ display:block; }
.tp-backdrop{ position:absolute; inset:0; background: rgba(15,23,42,.55); }
.tp-panel{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
  width:min(420px, calc(100vw - 28px));
  background:#fff;
  border-radius:22px;
  border:1px solid rgba(31,41,55,.16);
  box-shadow:0 28px 60px rgba(31,41,55,.30);
  padding:16px;
}
.tp-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.tp-title{ font-weight:900; font-size:16px; }
.tp-sub{ font-size:13px; color:#6b7280; font-weight:800; margin-top:2px; }
.tp-x{ border:0; background:transparent; font-size:20px; cursor:pointer; padding:6px 10px; border-radius:12px; }
.tp-x:hover{ background: rgba(31,41,55,.06); }
.tp-display{
  border:1px solid rgba(31,41,55,.16);
  border-radius:18px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin: 10px 0 12px;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
}
.tp-time{ font-weight:900; font-size:22px; letter-spacing: 0.5px; }
.tp-step{ font-weight:900; font-size:12px; color:#6b7280; }
.tp-clockWrap{ display:flex; justify-content:center; padding: 6px 0 2px; }
.tp-actions{ display:flex; gap:10px; justify-content:flex-end; margin-top:12px; }
.tp-btn{
  border:1px solid rgba(31,41,55,.16);
  border-radius:14px;
  padding:10px 14px;
  font-weight:900;
  cursor:pointer;
  background:#fff;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
}
.tp-btn-primary{
  background: rgba(143,31,50,.12);
  border-color: rgba(143,31,50,.35);
}
.tp-btn:disabled{ opacity:.45; cursor:not-allowed; }
.tp-clock{ width: 320px; height: 320px; max-width: 100%; touch-action: none; }
.tp-hint{ text-align:center; font-size:13px; color:#6b7280; font-weight:800; margin-top:8px; }

/* ===== PRODUCT SIZES (small/medium/large) ===== */
.psizes{
  margin-top:12px;
  padding-top:12px;
  border-top:1px dashed rgba(31,41,55,.14);
}
.psizes-title{ font-weight:900; margin-bottom:10px; }
.psizes-row{ display:flex; gap:10px; flex-wrap:wrap; }

.psize-btn{
  flex: 1 1 160px;
  text-align:left;
  border:1px solid rgba(31,41,55,.16);
  border-radius:18px;
  padding:12px 14px;
  background:#fff;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}
.psize-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(31,41,55,.14), 0 7px 14px rgba(31,41,55,.08);
}
.psize-btn .psize-name{ display:block; font-weight:900; font-size:14px; line-height:1.2; }
.psize-btn .psize-sub{ display:block; margin-top:6px; font-weight:900; font-size:12px; color:rgba(31,41,55,.62); }
.psize-btn.is-active{
  border-color:rgba(143,31,50,.35);
  background:rgba(143,31,50,.08);
  box-shadow:0 18px 36px rgba(143,31,50,.18), 0 7px 14px rgba(94,15,28,.10);
  transform:translateY(-1px);
}
.psize-info{ margin-top:10px; display:flex; gap:10px; flex-wrap:wrap; }
.psize-chip{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:10px 12px;
  border:1px solid rgba(31,41,55,.16);
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  font-weight:900;
  color:#374151;
}

/* ===== VARIANT MODAL (sizes for cards) ===== */
.vpanel{ width:min(640px, 92vw); }

.v-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}
@media (max-width:520px){
  .v-grid{ grid-template-columns:1fr; }
}
.v-opt{
  text-align:left;
  border:1px solid rgba(31,41,55,.16);
  border-radius:18px;
  padding:12px 14px;
  background:#fff;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}
.v-opt:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(31,41,55,.14), 0 7px 14px rgba(31,41,55,.08);
}
.v-opt.is-active{
  border-color:rgba(143,31,50,.35);
  background:rgba(143,31,50,.08);
  box-shadow:0 18px 36px rgba(143,31,50,.18), 0 7px 14px rgba(94,15,28,.10);
  transform:translateY(-1px);
}
.v-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.v-name{ font-weight:900; font-size:14px; line-height:1.15; }
.v-price{ display:flex; align-items:baseline; gap:8px; white-space:nowrap; font-weight:900; }
.v-old{ color:rgba(31,41,55,.55); text-decoration:line-through; font-weight:900; font-size:12px; }
.v-now{ font-weight:900; }
.v-sub{ margin-top:6px; font-weight:900; font-size:12px; color:rgba(31,41,55,.62); }
.v-row{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-end; }
.v-stepper{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(31,41,55,.16);
  border-radius:14px;
  padding:6px;
  background:#fff;
  box-shadow:0 10px 22px rgba(31,41,55,.06);
}
.v-stepper button{
  width:34px; height:34px;
  border-radius:12px;
  border:1px solid rgba(31,41,55,.16);
  background:#fff;
  cursor:pointer;
  font-weight:900;
  font-size:18px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.v-stepper button:hover{ transform:translateY(-1px); box-shadow:0 12px 22px rgba(31,41,55,.10); }
.v-stepper .v-val{ width:36px; text-align:center; font-weight:900; }

/* ===== brand logo (png no frames, just shadow) ===== */
.brand-logo{
  width:200px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.brand-logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.32));
}

/* (optional) make all links feel more "alive" */
a{
  transition: color .16s ease, transform .16s ease, text-shadow .16s ease;
}
a:hover{
  text-shadow: 0 10px 20px rgba(0,0,0,.10);
}
/* ===== THEME OVERRIDES (put at VERY END of site.css) ===== */

/* 1) Header точно бордовый */
.site-header{
  background: linear-gradient(180deg, rgba(125,23,40,.98), rgba(70,12,20,.98)) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 18px 40px rgba(20,8,10,.30) !important;
}

/* ссылки в шапке белые */
.site-header a,
.site-header .nav a{
  color: rgba(255,255,255,.92) !important;
}
.site-header .nav a:hover{
  color: #fff !important;
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.20) !important;
  transform: translateY(-1px);
}

/* 2) Footer бордовый (перебиваем зелёный) */
.site-footer{
  background: linear-gradient(180deg, rgba(59,11,18,.98), rgba(28,8,12,.99)) !important;
  color: rgba(255,255,255,.78) !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 -18px 40px rgba(20,8,10,.22) !important;
}
.site-footer a{ color: rgba(255,255,255,.86) !important; }
.site-footer a:hover{ color:#fff !important; }

/* 3) Все “зелёные пилюли” в шапке/футере делаем в одной логике */
.site-header .btn,
.site-footer .btn{
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.16) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.22) !important;
}
.site-header .btn:hover,
.site-footer .btn:hover{
  background: rgba(255,255,255,.14) !important;
  transform: translateY(-2px);
}

/* 4) Корзина/основные CTA — бордовые, объёмные */
.btn-primary{
  background: linear-gradient(180deg, #8f1f32, #5e0f1c) !important;
  box-shadow: 0 22px 48px rgba(143,31,50,.34), 0 10px 20px rgba(94,15,28,.22) !important;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(143,31,50,.38), 0 12px 24px rgba(94,15,28,.24) !important;
}
.btn-primary:active{
  transform: translateY(0) scale(.99);
}

/* 5) Лого: делаем заметным на бордовом фоне */
.brand-logo img{
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.45)) !important;
}
.brand-name{
  color:#fff !important;
}
.brand-sub{
  color: rgba(255,255,255,.70) !important;
}

/* 6) Маленький бейдж корзины — розово-бордовый */
.cart-badge{
  background: linear-gradient(180deg,#ff4a79,#b1003f) !important;
  box-shadow: 0 12px 26px rgba(177,0,63,.30) !important;
}
/* ===== AUTH MODAL + LK FORM (PC + Mobile) ===== */

/* overlay */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.is-open { display: block; }

.modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}

/* panel */
.modal .modal-panel {
  position: relative;
  max-width: 760px;
  width: calc(100% - 24px);
  margin: 72px auto 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
}

/* header */
.modal .modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 10px;
}

.modal .modal-title {
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
  font-weight: 800;
}

.modal .modal-sub {
  margin-top: 6px;
  font-size: 13px;
  opacity: .7;
}

.modal .modal-x {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

/* body */
.modal .modal-body {
  padding: 14px 18px 18px;
}

/* card wrapper inside fragment */
.lk-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

/* form grid */
.lk-card form#authForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  align-items: start;
}

/* labels/inputs */
.lk-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(17,24,39,.9);
  margin: 0 0 6px;
}

.lk-input {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(17,24,39,.16);
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  background: #fff;
}

.lk-input:focus {
  border-color: rgba(17,24,39,.35);
  box-shadow: 0 0 0 3px rgba(17,24,39,.10);
}

/* make phone+pass blocks proper cells */
.lk-field { display: block; }
.lk-field--full { grid-column: 1 / -1; }

/* turnstile block */
.lk-turnstile {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}
.lk-turnstile .cf-turnstile { transform-origin: 0 0; }

/* policy row */
.lk-policy {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.35;
  opacity: .9;
}

.lk-policy input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

/* buttons */
.lk-btns {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.lk-btn {
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,.14);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.lk-btn-primary {
  background: linear-gradient(180deg, #8f1f32, #5e0f1c);
  color: #fff;
  border-color: transparent;
  min-width: 220px;
}

.lk-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* errors / notes */
.lk-error {
  grid-column: 1 / -1;
  background: rgba(239,68,68,.10);
  border: 1px solid rgba(239,68,68,.22);
  color: rgba(127,29,29,.95);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.lk-hint, .lk-note {
  grid-column: 1 / -1;
  font-size: 13px;
  opacity: .8;
}

/* reset blocks inside fragment */
.lk-reset-box {
  grid-column: 1 / -1;
  padding: 12px;
  border: 1px solid rgba(17,24,39,.16);
  border-radius: 12px;
  background: rgba(17,24,39,.02);
}

/* responsive */
@media (max-width: 680px) {
  .modal .modal-panel {
    margin: 16px auto 16px;
    border-radius: 16px;
  }

  .modal .modal-title { font-size: 18px; }

  .lk-card form#authForm {
    grid-template-columns: 1fr;
  }

  .lk-btn-primary { width: 100%; min-width: 0; }

  /* if turnstile is the big widget, reduce a bit */
  .lk-turnstile .cf-turnstile { transform: scale(.95); }
}
/* === AUTH modal form: fix spacing, button sizes, checkbox hit area === */

#authModal .modal-body { padding: 16px 18px 18px; }

/* Сетка: 2 колонки на ПК, 1 на мобиле */
#authModal .lk-card form#authForm{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-items:start;
}

/* Лейблы — нормальный размер и отступы */
#authModal .lk-label{
  display:block;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 6px;
  color: rgba(17,24,39,.92);
}

/* Поля — одинаковая высота, нормальная ширина */
#authModal .lk-input{
  width: 100%;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(17,24,39,.18);
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  background:#fff;
}
#authModal .lk-input:focus{
  border-color: rgba(17,24,39,.35);
  box-shadow: 0 0 0 3px rgba(17,24,39,.10);
}

/* Turnstile — всегда с нормальным отступом и на всю строку */
#authModal .cf-turnstile{
  margin-top: 6px;
}
#authModal .lk-turnstile{
  grid-column: 1 / -1;
  display:flex;
  justify-content:flex-start;
}

/* Политика: делаем огромный кликабельный хитбокс */
#authModal .lk-policy{
  grid-column: 1 / -1;
  display:flex;
  align-items:flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 12px;
  background: rgba(17,24,39,.02);
  cursor: pointer;
  user-select:none;
  line-height: 1.35;
  font-size: 13px;
}

/* Сам чекбокс — крупнее + легче попасть */
#authModal .lk-policy input[type="checkbox"]{
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  flex: 0 0 22px;
  accent-color: #5e0f1c;
}

/* Кнопка — нормальный размер */
#authModal .lk-btns{
  grid-column: 1 / -1;
  display:flex;
  gap: 10px;
  margin-top: 2px;
}

#authModal .lk-btn{
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

#authModal .lk-btn-primary{
  background: linear-gradient(180deg, #8f1f32, #5e0f1c);
  color: #fff;
  min-width: 240px;
}

/* Disabled — чтобы не выглядело как “сломалось”, но было понятно */
#authModal .lk-btn-primary:disabled{
  opacity: .55;
  filter: grayscale(.2);
  cursor: not-allowed;
}

/* Ошибки/подсказки аккуратно */
#authModal .lk-error,
#authModal .lk-hint,
#authModal .lk-note{
  grid-column: 1 / -1;
}

/* Мобилка */
@media (max-width: 680px){
  #authModal .lk-card form#authForm{ grid-template-columns: 1fr; }
  #authModal .lk-btn-primary{ width:100%; min-width:0; }
}
/* =========================
   HEADER PATCH (только раскладка + убрать "Меню" на ПК)
   ========================= */

/* ПК: убираем кнопку "Меню" */
@media (min-width: 981px){
  #btnPagesToggle{ display:none !important; }
}

/* Мобила: корзина под телефоном, меню справа */
@media (max-width: 980px){
  .site-header .header-row{
    display:grid !important;
    grid-template-columns: auto 1fr auto; /* logo | phone | menu */
    gap:10px !important;
    align-items:center !important;
    flex-wrap:unset !important;
  }

  .site-header .brand-logo{
    grid-column:1; grid-row:1;
    width:56px !important; max-width:56px !important;
    justify-content:flex-start !important;
  }
  .site-header .brand-logo img{ max-height:42px !important; width:auto !important; }

  .site-header .btn-phone{
    grid-column:2; grid-row:1;
    justify-self:center;
    white-space:nowrap;
  }

  .site-header .header-actions{
    grid-column:3; grid-row:1;
    margin-left:0 !important;
    justify-self:end;
    display:flex !important;
  }

  /* корзина под телефоном (кнопка должна быть отдельным элементом в header.php) */
  .site-header .btn-cart-under{
    grid-column:2; grid-row:2;
    justify-self:center;
    margin-top:2px;
    white-space:nowrap;
  }

  .site-header .nav{
    grid-column:1 / -1;
    grid-row:3;
    width:100%;
  }
}
