.dialog-product-visual {
  position: relative;
  min-height: 0 !important;
  height: 100%;
  overflow: hidden;
}

/* Panelden yönetilen kampanya ve reklam alanı. */
.campaign-block.cc-campaign-loading {
  opacity: 1;
}

.campaign-block.cc-live-campaign {
  isolation: isolate;
  scroll-margin-top: 116px;
  display: grid !important;
  grid-template-columns: minmax(390px, 0.88fr) minmax(0, 1.12fr) !important;
  min-height: clamp(520px, 42vw, 650px) !important;
  padding: 0 !important;
  overflow: hidden;
  background: #151515 !important;
  color: #f5f2ea;
}

.cc-live-campaign-offer {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #e9e6de;
  padding: clamp(38px, 4.8vw, 72px);
  color: #111;
}

.cc-live-campaign-offer::before {
  position: absolute;
  top: -0.17em;
  right: -0.12em;
  color: transparent;
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(250px, 32vw, 520px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.1);
  content: attr(data-background-mark);
  pointer-events: none;
}

.cc-offer-index {
  position: absolute;
  top: clamp(24px, 3vw, 42px);
  left: clamp(28px, 4vw, 58px);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.cc-offer-percent {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  letter-spacing: -0.105em;
}

.cc-offer-percent b {
  margin-top: 0.18em;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1;
}

.cc-offer-percent strong {
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(128px, 17vw, 274px);
  font-weight: 900;
  line-height: 0.76;
}

.cc-offer-percent i {
  align-self: flex-end;
  margin: 0 0 0.28em 0.2em;
  font-size: clamp(20px, 2vw, 32px);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.campaign-block[data-campaign-type="announcement"] .cc-offer-percent strong {
  font-size: clamp(70px, 9vw, 145px);
  letter-spacing: -0.08em;
}

.campaign-block[data-campaign-type="cart_fixed"] .cc-offer-percent strong {
  font-size: clamp(42px, 4.6vw, 72px);
  letter-spacing: -0.1em;
}

.cc-offer-caption {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid #111;
  font-size: clamp(15px, 1.45vw, 23px);
  font-weight: 900;
  letter-spacing: 0.13em;
}

.cc-offer-rule {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(17, 17, 17, 0.2);
}

.cc-offer-rule span,
.cc-offer-rule p {
  margin: 0 !important;
  color: #111 !important;
  font-size: 8px !important;
  font-weight: 850;
  line-height: 1.4 !important;
  letter-spacing: 0.12em;
}

.cc-live-campaign-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(50px, 6vw, 92px) clamp(38px, 6vw, 92px) !important;
}

.cc-live-campaign-copy::before {
  position: absolute;
  right: -0.07em;
  bottom: -0.28em;
  z-index: -1;
  color: rgba(255, 255, 255, 0.025);
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(260px, 33vw, 540px);
  font-weight: 900;
  line-height: 1;
  content: attr(data-background-mark);
  pointer-events: none;
}

.cc-live-campaign-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(245, 242, 234, 0.24);
  color: #b9b5ac;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.cc-live-campaign-kicker b {
  border-radius: 999px;
  background: #f5f2ea;
  padding: 6px 9px;
  color: #151515;
  font-size: 7px;
}

.campaign-block.cc-live-campaign h2 {
  margin: clamp(35px, 4vw, 58px) 0 25px !important;
  color: #f5f2ea;
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(54px, 6vw, 98px) !important;
  font-weight: 900;
  line-height: 0.84 !important;
  letter-spacing: -0.075em !important;
}

.campaign-block.cc-live-campaign h2 span,
.campaign-block.cc-live-campaign h2 em {
  display: block;
}

.campaign-block.cc-live-campaign h2 em {
  margin-top: 0.1em;
  color: #f5f2ea;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.campaign-block.cc-live-campaign .cc-live-campaign-copy > p {
  max-width: 510px;
  margin: 0 !important;
  color: #b2afa7;
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.65;
}

.cc-live-campaign-copy > small {
  display: block;
  max-width: 510px;
  margin-top: 11px;
  color: #74716b;
  font-size: 9px;
  line-height: 1.55;
}

.campaign-block.cc-live-campaign a.cc-live-campaign-cta {
  display: inline-flex;
  width: min(100%, 275px);
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(30px, 4vw, 48px) 0 0;
  border: 1px solid #f5f2ea;
  background: #f5f2ea;
  padding: 0 18px;
  color: #151515;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  transition: background-color 180ms ease, color 180ms ease;
}

.campaign-block.cc-live-campaign a.cc-live-campaign-cta:hover {
  background: transparent;
  color: #f5f2ea;
}

.cc-live-campaign-cta svg {
  width: 17px;
  height: 17px;
}

.cc-live-campaign-foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(42px, 5vw, 70px);
  padding-top: 14px;
  border-top: 1px solid rgba(245, 242, 234, 0.13);
  color: #69665f;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.campaign-block.cc-campaign-light {
  background: #e9e6de !important;
  color: #151515;
}

.campaign-block.cc-campaign-light .cc-live-campaign-offer {
  background: #151515;
  color: #f5f2ea;
}

.campaign-block.cc-campaign-light .cc-live-campaign-offer::before {
  -webkit-text-stroke-color: rgba(245, 242, 234, 0.1);
}

.campaign-block.cc-campaign-light .cc-offer-caption {
  border-color: #f5f2ea;
}

.campaign-block.cc-campaign-light .cc-offer-rule {
  border-color: rgba(245, 242, 234, 0.2);
}

.campaign-block.cc-campaign-light .cc-offer-rule span,
.campaign-block.cc-campaign-light .cc-offer-rule p {
  color: #f5f2ea !important;
}

.campaign-block.cc-campaign-light .cc-live-campaign-copy::before {
  color: rgba(21, 21, 21, 0.035);
}

.campaign-block.cc-campaign-light .cc-live-campaign-kicker {
  border-color: rgba(21, 21, 21, 0.22);
  color: #5f5c55;
}

.campaign-block.cc-campaign-light .cc-live-campaign-kicker b {
  background: #151515;
  color: #f5f2ea;
}

.campaign-block.cc-campaign-light h2,
.campaign-block.cc-campaign-light h2 em {
  color: #151515;
}

.campaign-block.cc-campaign-light .cc-live-campaign-copy > p {
  color: #57554f;
}

.campaign-block.cc-campaign-light .cc-live-campaign-copy > small {
  color: #77736b;
}

.campaign-block.cc-campaign-light a.cc-live-campaign-cta {
  border-color: #151515;
  background: #151515;
  color: #f5f2ea;
}

.campaign-block.cc-campaign-light a.cc-live-campaign-cta:hover {
  background: transparent;
  color: #151515;
}

.campaign-block.cc-campaign-light .cc-live-campaign-foot {
  border-color: rgba(21, 21, 21, 0.14);
  color: #6d6961;
}

@media (max-width: 820px) {
  .campaign-block.cc-live-campaign {
    scroll-margin-top: 64px;
    display: block !important;
    min-height: 0 !important;
  }

  .cc-live-campaign-offer {
    display: grid;
    grid-template-areas: "percent caption";
    grid-template-columns: minmax(116px, 0.72fr) minmax(0, 1fr);
    min-height: 0;
    align-items: end;
    gap: 16px;
    padding: 26px 20px 22px;
  }

  .cc-live-campaign-offer::before {
    top: -0.36em;
    right: -0.06em;
    font-size: min(64vw, 250px);
  }

  .cc-offer-index {
    display: none;
  }

  .cc-offer-percent {
    grid-area: percent;
    align-items: center;
    align-self: center;
    letter-spacing: -0.09em;
  }

  .cc-offer-percent strong {
    font-size: clamp(82px, 25vw, 104px);
    line-height: 0.78;
  }

  .cc-offer-percent b {
    margin-top: 0;
    font-size: clamp(28px, 8vw, 34px);
  }

  .cc-offer-percent i {
    margin-bottom: 0.18em;
    font-size: 16px;
  }

  .campaign-block[data-campaign-type="announcement"] .cc-offer-percent strong {
    font-size: clamp(48px, 15vw, 66px);
  }


  .campaign-block[data-campaign-type="cart_fixed"] .cc-offer-percent strong {
    font-size: clamp(28px, 8.8vw, 38px);
  }

  .cc-offer-caption {
    grid-area: caption;
    width: auto;
    align-self: center;
    margin: 0;
    padding: 0 0 6px;
    border-top: 0;
    font-size: clamp(13px, 4vw, 16px);
    line-height: 1.35;
  }

  .cc-offer-rule {
    display: none;
  }

  .cc-live-campaign-copy {
    padding: 28px 20px 30px !important;
  }

  .cc-live-campaign-kicker {
    gap: 12px;
    padding-bottom: 12px;
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: 0.11em;
  }

  .campaign-block.cc-live-campaign h2 {
    margin: 22px 0 16px !important;
    font-size: clamp(40px, 11.5vw, 50px) !important;
    line-height: 0.9 !important;
  }

  .campaign-block.cc-live-campaign .cc-live-campaign-copy > p {
    font-size: 15px;
    line-height: 1.55;
  }

  .cc-live-campaign-copy > small {
    display: none;
  }

  .campaign-block.cc-live-campaign a.cc-live-campaign-cta {
    width: 100%;
    min-height: 50px;
    margin-top: 22px;
  }

  .cc-live-campaign-foot {
    margin-top: 24px;
    padding-top: 12px;
    font-size: 8px;
    line-height: 1.35;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-block.cc-live-campaign a {
    transition: none !important;
  }
}

.hero-visual {
  background: #dedbd4;
}

.hero-visual:not(.cc-hero-ready) .hero-photo,
.hero-visual.cc-hero-duo:not(.cc-hero-ready) .hero-stamp {
  opacity: 0;
}

.hero-visual.cc-hero-ready .hero-photo,
.hero-visual.cc-hero-ready .hero-stamp {
  opacity: 1;
  transition: opacity 180ms ease-out;
}

.hero-visual.cc-hero-duo .hero-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
  width: 50%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.hero-visual.cc-hero-duo .hero-photo-woman {
  left: 0;
  pointer-events: none;
  background: #dedbd3;
  object-position: 50% 18%;
}

.hero-visual.cc-hero-duo .hero-photo-man {
  right: 0;
  object-position: 50% 12%;
}

.hero-visual.cc-hero-duo::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 1px;
  background: rgba(255, 255, 255, 0.5);
  content: "";
}

.gender-card > img,
.product-image > img,
.dialog-product-visual > img,
.cart-thumb img,
.cc-store-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gender-card > img,
.product-image > img,
.dialog-product-visual > img {
  object-position: 50% 14%;
}

.product-dialog {
  height: min(900px, calc(100dvh - 24px)) !important;
  max-height: calc(100dvh - 24px) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  overflow: hidden !important;
  overscroll-behavior: auto;
}

.dialog-product-copy {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: auto;
  scrollbar-gutter: stable;
  scroll-behavior: auto;
}

.cc-store-gallery-thumbs {
  position: absolute;
  right: auto;
  bottom: auto;
  left: 16px;
  top: 50%;
  z-index: 4;
  display: flex;
  width: 56px;
  max-height: calc(100% - 96px);
  flex-direction: column;
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  padding: 1px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
  scrollbar-width: none;
}

.cc-store-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.cc-store-gallery-thumb {
  width: 54px;
  height: 68px;
  flex: 0 0 68px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 3px;
  background: #f2f1ed;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(20, 23, 25, 0.13);
  opacity: 0.66;
  transition: border-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.cc-store-gallery-thumb:hover {
  border-color: #6c7072;
  opacity: 1;
  transform: translateY(-1px);
}

.cc-store-gallery-thumb.active {
  border-color: #171a1c;
  box-shadow: 0 0 0 1px #171a1c;
  opacity: 1;
}

.cc-store-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-gallery-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  border: 1px solid rgba(25, 28, 30, 0.12);
  border-radius: 999px;
  background: rgba(249, 248, 244, 0.88);
  padding: 7px 10px;
  color: #1b1e20;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.dialog-product-visual > img {
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.cc-product-main-image {
  cursor: zoom-in;
}

.cc-product-main-image:focus-visible {
  outline: 2px solid #171a1c;
  outline-offset: -4px;
}

.cc-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(13, 15, 16, 0.94);
  pointer-events: auto;
  overscroll-behavior: contain;
}

.cc-product-lightbox-stage {
  position: relative;
  display: grid;
  width: min(100%, 1180px);
  height: min(100%, 920px);
  place-items: center;
}

.cc-product-lightbox-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.cc-product-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(16, 18, 19, 0.72);
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.cc-product-lightbox-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.cc-product-lightbox-label {
  position: absolute;
  bottom: 9px;
  left: 50%;
  border-radius: 999px;
  background: rgba(16, 18, 19, 0.66);
  padding: 7px 11px;
  color: #fff;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.15em;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.cc-store-color-variants {
  margin: 19px 0 7px;
  border-top: 1px solid #d5d1c8;
  padding-top: 17px;
}

.cc-product-description {
  margin: 2px 0 18px;
  color: #5f6569;
  font-size: 12px;
  line-height: 1.65;
}

.cc-store-color-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
}

.cc-store-color-header > span {
  color: #666d72;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.cc-store-color-header > strong {
  color: #252a2e;
  font-size: 11px;
}

.cc-store-color-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.cc-store-color-chip {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  overflow: hidden;
  border: 1px solid #c9ced1;
  border-radius: 11px;
  background: #fff;
  padding: 6px 9px 6px 6px;
  color: #252a2e;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.cc-store-color-chip:hover {
  border-color: #737a7f;
  transform: translateY(-1px);
}

.cc-store-color-chip.active {
  border-color: #1b2024;
  background: #fff;
  color: #1b2024;
  box-shadow: 0 0 0 1px #1b2024, 0 7px 18px rgba(27, 32, 36, 0.1);
}

.cc-store-color-preview {
  display: block;
  width: 46px;
  height: 50px;
  overflow: hidden;
  border-radius: 7px;
  background: #e4e2dc;
}

.cc-store-color-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.cc-store-color-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.cc-store-color-copy strong {
  overflow: hidden;
  color: #252a2e;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-store-color-copy small {
  color: #7b8084;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.cc-store-color-check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #c5c9cb;
  border-radius: 50%;
  color: transparent;
  font-size: 10px;
  font-weight: 900;
}

.cc-store-color-chip.active .cc-store-color-check {
  border-color: #1b2024;
  background: #1b2024;
  color: #fff;
}

.size-grid button:disabled {
  position: relative;
  cursor: not-allowed;
  opacity: 0.35;
  text-decoration: line-through;
}

@media (max-width: 820px) {
  .hero-visual.cc-hero-duo {
    min-height: clamp(430px, 62vh, 610px);
  }

  .hero-visual.cc-hero-duo .hero-photo-woman {
    object-position: 50% 18%;
  }

  .hero-visual.cc-hero-duo .hero-photo-man {
    object-position: 50% 8%;
  }

  .product-dialog {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-rows: max-content;
    gap: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f7f5f0 !important;
    box-shadow: none !important;
    --tw-translate-x: 0px !important;
    --tw-translate-y: 0px !important;
    translate: 0 0 !important;
    transform: none !important;
    animation: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-gutter: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dialog-product-visual {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 0 !important;
    background: #eeece6;
  }

  .dialog-product-visual > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
  }

  .dialog-product-visual.cc-gallery-single {
    padding: 0 !important;
  }

  .dialog-product-visual.cc-gallery-single > img {
    height: 100% !important;
  }

  .dialog-product-visual.cc-focus-lower > img,
  .dialog-product-visual.cc-focus-upper > img,
  .dialog-product-visual.cc-focus-full > img {
    object-fit: contain !important;
    object-position: 50% 50% !important;
    transform: none !important;
  }

  .dialog-product-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 24px 18px 36px !important;
    overflow: visible;
    background: #f7f5f0;
  }

  .dialog-product-copy > *,
  .dialog-product-copy [data-slot="dialog-header"],
  .dialog-product-copy [data-slot="dialog-title"],
  .dialog-product-copy [data-slot="dialog-description"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .dialog-product-copy [data-slot="dialog-header"] {
    align-items: flex-start;
    text-align: left !important;
  }

  .dialog-product-copy h2,
  .dialog-product-copy [data-slot="dialog-title"] {
    margin-top: 7px;
    font-size: clamp(24px, 7.4vw, 32px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  .dialog-product-copy .eyebrow,
  .dialog-product-copy [data-slot="dialog-description"],
  .dialog-product-copy .cc-product-description {
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  .dialog-product-copy .eyebrow {
    display: block;
    font-size: 8px;
    line-height: 1.5;
  }

  .product-dialog > [data-slot="dialog-close"] {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 24;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(20, 23, 25, 0.12);
    border-radius: 50%;
    background: rgba(249, 248, 244, 0.9);
    opacity: 1;
    outline: 0;
    box-shadow: none;
    backdrop-filter: blur(8px);
  }

  .product-dialog > [data-slot="dialog-close"]:focus-visible {
    box-shadow: 0 0 0 2px #171a1c;
  }

  .cc-store-gallery-thumbs {
    right: auto;
    bottom: 14px;
    left: 50%;
    top: auto;
    width: auto;
    min-width: 0;
    max-width: 72%;
    height: 26px;
    max-height: 26px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    box-sizing: border-box;
    padding: 7px 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 23, 25, 0.58);
    box-shadow: 0 4px 16px rgba(20, 23, 25, 0.16);
    transform: translateX(-50%);
    scroll-snap-type: x proximity;
    backdrop-filter: blur(8px);
  }

  .cc-store-gallery-thumbs.is-compact {
    justify-content: center;
  }

  .cc-store-gallery-thumb {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    padding: 0;
    box-shadow: none;
    scroll-snap-align: start;
    opacity: 1;
    transform: none !important;
    transition: width 150ms ease, flex-basis 150ms ease, background-color 150ms ease;
  }

  .cc-store-gallery-thumb:hover {
    background: rgba(255, 255, 255, 0.72);
    opacity: 1;
    transform: none;
  }

  .cc-store-gallery-thumb.active {
    width: 20px;
    flex-basis: 20px;
    border: 0;
    background: #fff;
    box-shadow: none;
  }

  .cc-store-gallery-thumb img {
    display: none !important;
  }

  .cc-gallery-counter {
    top: max(12px, env(safe-area-inset-top));
    right: auto;
    left: max(12px, env(safe-area-inset-left));
    padding: 7px 10px;
    background: rgba(249, 248, 244, 0.91);
  }

  .cc-product-lightbox {
    padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }

  .cc-product-lightbox-stage {
    width: 100%;
    height: 100%;
  }

  .cc-product-lightbox-close {
    top: 4px;
    right: 4px;
  }

  .cc-store-color-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 24px 9px 2px;
    padding: 2px max(24px, env(safe-area-inset-right)) 9px 2px;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .cc-store-color-chip {
    width: 154px;
    flex: 0 0 154px;
    scroll-snap-align: start;
  }

  .size-grid {
    grid-template-columns: repeat(var(--cc-mobile-size-columns, 4), minmax(0, 1fr));
  }

  .product-image > img {
    object-position: 50% 10%;
  }

}
