html, body, #root { margin: 0; min-height: 100%; }
body { background: #fff; }
.kay { --kb: #d98200; --kd: #1b2a41; --kg: #faf3e3; font-family: var(--ds-font-text, system-ui, 'Segoe UI', Tahoma, sans-serif); color: #14202e; background: #fff; max-width: 1100px; margin: 0 auto; }
.kay * { box-sizing: border-box; }
.kay-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e3e9f0; }
.kay-logo { width: 52px; height: auto; }
.kay-title { font-weight: 700; font-size: 18px; color: var(--kd); }
.kay-sub { font-size: 12px; color: #5b6b7c; letter-spacing: .04em; }
.kay-hero { background: linear-gradient(135deg, #1b2a41 0%, #2b3f63 60%, #d98200 140%); color: #fff; padding: 28px 18px 26px; }
.kay-hero h1 { margin: 0 0 8px; font-size: 24px; line-height: 1.5; font-weight: 700; }
.kay-hero p { margin: 0 0 18px; font-size: 14px; line-height: 1.8; color: #d4e4f5; max-width: 560px; }
.kay-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.kay-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 3px; font-weight: 700; font-size: 15px; text-decoration: none; }
.kay-btn-wa { background: #25a85a; color: #fff; }
.kay-btn-call { background: #fff; color: var(--kd); }
.kay-strip { display: grid; gap: 1px; background: #e3e9f0; border-bottom: 1px solid #e3e9f0; }
.kay-strip div { background: var(--kg); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.kay-strip span { font-size: 12px; color: #5b6b7c; }
.kay-strip b { font-size: 14px; }
.kay-tools { padding: 16px 14px 4px; }
.kay-search { width: 100%; height: 46px; border: 1px solid #cdd8e4; border-radius: 3px; padding: 0 14px; font: inherit; font-size: 15px; background: #fff; }
.kay-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.kay-chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 3px; border: 1px solid #cdd8e4; background: #fff; font: inherit; font-size: 14px; color: var(--kd); cursor: pointer; }
.kay-chip.is-on { background: var(--kd); color: #fff; border-color: var(--kd); }
.kay-count { font-size: 12px; color: #5b6b7c; padding: 6px 2px 0; }
.kay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 14px 20px; }
.kay-card { border: 1px solid #e3e9f0; border-radius: 3px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.kay-photo { position: relative; aspect-ratio: 1 / 1; background: #f6f8fb; display: flex; align-items: center; justify-content: center; }
.kay-photo img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.kay-icon { width: 38%; height: auto; }
.kay-brand { position: absolute; top: 8px; inset-inline-start: 8px; font-size: 10px; background: #fff; border: 1px solid #dbe4ee; border-radius: 3px; padding: 2px 8px; color: #3a4b5d; }
.kay-body { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kay-name { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--kd); }
.kay-code { font-size: 12px; color: #5b6b7c; text-align: end; letter-spacing: .02em; }
.kay-specs { margin: 0; padding: 0 16px 0 0; font-size: 12px; line-height: 1.7; color: #3a4b5d; flex: 1; }
.kay-price { padding-top: 4px; border-top: 1px dashed #dbe4ee; }
.kay-price b { font-size: 20px; color: var(--kb); }
.kay-price span { font-size: 12px; color: #5b6b7c; }
.kay-ask { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 3px; background: #fdf0d0; color: var(--kd); font-weight: 700; font-size: 13px; text-decoration: none; }
.kay-empty { grid-column: 1 / -1; text-align: center; color: #5b6b7c; padding: 30px 0; }
.kay-foot { background: var(--kd); color: #fff; padding: 22px 16px 26px; }
.kay-foot h2 { margin: 0 0 12px; font-size: 18px; }
.kay-contacts { display: grid; gap: 8px; }
.kay-contacts a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 3px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.kay-contacts span { font-size: 13px; color: #b9d3ee; }
.kay-contacts b { font-size: 16px; letter-spacing: .03em; }
.kay-note { margin: 16px 0 0; font-size: 12px; line-height: 1.8; color: #a9c3de; }
@media (min-width: 700px) {
    .kay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 14px 24px 28px; }
    .kay-hero { padding: 48px 32px; } .kay-hero h1 { font-size: 34px; }
    .kay-strip { grid-template-columns: 1fr 1fr; } .kay-tools { padding: 20px 24px 4px; }
    .kay-contacts { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) { .kay-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.kay-top > div { flex: 1; }
.kay-cartlink { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 3px; background: var(--kd); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.kay-add { min-height: 42px; border: 0; border-radius: 3px; background: var(--kb); color: #fff; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.kay-cart { margin: 0 14px 22px; border: 1px solid #cdd8e4; border-radius: 3px; overflow: hidden; background: #fff; }
.kay-cart-head { width: 100%; min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 0; background: var(--kg); font: inherit; font-size: 14px; color: var(--kd); cursor: pointer; }
.kay-cart-head b { flex: 1; text-align: start; font-size: 14px; }
.kay-cart-head i { font-style: normal; font-size: 11px; }
.kay-cart-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.kay-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #eef2f6; }
.kay-line-name { font-size: 13px; font-weight: 700; color: var(--kd); line-height: 1.5; }
.kay-line-name small { display: block; font-weight: 400; color: #5b6b7c; text-align: end; }
.kay-qty { display: inline-flex; align-items: center; gap: 2px; }
.kay-qty button { width: 40px; height: 40px; border-radius: 3px; border: 1px solid #cdd8e4; background: #fff; font-size: 18px; color: var(--kd); cursor: pointer; }
.kay-qty span { min-width: 26px; text-align: center; font-weight: 700; }
.kay-line-total { min-width: 56px; text-align: end; font-weight: 700; font-size: 14px; }
.kay-total { display: flex; justify-content: space-between; font-size: 16px; padding-top: 2px; }
.kay-total b { color: var(--kb); font-size: 20px; }
.kay-place { width: 100%; }
.kay-pick { margin: 0; font-size: 12px; line-height: 1.8; color: #5b6b7c; }
@media (min-width: 700px) { .kay-cart { margin: 0 24px 28px; } }

.kay-form-h { margin: 6px 0 0; font-size: 15px; color: var(--kd); }
.kay-off { background: #e3e9f0; color: #6b7b8c; text-align: center; padding: 6px 12px; line-height: 1.5; }

/* restyle v2 */
body { background: #faf6ee; }
.kay { max-width: 1240px; background: #faf6ee; }
.kay-util { display: flex; gap: 18px; justify-content: flex-start; align-items: center; background: #1b2a41; padding: 0 14px; min-height: 38px; overflow-x: auto; white-space: nowrap; }
.kay-util a { color: #fff; font-size: 13px; text-decoration: none; opacity: .95; }
.kay-top { flex-wrap: wrap; background: #faf6ee; border: 0; padding: 14px 14px 6px; }
.kay-topsearch { order: 5; flex: 1 1 100%; border-radius: 3px; height: 48px; box-shadow: 0 2px 8px rgba(14,42,71,.12); border: 0; padding: 0 20px; }
.kay-brandtxt { flex: 1; }
.kay-logo { width: 56px; }
.kay-cartlink { gap: 8px; background: #1b2a41; }
.kay-cats { display: flex; gap: 10px; overflow-x: auto; padding: 10px 14px; scrollbar-width: none; }
.kay-cat { flex: none; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px 0 14px; border: 0; border-radius: 3px; background: #fff; box-shadow: 0 2px 8px rgba(14,42,71,.08); font: inherit; font-weight: 700; font-size: 14px; color: var(--kd); cursor: pointer; }
.kay-cat.is-on { background: #1b2a41; color: #fff; }
.kay-cat-ic { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.kay-cat-ic .kay-icon { width: 28px; height: 28px; }
.kay-cat-ic svg [stroke] { stroke: #f2a900; }
.kay-cat.is-on .kay-cat-ic svg [stroke] { stroke: #fff; }
.kay-hero { margin: 8px 14px 0; border-radius: 3px; min-height: 210px; display: flex; align-items: center; background: radial-gradient(circle at 15% 30%, #d98200 0, #0e4d85 45%, #0a2c4c 100%); }
.kay-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px; }
.kay-feat div { background: #fff; border-radius: 3px; padding: 12px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 2px 8px rgba(14,42,71,.06); border-inline-start: 4px solid #f2a900; }
.kay-feat b { font-size: 14px; color: var(--kd); }
.kay-feat span { font-size: 12px; color: #5b6b7c; line-height: 1.6; }
.kay-main .kay-count { padding: 4px 16px 0; }
.kay-main .kay-grid { padding: 10px 14px 20px; }
.kay-card { border: 0; box-shadow: 0 2px 10px rgba(14,42,71,.09); }
.kay-add { background: #1b2a41; }
.kay-fab { position: fixed; bottom: 16px; inset-inline-start: 16px; width: 56px; height: 56px; border-radius: 3px; background: #25a85a; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); z-index: 20; }
@media (min-width: 700px) {
  .kay-top { flex-wrap: nowrap; padding: 16px 24px; } .kay-topsearch { order: 0; flex: 0 1 460px; }
  .kay-cats { padding: 10px 24px; flex-wrap: wrap; } .kay-hero { margin: 8px 24px 0; padding: 0 20px; }
  .kay-feat { grid-template-columns: repeat(4, 1fr); padding: 14px 24px; } .kay-util { padding: 0 24px; }
  .kay-main .kay-grid { padding: 10px 24px 28px; }
}
.kay-heart { position: absolute; top: 6px; inset-inline-end: 6px; width: 40px; height: 40px; border-radius: 3px; border: 0; background: #fff; color: #8fa6bd; box-shadow: 0 1px 6px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kay-heart.is-on { color: #e0344f; }
.kay-favlink { flex: none; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 3px; border: 1px solid #1b2a41; background: #fff; color: #1b2a41; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.kay-favlink.is-on { background: #1b2a41; color: #fff; }
.kay-name a { color: inherit; text-decoration: none; }
.kay-photo { cursor: pointer; }
.kay-details { border: 0; font: inherit; cursor: pointer; background: #fff; border: 1px solid #1b2a41; color: #1b2a41; }
.kay-back { margin: 8px 14px; min-height: 40px; padding: 0 16px; border-radius: 3px; border: 0; background: #fff; box-shadow: 0 2px 8px rgba(14,42,71,.1); font: inherit; font-weight: 700; color: #1b2a41; cursor: pointer; }
.kay-d-grid { display: grid; gap: 14px; padding: 6px 14px 20px; }
.kay-d-photo { background: #fff; border-radius: 3px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(14,42,71,.09); }
.kay-d-photo img { width: 80%; height: 80%; object-fit: contain; }
.kay-d-photo .kay-icon { width: 30%; height: auto; }
.kay-d-info { background: #fff; border-radius: 3px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 2px 10px rgba(14,42,71,.09); }
.kay-brand-d { position: static; align-self: flex-start; }
.kay-d-name { margin: 0; font-size: 22px; line-height: 1.5; color: var(--kd); }
.kay-d-code { text-align: start; font-size: 14px; }
.kay-d-price b { font-size: 30px; color: #1b2a41; }
.kay-d-price span { color: #3a4b5d; }
.kay-d-price small { display: block; font-size: 12px; color: #5b6b7c; margin-top: 4px; line-height: 1.7; }
.kay-d-h { margin: 4px 0 0; font-size: 15px; color: var(--kd); }
.kay-d-specs { margin: 0; padding: 0 18px 0 0; line-height: 2; font-size: 14px; color: #3a4b5d; }
.kay-d-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.kay-d-actions > * { flex: 1 1 140px; }
.kay-add-big { min-height: 50px; font-size: 15px; }
.kay-d-actions .kay-ask { min-height: 50px; }
.kay-d-fav { align-self: flex-start; }
.kay-d-src { font-size: 12px; color: #5b6b7c; }
@media (min-width: 700px) { .kay-d-grid { grid-template-columns: 1fr 1fr; padding: 6px 24px 28px; } .kay-back { margin: 8px 24px; } }
/* phone-reference layout v3 */
.kay { padding-bottom: 70px; }
.kay-util { background: #1b2a41; justify-content: space-between; }
.kay-top { background: #fff; padding: 12px 14px 0; flex-wrap: wrap; gap: 8px; box-shadow: 0 1px 0 #e3e9f0; }
.kay-logolink { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 1; color: inherit; }
.kay-top-l { display: flex; align-items: center; gap: 12px; flex: none; }
.kay-phone { font-weight: 800; color: #1b2a41; text-decoration: none; font-size: 15px; }
.kay-burger { width: 44px; height: 44px; background: none; border: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 6px; cursor: pointer; }
.kay-burger span { display: block; height: 3px; background: #1b2a41; border-radius: 2px; } .kay-burger span:nth-child(2) { width: 70%; align-self: flex-end; }
.kay-sbox { position: relative; flex: 1 1 100%; margin: 4px -14px 0; padding: 12px 14px; background: #fff; border-top: 1px solid #eef2f6; }
.kay-sbox svg { position: absolute; inset-inline-end: 26px; top: 50%; transform: translateY(-50%); }
.kay-topsearch { order: 0; width: 100%; height: 46px; border: 1px solid #cdd8e4; border-radius: 4px; box-shadow: 0 2px 4px rgba(14,42,71,.12); padding: 0 16px; font: inherit; font-size: 15px; background: #fff; }
.kay-drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; display: flex; }
.kay-drawer { width: 82%; max-width: 380px; height: 100%; background: #fff; overflow-y: auto; }
.kay-dtabs { display: flex; background: #e9edf1; } .kay-dtabs button { flex: 1; min-height: 54px; border: 0; background: transparent; font: inherit; font-size: 15px; color: #3a4b5d; cursor: pointer; }
.kay-dtabs button.is-on { background: #fff; color: var(--kd); font-weight: 700; }
.kay-dlist { display: flex; flex-direction: column; } .kay-dlist button, .kay-dlist a, .kay-daddr { display: flex; align-items: center; min-height: 56px; padding: 0 18px; border: 0; border-bottom: 1px solid #eef2f6; background: #fff; font: inherit; font-size: 16px; color: #14202e; text-decoration: none; text-align: start; gap: 8px; cursor: pointer; }
.kay-daddr { cursor: default; color: #5b6b7c; font-size: 14px; }
.kay-hero { margin: 12px 14px 0; }
.kay-feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; }
.kay-feat div { align-items: center; text-align: center; padding: 12px 4px; border: 0; gap: 8px; }
.kay-feat b { font-size: 12px; line-height: 1.5; }
.kay-tiles { display: flex; gap: 12px; overflow-x: auto; padding: 4px 14px 14px; scrollbar-width: none; }
.kay-tile { flex: none; width: 128px; background: transparent; border: 0; font: inherit; font-weight: 700; font-size: 13px; color: var(--kd); display: flex; flex-direction: column; gap: 8px; align-items: center; cursor: pointer; }
.kay-tile-img { width: 128px; height: 128px; border-radius: 3px; background: #fff; border: 2px solid #f2a900; box-shadow: 0 0 10px rgba(242,169,0,.45); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kay-tile-img img { width: 82%; height: 82%; object-fit: contain; }
.kay-crumb { padding: 14px 16px 4px; font-size: 14px; color: #14202e; } .kay-crumb a { color: #14202e; text-decoration: none; } .kay-crumb b { font-weight: 800; }
.kay-bnav { position: fixed; bottom: 0; inset-inline: 0; height: 58px; background: #fff; border-top: 1px solid #dbe4ee; display: flex; justify-content: space-around; align-items: center; z-index: 30; }
.kay-bnav > * { position: relative; width: 56px; height: 52px; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: #1b2a41; font-size: 18px; letter-spacing: 2px; cursor: pointer; text-decoration: none; }
.kay-bnav i { position: absolute; top: 4px; inset-inline-end: 8px; min-width: 20px; height: 20px; border-radius: 3px; background: #e0242a; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; letter-spacing: 0; }
.kay-fab { bottom: 76px; }
.kay-flogo { width: 64px; background: #fff; padding: 6px; border-radius: 3px; }
.kay-foot { background: #1b2a41; } .kay-faddr { margin: 4px 0 8px; font-size: 14px; color: #dbe9f7; } .kay-fh { margin: 14px 0 8px; font-size: 16px; }
@media (min-width: 700px) { .kay-sbox { flex: 0 1 480px; margin: 0; padding: 0; border: 0; } .kay-top { flex-wrap: nowrap; padding: 14px 24px; } .kay-tiles { padding: 4px 24px 14px; } .kay-feat { padding: 14px 24px; } .kay-crumb { padding: 14px 24px 4px; } }
.kay-top > .kay-sbox { flex: 1 1 100%; }
.kay-top > .kay-top-l { flex: none; }
.kay-top > .kay-logolink { flex: 1; min-width: 0; }
.kay-logolink .kay-title { font-size: 15px; } .kay-logolink .kay-sub { display: none; }
@media (min-width: 700px) { .kay-top > .kay-sbox { flex: 0 1 480px; } .kay-logolink .kay-sub { display: block; } }

/* own look v4: ink navy + amber, square corners */
.kay-top { border-top: 5px solid #f2a900; }
.kay-util { background: #101a2c; }
.kay-hero { background: linear-gradient(120deg, #101a2c 0%, #1b2a41 55%, #3a4f73 100%); border-inline-start: 8px solid #f2a900; }
.kay-btn-wa { background: #f2a900; color: #101a2c; }
.kay-btn-call { background: transparent; color: #fff; border: 2px solid #fff; }
.kay-card { border-top: 4px solid #f2a900; box-shadow: none; border: 1px solid #e6dcc3; border-top: 4px solid #f2a900; }
.kay-add { background: #1b2a41; } .kay-add:hover { background: #101a2c; }
.kay-price b, .kay-d-price b { color: #b36b00; }
.kay-feat div { border-inline-start: 0; border-bottom: 4px solid #f2a900; box-shadow: none; border-top: 1px solid #e6dcc3; border-inline: 1px solid #e6dcc3; }
.kay-feat svg [stroke], .kay-feat svg { stroke: #1b2a41; }
.kay-tile-img { border: 3px solid #1b2a41; box-shadow: 5px 5px 0 #f2a900; }
.kay-cat-ic svg [stroke] { stroke: #f2a900; }
.kay-fab { background: #25a85a; }
.kay-foot { background: #101a2c; }
.kay-bnav { border-top: 4px solid #f2a900; height: 62px; }
.kay-bnav svg [stroke] { stroke: #1b2a41; } .kay-bnav svg[fill="#1b2a41"] { fill: #1b2a41; }
.kay-bnav i { background: #f2a900; color: #101a2c; }
.kay-d-photo, .kay-d-info, .kay-sec { border: 1px solid #e6dcc3; box-shadow: none; }
.kay-dtabs button.is-on { border-bottom: 4px solid #f2a900; }
body { background: #faf6ee; } .kay { background: #faf6ee; }
.kay-sec { background: #fff; padding: 14px 16px; margin: 0 14px 14px; border-radius: 3px; }
.kay-sec h3 { margin: 0 0 10px; font-size: 16px; color: #1b2a41; border-inline-start: 5px solid #f2a900; padding-inline-start: 8px; }
.kay-sec p { margin: 0; line-height: 1.9; font-size: 14px; color: #3a4b5d; }
.kay-tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .kay-tbl th, .kay-tbl td { text-align: start; padding: 9px 10px; border-bottom: 1px solid #efe6d0; } .kay-tbl th { width: 38%; background: #faf3e3; font-weight: 700; color: #1b2a41; }
.kay-qtyrow { display: flex; align-items: center; gap: 10px; } .kay-qtyrow span.l { font-weight: 700; }
.kay-rel { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; } .kay-rel button { flex: none; width: 140px; border: 1px solid #e6dcc3; background: #fff; border-radius: 3px; padding: 8px; font: inherit; text-align: start; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.kay-rel img { width: 100%; height: 100px; object-fit: contain; } .kay-rel b { font-size: 12px; color: #1b2a41; line-height: 1.5; } .kay-rel small { color: #b36b00; font-weight: 700; }
@media (min-width: 700px) { .kay-sec { margin: 0 24px 14px; } }

.kay-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 2px; }
.kay-thumb { flex: none; width: 74px; border: 2px solid #e6dcc3; background: #fff; border-radius: 3px; padding: 3px; font: inherit; font-size: 10px; color: #1b2a41; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.kay-thumb img { width: 100%; height: 60px; object-fit: contain; } .kay-thumb.is-on { border-color: #f2a900; }
.kay-gcount { font-size: 12px; color: #5b6b7c; padding: 4px 2px; }
.kay-d-grid > * { min-width: 0; } .kay-d-grid { grid-template-columns: minmax(0, 1fr); } @media (min-width: 700px) { .kay-d-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } } .kay-d-gal { min-width: 0; }
.kay-thumb img { height: 64px; }

/* v5: store look, navy header, white rounded cards, own identity */
body, .kay { background: #f1f4f9; }
.kay-util { background: #0c1830; }
.kay-top { background: #14284b; border-top: 0; box-shadow: none; padding: 12px 14px 0; }
.kay-top .kay-logolink { color: #fff; }
.kay-top .kay-logo { background: #fff; border-radius: 10px; padding: 4px; width: 52px; }
.kay-top .kay-title { color: #fff; } .kay-top .kay-sub { color: #9fb6d6; }
.kay-top .kay-phone { color: #fff; }
.kay-top .kay-burger span { background: #fff; }
.kay-sbox { background: transparent; border: 0; margin: 0 -14px; padding: 10px 14px 14px; display: flex; flex-direction: row-reverse; }
.kay-sbox svg { position: static; transform: none; }
.kay-topsearch { border: 0; border-radius: 0 10px 10px 0; box-shadow: none; height: 48px; }
.kay-sbtn { width: 52px; height: 48px; background: #f2a900; border-radius: 10px 0 0 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.kay-hero { border-radius: 14px; border-inline-start: 0; background: linear-gradient(120deg, #0c1830 0%, #14284b 50%, #2a5da8 100%); box-shadow: 0 6px 18px rgba(20,40,75,.18); }
.kay-btn { border-radius: 10px; }
.kay-btn-wa { background: #f2a900; color: #0c1830; }
.kay-feat { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.kay-feat div { flex-direction: row; text-align: start; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 1px solid #e1e7f0; border-radius: 12px; box-shadow: 0 2px 8px rgba(20,40,75,.05); }
.kay-feat svg { flex: none; width: 34px; height: 34px; stroke: #2a5da8; }
.kay-ft { display: flex; flex-direction: column; gap: 2px; } .kay-ft b { font-size: 13px; color: #14284b; } .kay-ft small { font-size: 11px; color: #62738a; line-height: 1.5; }
.kay-promos { display: grid; gap: 10px; padding: 0 14px 6px; }
.kay-promos > * { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid #e1e7f0; border-radius: 12px; text-align: start; font: inherit; color: inherit; text-decoration: none; cursor: pointer; position: relative; box-shadow: 0 2px 8px rgba(20,40,75,.05); }
.kay-promos i { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #e7eefb; color: #2a5da8; font-style: normal; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.kay-promos span { display: flex; flex-direction: column; gap: 2px; flex: 1; } .kay-promos b { font-size: 15px; color: #14284b; } .kay-promos small { font-size: 12px; color: #62738a; }
.kay-promos em { font-style: normal; font-size: 12px; font-weight: 700; color: #2a5da8; }
.kay-h2 { margin: 0; font-size: 20px; color: #14284b; font-weight: 800; }
.kay-h2row { display: flex; justify-content: space-between; align-items: center; padding: 18px 16px 8px; } .kay-h2row a { color: #2a8fd0; font-size: 14px; text-decoration: none; font-weight: 700; }
h2.kay-h2:not(.kay-h2row *) { padding: 18px 16px 8px; }
.kay-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 14px; background: #fff; border: 1px solid #e1e7f0; border-radius: 12px; overflow: hidden; }
.kay-brands div { padding: 26px 10px; text-align: center; font-weight: 800; font-size: 17px; color: #14284b; letter-spacing: .02em; border-inline-end: 1px solid #e1e7f0; }
.kay-brands div:last-child { border: 0; }
.kay-tile-img { width: 124px; height: 124px; border-radius: 50%; border: 0; box-shadow: 0 4px 14px rgba(20,40,75,.14); background: #fff; }
.kay-tile { width: 124px; }
.kay-rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 14px 16px; scrollbar-width: none; align-items: stretch; }
.kay-rail .kay-card { flex: none; width: 210px; }
.kay-card { border: 1px solid #e1e7f0; border-top: 1px solid #e1e7f0; border-radius: 12px; box-shadow: 0 2px 10px rgba(20,40,75,.07); }
.kay-photo { border-radius: 12px 12px 0 0; }
.kay-brand, .kay-ask, .kay-add, .kay-favlink, .kay-details, .kay-heart, .kay-qty button, .kay-chip, .kay-back, .kay-fab { border-radius: 10px; }
.kay-add { background: #14284b; }
.kay-price b, .kay-d-price b { color: #14284b; }
.kay-ask { background: #fff4d6; }
.kay-d-photo, .kay-d-info, .kay-sec, .kay-cart { border: 1px solid #e1e7f0; border-radius: 12px; box-shadow: 0 2px 10px rgba(20,40,75,.06); }
.kay-sec h3 { border-inline-start: 5px solid #2a8fd0; }
.kay-tbl th { background: #eef3fb; } .kay-tbl th, .kay-tbl td { border-bottom: 1px solid #e1e7f0; }
.kay-thumb { border-radius: 10px; } .kay-thumb.is-on { border-color: #2a8fd0; }
.kay-rel button { border-radius: 10px; border-color: #e1e7f0; } .kay-rel small { color: #14284b; }
.kay-foot { background: #14284b; border-radius: 16px 16px 0 0; margin-top: 18px; }
.kay-bnav { border-top: 1px solid #dbe4ee; height: 60px; }
.kay-bnav i { background: #f2a900; color: #0c1830; border-radius: 10px; }
.kay-cart-head { background: #eef3fb; }
@media (min-width: 700px) {
  .kay-feat { grid-template-columns: repeat(4, 1fr); padding: 14px 24px; }
  .kay-promos { grid-template-columns: repeat(3, 1fr); padding: 0 24px 6px; }
  .kay-brands { margin: 0 24px; grid-template-columns: repeat(4, 1fr); }
  .kay-h2row { padding: 22px 24px 8px; } h2.kay-h2:not(.kay-h2row *) { padding: 22px 24px 8px; }
  .kay-rail { padding: 4px 24px 18px; } .kay-sbox { margin: 0; padding: 0; flex: 0 1 520px; }
}

/* ===== v2 redesign ===== */
.kay.v2 { --pri: #0f3d6e; --acc: #ff7a00; --bg: #f3f6fb; --ink: #12202f; background: var(--bg); font-size: 15px; }
.kay.v2[data-theme="green"] { --pri: #0b5d46; --acc: #f2a100; }
.kay.v2[data-theme="red"] { --pri: #8c1d2c; --acc: #1f2a37; }
.kay.v2[data-theme="dark"] { --pri: #1f2933; --acc: #20b2a6; }
body { background: #f3f6fb; }
.kay.v2 .kay-top { background: #fff; border: 0; border-top: 0; box-shadow: 0 2px 14px rgba(15,61,110,.10); position: sticky; top: 0; z-index: 20; padding: 10px 14px 12px; border-radius: 0 0 22px 22px; }
.kay.v2 .kay-top .kay-title, .kay.v2 .kay-top .kay-logolink { color: var(--pri); font-weight: 800; }
.kay.v2 .kay-top .kay-sub { color: #7b8aa0; }
.kay.v2 .kay-top .kay-burger span { background: var(--pri); }
.kay.v2 .kay-top .kay-logo { background: transparent; padding: 0; width: 46px; }
.kay.v2 .kay-sbox { background: #eef2f8; border: 0; border-radius: 16px; overflow: hidden; display: flex; }
.kay.v2 .kay-topsearch { background: transparent; border: 0; border-radius: 0; font-size: 15px; min-height: 46px; }
.kay.v2 .kay-sbox button { background: var(--acc); color: #fff; border-radius: 0; }
.kay.v2 .kay-hero { margin: 14px 14px 0; border-radius: 26px; border: 0; min-height: 220px; background: radial-gradient(circle at 85% 10%, var(--acc) 0, transparent 38%), linear-gradient(135deg, var(--pri) 0%, #07213f 100%); box-shadow: 0 14px 30px rgba(15,61,110,.25); padding: 26px 20px; }
.kay.v2 .kay-hero h1 { font-size: 26px; font-weight: 800; }
.kay.v2 .kay-btn { border-radius: 14px; min-height: 48px; font-weight: 800; }
.kay.v2 .kay-btn-call { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.kay.v2 .kay-hero a:first-of-type, .kay.v2 .kay-btn-wa { background: var(--acc); color: #fff; }
.kay.v2 .kay-h2 { color: var(--pri); font-size: 19px; font-weight: 800; }
.kay.v2 .kay-h2row a { color: var(--acc); font-weight: 700; }
.kay.v2 .kay-tile-img { border-radius: 24px; border: 0; box-shadow: 0 6px 16px rgba(15,61,110,.12); background: #fff; }
.kay.v2 .kay-tile { color: var(--pri); }
.kay.v2 .kay-chip { border-radius: 999px; border: 0; background: #fff; box-shadow: 0 1px 4px rgba(15,61,110,.12); font-weight: 600; }
.kay.v2 .kay-chip.is-on { background: var(--pri); color: #fff; }
.kay.v2 .kay-card { border: 0; border-radius: 20px; background: #fff; box-shadow: 0 4px 16px rgba(15,61,110,.10); overflow: hidden; }
.kay.v2 .kay-photo { border-radius: 0; background: linear-gradient(180deg, #f7f9fc, #eaf0f8); }
.kay.v2 .kay-brand { border: 0; border-radius: 999px; background: var(--pri); color: #fff; }
.kay.v2 .kay-name { color: var(--ink); font-size: 14.5px; }
.kay.v2 .kay-price { border-top: 0; }
.kay.v2 .kay-price b { color: var(--pri); font-size: 21px; }
.kay.v2 .kay-add { background: var(--acc); color: #fff; border-radius: 14px; min-height: 44px; }
.kay.v2 .kay-ask { background: #eef2f8; color: var(--pri); border-radius: 14px; }
.kay.v2 .kay-details { background: transparent; border: 1.5px solid #d7e0ec; }
.kay.v2 .kay-heart { border-radius: 999px; }
.kay.v2 .kay-sec, .kay.v2 .kay-d-photo, .kay.v2 .kay-d-info { border: 0; border-radius: 20px; box-shadow: 0 4px 16px rgba(15,61,110,.08); }
.kay.v2 .kay-sec h3 { color: var(--pri); border-inline-start-color: var(--acc); }
.kay.v2 .kay-d-price b { color: var(--pri); }
.kay.v2 .kay-brands { border: 0; border-radius: 20px; box-shadow: 0 4px 16px rgba(15,61,110,.08); }
.kay.v2 .kay-brands div { color: var(--pri); }
/* bottom bar */
.kay.v2 .kay-bottom, .kay.v2 nav[class*="bnav"], .kay.v2 .kay-bar { background: #fff; box-shadow: 0 -4px 20px rgba(15,61,110,.12); border-radius: 22px 22px 0 0; border: 0; }
/* layouts for product listing */
.kay.v2[data-layout="list"] .kay-grid { grid-template-columns: 1fr; gap: 12px; }
.kay.v2[data-layout="list"] .kay-grid .kay-card { flex-direction: row; align-items: stretch; }
.kay.v2[data-layout="list"] .kay-grid .kay-photo { width: 120px; aspect-ratio: auto; flex: none; }
.kay.v2[data-layout="list"] .kay-grid .kay-specs, .kay.v2[data-layout="list"] .kay-grid .kay-details, .kay.v2[data-layout="list"] .kay-grid .kay-code { display: none; }
.kay.v2[data-layout="big"] .kay-grid { grid-template-columns: 1fr; gap: 18px; }
.kay.v2[data-layout="big"] .kay-grid .kay-photo { aspect-ratio: 4 / 3; }
.kay.v2[data-layout="big"] .kay-grid .kay-name { font-size: 17px; }
.kay.v2[data-layout="compact"] .kay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-inline: 10px; }
.kay.v2[data-layout="compact"] .kay-grid .kay-specs, .kay.v2[data-layout="compact"] .kay-grid .kay-ask, .kay.v2[data-layout="compact"] .kay-grid .kay-code, .kay.v2[data-layout="compact"] .kay-grid .kay-brand, .kay.v2[data-layout="compact"] .kay-grid .kay-details { display: none; }
.kay.v2[data-layout="compact"] .kay-grid .kay-name { font-size: 12px; }
.kay.v2[data-layout="compact"] .kay-grid .kay-price b { font-size: 15px; }
.kay.v2[data-layout="compact"] .kay-grid .kay-add { font-size: 11px; min-height: 36px; padding: 0 4px; }
@media (min-width: 700px) { .kay.v2[data-layout="big"] .kay-grid { grid-template-columns: repeat(2, 1fr); } .kay.v2[data-layout="compact"] .kay-grid { grid-template-columns: repeat(5, 1fr); } .kay.v2[data-layout="list"] .kay-grid { grid-template-columns: repeat(2, 1fr); } }

.kay-viewbar { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:6px 14px 2px; }
.kay-viewbar .kay-count { padding:0; }
.kay-vsw { display:flex; background:#fff; border-radius:14px; box-shadow:0 1px 6px rgba(15,61,110,.15); padding:3px; gap:2px; }
.kay-vsw button { display:flex; align-items:center; gap:4px; border:0; background:transparent; color:#0f3d6e; border-radius:11px; padding:7px 8px; font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.kay-vsw button.is-on { background:#0f3d6e; color:#fff; }

.kay-err { color:#c0392b; font-size:13px; margin:0; }
.kay-place:disabled { opacity:.6; }
.kay-done-bg { position:fixed; inset:0; background:rgba(10,25,45,.62); z-index:60; display:flex; align-items:flex-end; justify-content:center; }
.kay-done { background:#fff; width:100%; max-width:520px; max-height:92vh; overflow:auto; border-radius:26px 26px 0 0; padding:24px 20px 28px; text-align:center; }
.kay-done-ic { width:64px; height:64px; margin:0 auto 8px; border-radius:50%; background:#1f9d55; color:#fff; font-size:38px; line-height:64px; }
.kay-done h2 { margin:4px 0; color:#0f3d6e; }
.kay-done-n { margin:4px 0 12px; font-size:17px; }
.kay-done-l { list-style:none; margin:0; padding:0; text-align:start; border-top:1px solid #e3e9f1; }
.kay-done-l li { display:flex; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid #e3e9f1; font-size:14px; }
.kay-done-t { display:flex; justify-content:space-between; font-size:18px; padding:12px 0; color:#0f3d6e; }
.kay-done-m { font-size:13.5px; color:#44566b; margin:6px 0; }
.kay-done .kay-btn { width:100%; margin-top:10px; border:0; }

/* iOS-style motion: transform/opacity only, cheap on low-end phones */
@keyframes kay-in-fwd { from { transform: translate3d(-34px,0,0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes kay-in-back { from { transform: translate3d(34px,0,0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes kay-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kay-sheet { from { transform: translate3d(0,100%,0); } to { transform: none; } }
@keyframes kay-drawer-in { from { transform: translate3d(100%,0,0); } to { transform: none; } }
.kay-screen { animation: kay-in-fwd .28s cubic-bezier(.22,.8,.24,1) both; }
.kay-screen[data-dir="back"] { animation-name: kay-in-back; }
.kay-done-bg { animation: kay-fade .2s ease-out both; }
.kay-done { animation: kay-sheet .32s cubic-bezier(.22,.8,.24,1) both; }
.kay-drawer-bg { animation: kay-fade .2s ease-out both; }
.kay-drawer { animation: kay-drawer-in .3s cubic-bezier(.22,.8,.24,1) both; }
.kay-card, .kay-btn, .kay-add, .kay-ask, .kay-tile, .kay-chip, .kay-vsw button, .kay-bnav button, .kay-bnav a, .kay-promos button, .kay-promos a, .kay-fab, .kay-back { transition: transform .14s ease-out, opacity .14s; -webkit-tap-highlight-color: transparent; }
.kay-card:active, .kay-btn:active, .kay-add:active, .kay-ask:active, .kay-tile:active, .kay-chip:active, .kay-vsw button:active, .kay-bnav button:active, .kay-bnav a:active, .kay-promos button:active, .kay-promos a:active, .kay-fab:active, .kay-back:active { transform: scale(.96); opacity: .88; }
@media (prefers-reduced-motion: reduce) { .kay-screen, .kay-done, .kay-done-bg, .kay-drawer, .kay-drawer-bg { animation: none; } }
.kay { overflow-x: clip; }
