:root{
  --bg:#f6f1eb;--paper:#fff;--ink:#171412;--muted:#71675f;--line:#e9ddd2;
  --accent:#f47a20;--accent-dark:#dc6515;--black:#111;--soft:#fff1e3;
  --shadow:0 16px 44px rgba(45,31,23,.08);--radius:24px;--container:1320px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}a{color:inherit}.container{width:min(var(--container),calc(100% - 36px));margin:0 auto}.topbar{background:#111;color:#fff;font-size:13px}.topbar__in{height:34px;display:flex;align-items:center;justify-content:space-between;gap:16px}.header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header__in{min-height:92px;display:grid;grid-template-columns:84px minmax(280px,1fr) auto auto;gap:14px;align-items:center}.logo img{display:block;width:72px;height:72px;object-fit:contain}.search{display:flex;height:52px;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#fff}.search input{min-width:0;flex:1;border:0;outline:0;padding:0 20px;font-size:16px}.search button{border:0;background:var(--accent);color:#fff;padding:0 26px;font-weight:900;cursor:pointer}.header-info{display:flex;gap:10px}.info{min-width:150px;border:1px solid var(--line);border-radius:17px;background:#fff;padding:10px 13px}.info small{display:block;color:var(--muted);font-size:12px;margin-bottom:3px}.info b{font-size:14px;white-space:nowrap}.cart-btn{text-decoration:none;border:0;border-radius:999px;background:var(--accent);color:#fff;min-height:52px;padding:0 24px;font-weight:900;cursor:pointer;box-shadow:0 12px 28px rgba(244,122,32,.22)}.mobile-search{display:none;width:48px;height:48px;border:0;border-radius:50%;background:var(--accent);color:#fff;font-size:0;cursor:pointer}.mobile-search svg{width:23px;height:23px}.nav{background:#edc289;border-bottom:1px solid #ddb174}.nav__in{display:flex;overflow-x:auto;scrollbar-width:none}.nav__in::-webkit-scrollbar,.category-strip::-webkit-scrollbar,.tabs::-webkit-scrollbar{display:none}.nav a{flex:0 0 auto;text-decoration:none;font-size:14px;font-weight:850;padding:16px 17px;border-right:1px solid rgba(100,67,33,.13)}.nav a:hover{background:rgba(255,255,255,.28)}.subnav{background:#fff;border-bottom:1px solid var(--line)}.subnav__in{display:flex;gap:26px;align-items:center;min-height:42px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.subnav a{text-decoration:none;color:#51483f;font-size:14px}.hero{position:relative;overflow:hidden;background:#0f0f0f;color:#fff}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.48)),url('/assets/images/home-hero.jpg') center/cover no-repeat}.hero__in{position:relative;padding:88px 0 96px;max-width:780px}.eyebrow{display:inline-flex;background:var(--accent);color:#fff;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.hero h1{font-size:clamp(42px,6vw,76px);line-height:.96;letter-spacing:-.055em;margin:20px 0}.hero p{max-width:680px;font-size:18px;line-height:1.55;color:rgba(255,255,255,.82)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:999px;padding:0 22px;text-decoration:none;font-weight:900;cursor:pointer}.btn--orange{background:var(--accent);color:#fff}.btn--orange:hover{background:var(--accent-dark)}.btn--white{background:#fff;color:#171412}.section{padding:62px 0}.section--white{background:#fff}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.section-head h2{font-size:clamp(34px,4vw,54px);letter-spacing:-.05em;margin:0 0 6px;line-height:1}.section-head p{margin:0;color:var(--muted)}.category-strip{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;padding:4px 2px 12px}.category-tile{flex:0 0 245px;display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:center;border:1px solid var(--line);border-radius:22px;background:#fff;padding:10px;text-decoration:none;box-shadow:0 8px 22px rgba(45,31,23,.04);cursor:pointer}.category-tile:hover,.category-tile.is-active{border-color:#f3a568;box-shadow:0 12px 30px rgba(244,122,32,.12)}.category-tile img{width:92px;height:82px;border-radius:16px;object-fit:contain;background:#faf7f3}.category-tile strong{display:block;font-size:17px;line-height:1.1}.category-tile small{display:block;color:var(--muted);margin-top:7px}.promo-grid,.popular-grid,.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 12px 32px rgba(45,31,23,.06)}.product-photo{position:relative;display:block;aspect-ratio:1.18/1;background:#f8f5f1;overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:contain;display:block}.stock{position:absolute;left:12px;top:12px;background:rgba(22,29,31,.92);color:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:850}.sale-badge{position:absolute;right:12px;top:12px;background:var(--accent);color:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.product-body{display:flex;flex:1;flex-direction:column;padding:17px}.product-cat{color:var(--accent);font-size:13px;font-weight:900;margin-bottom:8px}.product-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:47px;margin:0;font-size:18px;line-height:1.3}.product-title a{text-decoration:none}.price-block{margin-top:auto;padding-top:15px}.online-price{font-size:24px;font-weight:950}.store-sale{margin-bottom:6px;color:#a84b0d;font-size:14px;font-weight:850}.store-sale strong{font-size:19px;color:var(--accent)}.product-actions{display:grid;grid-template-columns:72px 1fr;gap:9px;margin-top:14px}.qty-input{width:100%;height:46px;border:1px solid var(--line);border-radius:14px;text-align:center;font-weight:900;outline:0}.add{height:46px;border:0;border-radius:14px;background:var(--accent);color:#fff;font-weight:900;cursor:pointer}.add.is-added{background:#28753d}.tabs{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;margin-bottom:18px;padding-bottom:4px}.tab{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:#fff;color:#198bca;padding:11px 17px;font-weight:900;cursor:pointer}.tab.is-active{background:var(--accent);border-color:var(--accent);color:#fff}.catalog-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin-bottom:18px}.catalog-search{height:48px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:0 15px;outline:0}.catalog-meta{color:var(--muted);font-size:14px}.load-more-wrap{text-align:center;padding-top:28px}.load-more{min-width:240px}.empty{grid-column:1/-1;border:1px dashed #d7c8bb;border-radius:20px;padding:34px;text-align:center;color:var(--muted)}.notice{background:#fff;border:1px solid #f0cda9;border-radius:24px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.notice h2{margin:0 0 7px;font-size:32px}.notice p{margin:0;color:#71543e}.soon{flex:0 0 auto;border-radius:999px;background:var(--accent);color:#fff;padding:12px 18px;font-weight:900}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature{border:1px solid var(--line);border-radius:22px;background:#fff;padding:20px}.feature svg{width:28px;height:28px;color:var(--accent);margin-bottom:12px}.feature h3{margin:0 0 8px;font-size:18px}.feature p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.info-section{display:grid;grid-template-columns:1fr 1fr;gap:20px}.info-box{border:1px solid var(--line);border-radius:24px;background:#fff;padding:26px}.info-box h2{margin-top:0}.info-box p{color:var(--muted);line-height:1.55}.footer{background:#2d3232;color:#fff;padding:38px 0}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px}.footer h3{margin-top:0}.footer p,.footer a{color:rgba(255,255,255,.72)}.footer a{text-decoration:none}.toast{position:fixed;left:50%;bottom:24px;z-index:100;transform:translate(-50%,18px);opacity:0;pointer-events:none;background:#1d2420;color:#fff;border-radius:999px;padding:12px 18px;font-weight:900;transition:.2s}.toast.is-show{opacity:1;transform:translate(-50%,0)}.drawer-backdrop{position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.42);display:none}.drawer-backdrop.is-open{display:block}.cart-drawer{position:fixed;right:0;top:0;bottom:0;z-index:80;width:min(500px,100%);background:#fff;transform:translateX(102%);transition:.22s;box-shadow:-20px 0 60px rgba(0,0,0,.18);overflow:auto}.cart-drawer.is-open{transform:translateX(0)}.cart-head{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:18px 20px;z-index:2}.cart-head h2{margin:0}.icon-btn{border:0;background:#f4eee8;border-radius:50%;width:40px;height:40px;cursor:pointer}.cart-body{padding:20px}.cart-line{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:13px 0}.cart-line small{display:block;color:var(--muted);margin-top:4px}.remove{border:0;background:#f4eee8;border-radius:999px;width:32px;height:32px;cursor:pointer}.cart-total{display:flex;justify-content:space-between;font-size:20px;font-weight:950;padding:20px 0}.order-form{display:grid;gap:10px}.order-form input,.order-form select,.order-form textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 13px;outline:0}.order-form textarea{min-height:78px;resize:vertical}.order-form .hidden{display:none}.order-result{margin-top:10px;font-weight:850}.order-result.error{color:#b00020}.product-page{padding:42px 0 70px}.crumbs{font-size:14px;color:var(--muted);margin-bottom:18px}.crumbs a{color:var(--accent);text-decoration:none}.product-detail{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:26px;align-items:start}.detail-photo{border:1px solid var(--line);border-radius:28px;background:#fff;overflow:hidden;box-shadow:var(--shadow)}.detail-photo img{display:block;width:100%;height:min(620px,58vw);object-fit:contain}.detail-panel{border:1px solid var(--line);border-radius:28px;background:#fff;padding:28px;box-shadow:var(--shadow)}.detail-panel h1{font-size:clamp(34px,4vw,52px);line-height:1.02;letter-spacing:-.045em;margin:8px 0 14px}.detail-desc{color:var(--muted);font-size:16px;line-height:1.6;white-space:pre-line}.detail-specs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.detail-spec{border:1px solid var(--line);border-radius:16px;background:#faf7f3;padding:13px}.detail-spec small{display:block;color:var(--muted);margin-bottom:4px}.detail-price{font-size:34px;font-weight:950;margin:18px 0}.store-promo-box{border:1px solid #f0c89f;border-radius:18px;background:#fff6ed;padding:15px;margin:16px 0}.store-promo-box b{display:block;color:var(--accent);font-size:22px}.store-promo-box small{display:block;color:#744d2f;margin-top:6px;line-height:1.4}.detail-actions{display:grid;grid-template-columns:110px 1fr;gap:10px}.delivery-note{margin-top:18px;border-top:1px solid var(--line);padding-top:16px;color:var(--muted);line-height:1.5}.admin-shell{min-height:100vh;background:#f3eee8;padding:28px}.admin-card{max-width:1100px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:var(--shadow)}.admin-login{max-width:430px;margin:10vh auto}.admin-form{display:grid;gap:12px}.admin-form input{border:1px solid var(--line);border-radius:14px;padding:13px}.admin-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.admin-search{flex:1;min-width:260px;border:1px solid var(--line);border-radius:14px;padding:12px}.admin-results{display:grid;gap:8px;max-height:320px;overflow:auto}.admin-product{border:1px solid var(--line);border-radius:14px;background:#fff;padding:11px 13px;text-align:left;cursor:pointer}.admin-product:hover{border-color:var(--accent)}.admin-selected{border:1px solid #f0c89f;background:#fff6ed;border-radius:16px;padding:14px;margin:14px 0}.admin-promo-form{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;align-items:end}.admin-promo-form label{display:grid;gap:5px;font-size:13px;color:var(--muted)}.admin-promo-form input{border:1px solid var(--line);border-radius:12px;padding:11px}.admin-list{display:grid;gap:10px;margin-top:22px}.admin-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:13px}.admin-row small{display:block;color:var(--muted);margin-top:4px}.admin-danger{border:0;background:#fbe9e7;color:#a52418;border-radius:12px;padding:10px 12px;cursor:pointer}.admin-edit{border:0;background:#fff1e3;color:#a84b0d;border-radius:12px;padding:10px 12px;cursor:pointer}
@media(max-width:1120px){.header__in{grid-template-columns:72px 1fr auto}.header-info{display:none}.promo-grid,.popular-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.features{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.topbar{display:none}.container{width:min(var(--container),calc(100% - 24px))}.header__in{min-height:82px;grid-template-columns:62px 1fr auto auto;gap:9px}.logo img{width:58px;height:58px}.header .search{display:none;position:absolute;left:12px;right:12px;top:86px;box-shadow:var(--shadow);z-index:3}.header.is-search-open .search{display:flex}.mobile-search{display:grid;place-items:center}.cart-btn{min-height:48px;padding:0 17px;font-size:15px}.nav{display:none}.subnav{display:none}.hero__in{padding:58px 0 64px}.hero h1{font-size:44px}.hero p{font-size:16px}.section{padding:46px 0}.section-head{display:block}.section-head .btn{margin-top:14px}.category-tile{flex-basis:210px;grid-template-columns:78px 1fr}.category-tile img{width:78px;height:70px}.promo-grid,.popular-grid,.product-grid{grid-template-columns:1fr;gap:16px}.product-photo{aspect-ratio:1.32/1}.product-title{min-height:0;font-size:19px}.features,.info-section{grid-template-columns:1fr}.notice{align-items:flex-start;flex-direction:column}.catalog-tools{grid-template-columns:1fr}.product-detail{grid-template-columns:1fr}.detail-photo img{height:420px}.footer-grid{grid-template-columns:1fr}.admin-promo-form{grid-template-columns:1fr}.admin-row{grid-template-columns:1fr auto auto}}

/* IKD_V2_GROUPED_CATEGORIES */
.nav__in{
  align-items:stretch;
}

.nav__in button{
  flex:0 0 auto;
  border:0;
  border-right:1px solid rgba(100,67,33,.13);
  background:transparent;
  color:#33271e;
  padding:16px 17px;
  font-size:14px;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}

.nav__in button:hover,
.nav__in button.is-active{
  background:var(--accent);
  color:#fff;
}

.seafood-subnav-wrap{
  display:none;
  background:#fff;
  border-bottom:1px solid var(--line);
}

.seafood-subnav-wrap.is-open{
  display:block;
}

.seafood-subnav{
  display:flex;
  gap:9px;
  overflow-x:auto;
  scrollbar-width:none;
  padding:10px 0;
}

.seafood-subnav::-webkit-scrollbar{
  display:none;
}

.seafood-chip{
  flex:0 0 auto;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  padding:9px 14px;
  font-weight:850;
  cursor:pointer;
}

.seafood-chip span{
  color:var(--muted);
  font-size:12px;
  margin-left:4px;
}

.seafood-chip.is-active{
  background:#171412;
  border-color:#171412;
  color:#fff;
}

.seafood-chip.is-active span{
  color:rgba(255,255,255,.7);
}

.category-tile{
  font:inherit;
  text-align:left;
  color:inherit;
}

.online-label{
  display:block;
  color:#71675f;
  font-size:12px;
}

.about-hero{
  padding:64px 0 26px;
}

.about-hero h1{
  margin:0 0 18px;
  font-size:clamp(42px,6vw,72px);
  line-height:.98;
  letter-spacing:-.055em;
}

.about-lead{
  max-width:900px;
  color:#594f47;
  font-size:20px;
  line-height:1.55;
}

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

.about-card{
  border:1px solid var(--line);
  border-radius:26px;
  background:#fff;
  padding:28px;
}

.about-card h2{
  margin-top:0;
  font-size:28px;
}

.about-card p,
.about-card li{
  color:var(--muted);
  line-height:1.6;
}

.about-wide{
  grid-column:1/-1;
}

.about-list{
  margin:0;
  padding-left:20px;
}

.about-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-radius:28px;
  background:#171412;
  color:#fff;
  padding:30px;
}

.about-cta p{
  margin:6px 0 0;
  color:rgba(255,255,255,.72);
}

@media(max-width:760px){
  .about-grid{
    grid-template-columns:1fr;
  }

  .about-wide{
    grid-column:auto;
  }

  .about-cta{
    display:block;
  }

  .about-cta .btn{
    margin-top:18px;
  }
}

/* IKD_V2_SEPARATE_CATEGORY_PAGES */

/* Все фото товара имеют одинаковую рамку независимо от исходного размера. */
.product-photo{
  aspect-ratio:auto !important;
  height:250px !important;
  padding:12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#f7f3ee !important;
}

.product-photo img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
}

.no-photo{
  color:#8b7f75;
  font-size:14px;
  font-weight:800;
  text-align:center;
}

.category-tile img{
  object-fit:contain !important;
  object-position:center !important;
  padding:6px !important;
  background:#f7f3ee !important;
}

.nav__in a.nav-cat{
  flex:0 0 auto;
  text-decoration:none;
  font-size:14px;
  font-weight:850;
  padding:16px 17px;
  border-right:1px solid rgba(100,67,33,.13);
  white-space:nowrap;
}

.nav__in a.nav-cat:hover,
.nav__in a.nav-cat.is-active{
  background:var(--accent);
  color:#fff;
}

.tabs a.tab{
  text-decoration:none;
}

.catalog-page-v2{
  min-height:70vh;
}

.catalog-page-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}

.catalog-page-heading h1{
  margin:14px 0 8px;
  font-size:clamp(42px,6vw,68px);
  line-height:.98;
  letter-spacing:-.055em;
}

.catalog-page-heading p{
  max-width:760px;
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.55;
}

.catalog-subgroups{
  display:flex;
  gap:9px;
  overflow-x:auto;
  scrollbar-width:none;
  padding:0 0 20px;
}

.catalog-subgroups::-webkit-scrollbar{
  display:none;
}

.catalog-subgroups.hidden{
  display:none;
}

.catalog-subgroups .seafood-chip{
  text-decoration:none;
}

@media(max-width:760px){
  .product-photo{
    height:255px !important;
  }

  .catalog-page-heading{
    display:block;
  }

  .catalog-page-heading h1{
    font-size:42px;
  }
}


/* IKD_V2_MENU_SCROLL_AND_LOCAL_TABS */
.nav__in,
.tabs,
.seafood-subnav,
.subnav__in{
  overflow-x:auto !important;
  overflow-y:hidden !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
  -webkit-overflow-scrolling:touch !important;
  touch-action:pan-x !important;
  overscroll-behavior-inline:contain !important;
}

.nav__in::-webkit-scrollbar,
.tabs::-webkit-scrollbar,
.seafood-subnav::-webkit-scrollbar,
.subnav__in::-webkit-scrollbar{
  display:none !important;
  width:0 !important;
  height:0 !important;
}

.nav__in > *,
.tabs > *,
.seafood-subnav > *,
.subnav__in > *{
  flex:0 0 auto !important;
}

.tabs{
  cursor:grab;
}

.tabs:active{
  cursor:grabbing;
}


/* IKD_V2_MULTIROW_TABS_UNIFIED_HEADER_PRODUCT_INFO */
.tabs{
  display:flex !important;
  flex-wrap:wrap !important;
  overflow:visible !important;
  white-space:normal !important;
  gap:10px !important;
  cursor:default !important;
}
.tabs > *{flex:0 0 auto !important;}

.nav__in,.subnav__in{
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
  -webkit-overflow-scrolling:touch !important;
}
.nav__in::-webkit-scrollbar,.subnav__in::-webkit-scrollbar{
  display:none !important;width:0 !important;height:0 !important;
}
.nav__in > *,.subnav__in > *{flex:0 0 auto !important;}
.nav__in a.nav-cat{text-decoration:none !important;}

.product-info-section{
  margin-top:24px;padding-top:22px;border-top:1px solid var(--line);
}
.product-info-section h2{margin:0 0 16px;font-size:24px;}
.product-facts{
  display:grid;gap:0;margin:0;border:1px solid var(--line);
  border-radius:18px;overflow:hidden;
}
.product-fact{
  display:grid;grid-template-columns:minmax(150px,.42fr) minmax(0,1fr);
  gap:18px;padding:13px 15px;border-bottom:1px solid var(--line);
}
.product-fact:last-child{border-bottom:0;}
.product-fact dt{color:var(--muted);font-weight:700;}
.product-fact dd{margin:0;line-height:1.5;}
.product-full-description{
  margin-top:14px;border:1px solid var(--line);border-radius:16px;
  background:#faf7f3;overflow:hidden;
}
.product-full-description summary{padding:13px 15px;font-weight:850;cursor:pointer;}
.product-full-description > div{
  padding:0 15px 15px;color:var(--muted);line-height:1.6;white-space:pre-wrap;
}
.detail-panel{align-self:start;}

@media(max-width:680px){
  .tabs{gap:8px !important;}
  .tab{padding:10px 13px !important;font-size:14px !important;}
  .product-fact{grid-template-columns:1fr;gap:5px;}
}

/* IKD_V2_SBIS_MAX_PRODUCT_INFO */
.detail-gallery{
  display:block !important;
  padding:18px !important;
}

.detail-gallery-main{
  width:100%;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:#faf7f3;
  overflow:hidden;
}

.detail-gallery-main img{
  width:100%;
  height:520px;
  object-fit:contain;
  object-position:center;
  display:block;
}

.detail-thumbs{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}

.detail-thumb{
  height:88px;
  padding:6px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  overflow:hidden;
}

.detail-thumb.is-active{
  border:2px solid var(--accent);
}

.detail-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.product-info-subtitle{
  margin:22px 0 12px;
  font-size:18px;
}

.product-basic-info{
  margin-top:18px;
}

@media(max-width:760px){
  .detail-gallery-main{
    min-height:320px;
  }

  .detail-gallery-main img{
    height:320px;
  }

  .detail-thumbs{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .detail-thumb{
    height:72px;
  }
}


/* IKD_V2_PLAIN_PRODUCT_DESCRIPTION */
.product-description-text{
  margin-top:14px;
  padding:15px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#faf7f3;
  color:var(--muted);
  line-height:1.65;
  white-space:pre-wrap;
}

/* IKD_V2_PROMO_NOTE_SOFT */
.promo-note{
  margin:7px 0 0 !important;
  max-width:780px;
  color:#81766d !important;
  font-size:13px !important;
  line-height:1.5 !important;
  font-style:italic !important;
  font-weight:400 !important;
}

/* IKD_CHARACTERISTICS_BOTTOM_GAP */
.product-details,
.product-characteristics,
.product-specs,
.product-specifications,
.details-table,
.spec-table,
.characteristics-table {
  margin-bottom: 18px !important;
}

/* V2 product page: tables are followed by the quantity/cart row. */
.product-main table,
.product-info table,
.product-content table {
  margin-bottom: 18px;
}

/* IKD_PRODUCT_IMAGE_CONTAIN_V1
   Каталожные фотографии никогда не обрезаем.
   Новый рекомендуемый формат: квадрат от 800x800, оптимально 1200x1200.
*/
.product-card img,
.product-card picture img,
.catalog-card img,
.catalog-product-card img,
.product-card__image img,
.product-card__media img,
.product-card-image img,
.product-card-media img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  background: #f7f3ee;
}

/* Если у карточки есть отдельная media-обёртка — тоже делаем её квадратной. */
.product-card__image,
.product-card__media,
.product-card-image,
.product-card-media,
.catalog-card__image,
.catalog-product-card__image {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f7f3ee;
}

/* На подробной карточке сохраняем тот же принцип: показать фото целиком. */
.product-gallery img,
.product-main-image img,
.product-photo img,
.product-detail-media img {
  object-fit: contain !important;
  object-position: center center !important;
}
