/* ==========================================================================
   ATOMY RUSSIA - EXACT 1:1 OFFICIAL DESIGN SYSTEM
   Точное соответствие стилям atomy.ru (Overpass / Atomy Co., Ltd.)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&display=swap');

/* Base Reset matching Atomy */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #000000;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

ol, ul, li {
  list-style: none;
}

a {
  display: block;
  font-family: inherit;
  text-decoration: none;
  color: #000000;
  transition: color 0.15s ease;
}

button {
  display: block;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

img {
  vertical-align: middle;
  border: 0;
  max-width: 100%;
}

.ir {
  display: block;
  overflow: hidden !important;
  position: absolute !important;
  top: -1000em;
  left: 0;
  width: 0 !important;
  height: 0 !important;
}

.wrap {
  position: relative;
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
}

.container.main {
  position: relative;
  width: 100%;
}

.inner-center {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ==========================================================================
   1. EXACT ATOMY HEADER
   ========================================================================== */
.header {
  position: relative;
  z-index: 99;
  width: 100%;
}

.header .head {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Head Base (Utility top bar) */
.header .head-base {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 16px 4px;
  box-sizing: border-box;
}

.header .head-base .util-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.header .head-base .util-top li {
  flex: none;
  position: relative;
}

.header .head-base .util-top li + li {
  margin-left: 10px;
  padding-left: 11px;
}

.header .head-base .util-top li + li:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  margin-top: -7px;
  background: rgba(255, 255, 255, 0.4);
}

.header .head-base .util-top li a,
.header .head-base .util-top li button {
  color: #ffffff;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
}

.header .head-base .util-top li a:hover,
.header .head-base .util-top li button:hover {
  text-decoration: underline;
}

.header .head-base .util-top li .lang {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header .head-base .util-top li .lang em {
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

.header .head-base .util-top li .lang::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #ffffff;
  margin-left: 2px;
}

/* Head Main (Vibrant Cyan Blue #00b6f0) */
.header .head-main {
  width: 100%;
  height: 118px;
  background: #00b6f0;
  box-sizing: border-box;
}

.header .head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.header .head-main .head-inner {
  height: auto;
  margin-top: 10px;
}

.header .head-main .hdr {
  flex: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Logo */
.header .head-main .hdr-logo {
  display: flex;
  align-items: center;
  width: auto;
  flex: none;
}

.header .head-main .hdr-logo h1 {
  display: flex;
  align-items: center;
  flex: none;
  margin: 0;
}

.header .head-main .hdr-logo h1 a {
  display: flex;
  align-items: center;
  flex: none;
}

.header .head-main .hdr-logo h1 img.atomy-logo-svg {
  width: 108px;
  height: 52px;
  max-width: none;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex: none;
}

.header .head-main .hdr-logo .family-btn {
  width: 22px;
  height: 22px;
  margin-left: 10px;
  background: #ffffff;
  mask: url("https://resource.atomy.ru/20260906013301/fo/images/common/ico_common.svg") no-repeat -70px 0;
  -webkit-mask: url("https://resource.atomy.ru/20260906013301/fo/images/common/ico_common.svg") no-repeat -70px 0;
  cursor: pointer;
  flex: none;
}

/* Header Tabs */
.header .head-main .hdr-link {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.header .head-main .hdr-link li {
  position: relative;
}

.header .head-main .hdr-link li + li {
  margin-left: 15px;
  padding-left: 16px;
}

.header .head-main .hdr-link li + li:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 17px;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
}

.header .head-main .hdr-link li a {
  font-weight: 600;
  color: #ffffff;
  font-size: 20px;
  line-height: 28px;
  opacity: 0.75;
}

.header .head-main .hdr-link li a[aria-selected="true"],
.header .head-main .hdr-link li.active a {
  opacity: 1;
}

/* Header Search */
.header .head-main .hdr-search {
  flex: 1;
  max-width: 480px;
  margin-left: 40px;
  margin-right: 30px;
  position: relative;
}

.header .head-main .hdr-search_box {
  position: relative;
  width: 100%;
  height: 48px;
  padding: 0 54px 0 22px;
  border-radius: 24px;
  background: #ffffff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.header .head-main .hdr-search_box input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: none;
  font-size: 15px;
  color: #222222;
  font-family: inherit;
}

.header .head-main .hdr-search_box input::placeholder {
  color: #888888;
}

.header .head-main .hdr-search_box .ok {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00b6f0;
}

.header .head-main .hdr-search_box .ok svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
}

/* Util Btm (Cart & My page) */
.header .head-main .util {
  display: flex;
  align-items: center;
}

.header .head-main .util-btm_menu {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header .head-main .util-btm_menu li {
  position: relative;
}

.header .head-main .util-btm_menu li > button {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.header .head-main .util-btm_menu li .crt span {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -2px;
  right: -8px;
  z-index: 2;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border: 2px solid #00b6f0;
  border-radius: 20px;
  background: #ff3b30;
  color: #ffffff;
  font-weight: 700;
  font-size: 11px;
  font-family: "Noto Sans", sans-serif;
}

/* Sub-header (White Category Menu) */
.header .head-sub {
  width: 100%;
  height: 60px;
  border-bottom: 1px solid #d1d8de;
  background: #ffffff;
  box-sizing: border-box;
}

.header .head-sub_wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  height: 60px;
  box-sizing: border-box;
}

.header .head-sub .cate-btn button {
  width: 26px;
  height: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 3px 0;
}

.header .head-sub .cate-btn button span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #222222;
  border-radius: 2px;
}

.header .head-sub .disp ul {
  display: flex;
  align-items: center;
}

.header .head-sub .disp ul li + li {
  margin-left: 28px;
}

.header .head-sub .disp ul li > a {
  position: relative;
  color: #111111;
  font-size: 17px;
  line-height: 25px;
  font-weight: 500;
}

.header .head-sub .disp ul li > a:hover,
.header .head-sub .disp ul li > a[aria-current="page"] {
  color: #00b6f0;
  font-weight: 700;
}

/* ==========================================================================
   2. MAIN HERO BANNER (mainBn)
   ========================================================================== */
.mainBn {
  position: relative;
  width: 100%;
  background: #f4f6f8;
}

.mainBn .swiper-container {
  width: 100%;
  height: 440px;
  position: relative;
  overflow: hidden;
}

.mainBn .swiper-container > ul {
  width: 100%;
  height: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

.mainBn .swiper-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.mainBn .swiper-slide.active {
  opacity: 1;
  visibility: visible;
  position: absolute;
  z-index: 2;
}

.mainBn .slideBx {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.mainBn .slideBx img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* MainBn Controls */
.mainBn .swiper-control.btn_bk .swiper-button-prev,
.mainBn .swiper-control.btn_bk .swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 44px;
  height: 72px;
  margin-top: -36px;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  transition: background 0.2s ease;
}

.mainBn .swiper-control.btn_bk .swiper-button-prev:hover,
.mainBn .swiper-control.btn_bk .swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.55);
}

.mainBn .swiper-control.btn_bk .swiper-button-prev { left: 0; }
.mainBn .swiper-control.btn_bk .swiper-button-next { right: 0; }

.mainBn .auto_set {
  position: absolute;
  right: max(16px, calc((100% - 1280px) / 2 + 20px));
  bottom: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 16px;
  border-radius: 24px;
  color: #ffffff;
  font-size: 13px;
  font-family: "Noto Sans", sans-serif;
}

.mainBn .auto_set .pg_num .now {
  font-weight: 700;
  color: #ffffff;
}

.mainBn .auto_set .btn-all-banners {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  margin-left: 6px;
}

/* ==========================================================================
   3. CATEGORY ICONS CAROUSEL (mnCate) - 10 OFFICIAL ATOMY SVGS
   ========================================================================== */
.mnBx.mnCate {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 40px auto 30px;
  padding: 0 16px;
  box-sizing: border-box;
}

.mnBx.mnCate .swiper-container {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mnBx.mnCate .swiper-container::-webkit-scrollbar {
  display: none;
}

.mnBx.mnCate .swiper-container ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  min-width: 840px;
}

.mnBx.mnCate .swiper-slide {
  flex: 1;
  min-width: 76px;
  text-align: center;
}

.mnBx.mnCate .swiper-slide a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.mnBx.mnCate .swiper-slide a img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f8fafc;
  padding: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mnBx.mnCate .swiper-slide a:hover img,
.mnBx.mnCate .swiper-slide.active a img {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 182, 240, 0.3);
  border: 2px solid #00b6f0;
}

.mnBx.mnCate .swiper-slide a span {
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  line-height: 1.2;
}

.mnBx.mnCate .swiper-slide.active a span,
.mnBx.mnCate .swiper-slide a:hover span {
  color: #00b6f0;
}

/* ==========================================================================
   4. FEATURED PV UP SETS (mnPick)
   ========================================================================== */
.mnBx.mnPick {
  max-width: 1280px;
  width: 100%;
  margin: 40px auto 50px;
  padding: 0 16px;
  box-sizing: border-box;
}

.mnPick-title {
  margin-bottom: 24px;
}

.mnPick-title h3 {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
}

.mnPick .gdsList-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mnPick .gdsList-wrap li {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mnPick .gdsList-wrap li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.mnPick .gdImg {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25;
  overflow: hidden;
  background: #f8fafc;
}

.mnPick .gdImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mnPick li:hover .gdImg img {
  transform: scale(1.04);
}

.mnPick .gdInfo {
  padding: 20px;
}

.mnPick .gdInfo .title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 14px;
}

/* ==========================================================================
   5. GOODS LIST (gdsList n5) - EXACT ATOMY 5-COLUMN CATALOG
   ========================================================================== */
.disp-cate {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto 60px;
  padding: 0 16px;
  box-sizing: border-box;
}

.disp-cate__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #222222;
}

.disp-cate__title h3 {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
}

.disp-cate__sort {
  display: flex;
  align-items: center;
  gap: 16px;
}

.disp-cate__sort .total-count {
  font-size: 14px;
  color: #666666;
}

.disp-cate__sort .total-count b {
  color: #00b6f0;
  font-weight: 700;
}

.disp-cate__sort select {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 13px;
  color: #333333;
  outline: none;
  background: #ffffff;
}

/* 5 Column Grid */
.gdsList.n5 .gdsList-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.gdsList.n5 li {
  position: relative;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gdsList.n5 li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #00b6f0;
}

/* Image Container */
.gdsList .gdImg {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.gdsList .gdImg img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gdsList li:hover .gdImg img {
  transform: scale(1.05);
}

/* Official Badges */
.gdsFlag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gdsFlag em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  color: #ffffff;
}

/* Card Body Info */
.gdsList .gdInfo {
  position: relative;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Official Cart Button (Round circle on card) */
.gdsList .bt_cart {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00b6f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 182, 240, 0.4);
  transition: transform 0.15s ease, background 0.15s ease;
}

.gdsList .bt_cart:hover {
  background: #0098cb;
  transform: scale(1.1);
}

.gdsList .title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  line-height: 1.35;
  margin-bottom: 12px;
  padding-right: 36px;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Exact Atomy Dual Price Format */
.gdsPrice {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f4f4f4;
}

.gdsPrice .prc {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  line-height: 1.4;
}

.gdsPrice .gds-non-m {
  font-size: 11px;
  color: #888888;
}

.gdsPrice .gds-non-m .prc_ori {
  text-decoration: line-through;
  font-weight: 500;
}

.gdsPrice .gds-mem {
  font-size: 12px;
  color: #111111;
  margin-top: 2px;
}

.gdsPrice .gds-mem .prc_tx {
  font-weight: 600;
}

.gdsPrice .gds-mem .prc_ori b {
  font-size: 17px;
  font-weight: 700;
  color: #00b6f0;
}

.gdsPrice .gds-mem .prc_ori em {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: #00b6f0;
  margin-left: 1px;
}

.gdsPrice .pv {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.gdsPrice .pv .pv_ori {
  background: #f1f5f9;
  color: #6d28d9;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
}

.gdsPrice .pv .pv_ori em {
  font-style: normal;
  margin-left: 2px;
}

/* ==========================================================================
   6. FLOATING BAR (floatingBx) - EXACT 1:1 ATOMY FLOATING MENU
   ========================================================================== */
.floatingBx {
  position: fixed;
  right: 24px;
  bottom: 40px;
  z-index: 100;
}

.floatingBx-menu {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 12px 8px;
  border: 1px solid #eaeaea;
}

.floatingBx-menu_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floatingBx-menu_list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.floatingBx-menu_list li a img {
  width: 26px;
  height: 26px;
}

.floatingBx-menu_list li a em {
  font-size: 10px;
  font-style: normal;
  color: #555555;
  white-space: nowrap;
}

.floatingBx-menu_list li a:hover em {
  color: #00b6f0;
}

.floatingBx-btn_top,
.floatingBx-btn_btm {
  margin-top: 8px;
  background: #ffffff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.floatingBx-btn_top a em,
.floatingBx-btn_btm a em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #444444;
}

.floatingBx-ntcBtn button {
  width: 100%;
  margin-top: 8px;
  background: #00b6f0;
  color: #ffffff;
  padding: 6px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   7. OFFICIAL FOOTER (footer)
   ========================================================================== */
.footer {
  width: 100%;
  background: #2b2e34;
  color: #999999;
  font-size: 13px;
  line-height: 20px;
  padding-bottom: 40px;
}

.footer-notice {
  background: #23262b;
  border-bottom: 1px solid #383c44;
  padding: 14px 0;
}

.footer-ntc a {
  color: #dddddd;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-ntc_tit {
  color: #00b6f0;
  font-weight: 700;
}

.footer-content {
  padding-top: 30px;
}

.footer-menu {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #3a3e47;
}

.footer-menu dd a {
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
}

.footer-menu dd a:hover {
  color: #00b6f0;
}

.footer-info {
  display: flex;
  justify-content: space-between;
}

.footer-info .cpn h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-info .cpn p {
  color: #aaaaaa;
  font-size: 12px;
  line-height: 1.8;
}

.footer-info .cs {
  text-align: right;
}

.footer-info .cs .mn {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-info .cs p {
  color: #aaaaaa;
  font-size: 12px;
  line-height: 1.8;
}

.footer-distributor-disclaimer {
  max-width: 1280px;
  width: 100%;
  margin: 30px auto 0;
  padding: 16px 16px 0;
  border-top: 1px dashed #444852;
  font-size: 11px;
  color: #777777;
  text-align: center;
  line-height: 1.6;
  box-sizing: border-box;
}

/* ==========================================================================
   8. INTERACTIVE MODALS & DRAWER (CART & REGISTRATION)
   ========================================================================== */
.drawer-overlay,
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.drawer-overlay.open,
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #00b6f0;
  color: #ffffff;
}

.cart-drawer-hd h3 {
  font-size: 18px;
  font-weight: 700;
}

.cart-drawer-hd .cls {
  font-size: 24px;
  color: #ffffff;
  line-height: 1;
}

.cart-drawer-bd {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-drawer-ft {
  padding: 20px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.cart-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666666;
  margin-bottom: 6px;
}

.cart-sum-row.mem {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #d1d5db;
}

.cart-sum-row.mem b {
  color: #00b6f0;
}

.btn-open-reg-checkout {
  width: 100%;
  background: #00b6f0;
  color: #ffffff;
  padding: 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 14px;
  transition: background 0.2s ease;
}

.btn-open-reg-checkout:hover {
  background: #0097c9;
}

/* Registration Modal */
.modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 540px;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  z-index: 1002;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal-box {
  transform: translate(-50%, -50%) scale(1);
}

.modal-hd {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #00b6f0;
  color: #ffffff;
}

.modal-hd h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.modal-bd {
  padding: 20px 20px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00b6f0;
}

.form-group textarea {
  height: 70px;
  padding: 8px 12px;
  resize: vertical;
}

.btn-submit-registration {
  width: 100%;
  background: #00b6f0;
  color: #ffffff;
  padding: 15px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  margin-top: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  display: block;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 182, 240, 0.35);
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-submit-registration:hover {
  background: #0098cb;
  transform: translateY(-1px);
}

.btn-submit-registration:active {
  transform: translateY(0);
}

.btn-submit-registration:hover {
  background: #0098cb;
}

/* ==========================================================================
   9. LEGAL COMPLIANCE & DISTRIBUTOR STATUS STYLES
   ========================================================================== */
.header .head-base .partner-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
}

.header .head-base .partner-status a {
  display: inline;
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

.header .head-base .partner-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  display: inline-block;
}

.hdr-logo .distributor-badge {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  flex: none;
}

/* Cart Clarification Card */
.cart-disclaimer-card {
  display: flex;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.45;
  color: #166534;
}

.cart-disclaimer-card svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.cart-disclaimer-card b {
  color: #14532d;
}

/* 152-ФЗ Agreement Checkbox */
.form-agreement {
  margin-top: 14px;
  margin-bottom: 12px;
}

.form-agreement .agreement-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 11.5px;
  line-height: 1.45;
  color: #555555;
  user-select: none;
}

.form-agreement input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #00b6f0;
  cursor: pointer;
}

.form-agreement a {
  display: inline;
  color: #00b6f0;
  text-decoration: underline;
  font-weight: 600;
}

/* Privacy Policy Modal */
.privacy-modal-box {
  width: 680px;
  max-width: 92vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.privacy-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.65;
  color: #333333;
}

.privacy-modal-body h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 16px 0 6px;
  color: #111111;
}

.privacy-modal-body p {
  margin-bottom: 8px;
}

.privacy-modal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.privacy-modal-body li {
  list-style: disc;
  margin-bottom: 4px;
}

/* Footer Legal Notice Box */
.footer-legal-notice {
  width: 100%;
  border-top: 1px solid #2d333f;
  background: #101318;
  padding: 28px 0 24px;
}

.footer-legal-notice .notice-box {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 12px;
  line-height: 1.65;
  color: #94a3b8;
  box-sizing: border-box;
}

.footer-legal-notice .notice-box h5 {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-legal-notice .notice-box p {
  margin-bottom: 8px;
}

.footer-legal-notice .notice-box a {
  display: inline;
  color: #38bdf8;
  text-decoration: underline;
}

.footer-legal-notice .notice-box .links {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #2a313d;
  color: #64748b;
  font-size: 11.5px;
}

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES (MOBILE, TABLET, LAPTOP)
   ========================================================================== */

/* Laptops & Narrow Desktops (<= 1200px) */
@media (max-width: 1200px) {
  .floatingBx {
    display: none !important; /* Hide desktop floating wing menu to prevent covering product cards */
  }

  .gdsList.n5 .gdsList-wrap {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* Tablets & Small Laptops (<= 992px) */
@media (max-width: 992px) {
  .header .head-main {
    height: auto;
    padding: 12px 0 14px;
  }

  .header .head-main .head-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .header .head-main .hdr {
    width: 100%;
    justify-content: space-between;
  }

  .header .head-main .hdr-search {
    margin: 0;
    max-width: 100%;
    width: 100%;
  }

  .header .head-base .util-top {
    display: none; /* Keep legal top banner clean and readable */
  }

  .header .head-sub {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .header .head-sub::-webkit-scrollbar {
    display: none;
  }

  .header .head-sub_wrap {
    width: max-content;
    min-width: 100%;
    padding: 0 16px;
  }

  .mainBn .swiper-container {
    height: 320px;
  }

  .mainBn .swiper-control.btn_bk .swiper-button-prev,
  .mainBn .swiper-control.btn_bk .swiper-button-next {
    width: 32px;
    height: 52px;
    font-size: 20px;
  }

  .mnPick .gdsList-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .gdsList.n5 .gdsList-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .footer-info .inner-center {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-info .cs {
    text-align: left;
  }
}

/* Mobile & Split-Screen Windows (<= 680px - matching 609px split-screen) */
@media (max-width: 680px) {
  .header .head-main .hdr-link {
    display: none; /* Keep header compact on mobile */
  }

  .partner-status {
    font-size: 11.5px;
    line-height: 1.4;
  }

  .mainBn .swiper-container {
    height: 220px;
  }

  .mainBn .swiper-slide {
    height: 220px;
  }

  .mainBn .auto_set {
    font-size: 11px;
    padding: 3px 10px;
    bottom: 12px;
  }

  .mnBx.mnPick {
    margin: 24px auto 32px;
  }

  .mnPick-title h3 {
    font-size: 20px;
  }

  .mnPick .gdsList-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .disp-cate {
    margin: 0 auto 40px;
  }

  .disp-cate__title h3 {
    font-size: 20px;
  }

  .gdsList.n5 .gdsList-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gdsList .gdImg {
    padding: 6px;
  }

  .gdInfo {
    padding: 8px 10px 12px;
  }

  .gdInfo .title {
    font-size: 12.5px;
    line-height: 1.35;
    height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
  }

  .gdsPrice .prc_ori b {
    font-size: 14px;
  }

  .gdsPrice .pv_ori b {
    font-size: 13px;
  }

  .cart-drawer,
  .drawer-box {
    width: 100% !important;
    max-width: 100% !important;
  }

  .modal-box,
  .reg-modal {
    width: 95% !important;
    max-width: 480px !important;
    max-height: 92vh !important;
    padding: 0 !important;
  }
  .modal-bd {
    padding: 16px 16px 24px !important;
  }

  .privacy-modal-box,
  .privacy-modal {
    width: 95% !important;
    padding: 20px 16px !important;
    max-height: 85vh;
  }
}

/* Small Smart Phones (<= 420px) */
@media (max-width: 420px) {
  .header .head-main .hdr-logo h1 img.atomy-logo-svg {
    width: 92px;
    height: 42px;
  }

  .distributor-badge,
  .header-distributor-badge {
    font-size: 9px;
    padding: 2px 5px;
  }

  .mainBn .swiper-container {
    height: 180px;
  }

  .mainBn .swiper-slide {
    height: 180px;
  }

  .gdsList.n5 .gdsList-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gdsPrice .prc_tx {
    font-size: 10px;
  }
}

/* Animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-icon {
  animation: spin 1s linear infinite;
  display: inline-block;
}

