/* Product-page-only styles. Keep the catalogue and cart unchanged. */
.main-panel .page-header.page-header { display: block; }
.main-panel .page-header .page-title { font-size: 28px; line-height: 1.3; font-weight: 700; margin: 0 0 16px; color: #202b38; }
.page-header .breadcrumbs { margin: 0; padding-left: 0; border-left: 0; display: flex; flex-wrap: wrap; row-gap: 8px; }
.kk-product { --pd-ink: #202b38; --pd-muted: #657384; --pd-line: #e5e9ed; --pd-orange: #f58a12; color: var(--pd-ink); font-size: 15px; }
.kk-product * { box-sizing: border-box; }
.kk-product .card { border: 1px solid var(--pd-line); border-radius: 16px; box-shadow: 0 5px 20px rgba(29, 43, 60, .035); margin-bottom: 24px; }
.kk-product .card-header { padding: 22px 26px; }
.kk-product .card-title { color: var(--pd-ink); font-size: 20px; font-weight: 700; line-height: 1.35; margin: 0; }
.kk-product .card-body { padding: 26px; }
.kk-product-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr); gap: 24px; align-items: start; }
.kk-product-hero > div { min-width: 0; }
.kk-product-photo .card-body { position: relative; padding: 24px; }
.kk-product-photo-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 44px; }
.kk-product-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.kk-product-badges:empty { display: none; }
.kk-product-badge { display: inline-block; border: 1px solid var(--pd-line); border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: #576473; margin-bottom: 8px; }
.kk-product-badge--orange { border-color: #ffe5c5; background: #fff3e2; color: #9a4b00; }
.kk-product-brand { display: flex; flex-shrink: 0; justify-content: flex-end; min-height: 40px; }
.kk-product-brand img { object-fit: contain; max-width: 140px; max-height: 42px; }
.kk-product-image { display: flex; align-items: center; justify-content: center; min-height: 370px; padding: 10px 16px 24px; }
.kk-product-image > a { display: block; width: 100%; max-width: 430px; }
.kk-product-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.kk-product-image--empty { flex-direction: column; gap: 20px; color: #8993a0; }
.kk-product-image--empty i { font-size: 56px; }
.kk-product-photo-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 18px; border-top: 1px solid var(--pd-line); font-size: 13px; color: var(--pd-muted); }
.kk-product-photo-footer i { margin-right: 6px; }
.kk-product-purchase__body { padding: 26px; }
.kk-product-stock { display: flex; align-items: center; gap: 8px; color: #247849; font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 18px; }
.kk-product-stock__dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; background: #31a46a; }
.kk-product-stock--empty { color: var(--pd-muted); }
.kk-product-stock--empty .kk-product-stock__dot { background: #a1aab4; }
.kk-product-delivery { position: relative; border: 1px solid #f4d9b7; border-radius: 12px; background: #fff9f0; padding: 20px; }
.kk-product-delivery__city, .kk-product-delivery__when { display: flex; align-items: flex-start; gap: 12px; }
.kk-product-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: #ffecd3; color: #a95a06; }
.kk-product-icon i { display: block; line-height: 1; font-size: 16px; }
.kk-product-caption { display: block; color: var(--pd-muted); font-size: 13px; line-height: 1.5; }
.kk-product-delivery__city strong { display: block; font-size: 23px; font-weight: 700; line-height: 1.35; margin-top: 2px; }
.kk-product-region { margin-left: auto; }
.kk-product-region summary { padding: 10px 0 10px 8px; font-size: 13px; color: #87501a; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; list-style: none; }
.kk-product-region summary::-webkit-details-marker { display: none; }
.kk-product-region__form { position: absolute; right: 12px; left: 12px; top: 80px; z-index: 5; padding: 20px; border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 30px #202b3826; }
.kk-product-region__form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.kk-product-region__form select { width: 100%; min-height: 46px; padding: 10px; border: 1px solid #c6ced7; border-radius: 8px; background: #fff; color: var(--pd-ink); font-size: 16px; }
.kk-product-region__form button { width: 100%; min-height: 44px; border: 0; border-radius: 8px; margin-top: 12px; background: #263848; color: #fff; font-size: 14px; cursor: pointer; }
.kk-product-region__form button:disabled { opacity: .6; cursor: wait; }
.kk-product-region__error { display: block; color: #b43c32; font-size: 13px; line-height: 1.5; margin-top: 8px; }
.kk-product-region__error:empty { display: none; }
.kk-product-delivery__when { padding-top: 18px; margin-top: 18px; border-top: 1px solid #eedfc9; }
.kk-product-delivery__when > div { min-width: 0; }
.kk-product-delivery__when strong { display: block; font-size: 19px; line-height: 1.35; font-weight: 700; margin-top: 4px; overflow-wrap: anywhere; }
.kk-product-delivery__when .kk-product-delivery__date { font-size: 28px; letter-spacing: -.5px; }
.kk-product-delivery__when p { font-size: 14px; color: #596777; margin: 7px 0 0; line-height: 1.55; }
.kk-product-delivery__address { margin: 18px 0 0 50px; font-size: 15px; line-height: 1.5; }
.kk-product-address { display: inline; border: 0; border-bottom: 1px dashed #b6a284; background: transparent; color: var(--pd-ink); padding: 4px 0 2px; text-align: left; line-height: 1.5; cursor: pointer; font-size: 15px; }
.kk-product-address i { font-size: 11px; margin-left: 4px; }
.kk-product-delivery .kk-product-delivery__note { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; color: #766550; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #eedfc9; }
.kk-product-delivery__note i { margin-top: 3px; flex-shrink: 0; }
.kk-product-pricing { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.kk-product-price > strong { display: block; font-size: 36px; line-height: 1.25; letter-spacing: -1px; font-weight: 700; color: var(--pd-ink); }
.kk-product-price > strong > span { font-size: 27px; }
.kk-product-discount { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.kk-product-discount del { color: var(--pd-muted); font-size: 17px; }
.kk-product-discount > span { color: #247849; font-size: 13px; background: #eef7f1; border-radius: 5px; padding: 4px 8px; }
.kk-product-order { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px; border-radius: 10px; background: #f5f7f9; }
.kk-product-order__quantity { flex: 0 0 110px; }
.kk-product-order__quantity label { display: block; color: var(--pd-muted); font-size: 13px; margin: 0 0 6px; }
.kk-product-order .form-control { width: 110px; height: 44px; border-radius: 8px; border: 1px solid #c6ced7; font-size: 16px; font-weight: 600; padding: 8px 10px; }
.kk-product-order__total { text-align: right; }
.kk-product-order__total > strong { display: block; font-size: 24px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.kk-product-add { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; border-radius: 10px; margin-top: 18px; padding: 14px 18px; background: #ff9f22; color: #292211; font-size: 16px; font-weight: 700; line-height: 1.4; transition: background-color .2s; text-align: center; }
.kk-product-add:hover { background: #f18c0b; color: #292211; text-decoration: none; }
.kk-product-add .fa-arrow-right { margin-left: auto; font-size: 14px; }
.kk-product-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--pd-line); }
.kk-product-actions a, .kk-product-notice { color: #596777; font-size: 14px; line-height: 1.5; }
.kk-product-actions i { margin-right: 6px; }
.kk-product-notice { display: block; margin-top: 14px; }
.kk-product a:focus-visible, .kk-product button:focus-visible, .kk-product select:focus-visible, .kk-product summary:focus-visible { outline: 2px solid #b86b11 !important; outline-offset: 4px; }
.kk-product-specifications .options ul.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.kk-product-specifications .options ul.list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 1px solid #edf0f3; padding: 13px 0; font-size: 15px; line-height: 1.5; }
.kk-product-specifications .options ul.list li .key { margin: 0; color: var(--pd-muted); }
.kk-product-specifications .options ul.list li .key span, .kk-product-specifications .options ul.list li .value { position: static; padding: 0; background: transparent; white-space: normal; }
.kk-product-specifications .options ul.list li .value { text-align: right; font-weight: 600; color: var(--pd-ink); }
.kk-product-country { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--pd-muted); margin: 0 22px 14px 0; font-size: 14px; }
.kk-product-country img { max-width: 24px; max-height: 18px; }
.kk-product .kk-product-section-note { font-size: 14px; color: var(--pd-muted); line-height: 1.5; margin: 8px 0 0; }
.kk-product .stores_block_wrap { max-width: none; }
.kk-product .stores_block_wrap .stores_block { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--pd-line); }
.kk-product .stores_block_wrap .stores_text_wrapp, .kk-product .stores_block_wrap .quantity-wrapp { position: static; float: none; margin: 0; padding: 0; font-size: 15px; }
.kk-product .stores_block_wrap .quantity-wrapp { flex-shrink: 0; }
.kk-product .stores_block_wrap .quantity-indicators { display: none; }
.kk-product .stores_block_wrap .quantity-indicators.availNotice { display: inline-block; }
.kk-product .stores_block_wrap .quantity-wrapp .value { color: #247849; font-weight: 600; }

@media (max-width: 1100px) {
  .kk-product-hero { grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); gap: 18px; }
  .kk-product-purchase__body { padding: 20px; }
  .kk-product-delivery { padding: 16px; }
  .kk-product-image { min-height: 290px; padding-inline: 0; }
}
@media (max-width: 900px) {
  .kk-product-hero { grid-template-columns: 1fr; gap: 0; }
  .kk-product-image { min-height: 240px; }
  .kk-product-image > a { max-width: 330px; }
}
@media (max-width: 575px) {
  .main-panel .page-header .page-title { font-size: 23px; }
  .page-header .breadcrumbs { font-size: 12px; }
  .kk-product .card { border-radius: 12px; margin-bottom: 16px; }
  .kk-product .card-header, .kk-product .card-body { padding: 18px; }
  .kk-product .card-title { font-size: 18px; }
  .kk-product-image > a { max-width: 270px; }
  .kk-product-brand img { max-width: 110px; }
  .kk-product-badge { font-size: 12px; }
  .kk-product-purchase__body { padding: 16px; }
  .kk-product-delivery { padding: 15px; }
  .kk-product-delivery__city { gap: 9px; }
  .kk-product-delivery__city strong { font-size: 21px; }
  .kk-product-icon { flex-basis: 32px; width: 32px; height: 32px; border-radius: 8px; }
  .kk-product-delivery__when { gap: 9px; }
  .kk-product-delivery__when .kk-product-delivery__date { font-size: 25px; }
  .kk-product-delivery__address { margin-left: 0; }
  .kk-product-price > strong { font-size: 32px; }
  .kk-product-order { gap: 12px; padding: 12px; }
  .kk-product-order__total > strong { font-size: 21px; }
  .kk-product-order__quantity { flex-basis: 96px; }
  .kk-product-order .form-control { width: 96px; }
  .kk-product-specifications .options ul.list { grid-template-columns: 1fr; }
  .kk-product-specifications .options ul.list li { font-size: 14px; }
}
