:root {
  --blue:#244ecc; --ink:#172b48; --muted:#53657c; --line:#dbe3ed;
  --surface:#fff; --canvas:#f5f7fa; --soft:#eaf0ff;
}
body {background:var(--canvas);color:var(--ink)}
.wrap {width:min(1180px,calc(100% - 48px))}
header {background:white;border-block-start:3px solid #244ecc}
.nav {min-height:78px;gap:28px}
.brand,.nav-actions,.utility-menu,.site-search {display:flex;align-items:center}
.brand {gap:10px;color:#153477;font-weight:900;white-space:nowrap;letter-spacing:-.05em}
.brand i {width:30px;height:33px;display:block;border-radius:16px 4px 16px 4px;background:linear-gradient(145deg,#639fff,#244ecc 65%);box-shadow:inset 7px 0 #ffffff30}
.nav-actions {gap:18px;white-space:nowrap;font-size:.91rem}
.basket {gap:10px;border-color:var(--line);color:var(--ink)}
.basket b {padding:0 7px;background:var(--soft);color:var(--blue);border-radius:6px}
.site-search {max-width:560px;flex:1;border-radius:12px;background:#f1f4f8;padding:2px 8px}
.site-search input,.site-search button {border:0;background:transparent}
.site-search input {min-width:0}
.lens {display:block;width:15px;height:15px;border:2px solid #526787;border-radius:50%;position:relative}
.lens:after {content:"";position:absolute;width:7px;height:2px;background:#526787;transform:rotate(45deg);left:9px;top:11px}
.utility-menu {gap:28px;border-top:1px solid #edf0f5}
.utility-menu a {color:var(--muted);font-size:.87rem;padding:10px 0;border-bottom:2px solid transparent}
.utility-menu [aria-current] {color:var(--blue);border-color:var(--blue);font-weight:750}
main.wrap {padding-block:26px 54px}
.crumb {display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.85rem;margin-bottom:20px}
.crumb a {color:var(--blue)}
h1,h2,h3 {line-height:1.45;letter-spacing:-.035em}
main h1 {font-size:clamp(1.7rem,3vw,2.6rem);margin:0 0 14px}
button,.outline,.feature-link {min-height:42px;border-radius:10px}
input,select,textarea {border-color:#b7c6d8;border-radius:10px;min-height:44px}
input[type=checkbox] {min-height:auto;width:auto}
.notice.success {background:#e5f6ef;color:#175441}
.panel,.department-list,.track-shell,.empty-cart {background:white;border:1px solid var(--line);border-radius:18px}
.panel.card-body,.detail .card-body {padding:clamp(18px,3vw,34px)}
/* Order tracking */
.track-shell {display:grid;grid-template-columns:1.04fr 1fr;max-width:1000px;margin:12px auto 30px;overflow:hidden;box-shadow:0 18px 50px -35px #25467560}
.track-content {padding:clamp(24px,4.5vw,62px)}
.track-content>p {color:var(--muted);margin:0 0 24px;line-height:1.9}
.track-form p {margin:0 0 16px}
.track-form label,.basket-layout label {display:block;font-weight:600;font-size:.92rem;margin-bottom:5px}
.track-form input {margin-top:5px;background:#fbfcfe}
.track-form button {width:100%;justify-content:space-between;padding:11px 18px;margin-top:4px}
.account-shortcut {margin-top:24px;padding-top:18px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:7px;font-size:.86rem;color:var(--muted)}
.delivery-art {display:grid;place-items:center;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 30% 28%,#3e79e0 0,#244fb2 47%,#112e76 100%)}
.delivery-art:before {content:"";position:absolute;inset:0;background-image:radial-gradient(#ffffff40 1px,transparent 1.4px);background-size:20px 20px;opacity:.55}
.orbit {width:72%;aspect-ratio:1;border:1px dashed #ffffff69;border-radius:50%;position:absolute;transform:rotate(-24deg) scaleY(.72);box-shadow:0 0 0 24px #ffffff08,0 0 0 55px #ffffff08}
.parcel {width:55%;max-width:240px;aspect-ratio:1.05;position:relative;filter:drop-shadow(0 18px 14px #061c584d);transform:rotate(-7deg)}
.parcel i {inset:0;position:absolute}
.lid {background:linear-gradient(135deg,#fff,#cbdcff);clip-path:polygon(0 24%,59% 2%,100% 23%,42% 48%)}
.side {background:linear-gradient(110deg,#7aa2e3,#4573bd);clip-path:polygon(0 24%,42% 48%,42% 100%,0 73%)}
.face {background:linear-gradient(125deg,#abc6ff,#d3e4ff);clip-path:polygon(42% 48%,100% 23%,100% 72%,42% 100%)}
.tape {background:#345fbd;clip-path:polygon(23% 15%,34% 11%,76% 33%,76% 50%,64% 56%,64% 39%)}
.label {background:repeating-linear-gradient(90deg,#192e56 0 2px,#f7fbff 2px 5px,#30477c 5px 6px,#fff 6px 9px);clip-path:polygon(56% 68%,78% 58%,78% 69%,56% 80%)}
/* Catalog */
.market-cover {display:flex;flex-direction:column-reverse;gap:16px}
.feature-display {display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden;isolation:isolate;border-radius:22px;background:linear-gradient(110deg,#c7dafe,#eaf0ff 55%,#f0f5ff);border:1px solid #d2e0f8;color:#142d63;min-height:300px}
.feature-copy {padding:clamp(22px,4vw,52px)}
.feature-copy small {color:#3155a2;font-weight:700}
.feature-copy h1 {font-size:clamp(2rem,4vw,3.8rem);margin:8px 0;line-height:1.24}
.feature-copy p {color:#41577a;margin:8px 0 22px}
.feature-link {display:inline-flex;align-items:center;gap:24px;background:var(--blue);color:white;padding:8px 17px;font-weight:700}
.feature-photo {height:100%;min-height:180px;position:relative;display:grid;place-items:center;isolation:isolate}
.feature-photo:before {content:"";position:absolute;width:64%;aspect-ratio:1;border-radius:50%;background:#ffffff50;box-shadow:0 0 0 22px #ffffff25,0 0 0 48px #ffffff19}
.feature-photo img {width:min(78%,310px);aspect-ratio:1;object-fit:contain;mix-blend-mode:multiply;mask-image:radial-gradient(ellipse,#000 57%,transparent 74%)}
.department-list {display:flex;align-items:center;gap:16px;padding:9px 16px;overflow:auto;white-space:nowrap;border-radius:12px}
.department-list h2 {font-size:.92rem;margin:0;color:var(--ink)}
.department-list a {font-size:.87rem;color:var(--muted)}
.department-list a span {display:none}
.department-list .all-products {margin-inline-start:auto;color:var(--blue)}
.section-title {display:flex;align-items:center;justify-content:space-between;margin:30px 0 14px}
.section-title h2 {font-size:1.45rem;margin:0}
.sort-options {display:flex;gap:4px;width:fit-content;max-width:100%;overflow:auto;margin-bottom:16px;padding:4px;border:1px solid var(--line);border-radius:11px;background:#eaf0f6}
.sort-options a {white-space:nowrap;padding:6px 12px;font-size:.86rem;border-radius:8px;color:var(--muted)}
.sort-options [aria-current] {background:white;color:#20459d;box-shadow:0 1px 4px #253c601a;font-weight:bold}
.grid {grid-template-columns:repeat(4,minmax(0,1fr))}
.product-card {padding:8px;transition:box-shadow .2s}
.product-card:hover,.product-card:focus-within {box-shadow:0 12px 28px -16px #1f3b6b55}
.media {background:#eef2f7;aspect-ratio:4/3;border-radius:12px}
.media img {mix-blend-mode:multiply}
.product-card .card-body {padding:13px 7px 7px}
.product-card .card-body > small {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-card .card-body h3 {line-height:1.55;block-size:3lh;overflow:hidden;overflow-wrap:anywhere}
.product-card h3 a {display:block;position:relative}
/* In RTL the third line ends on the left. A fitting title gets no overlay. */
.product-card h3 a::after {
  content:"";position:absolute;inset-inline-end:0;inset-block-start:2lh;
  inline-size:3em;block-size:clamp(0px,calc(100% - 3lh),1lh);
  background:linear-gradient(to right,white,transparent);pointer-events:none
}
.product-card h3:focus-within {outline:2px solid var(--blue);outline-offset:2px}
.product-card .card-bottom {display:grid;justify-content:stretch;justify-items:start;align-content:start;gap:.55rem}
.card-body h3 {font-size:1.04rem;margin:4px 0 15px}
.card-body h3 a {color:var(--ink)}
.card-bottom {border-top:1px solid #e6ebf3;padding-top:11px}.card-bottom button {background:var(--soft);border:0;color:#1d449e;font-size:.84rem}
.no-image {font-size:.84rem}
/* Basket and utility pages */
.basket-layout h2 {font-size:1.32rem;margin-top:0}
.cart-row {display:flow-root;margin-bottom:12px}
.cart-thumb {float:right;margin-inline-end:14px;width:62px;height:62px;display:grid;place-items:center;background:#eef3f9;border-radius:10px;overflow:hidden}
.cart-thumb img {width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.cart-row form {clear:both;display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.cart-row form input {max-width:80px;display:block}.cart-row form label {margin:0}
.cart-total {padding:14px;background:#eef4ff;border-radius:10px}
.basket-layout form>label,.checkout p {margin:12px 0}
.checkout button {width:100%;margin-top:12px}
.empty-cart {max-width:640px;text-align:center;padding:50px 24px;margin:24px auto}
.empty-cart h2 {margin-top:0}
footer {background:#14294a;color:#d3deed;border:0}
.footer-grid {display:grid;grid-template-columns:2fr 1.2fr 1fr;gap:32px;padding-block:18px}
.footer-grid h2 {color:white;font-size:1rem;margin:0 0 9px}
.footer-grid p {margin:4px 0;max-width:40ch;font-size:.9rem}
.footer-grid a {color:#d0e1ff}
.trust-slot {display:inline-block;padding:9px 15px;border:1px dashed #7084a3;border-radius:8px;font-size:.82rem}
.trust-badge {max-width:110px;max-height:110px;background:white;border-radius:8px}
@media(max-width:900px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nav{gap:14px}}
@media(max-width:700px){
  .wrap{width:calc(100% - 28px)}.nav{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 0}.brand{font-size:1.15rem}.brand i{width:24px;height:27px}.nav-actions{grid-column:2;grid-row:1;gap:10px;font-size:.81rem}.site-search{grid-column:1/-1;grid-row:2;max-width:none}.utility-menu{gap:22px}
  .track-shell{grid-template-columns:1fr;margin-top:0}.delivery-art{grid-row:1;min-height:112px;max-height:132px}.parcel{width:106px}.orbit{width:156px}.track-content{padding:24px}.crumb{margin-bottom:12px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{padding:5px}.card-body h3{font-size:.94rem}.feature-display{min-height:210px}.feature-copy{padding:18px}.feature-copy h1{font-size:1.65rem}.feature-copy p,.feature-link{font-size:.82rem}.feature-photo{min-height:150px}.department-list{gap:12px}
  .sort-options a{padding:6px 9px}.basket-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;gap:18px}
}
@media print {header,footer,form,nav{display:none!important}body,main,.panel{background:white;border:0}}
.qty-form [hidden]{display:none!important}
.qty-form{margin:0}
.qty-step{display:inline-flex;align-items:center;direction:ltr;border:1px solid #c6d6fa;border-radius:11px;background:#fff;overflow:hidden}
.qty-step button,.card-bottom .qty-step button{border:0;border-radius:0;width:42px;height:42px;padding:0;background:#edf2ff;color:#193d99;font-size:1.3rem;line-height:1}
.qty-step [value=add]{order:3}.qty-step output{order:2;text-align:center;min-width:36px;font-weight:800}
.qty-step button:disabled{color:#8592a8;background:#f2f4f7;cursor:not-allowed}
.qty-message:not(:empty){display:block;color:#84263b;margin-block-start:6px}
.product-showroom{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);background:white;border:1px solid var(--line);border-radius:24px;padding:clamp(16px,3vw,40px);align-items:center}
.product-stage{position:relative;isolation:isolate;aspect-ratio:1.18;display:grid;place-items:center;overflow:hidden;border-radius:18px;background:radial-gradient(ellipse at 48% 42%,#fafcff,#e0ebf9)}
.product-stage:before{content:"";position:absolute;width:72%;aspect-ratio:1;border-radius:50%;background:#ffffff50;box-shadow:0 0 0 20px #ffffff38,0 0 0 44px #ffffff23}
.product-stage img{position:relative;width:85%;height:85%;object-fit:contain;mix-blend-mode:multiply;mask-image:radial-gradient(ellipse,#000 62%,transparent 79%)}
.product-stage:has(img[src^="/media/"]) img{mask-image:none;mix-blend-mode:normal}
.product-summary>small{color:#43618f;font-size:.89rem}
.product-summary h1{font-size:clamp(1.8rem,3.4vw,3.1rem);margin:7px 0;line-height:1.32}
.product-description{color:#4a6079;line-height:1.95;margin:15px 0 22px;overflow-wrap:anywhere}
.buy-panel{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;border:1px solid #dce6f4;background:#f6f9ff;border-radius:15px;padding:clamp(14px,2.5vw,25px)}
.buy-price{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;margin-bottom:4px}
.buy-price strong{font-size:1.7rem;line-height:1.3}
.buy-price strong small,.buy-price del{font-size:.88rem;color:#53657c}
.buy-price span{margin-inline-start:auto;font-size:.86rem;color:#395573}
.buy-panel .qty-add{padding-inline:22px}.view-cart{font-size:.89rem;font-weight:650}
.secondary-actions,.secondary-actions form,.product-variants,.gallery-strip,.related-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.secondary-actions{margin-top:17px}.secondary-actions button{font-size:.85rem;padding:6px 12px;border-color:var(--line);color:#405574;background:white}
.gallery-strip{margin-top:10px}.gallery-strip img{width:62px;height:62px;object-fit:contain;border:1px solid var(--line);border-radius:8px}
.product-section{margin-top:18px;padding:clamp(18px,3vw,32px);border:1px solid var(--line);border-radius:18px;background:white}
.product-section h2{font-size:1.25rem;margin:0 0 12px}
.product-section dl div{display:grid;grid-template-columns:1fr 2fr;border-top:1px solid var(--line);padding:10px}
.product-section dd{margin:0}.discussion summary{cursor:pointer;font-weight:650;color:var(--blue);width:fit-content;padding:7px 0}
.discussion form{display:grid;gap:12px;max-width:640px;margin-top:12px}.discussion form button{justify-self:start}
@media(max-width:700px){.product-showroom{grid-template-columns:1fr;gap:18px}.product-stage{aspect-ratio:1.45}.product-summary h1{font-size:1.8rem}.card-bottom .qty-step button{width:34px}.qty-step output{min-width:28px}}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.42fr);gap:20px;align-items:start}
.checkout-box{padding:clamp(16px,3vw,32px);margin-bottom:16px}
.checkout-box h2,.gateway-set legend{font-size:1.25rem;font-weight:750;color:var(--ink);margin:0 0 16px}
.checkout-form h2:not(:first-of-type),.gateway-set{margin-top:26px}
.address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.address-grid .wide{grid-column:1/-1}.address-grid input,.address-grid select,.address-grid textarea{display:block;margin-top:5px}
.checkout-form>button{margin-top:12px}.gateway-set{border:0;padding:0;min-width:0}
.gateway-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:490px}
.gateway-tile{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;aspect-ratio:1;background:white;border:1px solid #c5d1e2;border-radius:14px;cursor:pointer;text-align:center}
.gateway-tile img{width:38%;height:38%;object-fit:contain}.gateway-tile strong{font-size:.93rem}.gateway-tile small{font-size:.74rem}
.gateway-tile input{position:absolute;top:7px;right:7px;width:15px;height:15px;min-height:0;accent-color:var(--blue)}
.gateway-tile:has(:checked){border:2px solid var(--blue);background:#f3f6ff}.gateway-tile:has(:disabled){cursor:default;background:#f7f8fb}
.order-summary{position:sticky;top:15px}.order-summary dl div{display:flex;justify-content:space-between;gap:8px;padding:10px 0}.order-summary dd{margin:0;font-weight:bold}
.pay-total{border-top:1px solid var(--line);color:#183777}.order-summary button{width:100%}.order-summary button:disabled{background:#66748c;border-color:#66748c;cursor:not-allowed}
@media(max-width:760px){.checkout-layout{grid-template-columns:1fr;gap:0}.order-summary{position:static}.gateway-tile strong{font-size:.78rem}.gateway-tile input{width:12px;height:12px;right:4px;top:4px}}
@media(max-width:450px){.address-grid{grid-template-columns:1fr}.gateway-grid{gap:5px}.gateway-tile{min-height:96px}}
.payment-result{max-width:36rem;margin:clamp(1rem,5vw,4rem) auto;padding:clamp(1rem,4vw,2.5rem);text-align:center}
.payment-result h1{margin:.6rem 0;font-size:clamp(1.4rem,4vw,2rem)}
.result-symbol{display:grid;place-items:center;width:3.8rem;height:3.8rem;margin:1rem auto;border-radius:50%;font-size:2rem;background:#e9f1ff;color:#2359aa}
.result-paid{background:#def6ed;color:#12704d}.result-failed{background:#fff0ef;color:#a63032}.result-expired{background:#fff2da;color:#854d12}
.payment-result dl{margin:1.5rem 0;text-align:start}.payment-result dl div{display:flex;justify-content:space-between;gap:.75rem;padding:.7rem .25rem;border-bottom:1px solid #dce4ef}.payment-result dd{margin:0;font-weight:700}
.payment-result nav{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem}.payment-result nav strong{width:100%}.payment-result nav a{padding:.45rem .75rem;border:1px solid #dce4ef;border-radius:.6rem}.payment-result nav [aria-current]{background:#edf4ff;color:#164987}
.receipt-details{margin:1.25rem 0;padding:.85rem 0;border-block:1px solid #dce4ef;text-align:start}
.receipt-details summary{cursor:pointer;font-weight:700}.receipt-details li{margin-block:.5rem}.receipt-details dd{overflow-wrap:anywhere}
.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.catalog-main{min-width:0}
.catalog-layout .department-list a[aria-current]{color:var(--blue);font-weight:700}
@media(min-width:900px){
  .catalog-layout{grid-template-columns:clamp(11rem,18vw,15rem) minmax(0,1fr);align-items:start}
  .catalog-layout .department-list{display:grid;gap:0;max-height:75vh;overflow:auto;padding:.75rem;white-space:normal}
  .catalog-layout .department-list h2{padding:.5rem}
  .catalog-layout .department-list a{margin:0;padding:.55rem;border-radius:.5rem}
  .catalog-layout .department-list a:hover,.catalog-layout .department-list a[aria-current]{background:#edf4ff}
}
.catalog-pager{display:grid;justify-items:center;gap:.6rem;margin:1.75rem auto 1rem}
.pager-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.25rem;padding:.3rem;background:#fff;border:1px solid #dce4ef;border-radius:1rem}
.pager-controls a,.pager-controls strong{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-width:2.5rem;min-height:2.5rem;padding:0 .5rem;border-radius:.65rem;color:#25406b;font-weight:600}
.pager-controls strong{background:#194cca;color:#fff}
.pager-controls a:hover{background:#eef3ff}.pager-controls a:focus-visible{outline:2px solid #194cca}
.pager-gap{color:#687991}
@media(max-width:540px){.pager-controls a span{display:none}.pager-controls a,.pager-controls strong{min-width:2rem;padding:0 .25rem}}
