@media (max-width: 767px) {
  /* v3.3: only one cart icon in the mobile header */
  .oc-header .oc-cart-header-button,
  .oc-header-actions .oc-cart-header-button,
  .oc-header-actions [data-oc-open-cart]:not(.oc-mobile-cart-toggle) {
    display: none !important;
  }

  .oc-header .oc-mobile-cart-toggle,
  .oc-header-actions .oc-mobile-cart-toggle {
    display: inline-flex !important;
  }
}

/* Opto Zero v3.7 — blended mobile header */
@media (max-width: 767px) {
  .oc-header {
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background:
      linear-gradient(90deg,
        rgba(7,66,170,.94) 0%,
        rgba(13,93,230,.82) 47%,
        rgba(13,93,230,.44) 72%,
        rgba(13,93,230,.12) 100%),
      url('catalog/view/theme/opto_zero/assets/img/almaty-top.jpg') right center / auto 100% no-repeat !important;
    box-shadow: 0 5px 16px rgba(28,57,105,.12) !important;
  }

  .oc-header::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.06)) !important;
    z-index: 0 !important;
  }

  .oc-header > .container-fluid {
    position: relative !important;
    z-index: 2 !important;
    padding: 9px 10px 10px !important;
  }

  .oc-header-row {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    grid-template-areas:
      "logo actions"
      "search search" !important;
    align-items: center !important;
    gap: 9px 10px !important;
    min-height: 0 !important;
  }

  .oc-mobile-menu-toggle {
    display: none !important;
  }

  .oc-logo {
    grid-area: logo !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    min-width: 0 !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    color: #fff !important;
    background: transparent !important;
  }

  .oc-logo .oc-logo-top,
  .oc-logo .oc-logo-bottom {
    display: none !important;
  }

  .oc-logo::before {
    content: "Optokaz" !important;
    display: block !important;
    color: #fff !important;
    font-size: 23px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -.6px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.16) !important;
  }

  .oc-header-actions {
    grid-area: actions !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  .oc-header-actions > * {
    margin: 0 !important;
  }

  .oc-header .oc-header-dropdown-button,
  .oc-header .oc-mobile-cart-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.26) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.13) !important;
    box-shadow: none !important;
    color: #fff !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
  }

  .oc-header .oc-header-dropdown-button:hover,
  .oc-header .oc-mobile-cart-toggle:hover {
    background: rgba(255,255,255,.18) !important;
  }

  .oc-header .oc-action-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    color: #fff !important;
  }

  .oc-header .oc-action-icon i {
    color: #fff !important;
    font-size: 17px !important;
  }

  .oc-header .oc-action-icon em {
    top: -7px !important;
    right: -9px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 4px !important;
    border: 2px solid rgba(13,93,230,.78) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #0d5de6 !important;
    font-size: 8px !important;
    line-height: 13px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    text-align: center !important;
  }

  .oc-header .oc-action-text {
    display: none !important;
  }

  /* only one cart on mobile */
  .oc-header .oc-cart-header-button,
  .oc-header-actions .oc-cart-header-button,
  .oc-header-actions [data-oc-open-cart]:not(.oc-mobile-cart-toggle) {
    display: none !important;
  }

  .oc-header .oc-mobile-cart-toggle {
    display: inline-flex !important;
  }

  .oc-header-center {
    grid-area: search !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .oc-header-center .oc-menu-shell {
    display: block !important;
    width: 100% !important;
  }

  .oc-header-center .oc-catalog-dropdown,
  .oc-header-center .oc-catalog-button,
  .oc-header-center .oc-mobile-menu-toggle {
    display: none !important;
  }

  .oc-header-center .oc-menu-search,
  .oc-header-center .oc-search-wrap {
    width: 100% !important;
    margin: 0 !important;
  }

  .oc-header-center .oc-search-wrap {
    display: flex !important;
    overflow: hidden !important;
    min-height: 42px !important;
    border: 1px solid rgba(255,255,255,.38) !important;
    border-radius: 13px !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 5px 15px rgba(20,53,105,.10) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .oc-header-center .oc-search-input {
    height: 42px !important;
    min-width: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #27364f !important;
    font-size: 13px !important;
  }

  .oc-header-center .oc-search-button,
  .oc-header-center #oc-search-button {
    width: 46px !important;
    min-width: 46px !important;
    height: 42px !important;
    border: 0 !important;
    background: transparent !important;
    color: #0d5de6 !important;
  }

  /* prevent the old separate hero from appearing if cached markup survives */
  .oc-mobile-top-hero {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .oc-header > .container-fluid {
    padding: 8px 9px 9px !important;
  }

  .oc-logo::before {
    font-size: 21px !important;
  }

  .oc-header-actions {
    gap: 5px !important;
  }

  .oc-header .oc-header-dropdown-button,
  .oc-header .oc-mobile-cart-toggle {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
  }

  .oc-header-center .oc-search-wrap,
  .oc-header-center .oc-search-input,
  .oc-header-center .oc-search-button,
  .oc-header-center #oc-search-button {
    height: 40px !important;
    min-height: 40px !important;
  }
}

@media (min-width: 768px) {
  .oc-mobile-top-hero {
    display: none !important;
  }
}

/* Opto Zero v3.8 — mobile header icons visibility fix */
@media (max-width: 767px) {
  .oc-header .oc-header-dropdown-button,
  .oc-header .oc-mobile-cart-toggle {
    background: rgba(255,255,255,.90) !important;
    border-color: rgba(255,255,255,.72) !important;
    box-shadow: 0 4px 13px rgba(21,58,112,.14) !important;
    color: #0d5de6 !important;
  }

  .oc-header .oc-header-dropdown-button:hover,
  .oc-header .oc-header-dropdown-button:focus,
  .oc-header .oc-mobile-cart-toggle:hover,
  .oc-header .oc-mobile-cart-toggle:focus {
    background: #fff !important;
    color: #0d5de6 !important;
  }

  .oc-header .oc-header-dropdown-button .oc-action-icon,
  .oc-header .oc-mobile-cart-toggle .oc-action-icon,
  .oc-header .oc-header-dropdown-button .oc-profile,
  .oc-header .oc-mobile-cart-toggle .oc-profile {
    color: #0d5de6 !important;
    opacity: 1 !important;
  }

  .oc-header .oc-header-dropdown-button i,
  .oc-header .oc-header-dropdown-button .fa,
  .oc-header .oc-mobile-cart-toggle i,
  .oc-header .oc-mobile-cart-toggle .fa,
  .oc-header .oc-header-dropdown-button i::before,
  .oc-header .oc-mobile-cart-toggle i::before {
    color: #0d5de6 !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }

  .oc-header .oc-wishlist-dropdown-wrap .oc-header-dropdown-button i {
    font-size: 18px !important;
  }

  .oc-header .oc-profile-dropdown-wrap .oc-header-dropdown-button i {
    font-size: 18px !important;
  }

  .oc-header .oc-mobile-cart-toggle i {
    font-size: 18px !important;
  }

  .oc-header .oc-action-icon em {
    background: #0d5de6 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 6px rgba(13,93,230,.22) !important;
  }
}

/* Opto Zero v3.9 — mobile header icons same size + visible search button */
@media (max-width: 767px) {
  /* same size for wishlist / profile / cart */
  .oc-header .oc-header-actions {
    gap: 8px !important;
  }

  .oc-header .oc-header-dropdown-button,
  .oc-header .oc-mobile-cart-toggle,
  .oc-header .oc-wishlist-dropdown-wrap .oc-header-dropdown-button,
  .oc-header .oc-profile-dropdown-wrap .oc-header-dropdown-button,
  .oc-header .oc-mobile-cart-wrap .oc-mobile-cart-toggle {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .oc-header .oc-action-icon,
  .oc-header .oc-header-dropdown-button .oc-action-icon,
  .oc-header .oc-mobile-cart-toggle .oc-action-icon {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .oc-header .oc-action-icon i,
  .oc-header .oc-header-dropdown-button i,
  .oc-header .oc-mobile-cart-toggle i,
  .oc-header .oc-profile,
  .oc-header .oc-profile i {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .oc-header .oc-action-icon em {
    top: -6px !important;
    right: -7px !important;
  }

  /* visible search */
  .oc-header .oc-header-center .oc-search-wrap,
  .oc-header-center .oc-search-wrap {
    min-height: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(255,255,255,.30) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 6px 18px rgba(21,58,112,.14) !important;
    overflow: hidden !important;
  }

  .oc-header .oc-header-center .oc-search-input,
  .oc-header-center .oc-search-input {
    height: 46px !important;
    padding: 0 14px !important;
    color: #2d3b52 !important;
    font-size: 13px !important;
  }

  .oc-header .oc-header-center .oc-search-input::placeholder,
  .oc-header-center .oc-search-input::placeholder {
    color: #96a1b1 !important;
    opacity: 1 !important;
  }

  .oc-header .oc-header-center .oc-search-button,
  .oc-header .oc-header-center #oc-search-button,
  .oc-header-center .oc-search-button,
  .oc-header-center #oc-search-button {
    width: 52px !important;
    min-width: 52px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(13,93,230,.08) !important;
    border-radius: 0 16px 16px 0 !important;
    background: #0d5de6 !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .oc-header .oc-header-center .oc-search-button i,
  .oc-header .oc-header-center #oc-search-button i,
  .oc-header-center .oc-search-button i,
  .oc-header-center #oc-search-button i,
  .oc-header .oc-header-center .oc-search-button .fa,
  .oc-header .oc-header-center #oc-search-button .fa,
  .oc-header-center .oc-search-button .fa,
  .oc-header-center #oc-search-button .fa {
    color: #fff !important;
    font-size: 20px !important;
    opacity: 1 !important;
  }
}

@media (max-width: 380px) {
  .oc-header .oc-header-dropdown-button,
  .oc-header .oc-mobile-cart-toggle,
  .oc-header .oc-wishlist-dropdown-wrap .oc-header-dropdown-button,
  .oc-header .oc-profile-dropdown-wrap .oc-header-dropdown-button,
  .oc-header .oc-mobile-cart-wrap .oc-mobile-cart-toggle {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 13px !important;
  }

  .oc-header .oc-header-center .oc-search-wrap,
  .oc-header-center .oc-search-wrap {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 15px !important;
  }

  .oc-header .oc-header-center .oc-search-input,
  .oc-header-center .oc-search-input {
    height: 44px !important;
  }

  .oc-header .oc-header-center .oc-search-button,
  .oc-header .oc-header-center #oc-search-button,
  .oc-header-center .oc-search-button,
  .oc-header-center #oc-search-button {
    width: 50px !important;
    min-width: 50px !important;
    height: 44px !important;
    border-radius: 0 15px 15px 0 !important;
  }
}

/* Opto Zero v3.14 — mobile two-column prices + glowing selected mode */
@media (max-width: 767px) {
  /* Product cards on home/category/search/wishlist and other modern listings */
  .oc-product-card .oc-product-prices {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 9px !important;
  }

  .oc-product-card .oc-product-prices .oc-main-price,
  .oc-product-card .oc-product-prices .oc-second-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 7px 8px !important;
    border: 1px solid #e5ebf3 !important;
    border-radius: 11px !important;
    background: #f8fafe !important;
    text-align: left !important;
    white-space: normal !important;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease !important;
  }

  .oc-product-card .oc-product-prices .oc-main-price {
    font-size: 15px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    color: #172844 !important;
  }

  .oc-product-card .oc-product-prices .oc-second-price {
    font-size: 15px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    color: #172844 !important;
  }

  .oc-product-card .oc-product-prices .oc-main-price small,
  .oc-product-card .oc-product-prices .oc-second-price small {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #8a96a8 !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .oc-product-card .oc-product-prices .oc-pack-note {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: -2px 0 0 !important;
    padding: 0 2px !important;
    color: #99a4b4 !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
    text-align: right !important;
  }

  /* Price block follows selected purchase mode */
  .oc-product-card[data-mode="units"] .oc-product-prices .oc-main-price,
  .oc-product-info-card[data-mode="units"] .product-detail-prices .oc-main-price {
    border-color: rgba(13,93,230,.48) !important;
    background: #eef5ff !important;
    box-shadow: 0 0 0 2px rgba(13,93,230,.08), 0 5px 12px rgba(13,93,230,.09) !important;
  }

  .oc-product-card[data-mode="box"] .oc-product-prices .oc-second-price,
  .oc-product-info-card[data-mode="box"] .product-detail-prices .oc-second-price {
    border-color: rgba(13,93,230,.48) !important;
    background: #eef5ff !important;
    box-shadow: 0 0 0 2px rgba(13,93,230,.08), 0 5px 12px rgba(13,93,230,.09) !important;
  }

  /* Strong, clearly visible selected Штучно / Коробкой button */
  .oc-sale-type-switch {
    background: #f6f8fc !important;
    border: 1px solid #dce4ef !important;
    box-shadow: none !important;
  }

  .oc-sale-type-switch button[data-mode] {
    color: #5b687c !important;
    background: transparent !important;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease !important;
  }

  .oc-sale-type-switch button[data-mode].active {
    position: relative !important;
    z-index: 2 !important;
    background: #0d5de6 !important;
    color: #fff !important;
    box-shadow:
      0 0 0 2px rgba(13,93,230,.16),
      0 5px 14px rgba(13,93,230,.25) !important;
  }

  /* Product detail page: same price layout */
  .oc-product-mobile-v32 .product-detail-prices {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 0 12px !important;
  }

  .oc-product-mobile-v32 .product-detail-prices .oc-main-price,
  .oc-product-mobile-v32 .product-detail-prices .oc-second-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 52px !important;
    padding: 8px 10px !important;
    border: 1px solid #e5ebf3 !important;
    border-radius: 12px !important;
    background: #f8fafe !important;
    font-size: 16px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    color: #172844 !important;
  }

  .oc-product-mobile-v32 .product-detail-prices .oc-main-price small,
  .oc-product-mobile-v32 .product-detail-prices .oc-second-price small {
    display: block !important;
    width: 100% !important;
    margin: 3px 0 0 !important;
    padding: 0 !important;
    color: #8995a7 !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    text-align: left !important;
  }

  .oc-product-mobile-v32 .product-detail-prices .oc-pack-note {
    grid-column: 1 / -1 !important;
    margin: -2px 0 0 !important;
    padding: 0 2px !important;
    text-align: right !important;
    font-size: 10px !important;
    color: #99a4b4 !important;
  }
}

@media (max-width: 380px) {
  .oc-product-card .oc-product-prices {
    gap: 5px !important;
  }

  .oc-product-card .oc-product-prices .oc-main-price,
  .oc-product-card .oc-product-prices .oc-second-price {
    min-height: 45px !important;
    padding: 6px !important;
    font-size: 14px !important;
  }

  .oc-product-card .oc-product-prices .oc-main-price small,
  .oc-product-card .oc-product-prices .oc-second-price small {
    font-size: 8px !important;
  }
}

/* Opto Zero v3.15 — same price/mode design on desktop */
@media (min-width: 768px) {
  /* Product cards: price left/right in compact blocks */
  .oc-product-card .oc-product-prices {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 10px !important;
  }

  .oc-product-card .oc-product-prices .oc-main-price,
  .oc-product-card .oc-product-prices .oc-second-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
    min-width: 0 !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    border: 1px solid #e5ebf3 !important;
    border-radius: 12px !important;
    background: #f8fafe !important;
    text-align: left !important;
    white-space: normal !important;
    transition:
      border-color .18s ease,
      background .18s ease,
      box-shadow .18s ease,
      transform .18s ease !important;
  }

  .oc-product-card .oc-product-prices .oc-main-price,
  .oc-product-card .oc-product-prices .oc-second-price {
    font-size: 17px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    color: #172844 !important;
  }

  .oc-product-card .oc-product-prices .oc-main-price small,
  .oc-product-card .oc-product-prices .oc-second-price small {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #8995a7 !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .oc-product-card .oc-product-prices .oc-pack-note {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: -2px 0 0 !important;
    padding: 0 2px !important;
    color: #99a4b4 !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    text-align: right !important;
  }

  /* Selected purchase mode also highlights the matching price */
  .oc-product-card[data-mode="units"] .oc-product-prices .oc-main-price,
  .oc-product-info-card[data-mode="units"] .product-detail-prices .oc-main-price {
    border-color: rgba(13,93,230,.50) !important;
    background: #eef5ff !important;
    box-shadow:
      0 0 0 2px rgba(13,93,230,.08),
      0 6px 16px rgba(13,93,230,.10) !important;
  }

  .oc-product-card[data-mode="box"] .oc-product-prices .oc-second-price,
  .oc-product-info-card[data-mode="box"] .product-detail-prices .oc-second-price {
    border-color: rgba(13,93,230,.50) !important;
    background: #eef5ff !important;
    box-shadow:
      0 0 0 2px rgba(13,93,230,.08),
      0 6px 16px rgba(13,93,230,.10) !important;
  }

  /* Clear active Штучно / Коробкой state on desktop too */
  .oc-sale-type-switch {
    background: #f6f8fc !important;
    border: 1px solid #dce4ef !important;
    box-shadow: none !important;
  }

  .oc-sale-type-switch button[data-mode] {
    color: #5b687c !important;
    background: transparent !important;
    transition:
      background .18s ease,
      color .18s ease,
      box-shadow .18s ease !important;
  }

  .oc-sale-type-switch button[data-mode].active {
    position: relative !important;
    z-index: 2 !important;
    background: #0d5de6 !important;
    color: #fff !important;
    box-shadow:
      0 0 0 2px rgba(13,93,230,.16),
      0 6px 16px rgba(13,93,230,.22) !important;
  }

  /* Product detail page on desktop */
  .oc-product-info-card .product-detail-prices {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 0 14px !important;
  }

  .oc-product-info-card .product-detail-prices .oc-main-price,
  .oc-product-info-card .product-detail-prices .oc-second-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 62px !important;
    padding: 11px 13px !important;
    border: 1px solid #e5ebf3 !important;
    border-radius: 13px !important;
    background: #f8fafe !important;
    font-size: 19px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    color: #172844 !important;
    transition:
      border-color .18s ease,
      background .18s ease,
      box-shadow .18s ease !important;
  }

  .oc-product-info-card .product-detail-prices .oc-main-price small,
  .oc-product-info-card .product-detail-prices .oc-second-price small {
    display: block !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    color: #8995a7 !important;
    font-size: 11px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    text-align: left !important;
  }

  .oc-product-info-card .product-detail-prices .oc-pack-note {
    grid-column: 1 / -1 !important;
    margin: -2px 0 0 !important;
    padding: 0 2px !important;
    text-align: right !important;
    font-size: 10px !important;
    color: #99a4b4 !important;
  }
}

/* Opto Zero v3.16 — desktop parity with current mobile design */
@media (min-width: 768px) {
  /* Desktop top strip is removed so the header matches the mobile concept. */
  .oc-top-strip {
    display: none !important;
  }

  .oc-header {
    position: relative !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background:
      linear-gradient(90deg,
        rgba(7,66,170,.95) 0%,
        rgba(13,93,230,.84) 45%,
        rgba(13,93,230,.48) 72%,
        rgba(13,93,230,.14) 100%),
      url('catalog/view/theme/opto_zero/assets/img/almaty-top.jpg') right center / auto 100% no-repeat !important;
    box-shadow: 0 6px 18px rgba(28,57,105,.13) !important;
  }

  .oc-header::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.06)) !important;
    z-index: 0 !important;
  }

  .oc-header > .container-fluid {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 14px 22px !important;
  }

  .oc-header-row {
    display: grid !important;
    grid-template-columns: 220px minmax(360px,1fr) auto !important;
    grid-template-areas: "logo search actions" !important;
    align-items: center !important;
    gap: 18px !important;
    min-height: 64px !important;
  }

  .oc-mobile-menu-toggle,
  .oc-header-center .oc-catalog-dropdown,
  .oc-header-center .oc-catalog-button {
    display: none !important;
  }

  .oc-logo {
    grid-area: logo !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  .oc-logo .oc-logo-top,
  .oc-logo .oc-logo-bottom {
    display: none !important;
  }

  .oc-logo::before {
    content: "Optokaz" !important;
    display: block !important;
    color: #fff !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -.9px !important;
    text-shadow: 0 2px 9px rgba(0,0,0,.16) !important;
  }

  .oc-header-center {
    grid-area: search !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .oc-header-center .oc-menu-shell,
  .oc-header-center .oc-menu-search,
  .oc-header-center .oc-search-wrap {
    width: 100% !important;
    margin: 0 !important;
  }

  .oc-header-center .oc-menu-shell {
    display: block !important;
  }

  .oc-header-center .oc-search-wrap {
    display: flex !important;
    min-height: 48px !important;
    height: 48px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.38) !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 6px 18px rgba(21,58,112,.13) !important;
  }

  .oc-header-center .oc-search-input {
    height: 48px !important;
    min-width: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #2d3b52 !important;
    font-size: 14px !important;
  }

  .oc-header-center .oc-search-input::placeholder {
    color: #96a1b1 !important;
    opacity: 1 !important;
  }

  .oc-header-center .oc-search-button,
  .oc-header-center #oc-search-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 15px 15px 0 !important;
    background: #0d5de6 !important;
    color: #fff !important;
  }

  .oc-header-center .oc-search-button i,
  .oc-header-center #oc-search-button i,
  .oc-header-center .oc-search-button .fa,
  .oc-header-center #oc-search-button .fa {
    color: #fff !important;
    font-size: 20px !important;
    opacity: 1 !important;
  }

  .oc-header-actions {
    grid-area: actions !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 9px !important;
  }

  .oc-header .oc-header-dropdown-button,
  .oc-header .oc-cart-header-button,
  .oc-header .oc-mobile-cart-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.74) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 5px 14px rgba(21,58,112,.13) !important;
    color: #0d5de6 !important;
  }

  .oc-header .oc-action-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 19px !important;
    min-width: 19px !important;
    height: 19px !important;
    color: #0d5de6 !important;
  }

  .oc-header .oc-action-icon i,
  .oc-header .oc-profile i {
    color: #0d5de6 !important;
    font-size: 19px !important;
    line-height: 1 !important;
    opacity: 1 !important;
  }

  .oc-header .oc-action-text {
    display: none !important;
  }

  .oc-header .oc-action-icon em {
    top: -7px !important;
    right: -8px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: #0d5de6 !important;
    color: #fff !important;
    font-size: 8px !important;
    line-height: 14px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    text-align: center !important;
  }

  /* One cart only on desktop too; use the normal desktop cart button. */
  .oc-header .oc-mobile-cart-toggle {
    display: none !important;
  }
}

/* Card geometry parity on desktop while preserving desktop column count. */
@media (min-width: 768px) {
  .oc-product-card {
    border: 1px solid #e5ebf3 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(31,47,73,.045) !important;
    overflow: hidden !important;
  }

  .oc-product-card .oc-product-image-wrap {
    border-radius: 14px !important;
    background: #fff !important;
  }

  .oc-product-card .oc-product-title {
    color: #1f2f49 !important;
    font-weight: 800 !important;
  }

  .oc-product-card .oc-product-actions {
    display: grid !important;
    grid-template-columns: 82px minmax(0,1fr) !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .oc-product-card .oc-product-actions > .oc-heart-btn {
    display: none !important;
  }

  .oc-product-card .oc-qty-control {
    display: grid !important;
    grid-template-columns: 24px minmax(0,1fr) 24px !important;
    width: 82px !important;
    min-width: 82px !important;
    height: 40px !important;
    border: 1px solid #dbe3ee !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .oc-product-card .oc-qty-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    color: #3d4a62 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
  }

  .oc-product-card .oc-qty-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #1f2f49 !important;
  }

  .oc-product-card .oc-add-cart-btn {
    min-width: 0 !important;
    height: 40px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }
}
