/* DS Overclock storefront, designed to layer above ds-clean-dark.css. */
.header-content { gap: 14px; }
.nav { gap: clamp(9px, 1.3vw, 24px); }
.nav a { font-size: 12px; white-space: nowrap; }
.nav .store-nav-member, .nav .store-nav-cart { color: #fff; }
.store-nav-member { display: none; }
.store-cart-count { font-size: 11px; background: #f0443e; color: #fff; border-radius: 50%; padding: 2px 6px; }
.store-back { display: inline-flex; margin: 12px 0 24px; color: var(--muted); font-size: 13px; font-weight: 750; }
.store-back:hover, .store-inline-link:hover { color: var(--red); }
.store-inline-link { color: var(--ink); font-size: 13px; font-weight: 750; }
.store-home-bottom { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 30px 0 90px; }
.store-home-bottom h2 { font-size: clamp(27px, 3vw, 44px); margin: 10px 0; }
.store-home-bottom p { max-width: 550px; font-size: 14px; color: var(--muted); }
.store-intro { padding-bottom: 35px; }
.store-shop-card .product-image { display: block; }
.store-shop-card .product-info { display: flex; flex-direction: column; flex: 1; }
.store-shop-card .product-bottom { margin-top: auto; }
.store-shop-card .product-info > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.store-quiet { padding: 20px 0 40px; font-size: 13px; color: var(--muted); }
.store-quiet a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.store-empty { grid-column: 1/-1; }
.store-details { padding-bottom: 40px; }
.store-details .service-detail { scroll-margin-top: 110px; }
.store-pricing, .store-travel { padding: 40px 0 30px; scroll-margin-top: 110px; }
.store-pricing-head { margin-bottom: 26px; }
.store-pricing-head h2 { font-size: clamp(28px, 3vw, 43px); margin: 12px 0; }
.store-pricing-head p { max-width: 700px; color: var(--muted); font-size: 14px; }
.store-pricing .tariff-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.store-pricing .tariff-row { background: var(--surface); border-color: var(--line); }
.store-pricing .tariff-row h2 { font-size: 20px; }
.store-pricing .tariff-row strong { font-size: 22px; }
.store-travel { padding-bottom: 90px; }
.store-travel .travel-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.store-travel .travel-table { border-collapse: collapse; width: 100%; }
.store-travel th, .store-travel td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.store-travel th { color: var(--muted); font-size: 12px; background: var(--soft); }
.store-travel td { font-size: 14px; }
.store-travel td:last-child { font-weight: 800; text-align: right; white-space: nowrap; }
.store-travel th:last-child { text-align: right; }
.store-product-page { padding: 52px 0 95px; }
.store-product-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 65px; }
.store-gallery-cover { border-radius: 18px; overflow: hidden; aspect-ratio: 1/1; background: #17191f; }
.store-gallery-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.store-thumbs { display: flex; gap: 9px; margin-top: 12px; overflow-x: auto; }
.store-thumbs button { flex: none; background: #17191f; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; width: 88px; height: 76px; cursor: pointer; }
.store-thumbs button:hover { border-color: var(--red); }
.store-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.store-product-summary { padding-top: 14px; }
.store-product-summary h1 { font-size: clamp(30px, 4vw, 59px); line-height: 1.1; margin: 17px 0 23px; letter-spacing: -.045em; }
.store-product-price { font-size: 32px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.store-stock { color: #81ddb1; font-size: 13px; font-weight: 700; margin-top: 12px; }
.store-stock.stock-empty { color: #ffa9a4; }
.store-description { white-space: pre-line; line-height: 1.9; color: var(--muted); font-size: 14px; margin: 29px 0; }
.store-add-form { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.store-add-form label { font-size: 12px; color: var(--muted); display: grid; gap: 8px; }
.store-add-form select, .store-admin-inline select { padding: 13px 14px; min-width: 75px; color: var(--ink); background: #13151b; border: 1px solid #3a3e47; border-radius: 9px; }
.store-product-perks { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 33px; color: var(--muted); font-size: 12px; }
.store-cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(275px,.65fr); gap: 26px; align-items: start; padding-bottom: 110px; }
.store-cart-item { display: grid; grid-template-columns: 132px 1fr auto; gap: 18px; border: 1px solid var(--line); background: var(--surface); padding: 17px; border-radius: 15px; margin-bottom: 12px; }
.store-cart-item h2 { font-size: 18px; }
.store-cart-item p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.store-cart-item > strong { font-size: 17px; white-space: nowrap; }
.store-mini-image { height: 116px; background: #0d0f13; border-radius: 9px; overflow: hidden; }
.store-mini-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.store-small-form { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.store-small-form label { font-size: 12px; color: var(--muted); }
.store-small-form input { width: 56px; margin-left: 6px; border: 1px solid #494d56; background: #0b0c10; border-radius: 5px; color: #fff; padding: 6px; }
.store-small-form button { font-size: 12px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.store-hint { font-size: 11px; color: var(--faint); }
.store-summary { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 28px; }
.store-summary h2 { font-size: 21px; margin-bottom: 20px; }
.store-summary p { margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.store-total { display: flex; justify-content: space-between; gap: 22px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.store-total strong { white-space: nowrap; }
.store-big-total { margin-top: 10px; font-size: 19px; }
.store-button-full { width: 100%; margin-top: 22px; }
.store-summary .store-back { margin-top: 25px; }
.store-auth-section { padding: 76px 0 115px; display: grid; grid-template-columns: .9fr 1fr; gap: 12%; align-items: center; }
.store-auth-intro h1 { font-size: clamp(35px,4.5vw,65px); margin: 17px 0; }
.store-auth-intro p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.store-auth-form { width: 100%; }
.store-auth-switch { text-align: center; font-size: 13px; margin-top: 24px !important; }
.store-auth-switch a, .store-check a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.store-account-list { padding-bottom: 130px; }
.store-account-list > h2 { margin-bottom: 22px; }
.store-order-row { display: grid; grid-template-columns: 1fr auto auto 20px; align-items: center; gap: 22px; border: 1px solid var(--line); background: var(--surface); padding: 23px; border-radius: 12px; margin: 10px 0; }
.store-order-row:hover { border-color: #555862; }
.store-order-row small { display: block; margin-top: 7px; font-size: 12px; color: var(--muted); }
.store-order-status { font-size: 11px; font-weight: 800; background: #252830; color: #b7bbc5; border-radius: 40px; padding: 7px 12px; white-space: nowrap; display: inline-block; }
.store-order-status.paid { color: #80e4ab; background: #152c20; }
.store-order-status.failed, .store-order-status.expired { color: #ffb1ad; background: #331d21; }
.store-order-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 120px; }
.store-order-actions { display: flex; flex-direction: column; align-items: start; gap: 15px; }
.store-payment-form { width: 100%; }
.store-check { flex-direction: row !important; gap: 12px !important; align-items: start; line-height: 1.6; }
.store-check input { width: auto !important; min-height: auto !important; margin-top: 4px; }
.store-payment-off { background: #302020; border: 1px solid #644040; border-radius: 9px; padding: 15px; font-size: 13px; color: #ffb3ac; }
.store-payment-form button:disabled { opacity: .4; cursor: not-allowed; }
.store-admin-dashboard { padding-bottom: 120px; display: grid; gap: 23px; }
.store-admin-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.store-admin-shortcuts a { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 10px; }
.store-admin-shortcuts strong { font-size: 19px; }
.store-admin-shortcuts span { color: var(--muted); font-size: 12px; }
.store-admin-box { background: var(--surface); border: 1px solid var(--line); border-radius: 17px; padding: 29px; }
.store-admin-box h2 { font-size: 24px; margin-bottom: 11px; }
.store-admin-box > p, .store-admin-box small { font-size: 12px; color: var(--muted); }
.store-admin-box .store-admin-entry:first-of-type { margin-top: 20px; }
.store-admin-inline { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.store-admin-entry { border-top: 1px solid var(--line); padding: 20px 0; display: flex; gap: 20px; justify-content: space-between; align-items: center; }
.store-admin-entry > div:first-child { min-width: 0; }
.store-admin-entry p { color: var(--muted); font-size: 12px; margin-top: 7px; line-height: 1.6; overflow-wrap: anywhere; }
.store-admin-desc { white-space: pre-line; }
.store-admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.store-admin-actions .button { min-height: 37px; font-size: 11px; padding: 9px 13px; }
.store-admin-form { display: grid; gap: 15px; }
.store-admin-form label { display: grid; gap: 8px; font-size: 12px; font-weight: 700; }
.store-admin-form input:not([type=checkbox]), .store-admin-form textarea { color: #f2f3f6; border: 1px solid #3d414c; background: #0e1015; padding: 13px; border-radius: 8px; width: 100%; }
.store-admin-form textarea { resize: vertical; }
.store-admin-form > button, .store-admin-form .button { justify-self: start; }
.store-admin-two { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.store-admin-product { display: flex; align-items: center; gap: 17px; }
.store-admin-thumb { height: 90px; width: 112px; flex: none; border-radius: 9px; overflow: hidden; background: #111; }
.store-admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.store-admin-products { margin-bottom: 110px; }
.store-page-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.store-editor-layout { max-width: 900px; padding-bottom: 110px; }
.store-editor-pictures { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.store-editor-picture { display: grid; gap: 7px; }
.store-editor-picture img { width: 100%; height: 145px; object-fit: cover; border-radius: 8px; }
.store-editor-picture span { display: flex; gap: 6px; align-items: center; font-size: 11px; }
.store-editor-picture input { width: auto !important; min-height: auto !important; }
.store-legal-content { max-width: 850px; min-height: 450px; padding-bottom: 120px; }
.store-legal-content h2 { font-size: 23px; margin: 25px 0 10px; }
.store-legal-content p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.store-legal-warning { padding: 20px; border: 1px solid #614044; background: #29191f; border-radius: 10px; }
@media(max-width: 1140px) { .header-contact { display: none; } .nav { gap: 13px; } }
@media(max-width: 900px) {
 .store-product-layout { grid-template-columns: 1fr; gap: 32px; }
 .store-cart-layout, .store-auth-section { grid-template-columns: 1fr; }
 .store-admin-shortcuts { grid-template-columns: 1fr; }
 .store-home-bottom { align-items: start; flex-direction: column; }
 .store-pricing .tariff-list { grid-template-columns: 1fr; }
}
@media(max-width: 760px) {
 .nav { gap: 0; }
 .nav .store-nav-member { display: block; }
 .nav a { font-size: 15px; }
 .store-order-details, .store-admin-two { grid-template-columns: 1fr; }
 .store-cart-layout { gap: 16px; }
 .store-admin-entry { align-items: start; flex-direction: column; }
 .store-order-row { grid-template-columns: 1fr auto; gap: 12px; }
 .store-order-row > span:last-child { display: none; }
 .store-product-page { padding-top: 24px; }
}
@media(max-width: 520px) {
 .store-cart-item { grid-template-columns: 88px 1fr; }
 .store-cart-item > strong { grid-column: 2; }
 .store-mini-image { height: 90px; }
 .store-admin-box, .store-summary { padding: 19px; }
 .store-editor-pictures { grid-template-columns: 1fr 1fr; }
 .store-product-summary h1 { font-size: 35px; }
 .store-pricing { padding: 30px 0 10px; }
 .store-travel th, .store-travel td { padding: 12px 14px; font-size: 12px; }
}
/* A complete mobile menu begins earlier than in the legacy theme because the
   new, clearer navigation includes the cart and customer account. */
@media (max-width: 1000px) {
  .header { height: 72px; }
  .header-content { justify-content: space-between; }
  .header-contact { display: none; }
  .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; width: 100%; height: calc(100dvh - 72px); background: var(--bg); border-top: 1px solid var(--line); padding: 24px 25px 40px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; z-index: 60; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { font-size: 20px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]:after { bottom: -1px; height: 2px; width: 45px; }
  .nav .store-nav-member { display: block; }
  .menu-toggle { display: flex; margin-left: auto; align-items: center; flex-direction: column; justify-content: center; gap: 5px; background: #17191e; border: 1px solid #3a3e48; border-radius: 8px; width: 44px; height: 44px; flex: none; }
  .menu-toggle span { display: block; height: 2px; width: 19px; border-radius: 1px; background: #f6f6f8; transition: transform .2s, opacity .2s; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

.store-admin-form select { color: var(--ink); background: #0e1015; border: 1px solid #3d414c; border-radius: 8px; padding: 13px; }
