:root {
  --asa-commerce-navy: #020719;
  --asa-commerce-blue: #0466c8;
  --asa-commerce-blue-dark: #0353a4;
  --asa-commerce-soft: #f4f4f2;
  --asa-commerce-border: #e5e9f0;
  --asa-commerce-muted: #64748b;
  --asa-commerce-success: #15803d;
  --asa-commerce-danger: #dc2626;
  --asa-commerce-radius: 16px;
}

/* Compact React product detail: core buying information stays above the fold. */
.asa-product-main-compact .asa-product-gallery-stage {
  height: clamp(500px, 42vw, 590px) !important;
  min-height: 0 !important;
  padding: 22px !important;
  border-radius: 20px;
}

.asa-product-main-compact > div.w-full.min-h-screen {
  min-height: 0 !important;
  padding-bottom: 40px !important;
}

.asa-product-main-compact .asa-product-gallery-stage .asa-product-gallery-image {
  max-width: 100% !important;
  max-height: 100% !important;
}

.asa-product-quick-rating {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin: 7px 0 11px;
  color: #7c8da5;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.asa-product-quick-rating .asa-product-rating__stars {
  font-size: 15px;
}

.asa-product-quick-rating > strong {
  color: #001233;
  font-size: 12px;
}

.asa-product-quick-rating:hover > span {
  color: #0466c8;
  text-decoration: underline;
}

.asa-product-essentials {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 17px;
  border: 1px solid #dfe7f0;
  border-radius: 18px;
  color: #001233;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 18, 51, .045);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.asa-product-essentials,
.asa-product-essentials * {
  box-sizing: border-box;
}

.asa-product-essentials__taxonomies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.asa-product-essential-taxonomy,
.asa-product-essential-value {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 62px;
  padding: 11px 13px;
  border: 1px solid #e8edf3;
  border-radius: 11px;
  background: #f8fafc;
}

.asa-product-essential-taxonomy > span,
.asa-product-essential-value > span,
.asa-product-essentials__description > span {
  color: #8a9ab0;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.asa-product-essential-value > strong {
  overflow: hidden;
  color: #1c2d49;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asa-product-essentials .asa-product-chips {
  flex-wrap: wrap;
  gap: 5px;
  overflow: visible;
}

.asa-product-essentials .asa-product-chips a {
  overflow: hidden;
  padding: 5px 8px;
  border: 0;
  color: #0466c8;
  background: #eaf5ff;
  font-size: 10.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: normal;
}

.asa-product-essentials .asa-product-empty {
  overflow: hidden;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asa-product-essentials__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.asa-product-essentials__specs .asa-product-essential-value {
  min-height: 57px;
  padding-block: 10px;
  background: #fff;
}

.asa-product-essentials__specs .asa-product-essential-value:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.asa-product-essentials__description {
  display: grid;
  gap: 7px;
  padding: 3px 4px;
}

.asa-product-essentials__description > div {
  margin: 0;
  color: #65758c;
  font-size: 12px;
  line-height: 1.65;
}

.asa-product-essentials__description p {
  margin: 0;
}

.asa-product-essentials__policies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dceaf6;
  border-radius: 12px;
  background: #f4faff;
}

.asa-product-essentials__policies a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid #dceaf6;
  color: #243654;
  text-decoration: none;
}

.asa-product-essentials__policies a:last-child {
  border-right: 0;
}

.asa-product-essentials__policies a > b {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #0466c8;
  background: #fff;
  font-size: 13px;
}

.asa-product-essentials__policies a > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.asa-product-essentials__policies strong,
.asa-product-essentials__policies small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asa-product-essentials__policies strong {
  font-size: 10px;
  font-weight: 850;
}

.asa-product-essentials__policies small {
  color: #8292a9;
  font-size: 9px;
}

.asa-product-essentials__policies a:hover {
  background: #e8f5ff;
}

.asa-product-compare-compact {
  display: grid !important;
  grid-template-columns: auto minmax(180px, 1fr);
  align-items: center !important;
  gap: 12px !important;
  min-height: 54px !important;
  margin-top: 12px !important;
  padding: 9px 12px !important;
  border-radius: 14px !important;
}

.asa-product-compare-compact h3,
.asa-product-compare-compact p {
  margin: 0 !important;
}

.asa-product-compare-compact p {
  display: none !important;
}

.asa-product-compare-compact button {
  min-height: 34px !important;
  padding: 7px 12px !important;
  font-size: 9px !important;
}

.asa-product-favorite-button {
  transition: color .2s ease, background-color .2s ease, transform .2s ease !important;
}

.asa-product-favorite-button:hover {
  color: #e11d48 !important;
  background: #ffe8ee !important;
  transform: translateY(-1px);
}

.asa-product-related-compact {
  min-height: 0 !important;
  margin-top: 22px !important;
  padding: 17px 20px !important;
}

.asa-product-related-empty {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
  color: #8795a8;
  font-size: 10px;
}

.asa-product-details--reviews-only {
  margin-top: 24px;
}

.asa-product-details--reviews-only .asa-product-panel {
  margin-top: 0;
}

.asa-product-native-long-description {
  color: #65758c;
  font-size: 12px;
  line-height: 1.65;
}

.asa-product-native-long-description > :first-child {
  margin-top: 0;
}

.asa-product-native-long-description > :last-child {
  margin-bottom: 0;
}

.dark .asa-product-native-long-description {
  color: #a9b7c9;
}

.asa-product-panel__heading--reviews {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.asa-product-panel__heading--reviews > p {
  max-width: 430px;
  margin: 0;
  text-align: right;
}

/* Wide product preview: the image area follows the compact Trendyol-style ratio. */
.asa-lightbox {
  padding: 24px;
  background: rgba(0, 12, 34, .68);
  backdrop-filter: blur(9px);
}

.asa-lightbox__panel {
  width: min(1180px, calc(100vw - 48px));
  height: min(760px, calc(100dvh - 48px));
  border-radius: 18px;
}

.asa-lightbox__header {
  min-height: 58px;
  padding: 10px 16px;
}

.asa-lightbox__viewport {
  padding: 12px 72px;
  background: #f4f6f8;
}

.asa-lightbox__canvas {
  max-width: 860px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 18, 51, .06);
}

.asa-lightbox__footer {
  min-height: 68px;
  padding: 9px 14px;
}

.asa-lightbox__thumbnails button {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.dark .asa-product-quick-rating > strong,
.dark .asa-product-essentials,
.dark .asa-product-essential-value > strong,
.dark .asa-product-essentials__policies a {
  color: #e5edf7;
}

.dark .asa-product-essentials {
  border-color: rgba(255, 255, 255, .1);
  background: #111827;
  box-shadow: none;
}

.dark .asa-product-essential-taxonomy,
.dark .asa-product-essential-value,
.dark .asa-product-essentials__specs .asa-product-essential-value {
  border-color: rgba(255, 255, 255, .08);
  background: #0b1220;
}

.dark .asa-product-essentials__description > div {
  color: #a9b7c9;
}

.dark .asa-product-essentials__policies {
  border-color: rgba(56, 189, 248, .16);
  background: rgba(3, 105, 161, .12);
}

.dark .asa-product-essentials__policies a,
.dark .asa-product-essentials__policies a:last-child {
  border-color: rgba(56, 189, 248, .14);
}

.dark .asa-product-essentials__policies a > b {
  color: #38bdf8;
  background: #172033;
}

.dark .asa-product-essentials__policies a:hover {
  background: rgba(3, 105, 161, .2);
}

.dark .asa-product-related-empty {
  border-color: rgba(255, 255, 255, .08);
  color: #94a3b8;
}

@media (max-width: 1050px) {
  .asa-product-essentials__taxonomies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asa-product-essentials__policies small {
    display: none;
  }
}

@media (max-width: 700px) {
  .asa-product-main-compact {
    overflow-x: clip;
    padding-bottom: 88px;
  }

  .asa-product-purchase-actions {
    display: grid !important;
    grid-template-columns: 98px minmax(0, 1fr) 44px !important;
    gap: 6px !important;
    position: fixed !important;
    z-index: 10015;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    width: auto !important;
    margin: 0 !important;
    border: 1px solid rgba(2, 7, 25, .1);
    border-radius: 17px;
    padding: 8px !important;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 42px rgba(2, 7, 25, .2);
    backdrop-filter: blur(18px);
  }

  .asa-product-purchase-actions .asa-product-quantity {
    grid-template-columns: 28px 42px 28px;
    width: 98px;
  }

  .asa-product-purchase-actions > button {
    min-width: 0 !important;
  }

  .asa-product-purchase-actions .asa-product-favorite-button {
    width: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
  }

  .asa-product-main-compact .asa-product-gallery-stage {
    height: 390px !important;
    padding: 14px !important;
  }

  .asa-product-essentials {
    margin-top: 12px;
    gap: 11px;
    padding: 13px;
    border-radius: 15px;
  }

  .asa-product-essentials__taxonomies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asa-product-essentials__specs {
    grid-template-columns: 1fr;
  }

  .asa-product-essentials__specs .asa-product-essential-value:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .asa-product-essentials__policies {
    grid-template-columns: 1fr;
  }

  .asa-product-essentials__policies a {
    border-right: 0;
    border-bottom: 1px solid #dceaf6;
  }

  .asa-product-essentials__policies a:last-child {
    border-bottom: 0;
  }

  .asa-product-essentials__policies small {
    display: block;
  }

  .asa-product-compare-compact {
    grid-template-columns: 1fr !important;
  }

  .asa-product-panel__heading--reviews {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .asa-product-panel__heading--reviews > p {
    text-align: left;
  }

  .asa-lightbox {
    padding: 8px;
  }

  .asa-lightbox__panel {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
  }

  .asa-lightbox__viewport {
    padding: 8px;
  }

  .asa-product-page-active .asa-real-assistant {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

/* Storefront interaction feedback */
button.asa-cart-is-loading,
button.asa-cart-is-added,
button.asa-cart-is-error {
  position: relative;
  overflow: hidden;
  transition:
    color .25s ease,
    background-color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s cubic-bezier(.22, 1, .36, 1) !important;
}

button.asa-cart-is-loading {
  transform: scale(.985);
  opacity: .86;
}

button.asa-cart-is-loading::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 48%, transparent 66%);
  transform: translateX(-100%);
  animation: asa-cart-shimmer .85s ease infinite;
  pointer-events: none;
}

button.asa-cart-is-added {
  border-color: #059669 !important;
  background: #059669 !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(5, 150, 105, .22) !important;
  transform: scale(1.015);
}

button.asa-cart-is-error {
  border-color: #dc2626 !important;
  background: #dc2626 !important;
  color: #fff !important;
  animation: asa-cart-error .28s ease both;
}

@keyframes asa-cart-shimmer {
  to { transform: translateX(100%); }
}

@keyframes asa-cart-error {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-4px); }
  70% { transform: translateX(4px); }
}

.asa-cart-toast {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  position: fixed;
  z-index: 100200;
  top: 50%;
  left: 50%;
  width: min(340px, calc(100vw - 32px));
  border: 1px solid rgba(2, 7, 25, .1);
  border-radius: 17px;
  padding: 13px 15px;
  color: #020719;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(2, 7, 25, .25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 14px)) scale(.96);
  transition: opacity .2s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  backdrop-filter: blur(18px);
}

.asa-cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.asa-cart-toast > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #059669;
  font-size: 20px;
  font-weight: 900;
}

.asa-cart-toast.is-error > span {
  background: #dc2626;
}

.asa-empty-cart-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 0 14px;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff7f7;
  color: #dc2626;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.asa-empty-cart-button:hover {
  border-color: #f87171;
  background: #fef2f2;
  transform: translateY(-1px);
}

.asa-empty-cart-button:disabled {
  cursor: wait;
  opacity: .55;
}

.dark .asa-empty-cart-button {
  border-color: rgba(248, 113, 113, .35);
  background: rgba(127, 29, 29, .22);
  color: #fca5a5;
}

.asa-cart-toast div {
  display: grid;
  gap: 3px;
}

.asa-cart-toast strong {
  font-size: 13px;
  font-weight: 900;
}

.asa-cart-toast small {
  color: #64748b;
  font-size: 10px;
}

.dark .asa-product-purchase-actions,
.dark .asa-cart-toast {
  border-color: rgba(255, 255, 255, .12);
  color: #f8fafc;
  background: rgba(15, 23, 42, .97);
}

.dark .asa-cart-toast small {
  color: #a8b5c7;
}

.asa-legacy-cart-notice-hidden {
  display: none !important;
}

/* Shared storefront confirmation / notification modal. */
body.asa-theme-modal-open {
  overflow: hidden;
}

.asa-theme-modal {
  display: grid;
  position: fixed;
  z-index: 100300;
  inset: 0;
  place-items: center;
  padding: 20px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.asa-theme-modal[hidden] {
  display: none !important;
}

.asa-theme-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 25, .68);
  backdrop-filter: blur(8px);
  animation: asa-modal-fade .2s ease both;
}

.asa-theme-modal__panel {
  display: grid;
  position: relative;
  width: min(440px, calc(100vw - 32px));
  gap: 15px;
  border: 1px solid rgba(2, 7, 25, .1);
  border-radius: 22px;
  padding: 26px;
  color: #020719;
  background: #fff;
  box-shadow: 0 30px 90px rgba(2, 7, 25, .3);
  animation: asa-modal-pop .3s cubic-bezier(.22, 1, .36, 1) both;
}

.asa-theme-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #64748b;
  background: #f1f5f9;
  font-size: 20px;
  cursor: pointer;
}

.asa-theme-modal__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: #0466c8;
  font-size: 22px;
  font-weight: 900;
}

.asa-theme-modal__icon.is-danger {
  background: #e11d48;
}

.asa-theme-modal__copy {
  display: grid;
  gap: 7px;
}

.asa-theme-modal__copy strong {
  padding-right: 30px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.asa-theme-modal__copy p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.65;
}

.asa-theme-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 3px;
}

.asa-theme-modal__actions button {
  min-height: 42px;
  border: 1px solid #dbe3ed;
  border-radius: 999px;
  color: #334155;
  background: #fff;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.asa-theme-modal__actions .is-primary {
  border-color: #0466c8;
  color: #fff;
  background: #0466c8;
}

.asa-theme-modal__actions .is-primary.is-danger {
  border-color: #e11d48;
  background: #e11d48;
}

@keyframes asa-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes asa-modal-pop {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dark .asa-theme-modal__panel {
  border-color: rgba(255, 255, 255, .1);
  color: #f8fafc;
  background: #111827;
}

.dark .asa-theme-modal__close,
.dark .asa-theme-modal__actions button {
  border-color: rgba(255, 255, 255, .1);
  color: #dbe5f2;
  background: #1e293b;
}

.dark .asa-theme-modal__copy p {
  color: #a8b5c7;
}

/* Homepage customer reviews, transferred from the previous storefront. */
.asa-home-testimonials {
  width: min(1280px, calc(100% - 32px));
  margin: 64px auto 16px;
  padding-bottom: 18px;
  color: #020719;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.asa-home-testimonials > header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.asa-home-testimonials > header > span {
  color: #0466c8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2em;
}

.asa-home-testimonials h2 {
  margin: 7px 0 5px;
  font-size: clamp(21px, 3vw, 29px);
  font-weight: 350;
  letter-spacing: -.025em;
}

.asa-home-testimonials h2 strong {
  color: #0466c8;
  font-weight: 900;
}

.asa-home-testimonials > header p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
}

.asa-home-testimonials__viewport {
  position: relative;
  overflow: hidden;
  padding: 8px 0 16px;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}

.asa-home-testimonials__track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: asa-testimonials-marquee 42s linear infinite;
}

.asa-home-testimonials__viewport:hover .asa-home-testimonials__track {
  animation-play-state: paused;
}

.asa-home-testimonials article {
  display: flex;
  width: 350px;
  min-height: 174px;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(2, 7, 25, .06);
  border-radius: 24px;
  padding: 19px 20px;
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}

.asa-home-testimonials article:hover {
  box-shadow: 0 18px 45px rgba(2, 7, 25, .1);
  transform: translateY(-2px);
}

.asa-home-testimonials__stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.asa-home-testimonials article > div p {
  margin: 9px 0 0;
  color: #526178;
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
}

.asa-home-testimonials__customer {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  border-top: 1px solid #edf1f5;
  padding-top: 11px;
}

.asa-home-testimonials__customer img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(4, 102, 200, .16);
}

.asa-home-testimonials__customer span {
  display: grid;
  gap: 3px;
}

.asa-home-testimonials__customer strong {
  font-size: 12px;
  font-weight: 850;
}

.asa-home-testimonials__customer small {
  color: #94a3b8;
  font-size: 9px;
}

@keyframes asa-testimonials-marquee {
  to { transform: translateX(calc(-25% - 6px)); }
}

.dark .asa-home-testimonials {
  color: #f8fafc;
}

.dark .asa-home-testimonials article {
  border-color: rgba(255, 255, 255, .07);
  background: #111827;
}

.dark .asa-home-testimonials article > div p {
  color: #c2cedd;
}

.dark .asa-home-testimonials__customer {
  border-color: rgba(255, 255, 255, .08);
}

@media (max-width: 640px) {
  .asa-theme-modal {
    padding: 12px;
  }

  .asa-theme-modal__panel {
    padding: 22px 18px 18px;
  }

  .asa-home-testimonials {
    width: calc(100% - 20px);
    margin-top: 42px;
  }

  .asa-home-testimonials > header {
    margin-bottom: 23px;
    padding: 0 10px;
  }

  .asa-home-testimonials article {
    width: min(300px, calc(100vw - 48px));
    min-height: 168px;
    padding: 17px;
  }
}

/* Header AJAX product search */
.asa-live-search {
  position: fixed;
  z-index: 100000;
  max-height: min(540px, calc(100vh - 100px));
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 8px;
  color: #020719;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 60px rgba(2, 7, 25, .18);
  backdrop-filter: blur(18px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.asa-live-search[hidden] {
  display: none !important;
}

.asa-live-search__heading {
  padding: 8px 10px 7px;
  color: #7d8da6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.asa-live-search > a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  border-radius: 13px;
  padding: 7px;
  color: #020719;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.asa-live-search > a:hover,
.asa-live-search > a.is-active {
  background: #eff6ff;
  transform: translateX(2px);
}

.asa-live-search > a img {
  width: 54px;
  height: 54px;
  border: 1px solid #edf0f4;
  border-radius: 11px;
  background: #f8fafc;
  object-fit: contain;
}

.asa-live-search__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.asa-live-search__copy strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asa-live-search__copy small {
  overflow: hidden;
  color: #7d8da6;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asa-live-search > a em {
  border-radius: 999px;
  padding: 5px 7px;
  color: #b91c1c;
  background: #fff1f2;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.asa-live-search > .asa-live-search__all {
  display: flex;
  min-height: 40px;
  justify-content: center;
  margin-top: 5px;
  color: #fff;
  background: #020719;
  font-size: 11px;
  font-weight: 800;
}

.asa-live-search > .asa-live-search__all:hover,
.asa-live-search > .asa-live-search__all.is-active {
  color: #fff;
  background: #0466c8;
  transform: none;
}

.asa-live-search__loading,
.asa-live-search__empty {
  margin: 0;
  padding: 22px 14px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

/* Customizer-managed homepage banner */
.asa-managed-banner {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  height: 430px;
  margin: 24px auto 34px;
  overflow: hidden;
  border-radius: 28px;
  background: #001845;
  box-shadow: 0 18px 48px rgba(0, 18, 51, .16);
  isolation: isolate;
}

/* Keep the original homepage rotating product panel stable while its content changes. */
body.home #root main [class*="min-h-[515px]"][class*="overflow-hidden"] {
  height: 598px !important;
  min-height: 598px !important;
  max-height: 598px !important;
}

@media (min-width: 1024px) {
  body.home #root main [class*="min-h-[515px]"][class*="overflow-hidden"] {
    align-self: stretch !important;
    height: auto !important;
    min-height: 720px !important;
    max-height: none !important;
  }
}

.asa-home-merch-hidden {
  display: none !important;
}

.asa-home-merch-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed #d8e2ef;
  border-radius: 18px;
  background: #f8fafc;
  color: #7185a1;
  font-size: 12px;
  text-align: center;
}

.dark .asa-home-merch-empty {
  border-color: #253a55;
  background: #0b192c;
  color: #9aabc2;
}

.asa-managed-banner__track,
.asa-managed-banner__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.asa-managed-banner__slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity .65s ease, transform 1.1s ease, visibility .65s;
}

.asa-managed-banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.asa-managed-banner__slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asa-managed-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 18, 51, .92) 0%, rgba(0, 24, 69, .66) 45%, rgba(0, 24, 69, .08) 78%);
}

.asa-managed-banner__content {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 6vw, 82px);
  top: 50%;
  width: min(590px, calc(100% - 120px));
  color: #fff;
  transform: translateY(-50%);
}

.asa-managed-banner__content h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.asa-managed-banner__content p {
  max-width: 520px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.7;
}

.asa-managed-banner__content a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 14px;
  background: #0466c8;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .2s ease, background .2s ease;
}

.asa-managed-banner__content a:hover {
  background: #0582ca;
  transform: translateY(-2px);
}

.asa-managed-banner__arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(0, 18, 51, .52);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}

.asa-managed-banner__arrow:hover {
  background: #0466c8;
  transform: translateY(-50%) scale(1.06);
}

.asa-managed-banner__arrow.is-prev { left: 18px; }
.asa-managed-banner__arrow.is-next { right: 18px; }

.asa-managed-banner__dots {
  position: absolute;
  z-index: 4;
  bottom: 20px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.asa-managed-banner__dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.asa-managed-banner__dots button.is-active {
  width: 28px;
  background: #fff;
}

/* Store and search page view modes */
.grid-products-auto.asa-catalog-view-small {
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)) !important;
}

.grid-products-auto.asa-catalog-view-medium {
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)) !important;
}

.grid-products-auto.asa-catalog-view-detailed {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}

.grid-products-auto.asa-catalog-view-list {
  grid-template-columns: minmax(0, 1fr) !important;
}

.grid-products-auto.asa-catalog-view-list > * {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}

.grid-products-auto.asa-catalog-view-list > * > *,
.grid-products-auto.asa-catalog-view-list > * > * > * {
  height: auto !important;
}

@media (min-width: 768px) {
  .grid-products-auto.asa-catalog-view-list .asa-catalog-list-card {
    display: flex !important;
    min-height: 250px !important;
    height: auto !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    padding: 20px !important;
    border-radius: 24px !important;
  }

  .grid-products-auto.asa-catalog-view-list .asa-catalog-list-card__media {
    width: 260px !important;
    min-width: 260px !important;
    height: 220px !important;
    min-height: 220px !important;
    aspect-ratio: auto !important;
    flex: 0 0 260px !important;
  }

  .grid-products-auto.asa-catalog-view-list .asa-catalog-list-card__content {
    display: flex !important;
    min-width: 0 !important;
    height: auto !important;
    flex: 1 1 auto !important;
    justify-content: space-between !important;
    padding: 8px 10px 8px 0 !important;
    overflow: visible !important;
  }

  .grid-products-auto.asa-catalog-view-list .asa-catalog-list-card__content h3 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
  }
}

#root main button.asa-view-is-active {
  border-color: #0466c8 !important;
  background: #0466c8 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(4, 102, 200, .2);
}

.asa-product-filtered-out {
  display: none !important;
}

.asa-advanced-filters {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid #dfe8f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.asa-advanced-filters__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.asa-advanced-filters__heading > div {
  display: flex;
  flex-direction: column;
}

.asa-advanced-filters__heading span,
.asa-advanced-filters__fields label {
  color: #8ba0bd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.asa-advanced-filters__heading strong {
  color: #001233;
  font-size: 15px;
}

.asa-advanced-filters__heading button {
  padding: 7px 12px;
  border: 1px solid #dbe6f2;
  border-radius: 10px;
  color: #0466c8;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.asa-advanced-filters__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
}

.asa-advanced-filters__fields label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.asa-advanced-filters__fields select,
.asa-advanced-filters__fields input[type="number"] {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid #dbe6f2;
  border-radius: 11px;
  background: #f8fafc;
  color: #213451;
  font-size: 11px;
  font-weight: 600;
  outline: none;
}

.asa-advanced-filters__fields select:focus,
.asa-advanced-filters__fields input[type="number"]:focus {
  border-color: #0466c8;
  box-shadow: 0 0 0 3px rgba(4, 102, 200, .09);
}

.asa-advanced-filters__fields .asa-advanced-filters__check {
  min-height: 40px;
  flex-direction: row;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #dbe6f2;
  border-radius: 11px;
  background: #f8fafc;
  color: #425978;
  cursor: pointer;
}

.asa-advanced-filters__check input {
  width: 16px;
  height: 16px;
  accent-color: #0466c8;
}

.asa-advanced-filters__count {
  margin: 11px 0 0;
  color: #7085a2;
  font-size: 10px;
  font-weight: 700;
}

.dark .asa-advanced-filters {
  border-color: #1e334e;
  background: #071426;
}

.dark .asa-advanced-filters__heading strong {
  color: #f8fafc;
}

.dark .asa-advanced-filters__heading button,
.dark .asa-advanced-filters__fields select,
.dark .asa-advanced-filters__fields input[type="number"],
.dark .asa-advanced-filters__fields .asa-advanced-filters__check {
  border-color: #263b57;
  background: #0d1d32;
  color: #cbd5e1;
}

@media (max-width: 767px) {
  .asa-managed-banner {
    width: calc(100% - 24px);
    height: 320px;
    margin: 14px auto 24px;
    border-radius: 20px;
  }

  .asa-managed-banner__shade {
    background: linear-gradient(90deg, rgba(0, 18, 51, .92), rgba(0, 24, 69, .55));
  }

  .asa-managed-banner__content {
    left: 24px;
    width: calc(100% - 48px);
    text-align: left;
  }

  .asa-managed-banner__content h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .asa-managed-banner__content p {
    display: -webkit-box;
    overflow: hidden;
    margin: 13px 0 20px;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .asa-managed-banner__content a {
    min-height: 42px;
    padding: 0 18px;
  }

  .asa-managed-banner__arrow {
    display: none;
  }

  .asa-managed-banner__dots {
    bottom: 14px;
  }

  .asa-advanced-filters {
    padding: 14px;
    border-radius: 15px;
  }

  .asa-advanced-filters__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-products-auto.asa-catalog-view-small {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .grid-products-auto.asa-catalog-view-medium,
  .grid-products-auto.asa-catalog-view-detailed,
  .grid-products-auto.asa-catalog-view-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Legal and customer-information pages */
.asa-legal-page {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 72px;
  color: #020719;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.asa-legal-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 22px;
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(4, 102, 200, .62), transparent 34%),
    linear-gradient(135deg, #020719, #071738 65%, #0466c8 150%);
  box-shadow: 0 18px 46px rgba(2, 7, 25, .14);
}

.asa-legal-hero > div:first-child {
  max-width: 820px;
}

.asa-legal-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #70c8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.asa-legal-hero h1 {
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.asa-legal-hero p {
  max-width: 760px;
  margin: 0;
  color: #cbd8eb;
  font-size: 14px;
  line-height: 1.7;
}

.asa-legal-actions {
  display: flex;
  flex: none;
  gap: 8px;
}

.asa-legal-actions button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.asa-legal-actions button:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.asa-legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.asa-legal-sidebar {
  position: sticky;
  top: 108px;
  border: 1px solid #e5e9f0;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(2, 7, 25, .05);
}

.asa-legal-sidebar > strong {
  display: block;
  margin-bottom: 11px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.asa-legal-sidebar nav {
  display: grid;
  gap: 3px;
}

.asa-legal-sidebar nav a {
  border-radius: 9px;
  padding: 8px 9px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.asa-legal-sidebar nav a:hover {
  color: #0466c8;
  background: #eff6ff;
}

.asa-legal-contact {
  margin-top: 16px;
  border-radius: 13px;
  padding: 14px;
  color: #fff;
  background: #020719;
}

.asa-legal-contact span,
.asa-legal-contact strong {
  display: block;
}

.asa-legal-contact span {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.asa-legal-contact strong {
  margin: 4px 0;
  font-size: 13px;
}

.asa-legal-contact p {
  margin: 0;
  color: #b9c5d7;
  font-size: 9px;
  line-height: 1.55;
}

.asa-legal-article {
  border: 1px solid #e5e9f0;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  box-shadow: 0 5px 18px rgba(2, 7, 25, .05);
}

.asa-legal-article h2 {
  scroll-margin-top: 120px;
  margin: 36px 0 13px;
  border-top: 1px solid #edf0f4;
  padding-top: 30px;
  color: #020719;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.asa-legal-article h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.asa-legal-article p,
.asa-legal-article li {
  color: #526178;
  font-size: 13px;
  line-height: 1.78;
}

.asa-legal-article p {
  margin: 0 0 13px;
}

.asa-legal-article ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.asa-legal-article li {
  position: relative;
  padding-left: 21px;
}

.asa-legal-article li::before {
  position: absolute;
  top: .72em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #0466c8;
  content: "";
}

html.dark .asa-legal-page {
  color: #f8fafc;
}

html.dark .asa-legal-sidebar,
html.dark .asa-legal-article {
  border-color: rgba(148, 163, 184, .18);
  background: #0f172a;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}

html.dark .asa-legal-sidebar > strong,
html.dark .asa-legal-article h2 {
  color: #f8fafc;
}

html.dark .asa-legal-sidebar nav a {
  color: #a9b6c9;
}

html.dark .asa-legal-sidebar nav a:hover {
  color: #7dd3fc;
  background: rgba(14, 165, 233, .12);
}

html.dark .asa-legal-article h2 {
  border-top-color: rgba(148, 163, 184, .16);
}

html.dark .asa-legal-article p,
html.dark .asa-legal-article li {
  color: #b8c4d6;
}

html.dark .asa-legal-contact {
  border: 1px solid rgba(125, 211, 252, .18);
  background: #020617;
}

html.dark .asa-legal-contact span {
  color: #94a3b8;
}

html.dark .asa-legal-contact p {
  color: #cbd5e1;
}

.asa-footer-legal-links {
  display: grid;
  gap: 8px;
}

.asa-footer-legal-links a {
  color: #8fa0ba;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s ease;
}

.asa-footer-legal-links a:hover {
  color: #fff;
}

.asa-footer-legal-column {
  display: grid;
  align-content: start;
  gap: 16px;
}

.asa-footer-legal-column h4 {
  margin: 0;
  color: #0466c8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .asa-footer-grid-with-legal {
    grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)) 1.35fr !important;
  }

  .asa-footer-grid-with-legal > * {
    grid-column: span 1 / span 1 !important;
  }
}

@media (max-width: 820px) {
  .asa-legal-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .asa-legal-layout {
    grid-template-columns: 1fr;
  }

  .asa-legal-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .asa-legal-page {
    width: calc(100% - 20px);
    padding-top: 20px;
  }

  .asa-legal-hero {
    padding: 26px 22px;
  }

  .asa-legal-actions {
    width: 100%;
  }

  .asa-legal-actions button {
    flex: 1;
  }

  .asa-legal-article {
    padding: 22px 18px;
  }
}

@media print {
  .asa-legal-route #root > div > header,
  .asa-legal-route #root footer,
  .asa-legal-sidebar,
  .asa-legal-actions {
    display: none !important;
  }

  .asa-legal-page,
  .asa-legal-layout,
  .asa-legal-article {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .asa-legal-hero {
    margin: 0 0 24px;
    padding: 0;
    color: #000;
    background: none;
    box-shadow: none;
  }

  .asa-legal-hero h1,
  .asa-legal-hero p,
  .asa-legal-eyebrow {
    color: #000;
  }
}

/* React product gallery: stable sizing, safe thumbnails and zoom lightbox. */
.asa-product-gallery-stage {
  width: 100% !important;
  height: clamp(460px, 48vw, 640px) !important;
  aspect-ratio: 1 / 1;
  padding: clamp(18px, 3vw, 34px);
  background: #fff !important;
  cursor: zoom-in;
}

.asa-product-gallery-stage .asa-product-gallery-image {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  filter: none !important;
}

.asa-product-gallery-zoom {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e5e9f0;
  border-radius: 999px;
  color: #020719;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 28px rgba(2, 7, 25, .12);
  font-size: 24px;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.asa-product-gallery-zoom:hover {
  color: #fff;
  background: #0466c8;
  transform: scale(1.06);
}

.asa-product-thumb {
  width: 80px !important;
  height: 66px !important;
  padding: 5px !important;
  background: #fff !important;
}

.asa-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.asa-product-thumb.is-active {
  border-color: #00b4d8 !important;
  opacity: 1 !important;
  box-shadow: 0 0 0 2px rgba(0, 180, 216, .14);
}

body.asa-lightbox-open {
  overflow: hidden;
}

.asa-lightbox {
  position: fixed;
  z-index: 200000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 18, 51, .72);
  backdrop-filter: blur(12px);
}

.asa-lightbox[hidden] {
  display: none !important;
}

.asa-lightbox__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1060px, 100%);
  height: min(840px, calc(100vh - 44px));
  overflow: hidden;
  border: 1px solid rgba(4, 102, 200, .18);
  border-radius: 24px;
  background: #f7f9fc;
  box-shadow: 0 30px 90px rgba(0, 18, 51, .34);
}

.asa-lightbox__header,
.asa-lightbox__toolbar,
.asa-lightbox__footer {
  display: flex;
  align-items: center;
  gap: 20px;
}

.asa-lightbox__header {
  justify-content: flex-start;
  padding: 14px 18px;
  border-bottom: 1px solid #e7ecf3;
  background: #fff;
}

.asa-lightbox__brand {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #0466c8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}

.asa-lightbox__title {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.asa-lightbox__title span {
  color: #0466c8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.asa-lightbox__title strong {
  overflow: hidden;
  color: #001233;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asa-lightbox__close,
.asa-lightbox__toolbar button {
  display: grid;
  place-items: center;
  border: 1px solid #dce3ed;
  color: #001233;
  background: #f4f7fb;
  cursor: pointer;
}

.asa-lightbox__close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 25px;
  line-height: 1;
}

.asa-lightbox__viewport {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  background: #eef3f8;
}

.asa-lightbox__canvas {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  background: #fff;
}

.asa-lightbox__canvas > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box;
  padding: 24px;
  object-fit: contain !important;
  transform-origin: center;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
  user-select: none;
}

.asa-lightbox__previous,
.asa-lightbox__next {
  position: absolute;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 18, 51, .82);
  box-shadow: 0 8px 24px rgba(0, 18, 51, .2);
  font-size: 35px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.asa-lightbox__previous {
  left: 16px;
}

.asa-lightbox__next {
  right: 16px;
}

.asa-lightbox__footer {
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #e7ecf3;
  background: #fff;
}

.asa-lightbox__thumbnails {
  display: flex;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
}

.asa-lightbox__thumbnails button {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 4px;
  border: 1px solid #dce3ed;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.asa-lightbox__thumbnails button.is-active {
  border-color: #00b4d8;
  box-shadow: 0 0 0 2px rgba(0, 180, 216, .14);
}

.asa-lightbox__thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asa-lightbox__toolbar {
  justify-content: flex-end;
  flex: 0 0 auto;
}

.asa-lightbox__toolbar > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.asa-lightbox__toolbar > div {
  display: flex;
  gap: 6px;
}

.asa-lightbox__toolbar button {
  min-width: 36px;
  height: 34px;
  border-radius: 9px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 800;
}

.asa-lightbox__close:hover,
.asa-lightbox__toolbar button:hover,
.asa-lightbox__previous:hover,
.asa-lightbox__next:hover {
  border-color: #0466c8;
  color: #fff;
  background: #0466c8;
}

@media (max-width: 700px) {
  .asa-product-gallery-stage {
    height: 390px !important;
    min-height: 390px !important;
    padding: 16px;
  }

  .asa-lightbox {
    padding: 8px;
  }

  .asa-lightbox__panel {
    height: calc(100vh - 16px);
    border-radius: 16px;
  }

  .asa-lightbox__viewport {
    padding: 8px;
  }

  .asa-lightbox__canvas > img {
    padding: 12px;
  }

  .asa-lightbox__previous,
  .asa-lightbox__next {
    width: 40px;
    height: 40px;
  }

  .asa-lightbox__previous {
    left: 7px;
  }

  .asa-lightbox__next {
    right: 7px;
  }

  .asa-lightbox__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .asa-lightbox__toolbar {
    justify-content: space-between;
  }
}

/* Complete WooCommerce product information inside the React product page. */
.asa-product-details {
  width: min(1240px, calc(100% - 32px));
  margin: 34px auto 70px;
  color: #001233;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.asa-product-details,
.asa-product-details * {
  box-sizing: border-box;
}

.asa-product-details__nav {
  position: sticky;
  z-index: 20;
  top: 74px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding: 8px;
  border: 1px solid #e3e9f1;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 32px rgba(0, 18, 51, .06);
  backdrop-filter: blur(12px);
}

.asa-product-details__nav a {
  flex: 1 0 auto;
  padding: 10px 14px;
  border-radius: 10px;
  color: #52627a;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.asa-product-details__nav a:hover {
  color: #fff;
  background: #0466c8;
}

.asa-product-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.asa-product-assurances article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
  border: 1px solid #e3e9f1;
  border-radius: 16px;
  background: #fff;
}

.asa-product-assurances article > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #0466c8;
  background: #eaf5ff;
  font-size: 17px;
  font-weight: 900;
}

.asa-product-assurances strong {
  display: block;
  margin: 1px 0 4px;
  color: #001233;
  font-size: 12px;
  font-weight: 850;
}

.asa-product-assurances p {
  margin: 0;
  color: #718096;
  font-size: 10px;
  line-height: 1.55;
}

.asa-product-panel {
  margin: 14px 0 0;
  padding: clamp(20px, 3vw, 34px);
  scroll-margin-top: 150px;
  border: 1px solid #e3e9f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(0, 18, 51, .035);
}

.asa-product-panel__heading {
  margin-bottom: 22px;
}

.asa-product-panel__heading > span {
  display: block;
  margin-bottom: 5px;
  color: #0466c8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.asa-product-panel__heading h2 {
  margin: 0;
  color: #001233;
  font-size: clamp(21px, 2.1vw, 28px);
  font-weight: 850;
  letter-spacing: -.035em;
}

.asa-product-panel__heading p {
  max-width: 690px;
  margin: 7px 0 0;
  color: #728096;
  font-size: 12px;
  line-height: 1.65;
}

.asa-product-information-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr);
  gap: 34px;
}

.asa-product-copy,
.asa-product-description {
  color: #516079;
  font-size: 13px;
  line-height: 1.8;
}

.asa-product-copy p:first-child {
  margin-top: 0;
}

.asa-product-lead {
  margin-bottom: 16px;
  padding: 15px 17px;
  border-left: 3px solid #00b4d8;
  border-radius: 0 12px 12px 0;
  color: #243654;
  background: #f1faff;
  font-weight: 600;
}

.asa-product-specs {
  display: grid;
  align-content: start;
  grid-template-columns: 1fr;
  overflow: hidden;
  margin: 0;
  border: 1px solid #e5eaf1;
  border-radius: 15px;
}

.asa-product-spec {
  display: grid;
  grid-template-columns: minmax(115px, .75fr) minmax(0, 1.25fr);
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f5;
}

.asa-product-spec:nth-child(even) {
  background: #f8fafc;
}

.asa-product-spec:last-child {
  border-bottom: 0;
}

.asa-product-spec dt {
  color: #8190a5;
  font-size: 10px;
  font-weight: 700;
}

.asa-product-spec dd {
  min-width: 0;
  margin: 0;
  color: #172743;
  font-size: 11px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: right;
}

.asa-product-specs--attributes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asa-product-specs--attributes .asa-product-spec:nth-child(even) {
  background: #fff;
}

.asa-product-specs--attributes .asa-product-spec:nth-child(4n + 2),
.asa-product-specs--attributes .asa-product-spec:nth-child(4n + 3) {
  background: #f8fafc;
}

.asa-product-taxonomies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #edf1f5;
}

.asa-product-taxonomies > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.asa-product-taxonomies > div > span {
  color: #8a98aa;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.asa-product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.asa-product-chips a {
  padding: 7px 10px;
  border: 1px solid #dfe7f0;
  border-radius: 999px;
  color: #0466c8;
  background: #f7fbff;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

.asa-product-chips a:hover {
  border-color: #0466c8;
  color: #fff;
  background: #0466c8;
}

.asa-product-empty {
  color: #8b98aa;
  font-size: 11px;
  font-style: normal;
}

.asa-return-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.asa-return-grid section {
  display: flex;
  gap: 13px;
  padding: 17px;
  border: 1px solid #e2eaf3;
  border-radius: 15px;
  background: #f9fbfd;
}

.asa-return-grid section > b {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0466c8;
  font-size: 11px;
}

.asa-return-grid strong {
  display: block;
  margin-bottom: 5px;
  color: #172743;
  font-size: 12px;
}

.asa-return-grid p,
.asa-return-exceptions p {
  margin: 0;
  color: #68778d;
  font-size: 11px;
  line-height: 1.65;
}

.asa-return-exceptions {
  margin-top: 12px;
  border: 1px solid #dce6f0;
  border-radius: 14px;
  background: #fff;
}

.asa-return-exceptions summary {
  padding: 15px 17px;
  color: #172743;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.asa-return-exceptions > div {
  display: grid;
  gap: 10px;
  padding: 0 17px 17px;
}

.asa-product-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.asa-product-policy-links a {
  padding: 10px 13px;
  border-radius: 10px;
  color: #fff;
  background: #001233;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.asa-product-policy-links a:last-child {
  color: #0466c8;
  background: #eaf5ff;
}

.asa-product-reviews-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
}

.asa-product-rating {
  padding: 20px;
  border: 1px solid #e3e9f1;
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
}

.asa-product-rating > strong {
  display: block;
  color: #001233;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
}

.asa-product-rating > p {
  margin: 5px 0 17px;
  color: #7a879a;
  font-size: 10px;
}

.asa-product-rating__stars {
  display: inline-flex;
  gap: 2px;
  color: #cbd5e1;
  font-size: 16px;
  letter-spacing: 0;
}

.asa-product-rating__stars .is-filled {
  color: #ff9f1c;
}

.asa-rating-distribution {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.asa-rating-distribution > div {
  display: grid;
  grid-template-columns: 28px 1fr 20px;
  align-items: center;
  gap: 7px;
  color: #77869a;
  font-size: 9px;
}

.asa-rating-distribution i {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe6ee;
}

.asa-rating-distribution b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ff9f1c;
}

.asa-rating-distribution em {
  font-style: normal;
  text-align: right;
}

.asa-review-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.asa-review-card {
  padding: 16px;
  border: 1px solid #e5eaf1;
  border-radius: 14px;
}

.asa-review-card header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.asa-review-card header strong {
  color: #172743;
  font-size: 11px;
}

.asa-review-card time {
  color: #91a0b1;
  font-size: 9px;
}

.asa-review-card .asa-product-rating__stars {
  font-size: 12px;
}

.asa-review-card p {
  margin: 8px 0 0;
  color: #5f6e83;
  font-size: 11px;
  line-height: 1.65;
}

.asa-review-empty,
.asa-review-notice {
  padding: 24px;
  border: 1px dashed #cfd9e5;
  border-radius: 14px;
  color: #718096;
  background: #fafcfe;
  text-align: center;
}

.asa-review-empty strong {
  color: #253653;
  font-size: 13px;
}

.asa-review-empty p,
.asa-review-notice {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.6;
}

.asa-review-write {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid #edf1f5;
}

.asa-review-write h3 {
  margin: 0 0 14px;
  color: #001233;
  font-size: 16px;
}

.asa-review-form {
  display: grid;
  gap: 14px;
}

.asa-review-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.asa-review-form legend,
.asa-review-form > label,
.asa-review-form__identity label {
  display: grid;
  gap: 7px;
  color: #3f506b;
  font-size: 10px;
  font-weight: 800;
}

.asa-review-form__stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 3px;
}

.asa-review-form__stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.asa-review-form__stars label {
  color: #d6dde7;
  font-size: 29px;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}

.asa-review-form__stars label:hover,
.asa-review-form__stars label:hover ~ label,
.asa-review-form__stars input:checked ~ label {
  color: #ff9f1c;
}

.asa-review-form__stars label:hover {
  transform: translateY(-2px);
}

.asa-review-form__identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.asa-review-form input:not([type="radio"]),
.asa-review-form textarea {
  width: 100%;
  border: 1px solid #dce4ee;
  border-radius: 11px;
  outline: 0;
  color: #172743;
  background: #f9fbfd;
  font: inherit;
  font-size: 12px;
}

.asa-review-form input:not([type="radio"]) {
  height: 42px;
  padding: 0 12px;
}

.asa-review-form textarea {
  min-height: 118px;
  padding: 12px;
  line-height: 1.6;
  resize: vertical;
}

.asa-review-form input:focus,
.asa-review-form textarea:focus {
  border-color: #0466c8;
  box-shadow: 0 0 0 3px rgba(4, 102, 200, .1);
}

.asa-review-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.asa-review-form__footer small {
  color: #8996a8;
  font-size: 9px;
  line-height: 1.5;
}

.asa-review-form__footer button {
  min-width: 190px;
  height: 42px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: #001233;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.asa-review-form__footer button:hover {
  background: #0466c8;
}

.asa-review-form__footer button:disabled {
  cursor: wait;
  opacity: .65;
}

.asa-review-form__status {
  margin: 0;
  font-size: 10px;
  font-weight: 750;
}

.asa-review-form__status.is-success {
  color: #079455;
}

.asa-review-form__status.is-error {
  color: #d92d20;
}

.asa-product-quantity {
  display: grid;
  grid-template-columns: 34px 54px 34px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #dce4ee;
  border-radius: 999px;
  background: #fff;
}

.asa-product-quantity button {
  display: grid !important;
  min-width: 0 !important;
  padding: 0 !important;
  place-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  color: #001233 !important;
  background: transparent !important;
  font-size: 18px !important;
  cursor: pointer;
}

.asa-product-quantity button:hover {
  color: #0466c8 !important;
  background: #eef7ff !important;
}

.asa-product-quantity button:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.asa-product-quantity label {
  display: grid;
  align-content: center;
  border-right: 1px solid #edf1f5;
  border-left: 1px solid #edf1f5;
  text-align: center;
}

.asa-product-quantity label span {
  color: #8a97a8;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.asa-product-quantity input {
  width: 100%;
  height: 21px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #001233;
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  appearance: textfield;
}

.asa-product-quantity input::-webkit-inner-spin-button,
.asa-product-quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

button.asa-cart-batch-running {
  pointer-events: none;
}

button.asa-cart-batch-running::after {
  content: attr(data-asa-batch-progress);
  margin-left: 7px;
  font-size: 9px;
  opacity: .72;
}

@media (max-width: 900px) {
  .asa-product-information-grid,
  .asa-product-reviews-grid {
    grid-template-columns: 1fr;
  }

  .asa-product-assurances {
    grid-template-columns: 1fr;
  }

  .asa-product-taxonomies {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .asa-product-details {
    width: min(100% - 20px, 1240px);
    margin-top: 22px;
  }

  .asa-product-details__nav {
    top: 64px;
  }

  .asa-product-panel {
    padding: 19px 15px;
    border-radius: 17px;
  }

  .asa-product-specs--attributes,
  .asa-return-grid {
    grid-template-columns: 1fr;
  }

  .asa-product-specs--attributes .asa-product-spec:nth-child(n) {
    background: #fff;
  }

  .asa-product-specs--attributes .asa-product-spec:nth-child(even) {
    background: #f8fafc;
  }

  .asa-review-form__identity {
    grid-template-columns: 1fr;
  }

  .asa-review-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .asa-review-form__footer button {
    width: 100%;
  }
}

/* Account pages use the same storefront scale, palette and type rhythm. */
.asa-account-shell {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.asa-account-hero,
.asa-member-header {
  border: 1px solid rgba(4, 102, 200, .16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(4, 102, 200, .55), transparent 32%),
    linear-gradient(135deg, #020719 0%, #071738 65%, #0466c8 145%);
  box-shadow: 0 14px 40px rgba(2, 7, 25, .13);
}

.asa-account-hero h1,
.asa-member-header h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 850;
  letter-spacing: -.035em;
}

.asa-account-card {
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(2, 7, 25, .055);
}

.asa-card-heading h2,
.asa-section-title h2,
.asa-account-summary h2,
.asa-address-toolbar h2 {
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -.018em;
}

.asa-field {
  font-size: .75rem;
  font-weight: 750;
}

.asa-field input,
.asa-field select {
  border-color: #dbe2eb;
  border-radius: 12px;
  background: #fbfcfe;
}

.asa-primary-button {
  border-radius: 999px;
  background: #0466c8;
  box-shadow: 0 8px 18px rgba(4, 102, 200, .16);
}

.asa-primary-button:hover {
  background: #0353a4;
}

.asa-secondary-button {
  border-radius: 999px;
}

body.single-product .asa-woo-shell {
  width: min(1480px, calc(100% - 32px));
  padding: 32px 0 56px;
}

/* ASA payment surfaces: Woo order-pay, PayTR iframe and saved methods. */
body.asa-order-pay .asa-native-content,
body.asa-add-payment-method .asa-native-content {
  width: min(1180px, calc(100% - 32px));
}

body.asa-order-pay .asa-native-page,
body.asa-add-payment-method .asa-native-page {
  overflow: hidden;
  border-color: rgba(4, 102, 200, .12);
  background:
    radial-gradient(circle at 96% 0, rgba(4, 102, 200, .08), transparent 28%),
    #fff;
  box-shadow: 0 20px 55px rgba(2, 7, 25, .08);
}

body.asa-order-pay .asa-checkout-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 42px);
  background:
    radial-gradient(circle at 90% 10%, rgba(4, 102, 200, .65), transparent 34%),
    linear-gradient(135deg, #020719, #071738 68%, #0466c8 150%);
}

body.asa-order-pay .asa-checkout-intro::after {
  position: absolute;
  right: 34px;
  bottom: 22px;
  color: rgba(255, 255, 255, .12);
  content: "SSL";
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
}

body.asa-order-pay .woocommerce ul.order_details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
}

body.asa-order-pay .woocommerce ul.order_details::before,
body.asa-order-pay .woocommerce ul.order_details::after {
  display: none;
}

body.asa-order-pay .woocommerce ul.order_details li {
  float: none;
  min-width: 0;
  margin: 0;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  padding: 14px;
  color: #718096;
  background: #f8fafc;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.5;
}

body.asa-order-pay .woocommerce ul.order_details li strong {
  overflow-wrap: anywhere;
  margin-top: 5px;
  color: #020719;
  font-size: .9rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.35;
}

body.asa-order-pay form#order_review,
body.asa-add-payment-method form#add_payment_method {
  border: 1px solid #e5e9f0;
  border-radius: 18px;
  padding: clamp(18px, 4vw, 30px);
  background: #fff;
  box-shadow: 0 8px 30px rgba(2, 7, 25, .055);
}

body.asa-order-pay form#order_review table {
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: #f8fafc;
}

body.asa-order-pay form#order_review th,
body.asa-order-pay form#order_review td {
  border-color: #e5e9f0;
  padding: 14px 16px;
}

body.asa-order-pay #payment,
body.asa-add-payment-method #payment {
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 16px !important;
  background: #f8fbff !important;
}

body.asa-order-pay #payment ul.payment_methods,
body.asa-add-payment-method #payment ul.payment_methods {
  border-color: #dbeafe;
  padding: 18px;
}

body.asa-order-pay #payment .payment_box,
body.asa-add-payment-method #payment .payment_box {
  border-radius: 12px;
  color: #475569;
  background: #fff !important;
}

body.asa-order-pay #payment .payment_box::before,
body.asa-add-payment-method #payment .payment_box::before {
  border-bottom-color: #fff !important;
}

body.asa-order-pay #payment .place-order,
body.asa-add-payment-method #payment .place-order {
  padding: 18px !important;
}

body.asa-order-pay #place_order,
body.asa-add-payment-method #place_order,
body.asa-add-payment-method #place_order + button,
body.asa-add-payment-method .woocommerce-Button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0466c8, #0353a4);
  box-shadow: 0 12px 26px rgba(4, 102, 200, .2);
  font-size: .8rem;
  font-weight: 850;
}

body.asa-order-pay #paytriframe {
  display: block;
  width: 100% !important;
  min-height: 680px;
  margin-top: 18px;
  border: 1px solid #e5e9f0 !important;
  border-radius: 18px;
  background: #fff;
}

.asa-payment-error {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  margin-top: 22px;
  border: 1px solid #fecaca;
  border-radius: 18px;
  padding: clamp(22px, 4vw, 32px);
  color: #475569;
  background: linear-gradient(135deg, #fff, #fff7f7);
  box-shadow: 0 12px 34px rgba(127, 29, 29, .08);
}

.asa-payment-error__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #dc2626;
  font-size: 1.35rem;
  font-weight: 900;
}

.asa-payment-error h2 {
  margin: 5px 0 9px;
  color: #020719;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 900;
}

.asa-payment-error p {
  margin: 0 0 12px;
  line-height: 1.65;
}

.asa-payment-error__note {
  border-left: 3px solid #0466c8;
  padding: 10px 12px;
  color: #334155;
  background: #eff6ff;
  font-size: .82rem;
}

.asa-payment-error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.asa-payment-token {
  gap: 10px;
}

.asa-payment-token__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.asa-payment-token__actions button {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  font-size: .67rem;
  font-weight: 800;
  cursor: pointer;
}

.asa-payment-token__actions button:hover {
  background: rgba(255, 255, 255, .18);
}

body.asa-add-payment-method .woocommerce-MyAccount-navigation {
  display: none;
}

body.asa-add-payment-method .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

body.asa-add-payment-method .woocommerce-MyAccount-content::before {
  display: block;
  margin-bottom: 18px;
  color: #020719;
  content: "Güvenli Ödeme Yöntemi Ekle";
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
}

@media (max-width: 760px) {
  body.asa-order-pay .woocommerce ul.order_details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.asa-order-pay #paytriframe {
    min-height: 760px;
  }

  .asa-payment-error {
    grid-template-columns: 1fr;
  }
}

.asa-account-shell,
.asa-woo-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
  color: var(--asa-commerce-navy);
}

.asa-account-shell *,
.asa-woo-shell * {
  box-sizing: border-box;
}

.asa-account-hero,
.asa-member-header {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding: 34px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 15%, rgba(96, 165, 250, .35), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #172554 58%, #1d4ed8 130%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
}

.asa-account-hero h1,
.asa-member-header h1 {
  max-width: 760px;
  margin: 7px 0 8px;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  line-height: 1.13;
}

.asa-account-hero p,
.asa-member-header p {
  margin: 0;
  color: #cbd5e1;
}

.asa-eyebrow {
  color: #93c5fd;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.asa-trust-list {
  display: grid;
  flex: 0 0 205px;
  gap: 10px;
}

.asa-trust-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .87rem;
  font-weight: 700;
}

.asa-trust-list span::before {
  content: "✓";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, .1);
}

.asa-auth-grid,
.asa-profile-layout,
.asa-address-grid,
.asa-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.asa-account-card,
.asa-woo-surface,
.asa-product-surface {
  border: 1px solid var(--asa-commerce-border);
  border-radius: var(--asa-commerce-radius);
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, .055);
}

.asa-account-card {
  padding: 26px;
}

.asa-card-heading,
.asa-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}

.asa-card-heading > span,
.asa-section-title > span {
  flex: none;
  border-radius: 9px;
  padding: 6px 9px;
  color: var(--asa-commerce-blue);
  background: #eff6ff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.asa-card-heading h2,
.asa-section-title h2,
.asa-account-summary h2,
.asa-address-toolbar h2 {
  margin: 0 0 4px;
  color: var(--asa-commerce-navy);
  font-size: 1.18rem;
}

.asa-card-heading p,
.asa-section-title p,
.asa-address-toolbar p {
  margin: 0;
  color: var(--asa-commerce-muted);
  font-size: .87rem;
}

.asa-account-form {
  display: grid;
  gap: 15px;
}

.asa-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.asa-field {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: .8rem;
  font-weight: 750;
}

.asa-field input,
.asa-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  outline: none;
  padding: 10px 12px;
  color: var(--asa-commerce-navy);
  background: #fff;
  font: inherit;
  font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}

.asa-field input:focus,
.asa-field select:focus {
  border-color: var(--asa-commerce-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.asa-password-wrap {
  position: relative;
  display: block;
}

.asa-password-wrap input {
  padding-right: 70px;
}

.asa-password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  border: 0;
  padding: 7px;
  color: var(--asa-commerce-blue);
  background: transparent;
  font-size: .72rem;
  font-weight: 800;
  transform: translateY(-50%);
  cursor: pointer;
}

.asa-form-row,
.asa-button-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asa-form-between {
  justify-content: space-between;
}

.asa-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #475569;
  font-size: .8rem;
  line-height: 1.45;
}

.asa-check input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--asa-commerce-blue);
}

.asa-check a,
.asa-link {
  color: var(--asa-commerce-blue);
  font-weight: 750;
  text-decoration: none;
}

.asa-primary-button,
.asa-secondary-button,
.asa-danger-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 10px 16px;
  font-size: .84rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform .18s, background .18s, border-color .18s;
  cursor: pointer;
}

.asa-primary-button {
  color: #fff;
  background: var(--asa-commerce-blue);
}

.asa-primary-button:hover {
  color: #fff;
  background: var(--asa-commerce-blue-dark);
  transform: translateY(-1px);
}

.asa-secondary-button {
  border-color: #cbd5e1;
  color: #334155;
  background: #fff;
}

.asa-secondary-button:hover {
  border-color: #94a3b8;
  color: var(--asa-commerce-blue);
}

.asa-danger-button {
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.asa-password-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 12px;
  color: #64748b;
  background: #f8fbff;
  font-size: .73rem;
}

.asa-password-rules strong {
  grid-column: 1 / -1;
  color: #334155;
}

.asa-password-rules span::before {
  content: "○";
  margin-right: 5px;
}

.asa-password-rules span.is-valid {
  color: var(--asa-commerce-success);
}

.asa-password-rules span.is-valid::before {
  content: "✓";
}

.asa-member-header {
  justify-content: flex-start;
}

.asa-member-header > div:nth-child(2) {
  flex: 1;
}

.asa-avatar-block {
  display: flex;
  flex: 0 0 124px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.asa-avatar-block > img {
  width: 92px;
  height: 92px;
  border: 4px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  object-fit: cover;
  background: #e2e8f0;
}

.asa-avatar-block form {
  display: grid;
  gap: 5px;
  text-align: center;
}

.asa-avatar-block .asa-secondary-button {
  min-height: 34px;
  padding: 6px 10px;
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.asa-avatar-block small {
  color: #cbd5e1;
  font-size: .61rem;
}

.asa-account-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-bottom: 22px;
  border: 1px solid var(--asa-commerce-border);
  border-radius: 16px;
  padding: 7px;
  background: #fff;
}

.asa-account-tabs button {
  min-width: max-content;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  color: #64748b;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.asa-account-tabs button.is-active {
  color: #fff;
  background: var(--asa-commerce-navy);
}

.asa-account-panels > section {
  display: none;
}

.asa-account-panels > section.is-active {
  display: block;
}

.asa-profile-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .75fr);
}

.asa-account-summary {
  align-self: start;
}

.asa-account-summary dl {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.asa-account-summary dl div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--asa-commerce-border);
  padding: 10px 0;
}

.asa-account-summary dt {
  color: var(--asa-commerce-muted);
}

.asa-account-summary dd {
  margin: 0;
  color: var(--asa-commerce-navy);
  font-size: 1.1rem;
  font-weight: 900;
}

.asa-account-summary p {
  color: var(--asa-commerce-muted);
  font-size: .8rem;
  line-height: 1.6;
}

.asa-address-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.asa-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.asa-payment-token {
  display: grid;
  min-height: 145px;
  align-content: space-between;
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(145deg, #0f172a, #334155);
}

.asa-card-chip {
  width: 34px;
  height: 25px;
  border-radius: 5px;
  background: linear-gradient(135deg, #fde68a, #d97706);
}

.asa-empty-state {
  grid-column: 1 / -1;
  border: 1px dashed #cbd5e1;
  border-radius: 15px;
  padding: 25px;
  color: var(--asa-commerce-muted);
  background: var(--asa-commerce-soft);
  text-align: center;
}

.asa-empty-state strong {
  display: block;
  margin-bottom: 5px;
  color: #334155;
}

.asa-security-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.asa-security-list li {
  display: flex;
  gap: 9px;
  color: #475569;
  line-height: 1.5;
}

.asa-security-list li::before {
  content: "✓";
  color: var(--asa-commerce-success);
  font-weight: 900;
}

.asa-account-toast {
  position: fixed;
  z-index: 100000;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 44px));
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  background: #15803d;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .24);
  opacity: 0;
  transform: translateY(12px);
  transition: .2s;
}

.asa-account-toast.is-error {
  background: #b91c1c;
}

.asa-account-toast.is-visible {
  opacity: 1;
  transform: none;
}

/* WooCommerce product and checkout surfaces */
.asa-woo-surface {
  padding: clamp(20px, 4vw, 38px);
}

.asa-product-surface {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.asa-product-surface div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(28px, 5vw, 62px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 180, 216, .13), transparent 25%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .09);
}

.asa-product-surface div.product .woocommerce-product-gallery,
.asa-product-surface div.product .summary {
  float: none;
  width: 100% !important;
  margin: 0;
}

.asa-product-surface div.product .woocommerce-product-gallery {
  justify-self: center;
  max-width: 560px;
  opacity: 1 !important;
}

.asa-product-surface .flex-viewport {
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(241, 245, 249, .92)),
    radial-gradient(circle at 25% 18%, rgba(4, 102, 200, .12), transparent 28%);
}

.asa-product-surface .flex-viewport .woocommerce-product-gallery__wrapper {
  width: 100% !important;
  min-height: 0;
  transform: none !important;
}

.asa-product-surface .flex-viewport .woocommerce-product-gallery__image {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
  display: none !important;
}

.asa-product-surface .flex-viewport .woocommerce-product-gallery__image.flex-active-slide,
.asa-product-surface .flex-viewport .woocommerce-product-gallery__image:first-child {
  display: block !important;
}

body.woocommerce-no-js .asa-product-surface .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
  display: none;
}

.asa-product-surface .woocommerce-product-gallery__wrapper {
  min-height: clamp(320px, 45vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(241, 245, 249, .92)),
    radial-gradient(circle at 25% 18%, rgba(4, 102, 200, .12), transparent 28%);
}

.asa-product-surface .woocommerce-product-gallery__image a {
  display: block;
}

.asa-product-surface .woocommerce-product-gallery__image img {
  width: 100%;
  max-height: 560px;
  height: clamp(320px, 44vw, 560px);
  object-fit: contain;
  padding: clamp(14px, 3vw, 34px);
}

.asa-product-surface .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px !important;
}

.asa-product-surface .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
}

.asa-product-surface .flex-control-thumbs img {
  border: 1px solid var(--asa-commerce-border);
  border-radius: 10px;
  background: #fff;
  opacity: .72;
  transition: opacity .18s ease, border-color .18s ease;
}

.asa-product-surface .flex-control-thumbs img.flex-active,
.asa-product-surface .flex-control-thumbs img:hover {
  border-color: var(--asa-commerce-blue);
  opacity: 1;
}

.asa-product-surface div.product .summary {
  align-self: center;
  justify-self: start;
  max-width: 460px;
  border-radius: 24px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, .86);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
  backdrop-filter: blur(14px);
}

.asa-product-surface .product_title {
  margin: 0 0 14px;
  color: #001233;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.asa-product-surface .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px !important;
}

.asa-product-surface .price {
  margin: 0 0 20px !important;
  color: #0466c8 !important;
  font-size: clamp(1.6rem, 3vw, 2.25rem) !important;
  font-weight: 900;
}

.asa-product-surface .price del {
  margin-right: 10px;
  color: #94a3b8;
  font-size: .72em;
  font-weight: 700;
}

.asa-product-surface .price ins {
  text-decoration: none;
}

.asa-product-surface .woocommerce-product-details__short-description {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 18px;
}

.asa-product-surface form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin: 26px 0 !important;
  border-top: 1px solid rgba(15, 23, 42, .08);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  padding: 18px 0;
}

.asa-product-surface .quantity .qty {
  width: 84px;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: #001233;
  font-weight: 900;
  text-align: center;
}

.asa-product-surface .single_add_to_cart_button {
  min-height: 52px;
  border-radius: 14px !important;
  padding: 0 28px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0466c8 0%, #0353a4 100%) !important;
  box-shadow: 0 14px 30px rgba(4, 102, 200, .22);
  font-size: .78rem !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.asa-product-surface .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #0353a4 0%, #023e7d 100%) !important;
  transform: translateY(-1px);
}

.asa-product-surface .variations {
  flex: 0 0 100%;
  margin-bottom: 10px !important;
}

.asa-product-surface .variations th,
.asa-product-surface .variations td {
  padding: 5px 5px 5px 0 !important;
}

.asa-product-surface .variations select {
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
}

.asa-product-surface .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: .76rem;
}

.asa-product-surface .product_meta > span {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  padding: 8px 11px;
  background: #f8fafc;
}

.asa-product-surface .woocommerce-tabs,
.asa-product-surface .related,
.asa-product-surface .upsells {
  grid-column: 1 / -1;
  margin-top: 22px;
  border-top: 1px solid rgba(15, 23, 42, .08);
  padding-top: 28px;
}

.asa-product-surface .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 0 0 24px !important;
  padding: 6px !important;
  border: 1px solid var(--asa-commerce-border);
  border-radius: 14px;
  background: #f8fafc;
}

.asa-product-surface .woocommerce-tabs ul.tabs::before,
.asa-product-surface .woocommerce-tabs ul.tabs li::before,
.asa-product-surface .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.asa-product-surface .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 !important;
  background: #eef6ff !important;
}

.asa-product-surface .woocommerce-tabs ul.tabs li a {
  padding: 11px 17px !important;
  color: #0353a4 !important;
  font-size: .76rem;
  font-weight: 900 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.asa-product-surface .woocommerce-tabs ul.tabs li.active {
  color: #fff !important;
  background: #001233 !important;
}

.asa-product-surface .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

.asa-product-surface .woocommerce-tabs .panel {
  margin: 0 !important;
  color: #475569;
  line-height: 1.75;
  border-radius: 20px;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, .72);
}

.asa-product-surface #reviews {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
}

.asa-product-surface #reviews #comments,
.asa-product-surface #reviews #review_form_wrapper {
  float: none;
  width: auto;
}

.asa-product-surface #review_form_wrapper {
  border: 1px solid var(--asa-commerce-border);
  border-radius: 20px;
  padding: 22px;
  background: #fff;
}

.asa-product-surface #review_form input:not([type="submit"]),
.asa-product-surface #review_form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px;
}

.asa-product-surface .commentlist {
  padding: 0 !important;
}

.asa-product-surface .commentlist li .comment_container {
  border-bottom: 1px solid var(--asa-commerce-border);
  padding-bottom: 18px;
}

.asa-product-surface .related > h2,
.asa-product-surface .upsells > h2,
.asa-product-surface .woocommerce-tabs h2 {
  color: #001233;
  font-size: 1.35rem;
  font-weight: 900;
}

.asa-product-surface .onsale {
  top: 18px !important;
  left: 18px !important;
  right: auto !important;
  z-index: 3;
  min-width: auto !important;
  min-height: auto !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.asa-product-surface .stock {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: #ecfdf5;
  color: #047857 !important;
  font-size: .76rem;
  font-weight: 900;
}

.asa-product-surface .out-of-stock {
  background: #fef2f2;
  color: #b91c1c !important;
}

.asa-product-surface .woocommerce-Reviews .comment-reply-title {
  display: block;
  margin-bottom: 12px;
  color: #001233;
  font-size: 1.05rem;
  font-weight: 900;
}

.asa-product-surface .stars a {
  color: #f59e0b;
}

.asa-product-surface ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.asa-product-surface ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 14px !important;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .055);
}

.asa-product-surface ul.products li.product img {
  border-radius: 14px;
  background: #f8fafc;
}

.asa-product-surface ul.products li.product .woocommerce-loop-product__title {
  color: #001233;
  font-size: .95rem;
  font-weight: 900;
}

.asa-product-surface ul.products li.product .button {
  border-radius: 12px;
  background: #0466c8;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}

.asa-woo-surface .woocommerce-notices-wrapper .woocommerce-message,
.asa-woo-surface .woocommerce-notices-wrapper .woocommerce-error,
.asa-product-surface .woocommerce-notices-wrapper .woocommerce-message,
.asa-product-surface .woocommerce-notices-wrapper .woocommerce-error {
  border-radius: 12px;
}

.asa-checkout-intro {
  margin-bottom: 24px;
  border-radius: 18px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.asa-checkout-intro h1 {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.asa-checkout-intro p {
  margin: 0;
  color: #cbd5e1;
}

.asa-woo-surface .woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 26px;
}

.asa-woo-surface .woocommerce-NoticeGroup,
.asa-woo-surface .woocommerce-form-coupon-toggle,
.asa-woo-surface .woocommerce-form-login-toggle,
.asa-woo-surface .woocommerce-form-coupon,
.asa-woo-surface .woocommerce-form-login {
  grid-column: 1 / -1;
}

.asa-woo-surface .woocommerce-billing-fields,
.asa-woo-surface .woocommerce-shipping-fields,
.asa-woo-surface .woocommerce-additional-fields,
.asa-woo-surface #order_review {
  border: 1px solid var(--asa-commerce-border);
  border-radius: 17px;
  padding: 22px;
  background: #fff;
}

.asa-woo-surface #order_review_heading {
  align-self: end;
  margin: 0;
  color: var(--asa-commerce-navy);
}

.asa-woo-surface .woocommerce-checkout-review-order-table {
  border: 0 !important;
}

.asa-woo-surface #payment {
  border-radius: 14px !important;
  background: #f1f5f9 !important;
}

.asa-woo-surface #place_order {
  width: 100%;
  min-height: 50px;
  font-weight: 850;
}

.asa-woo-surface .form-row label {
  color: #334155;
  font-size: .82rem;
  font-weight: 750;
}

.asa-woo-surface .select2-container .select2-selection--single {
  height: 46px;
  border-color: #cbd5e1;
  border-radius: 10px;
}

.asa-woo-surface .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
}

.asa-woo-surface .select2-container .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

.asa-checkout-trust {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  color: #64748b;
  font-size: .78rem;
}

.asa-checkout-trust span::before {
  content: "✓";
  margin-right: 5px;
  color: var(--asa-commerce-success);
  font-weight: 900;
}

/* WooCommerce Checkout Block */
.asa-woo-surface .wc-block-checkout {
  max-width: none;
}

.asa-woo-surface .wc-block-components-sidebar-layout {
  gap: 0;
}

.asa-woo-surface .wc-block-components-checkout-step,
.asa-woo-surface .wc-block-checkout__sidebar {
  border: 1px solid var(--asa-commerce-border);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}

@media (prefers-color-scheme: dark) {
  .dark .asa-account-card,
  .dark .asa-account-tabs,
  .dark .asa-woo-surface,
  .dark .asa-product-surface {
    border-color: #334155;
    color: #e2e8f0;
    background: #0f172a;
  }

  .dark .asa-card-heading h2,
  .dark .asa-section-title h2,
  .dark .asa-account-summary h2,
  .dark .asa-address-toolbar h2,
  .dark .asa-field,
  .dark .asa-field input,
  .dark .asa-field select,
  .dark .asa-product-surface .product_title,
  .dark .asa-product-surface .related > h2,
  .dark .asa-product-surface .woocommerce-tabs h2 {
    color: #e2e8f0;
  }

  .dark .asa-field input,
  .dark .asa-field select,
  .dark .asa-product-surface #review_form_wrapper {
    border-color: #475569;
    background: #111827;
  }

  .dark .asa-product-surface {
    background: transparent;
  }

  .dark .asa-product-surface div.product,
  .dark .asa-product-surface div.product .summary,
  .dark .asa-product-surface .woocommerce-tabs .panel {
    border-color: #334155;
    background: #0f172a;
  }
}

@media (max-width: 900px) {
  .asa-auth-grid,
  .asa-profile-layout,
  .asa-address-grid,
  .asa-security-grid,
  .asa-product-surface div.product,
  .asa-product-surface #reviews,
  .asa-woo-surface .woocommerce-checkout {
    grid-template-columns: 1fr;
  }

  .asa-product-surface .woocommerce-tabs,
  .asa-product-surface .related,
  .asa-product-surface .upsells {
    grid-column: 1;
  }

  .asa-payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asa-product-surface ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .asa-account-shell,
  .asa-woo-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 20px;
  }

  .asa-account-hero,
  .asa-member-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .asa-trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .asa-trust-list span {
    align-items: flex-start;
    flex-direction: column;
    font-size: .68rem;
  }

  .asa-account-card,
  .asa-woo-surface {
    padding: 18px;
  }

  .asa-product-surface {
    padding: 0;
  }

  .asa-product-surface div.product {
    border-radius: 22px;
    padding: 14px;
  }

  .asa-product-surface div.product .summary {
    padding: 18px;
  }

  .asa-product-surface .woocommerce-product-gallery__wrapper {
    min-height: 280px;
    border-radius: 18px;
  }

  .asa-product-surface form.cart {
    flex-direction: column;
  }

  .asa-product-surface .quantity .qty,
  .asa-product-surface .single_add_to_cart_button {
    width: 100%;
  }

  .asa-product-surface ul.products {
    grid-template-columns: 1fr;
  }

  .asa-form-grid,
  .asa-payment-grid {
    grid-template-columns: 1fr;
  }

  .asa-address-toolbar,
  .asa-form-between,
  .asa-button-row,
  .asa-checkout-trust {
    align-items: stretch;
    flex-direction: column;
  }

  .asa-password-rules {
    grid-template-columns: 1fr;
  }
}

/* Legacy ASA product detail design, adapted to native WooCommerce output. */
body.single-product .asa-product-surface {
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 32px);
  color: #1e293b;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

body.single-product .asa-product-surface div.product {
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(26px, 4vw, 54px);
}

body.single-product .asa-product-surface div.product .woocommerce-product-gallery {
  max-width: none;
  justify-self: stretch;
}

body.single-product .asa-product-surface .woocommerce-product-gallery__trigger {
  top: 18px !important;
  right: 18px !important;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .1);
}

body.single-product .asa-product-surface .flex-viewport,
body.single-product .asa-product-surface .woocommerce-product-gallery__wrapper {
  border: 0;
  border-radius: 28px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}

body.single-product .asa-product-surface .woocommerce-product-gallery__image a {
  display: grid;
  min-height: clamp(430px, 48vw, 620px);
  place-items: center;
}

body.single-product .asa-product-surface .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: clamp(430px, 48vw, 620px) !important;
  max-height: none;
  padding: clamp(12px, 2.5vw, 28px);
  border-radius: 28px;
  object-fit: contain !important;
  transition: transform .45s ease;
}

body.single-product .asa-product-surface .woocommerce-product-gallery__image:hover img {
  transform: scale(1.025);
}

body.single-product .asa-product-surface .flex-control-thumbs {
  grid-template-columns: repeat(6, minmax(0, 76px));
  justify-content: start;
  gap: 12px;
  margin-top: 14px !important;
}

body.single-product .asa-product-surface .flex-control-thumbs img {
  aspect-ratio: 1;
  width: 76px !important;
  height: 76px !important;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 5px;
  background: #f8fafc;
  object-fit: cover;
}

body.single-product .asa-product-surface .flex-control-thumbs img.flex-active,
body.single-product .asa-product-surface .flex-control-thumbs img:hover {
  border-color: #0466c8;
  box-shadow: 0 0 0 2px rgba(4, 102, 200, .12);
}

body.single-product .asa-product-surface div.product .summary {
  align-self: start;
  width: 100% !important;
  max-width: none;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 28px;
  padding: clamp(20px, 3vw, 30px);
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .055);
}

body.single-product .asa-product-surface .onsale {
  top: 18px !important;
  left: 18px !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  background: #0466c8 !important;
  box-shadow: 0 10px 22px rgba(4, 102, 200, .24);
  font-family: "Montserrat", ui-monospace, monospace;
  letter-spacing: .04em;
}

body.single-product .asa-product-surface .product_title {
  margin-bottom: 14px;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.06;
}

body.single-product .asa-product-surface .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px !important;
  color: #0f172a !important;
  font-family: "Montserrat", ui-monospace, monospace;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem) !important;
  font-weight: 900;
}

body.single-product .asa-product-surface .price del {
  margin: 0;
  color: #94a3b8;
  font-size: .6em;
  font-weight: 800;
  opacity: 1;
}

body.single-product .asa-product-surface .price ins {
  color: #0466c8;
}

body.single-product .asa-product-surface .woocommerce-product-details__short-description {
  margin-bottom: 22px;
  color: #64748b;
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.75;
}

body.single-product .asa-product-surface form.cart {
  align-items: center;
  gap: 14px;
  margin: 24px 0 !important;
  border-color: rgba(15, 23, 42, .08);
  padding: 18px 0;
}

body.single-product .asa-product-surface .quantity .qty {
  width: 86px;
  min-height: 48px;
  border-radius: 999px;
  background: #fff;
}

body.single-product .asa-product-surface .single_add_to_cart_button {
  min-height: 48px;
  border-radius: 999px !important;
  padding: 0 24px !important;
  background: #0466c8 !important;
  box-shadow: 0 10px 24px rgba(4, 102, 200, .2);
  font-size: .76rem !important;
}

body.single-product .asa-product-surface .single_add_to_cart_button:hover {
  background: #0353a4 !important;
}

body.single-product .asa-product-surface .product_meta {
  gap: 8px;
}

body.single-product .asa-product-surface .product_meta > span {
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: .76rem;
}

body.single-product .asa-product-surface .woocommerce-tabs,
body.single-product .asa-product-surface .related,
body.single-product .asa-product-surface .upsells {
  margin-top: 34px;
}

body.single-product .asa-product-surface .woocommerce-tabs ul.tabs {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
}

body.single-product .asa-product-surface .woocommerce-tabs ul.tabs li {
  border-radius: 999px !important;
  background: transparent !important;
}

body.single-product .asa-product-surface .woocommerce-tabs ul.tabs li a {
  color: #0466c8 !important;
}

body.single-product .asa-product-surface .woocommerce-tabs ul.tabs li.active {
  background: #001233 !important;
}

body.single-product .asa-product-surface .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

body.single-product .asa-product-surface .woocommerce-tabs .panel,
body.single-product .asa-product-surface #review_form_wrapper,
body.single-product .asa-product-surface ul.products li.product {
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .045);
}

@media (prefers-color-scheme: dark) {
  body.single-product .asa-product-surface,
  body.single-product .asa-product-surface div.product .summary,
  body.single-product .asa-product-surface .woocommerce-tabs .panel,
  body.single-product .asa-product-surface #review_form_wrapper,
  body.single-product .asa-product-surface ul.products li.product {
    border-color: rgba(255, 255, 255, .05);
    color: #e2e8f0;
    background: #0f172a;
  }

  body.single-product .asa-product-surface .flex-viewport,
  body.single-product .asa-product-surface .woocommerce-product-gallery__wrapper,
  body.single-product .asa-product-surface .flex-control-thumbs img,
  body.single-product .asa-product-surface .product_meta > span {
    border-color: rgba(255, 255, 255, .06);
    background: #020617;
  }

  body.single-product .asa-product-surface .product_title,
  body.single-product .asa-product-surface .price {
    color: #f8fafc !important;
  }
}

@media (max-width: 900px) {
  body.single-product .asa-product-surface div.product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.single-product .asa-woo-shell {
    width: min(100% - 20px, 1480px);
    padding-top: 22px;
  }

  body.single-product .asa-product-surface {
    padding: 14px;
    border-radius: 22px;
  }

  body.single-product .asa-product-surface .woocommerce-product-gallery__image a,
  body.single-product .asa-product-surface .woocommerce-product-gallery__image img {
    min-height: 360px;
    height: 360px !important;
  }

  body.single-product .asa-product-surface .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 68px));
  }

  body.single-product .asa-product-surface .flex-control-thumbs img {
    width: 68px !important;
    height: 68px !important;
  }

  body.single-product .asa-product-surface form.cart {
    align-items: stretch;
  }
}

body.single-product:not(.dark) .asa-product-surface,
body.single-product:not(.dark) .asa-product-surface div.product .summary,
body.single-product:not(.dark) .asa-product-surface .woocommerce-tabs .panel,
body.single-product:not(.dark) .asa-product-surface #review_form_wrapper,
body.single-product:not(.dark) .asa-product-surface ul.products li.product {
  border-color: rgba(15, 23, 42, .06);
  color: #1e293b;
  background: #fff;
}

body.single-product:not(.dark) .asa-product-surface .flex-viewport,
body.single-product:not(.dark) .asa-product-surface .woocommerce-product-gallery__wrapper,
body.single-product:not(.dark) .asa-product-surface .flex-control-thumbs img,
body.single-product:not(.dark) .asa-product-surface .product_meta > span {
  background: #f8fafc;
}

body.single-product:not(.dark) .asa-product-surface .product_title,
body.single-product:not(.dark) .asa-product-surface .price {
  color: #0f172a !important;
}

/* Native WooCommerce data inside ASA's original product detail composition. */
body.single-product .asa-product-detail {
  display: block !important;
}

body.single-product .asa-product-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

body.single-product .asa-product-detail__media,
body.single-product .asa-product-detail__summary,
body.single-product .asa-product-detail__content {
  position: relative;
  border: 1px solid rgba(15, 23, 42, .06);
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
}

body.single-product .asa-product-detail__media {
  overflow: visible;
  border-radius: 32px;
  padding: clamp(14px, 2vw, 26px);
}

body.single-product .asa-product-detail__summary {
  border-radius: 32px;
  padding: clamp(26px, 4vw, 44px);
}

body.single-product .asa-product-detail__content {
  margin-top: clamp(26px, 4vw, 44px);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 30px);
}

body.single-product .asa-product-detail .onsale {
  top: 28px !important;
  left: 28px !important;
  z-index: 8;
  border-radius: 999px !important;
  padding: 8px 13px !important;
  background: #0466c8 !important;
  box-shadow: 0 10px 24px rgba(4, 102, 200, .24);
  color: #fff !important;
  font-family: "Montserrat", ui-monospace, monospace;
  font-size: .72rem !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
  line-height: 1 !important;
}

body.single-product .asa-product-detail .woocommerce-product-gallery,
body.single-product .asa-product-detail .summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.single-product .asa-product-detail .woocommerce-product-gallery {
  opacity: 1 !important;
}

body.single-product .asa-product-detail .woocommerce-product-gallery__trigger {
  top: 18px !important;
  right: 18px !important;
  z-index: 9;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

body.single-product .asa-product-detail .flex-viewport,
body.single-product .asa-product-detail .woocommerce-product-gallery__wrapper {
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 28px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}

body.single-product .asa-product-detail .flex-viewport .woocommerce-product-gallery__wrapper {
  transform: none !important;
}

body.single-product .asa-product-detail .flex-viewport .woocommerce-product-gallery__image {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  display: none !important;
}

body.single-product .asa-product-detail .flex-viewport .woocommerce-product-gallery__image.flex-active-slide,
body.single-product .asa-product-detail .flex-viewport .woocommerce-product-gallery__image:first-child,
body.woocommerce-no-js.single-product .asa-product-detail .woocommerce-product-gallery__image:first-child {
  display: block !important;
}

body.single-product .asa-product-detail .woocommerce-product-gallery__image a {
  display: grid;
  min-height: clamp(450px, 49vw, 650px);
  place-items: center;
}

body.single-product .asa-product-detail .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: clamp(450px, 49vw, 650px) !important;
  max-height: none !important;
  padding: clamp(12px, 2vw, 28px);
  border-radius: 28px;
  object-fit: contain !important;
}

body.single-product .asa-product-detail .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 78px));
  gap: 12px;
  margin: 14px 0 0 !important;
  padding: 0 !important;
}

body.single-product .asa-product-detail .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
}

body.single-product .asa-product-detail .flex-control-thumbs img {
  width: 78px !important;
  height: 78px !important;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 5px;
  background: #f8fafc;
  object-fit: cover;
  opacity: .72;
}

body.single-product .asa-product-detail .flex-control-thumbs img.flex-active,
body.single-product .asa-product-detail .flex-control-thumbs img:hover {
  border-color: #0466c8;
  box-shadow: 0 0 0 2px rgba(4, 102, 200, .12);
  opacity: 1;
}

body.single-product .asa-product-detail .product_title {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

body.single-product .asa-product-detail .woocommerce-product-rating {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 14px !important;
}

body.single-product .asa-product-detail .price {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  margin: 0 0 22px !important;
  color: #0f172a !important;
  font-family: "Montserrat", ui-monospace, monospace;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem) !important;
  font-weight: 900;
}

body.single-product .asa-product-detail .price del {
  margin: 0;
  color: #94a3b8;
  font-size: .58em;
  font-weight: 800;
  opacity: 1;
}

body.single-product .asa-product-detail .price ins {
  color: #0466c8;
  text-decoration: none;
}

body.single-product .asa-product-detail .woocommerce-product-details__short-description {
  margin: 0 0 24px;
  color: #64748b;
  font-size: .94rem;
  line-height: 1.75;
}

body.single-product .asa-product-detail__purchase {
  margin: 24px 0 22px;
  border-top: 1px solid rgba(15, 23, 42, .08);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  padding: 18px 0;
}

body.single-product .asa-product-detail__purchase form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 0 !important;
  border: 0;
  padding: 0;
}

body.single-product .asa-product-detail .quantity .qty {
  width: 88px;
  min-height: 50px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-weight: 900;
  text-align: center;
}

body.single-product .asa-product-detail .single_add_to_cart_button {
  min-height: 50px;
  border-radius: 999px !important;
  padding: 0 28px !important;
  background: #0466c8 !important;
  box-shadow: 0 10px 24px rgba(4, 102, 200, .2);
  color: #fff !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body.single-product .asa-product-detail .single_add_to_cart_button:hover {
  background: #0353a4 !important;
}

body.single-product .asa-product-detail .variations {
  flex: 0 0 100%;
  margin: 0 0 12px !important;
}

body.single-product .asa-product-detail .variations select {
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
}

body.single-product .asa-product-detail .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #64748b;
  font-size: .76rem;
}

body.single-product .asa-product-detail .product_meta > span {
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 999px;
  padding: 9px 12px;
  background: #f8fafc;
}

body.single-product .asa-product-detail__content .woocommerce-tabs,
body.single-product .asa-product-detail__content .related,
body.single-product .asa-product-detail__content .upsells {
  margin-top: 0;
  border: 0;
  padding-top: 0;
}

body.single-product .asa-product-detail__content .related,
body.single-product .asa-product-detail__content .upsells {
  margin-top: 28px;
}

body.single-product .asa-product-detail .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 22px !important;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 6px !important;
  background: #f8fafc;
}

body.single-product .asa-product-detail .woocommerce-tabs ul.tabs::before,
body.single-product .asa-product-detail .woocommerce-tabs ul.tabs li::before,
body.single-product .asa-product-detail .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.single-product .asa-product-detail .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 !important;
  background: transparent !important;
}

body.single-product .asa-product-detail .woocommerce-tabs ul.tabs li a {
  padding: 11px 17px !important;
  color: #0466c8 !important;
  font-size: .76rem;
  font-weight: 900 !important;
  letter-spacing: .03em;
  text-transform: uppercase;
}

body.single-product .asa-product-detail .woocommerce-tabs ul.tabs li.active {
  background: #001233 !important;
}

body.single-product .asa-product-detail .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

body.single-product .asa-product-detail .woocommerce-tabs .panel {
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #475569;
  line-height: 1.75;
}

body.single-product .asa-product-detail #reviews {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
}

body.single-product .asa-product-detail #reviews #comments,
body.single-product .asa-product-detail #reviews #review_form_wrapper {
  float: none;
  width: auto;
}

body.single-product .asa-product-detail #review_form_wrapper {
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 22px;
  padding: 22px;
  background: #f8fafc;
}

@media (prefers-color-scheme: dark) {
  body.single-product.dark .asa-product-detail__media,
  body.single-product.dark .asa-product-detail__summary,
  body.single-product.dark .asa-product-detail__content {
    border-color: rgba(255, 255, 255, .05);
    color: #e2e8f0;
    background: #0f172a;
  }

  body.single-product.dark .asa-product-detail .flex-viewport,
  body.single-product.dark .asa-product-detail .woocommerce-product-gallery__wrapper,
  body.single-product.dark .asa-product-detail .flex-control-thumbs img,
  body.single-product.dark .asa-product-detail .product_meta > span,
  body.single-product.dark .asa-product-detail #review_form_wrapper {
    border-color: rgba(255, 255, 255, .06);
    background: #020617;
  }

  body.single-product.dark .asa-product-detail .product_title,
  body.single-product.dark .asa-product-detail .price {
    color: #f8fafc !important;
  }
}

@media (max-width: 900px) {
  body.single-product .asa-product-detail__hero,
  body.single-product .asa-product-detail #reviews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.single-product .asa-product-detail__media,
  body.single-product .asa-product-detail__summary,
  body.single-product .asa-product-detail__content {
    border-radius: 24px;
  }

  body.single-product .asa-product-detail__media {
    padding: 12px;
  }

  body.single-product .asa-product-detail__summary,
  body.single-product .asa-product-detail__content {
    padding: 20px;
  }

  body.single-product .asa-product-detail .woocommerce-product-gallery__image a,
  body.single-product .asa-product-detail .woocommerce-product-gallery__image img {
    min-height: 360px;
    height: 360px !important;
  }

  body.single-product .asa-product-detail .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 68px));
  }

  body.single-product .asa-product-detail .flex-control-thumbs img {
    width: 68px !important;
    height: 68px !important;
  }

  body.single-product .asa-product-detail__purchase form.cart {
    align-items: stretch;
    flex-direction: column;
  }

  body.single-product .asa-product-detail .quantity .qty,
  body.single-product .asa-product-detail .single_add_to_cart_button {
    width: 100%;
  }
}

body.single-product .asa-product-surface {
  overflow-x: hidden;
}

body.single-product .asa-product-detail,
body.single-product .asa-product-detail__hero,
body.single-product .asa-product-detail__media,
body.single-product .asa-product-detail__summary,
body.single-product .asa-product-detail__content {
  box-sizing: border-box;
  min-width: 0;
}

body.single-product .asa-product-detail__media .woocommerce-product-gallery,
body.single-product .asa-product-detail__media .woocommerce-product-gallery__wrapper,
body.single-product .asa-product-detail__media .woocommerce-product-gallery__image {
  max-width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 620px) {
  body.single-product .asa-product-detail {
    overflow: hidden;
  }

  body.single-product .asa-product-detail__hero,
  body.single-product .asa-product-detail__media,
  body.single-product .asa-product-detail__summary,
  body.single-product .asa-product-detail__content {
    width: 100%;
    max-width: 100%;
  }

  body.single-product .asa-product-detail__media {
    padding: 14px;
  }

  body.single-product .asa-product-detail__media .woocommerce-product-gallery__image a {
    min-height: 320px;
  }

  body.single-product .asa-product-detail__purchase form.cart {
    flex-direction: column;
  }
}

/* ASA live storefront product detail clone */
body.single-product {
  background: #f3f2f1;
}

body.single-product .asa-woo-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.single-product .asa-product-surface {
  max-width: none;
  margin: 0;
  padding: 0 22px 56px;
  border-radius: 0;
  box-shadow: none;
  background: #f3f2f1;
  overflow-x: hidden;
}

body.single-product .asa-live-product {
  --asa-live-blue: #006bdc;
  --asa-live-navy: #00061a;
  --asa-live-muted: #8aa0bc;
  --asa-live-border: #e6e8ec;
  --asa-live-card: #ffffff;
  width: 100%;
  max-width: none;
  color: var(--asa-live-navy);
  font-family: Inter, "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.single-product .asa-live-product__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  margin: 0 -22px 28px;
  padding: 0 22px;
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
  background: #f7f7f6;
}

body.single-product .asa-live-product__back,
body.single-product .asa-live-product__crumbs,
body.single-product .asa-live-product__crumbs a {
  color: var(--asa-live-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

body.single-product .asa-live-product__crumbs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 65%;
  color: #9aabc4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.single-product .asa-live-product__crumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

body.single-product .asa-live-product__hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

body.single-product .asa-live-product__gallery-column,
body.single-product .asa-live-product__summary {
  min-width: 0;
}

body.single-product .asa-live-product__gallery-card {
  position: relative;
  min-height: 680px;
  padding: 0;
  border: 1px solid var(--asa-live-border);
  border-radius: 0 24px 24px 24px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .08);
  overflow: hidden;
}

body.single-product .asa-live-product__gallery-card .onsale {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 7px 13px;
  border-radius: 999px;
  background: #00b6e8;
  color: #fff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

body.single-product .asa-live-product .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  opacity: 1 !important;
}

body.single-product .asa-live-product .woocommerce-product-gallery__trigger {
  top: 18px !important;
  right: 18px !important;
  z-index: 4;
  border: 1px solid #e7eef8;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
}

body.single-product .asa-live-product .flex-viewport,
body.single-product .asa-live-product .woocommerce-product-gallery__wrapper {
  min-height: 680px;
  border: 0;
  background: #fff;
}

body.single-product .asa-live-product .woocommerce-product-gallery__image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 680px;
  padding: 20px;
}

body.single-product .asa-live-product .flex-viewport .woocommerce-product-gallery__image {
  display: none !important;
}

body.single-product .asa-live-product .flex-viewport .woocommerce-product-gallery__image.flex-active-slide {
  display: flex !important;
}

body.single-product .asa-live-product .woocommerce-product-gallery__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 640px;
}

body.single-product .asa-live-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  max-width: 100% !important;
  height: 640px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-product .asa-live-product .flex-control-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84px;
  gap: 12px;
  margin: 20px 0 18px !important;
  padding: 0 0 8px !important;
  overflow-x: auto;
  scrollbar-color: #bfd4eb transparent;
}

body.single-product .asa-live-product .flex-control-thumbs li {
  float: none !important;
  width: 84px !important;
  list-style: none;
}

body.single-product .asa-live-product .flex-control-thumbs img {
  width: 84px !important;
  height: 68px !important;
  padding: 6px;
  border: 1px solid #e5edf5;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  opacity: 1 !important;
}

/* Shared runtime: contact requests, attribution, drawers and real assistant. */
.asa-support-status {
  margin: 12px 0 0;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}

.asa-support-status:empty {
  display: none;
}

.asa-support-status.is-success {
  border: 1px solid #a7f3d0;
  color: #047857;
  background: #ecfdf5;
}

.asa-support-status.is-error {
  border: 1px solid #fecaca;
  color: #b42318;
  background: #fff1f2;
}

.asa-designed-by a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.asa-designed-by a:hover {
  color: #38bdf8;
}

.asa-drawer-overlay {
  animation: asa-drawer-overlay-in .24s ease-out both;
}

.asa-drawer-backdrop {
  animation: asa-drawer-fade-in .24s ease-out both;
}

.asa-drawer-panel {
  will-change: transform, opacity;
}

.asa-drawer-panel--left {
  animation: asa-drawer-slide-in-left .38s cubic-bezier(.22, 1, .36, 1) both;
}

.asa-drawer-panel--right {
  animation: asa-drawer-slide-in-right .38s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes asa-drawer-overlay-in {
  from { visibility: hidden; }
  to { visibility: visible; }
}

@keyframes asa-drawer-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes asa-drawer-slide-in-left {
  from { opacity: .2; transform: translate3d(-105%, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes asa-drawer-slide-in-right {
  from { opacity: .2; transform: translate3d(105%, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.asa-real-assistant {
  position: fixed;
  z-index: 10020;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.asa-real-assistant__toggle {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #001845, #0466c8 65%, #06b6d4);
  box-shadow: 0 18px 46px rgba(4, 102, 200, .38);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.asa-real-assistant__toggle:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 20px 52px rgba(4, 102, 200, .52);
}

.asa-real-assistant__toggle span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.asa-real-assistant__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(420px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 118px));
  overflow: hidden;
  border: 1px solid #dfe6ee;
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 28px 80px rgba(0, 24, 69, .24);
  animation: asa-assistant-in .3s cubic-bezier(.22, 1, .36, 1) both;
  backdrop-filter: blur(18px);
}

.asa-real-assistant__panel[hidden] {
  display: none;
}

@keyframes asa-assistant-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.asa-real-assistant__panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  color: #fff;
  background: #001845;
}

.asa-real-assistant__panel > header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.asa-real-assistant__panel > header b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #0466c8;
  font-size: 10px;
}

.asa-real-assistant__panel > header span {
  display: grid;
  gap: 2px;
}

.asa-real-assistant__panel > header strong {
  font-size: 12px;
}

.asa-real-assistant__panel > header small {
  color: #a8b8cf;
  font-size: 9px;
}

.asa-real-assistant__panel > header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 22px;
  cursor: pointer;
}

.asa-real-assistant__messages {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #f6f8fb;
}

.asa-real-assistant__messages > p,
.asa-real-assistant__messages > div > p {
  width: fit-content;
  max-width: 86%;
  margin: 0;
  border: 1px solid #e6eaf0;
  border-radius: 16px 16px 16px 4px;
  padding: 10px 12px;
  color: #344054;
  background: #fff;
  font-size: 11px;
  line-height: 1.6;
}

.asa-real-assistant__messages .is-user {
  display: flex;
  justify-content: flex-end;
}

.asa-real-assistant__messages .is-user p {
  border-color: #001845;
  border-radius: 16px 16px 4px;
  color: #fff;
  background: #001845;
}

.asa-real-assistant__messages .is-loading {
  opacity: .65;
}

.asa-real-assistant__messages a {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 86%;
  margin-top: 7px;
  border: 1px solid #dce7f3;
  border-radius: 13px;
  padding: 8px;
  color: #001845;
  background: #fff;
  text-decoration: none;
}

.asa-real-assistant__messages a img {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  object-fit: contain;
}

.asa-real-assistant__messages a span,
.asa-real-assistant__messages a strong,
.asa-real-assistant__messages a small {
  display: block;
}

.asa-real-assistant__messages a strong {
  font-size: 10px;
}

.asa-real-assistant__messages a small {
  margin-top: 3px;
  color: #0466c8;
  font-size: 9px;
  font-weight: 800;
}

.asa-real-assistant__messages a.asa-real-assistant__resource {
  justify-content: space-between;
  width: min(100%, 285px);
  max-width: 100%;
  padding: 10px 12px;
  border-color: #cfdef0;
  background: linear-gradient(135deg, #fff, #f3f8fd);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.asa-real-assistant__messages a.asa-real-assistant__resource:hover {
  border-color: #0466c8;
  box-shadow: 0 7px 18px rgba(4, 102, 200, .1);
  transform: translateY(-1px);
}

.asa-real-assistant__resource > span {
  min-width: 0;
}

.asa-real-assistant__messages .asa-real-assistant__resource strong {
  color: #001845;
  font-size: 10px;
}

.asa-real-assistant__messages .asa-real-assistant__resource small {
  color: #7185a1;
  font-weight: 600;
}

.asa-real-assistant__resource > b {
  flex: 0 0 auto;
  color: #0466c8;
  font-size: 17px;
}

.asa-real-assistant__quick {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 12px;
  border-top: 1px solid #edf0f4;
  background: #fff;
}

.asa-real-assistant__quick button {
  flex: 0 0 auto;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
  padding: 7px 9px;
  color: #0466c8;
  background: #f4f9ff;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.asa-real-assistant__panel > form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #edf0f4;
  background: #fff;
}

.asa-real-assistant__panel > form input {
  min-width: 0;
  height: 39px;
  border: 1px solid #e1e7ef;
  border-radius: 999px;
  outline: 0;
  padding: 0 14px;
  color: #172033;
  background: #f7f8fa;
  font-size: 11px;
}

.asa-real-assistant__panel > form button {
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  color: #fff;
  background: #001845;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

/* Product information and gallery share the active storefront theme. */
.dark .asa-lightbox {
  background: rgba(2, 6, 23, .86);
}

.dark .asa-lightbox__panel {
  border-color: rgba(56, 189, 248, .2);
  background: #0f172a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.dark .asa-lightbox__header,
.dark .asa-lightbox__footer {
  border-color: rgba(255, 255, 255, .08);
  background: #111c31;
}

.dark .asa-lightbox__title strong,
.dark .asa-lightbox__close,
.dark .asa-lightbox__toolbar button {
  color: #f8fafc;
}

.dark .asa-lightbox__close,
.dark .asa-lightbox__toolbar button {
  border-color: rgba(255, 255, 255, .12);
  background: #1e293b;
}

.dark .asa-lightbox__viewport {
  background: #0b1220;
}

.dark .asa-lightbox__canvas,
.dark .asa-lightbox__thumbnails button {
  border-color: rgba(255, 255, 255, .1);
  background: #111827;
}

.dark .asa-lightbox__toolbar > span {
  color: #a5b4c8;
}

.dark .asa-product-details {
  color: #e5edf7;
}

.dark .asa-product-details__nav {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(15, 23, 42, .94);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .2);
}

.dark .asa-product-assurances article,
.dark .asa-product-panel {
  border-color: rgba(255, 255, 255, .08);
  background: #111827;
  box-shadow: none;
}

.asa-product-panel--information {
  position: relative;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dark .asa-product-panel--information {
  border: 0;
  background: transparent;
}

.dark .asa-product-panel__heading h2,
.dark .asa-product-assurances strong,
.dark .asa-product-spec dd,
.dark .asa-return-grid strong,
.dark .asa-return-exceptions summary,
.dark .asa-product-rating > strong,
.dark .asa-review-card header strong,
.dark .asa-review-write h3 {
  color: #f8fafc;
}

.dark .asa-product-panel__heading p,
.dark .asa-product-assurances p,
.dark .asa-product-copy,
.dark .asa-product-description,
.dark .asa-return-grid p,
.dark .asa-return-exceptions p,
.dark .asa-review-card p {
  color: #a5b4c8;
}

.dark .asa-product-lead {
  color: #dbeafe;
  background: rgba(4, 102, 200, .16);
}

.dark .asa-product-specs,
.dark .asa-return-grid section,
.dark .asa-return-exceptions,
.dark .asa-product-rating,
.dark .asa-review-card,
.dark .asa-review-empty,
.dark .asa-review-notice {
  border-color: rgba(255, 255, 255, .09);
  background: #0f172a;
}

.dark .asa-product-spec,
.dark .asa-product-taxonomies,
.dark .asa-review-write {
  border-color: rgba(255, 255, 255, .07);
}

.dark .asa-product-spec:nth-child(even),
.dark .asa-product-specs--attributes .asa-product-spec:nth-child(even),
.dark .asa-product-specs--attributes .asa-product-spec:nth-child(4n + 2),
.dark .asa-product-specs--attributes .asa-product-spec:nth-child(4n + 3) {
  background: rgba(255, 255, 255, .025);
}

.dark .asa-product-chips a {
  border-color: rgba(56, 189, 248, .2);
  color: #7dd3fc;
  background: rgba(14, 165, 233, .08);
}

.dark .asa-review-form input:not([type="radio"]),
.dark .asa-review-form textarea {
  border-color: rgba(255, 255, 255, .1);
  color: #f8fafc;
  background: #0b1220;
}

.asa-review-media {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.asa-review-media img,
.asa-review-media video,
.asa-review-media-preview img,
.asa-review-media-preview video {
  width: 92px;
  height: 92px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  object-fit: cover;
  background: #f8fafc;
}

.asa-review-media-upload {
  border: 1px dashed #cfd9e5;
  border-radius: 13px;
  padding: 13px;
  background: #fafcfe;
}

.asa-review-media-upload input {
  height: auto !important;
  padding: 9px !important;
  background: #fff !important;
}

.asa-review-media-upload span {
  color: #8794a7;
  font-size: 9px;
  font-weight: 500;
}

.asa-review-media-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dark .asa-review-media-upload {
  border-color: rgba(255, 255, 255, .12);
  background: #0f172a;
}

.dark .asa-review-media-upload input {
  color: #e5edf7 !important;
  background: #0b1220 !important;
}

.dark .asa-review-media img,
.dark .asa-review-media video,
.dark .asa-review-media-preview img,
.dark .asa-review-media-preview video {
  border-color: rgba(255, 255, 255, .1);
  background: #0b1220;
}

.dark .asa-real-assistant__panel {
  border-color: rgba(255, 255, 255, .1);
  background: #0f172a;
}

.dark .asa-real-assistant__messages {
  background: #0b1220;
}

.dark .asa-real-assistant__messages > p,
.dark .asa-real-assistant__messages > div > p,
.dark .asa-real-assistant__messages a,
.dark .asa-real-assistant__quick,
.dark .asa-real-assistant__panel > form {
  border-color: rgba(255, 255, 255, .08);
  color: #e5edf7;
  background: #111827;
}

.dark .asa-real-assistant__panel > form input {
  border-color: rgba(255, 255, 255, .1);
  color: #fff;
  background: #0b1220;
}

@media (max-width: 640px) {
  .asa-real-assistant {
    right: 12px;
    bottom: 12px;
  }

  .asa-real-assistant__panel {
    width: calc(100vw - 24px);
    height: min(650px, calc(100vh - 92px));
  }

  .asa-review-media img,
  .asa-review-media video,
  .asa-review-media-preview img,
  .asa-review-media-preview video {
    width: 76px;
    height: 76px;
  }
}

body.single-product .asa-live-product .flex-control-thumbs img.flex-active {
  border-color: #00b6e8;
  box-shadow: 0 0 0 2px rgba(0, 182, 232, .16);
}

body.single-product .asa-live-product__tone-card,
body.single-product .asa-live-product__assurance,
body.single-product .asa-live-product__tabs,
body.single-product .asa-live-product__related {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--asa-live-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, .04);
}

body.single-product .asa-live-product__tone-card h3,
body.single-product .asa-live-product__section-head span {
  margin: 0 0 16px;
  color: var(--asa-live-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.single-product .asa-live-product__tone-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.single-product .asa-live-product__tone-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #dfe6f0;
  border-radius: 12px;
  background: #f9fafc;
  color: #54647a;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

body.single-product .asa-live-product__tone-options .is-active {
  border-color: var(--asa-live-blue);
  background: var(--asa-live-blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 107, 220, .22);
}

body.single-product .asa-live-product__summary {
  padding-top: 24px;
}

body.single-product .asa-live-product__category {
  margin-bottom: 6px;
  color: var(--asa-live-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.single-product .asa-live-product .product_title {
  margin: 0 0 14px !important;
  color: #020719 !important;
  font-size: clamp(30px, 3vw, 46px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -.045em;
}

body.single-product .asa-live-product__rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #8091ab;
  font-size: 13px;
  font-weight: 700;
}

body.single-product .asa-live-product__rating-row a {
  color: #8aa0bc;
  text-decoration: none;
}

body.single-product .asa-live-product__stars {
  color: #ff9800;
  font-size: 18px;
  letter-spacing: -1px;
}

body.single-product .asa-live-product__excerpt {
  margin-bottom: 18px;
  padding: 17px 18px;
  border-radius: 14px;
  background: #fff;
  color: #607087;
  font-size: 14px;
  line-height: 1.6;
}

body.single-product .asa-live-product__excerpt p {
  margin: 0;
}

body.single-product .asa-live-product__buy-card {
  padding: 26px;
  border: 1px solid #e7e8ec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .09);
}

body.single-product .asa-live-product__buy-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

body.single-product .asa-live-product__buy-head span,
body.single-product .asa-live-product__stock span {
  display: block;
  margin-bottom: 5px;
  color: #91a3bd;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.single-product .asa-live-product .price {
  display: flex !important;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 !important;
  color: #020719 !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.single-product .asa-live-product .price del {
  color: #a2aabc !important;
  font-size: 18px;
  font-weight: 900;
  opacity: 1 !important;
}

body.single-product .asa-live-product .price ins {
  color: #020719 !important;
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

body.single-product .asa-live-product__stock {
  text-align: right;
}

body.single-product .asa-live-product__stock strong {
  color: #00a66a;
  font-size: 14px;
  font-weight: 900;
}

body.single-product .asa-live-product__stock.is-out-of-stock strong {
  color: #dc2626;
}

body.single-product .asa-live-product__cart-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.single-product .asa-live-product__cart-row form.cart {
  display: flex !important;
  flex: 1 1 auto;
  gap: 12px;
  margin: 0 !important;
}

body.single-product .asa-live-product__cart-row form.variations_form,
body.single-product .asa-live-product__cart-row form.grouped_form {
  display: block !important;
  width: 100%;
}

body.single-product .asa-live-product__cart-row .variations {
  width: 100%;
  margin: 0 0 16px !important;
}

body.single-product .asa-live-product__cart-row .variations th,
body.single-product .asa-live-product__cart-row .variations td {
  padding: 6px 0 !important;
  text-align: left;
}

body.single-product .asa-live-product__cart-row .variations select {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #dfe6f0;
  border-radius: 10px;
  background: #fff;
}

body.single-product .asa-live-product__cart-row .woocommerce-variation-add-to-cart {
  display: flex;
  width: 100%;
}

body.single-product .asa-live-product__cart-row .quantity {
  display: none !important;
}

body.single-product .asa-live-product__cart-row .single_add_to_cart_button {
  width: 100%;
  min-height: 50px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #020719 !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(2, 7, 25, .18);
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: -.01em;
  text-transform: none;
}

body.single-product .asa-live-product__cart-row .single_add_to_cart_button::before {
  content: "🛒";
  margin-right: 8px;
  opacity: .75;
}

body.single-product .asa-live-product__wishlist {
  flex: 0 0 58px;
  width: 58px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #eef3f9;
  color: #183152;
  cursor: pointer;
  font-size: 29px;
  line-height: 1;
}

body.single-product .asa-live-product__wishlist.is-active {
  background: #ffe8ee;
  color: #e11d48;
}

body.single-product .asa-live-product__wishlist:disabled {
  cursor: wait;
  opacity: .6;
}

body.single-product .asa-live-product__action-status {
  min-height: 18px;
  margin: 10px 4px 0;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
}

body.single-product .asa-live-product__action-status:empty {
  display: none;
}

body.single-product .asa-live-product__action-status.is-error {
  color: #dc2626;
}

body.single-product .asa-live-product__compare-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #b8def8;
  border-radius: 16px;
  background: #eaf6fb;
}

body.single-product .asa-live-product__compare-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.single-product .asa-live-product__compare-card p {
  margin: 0 0 16px;
  color: #7890ad;
  font-size: 13px;
}

body.single-product .asa-live-product__compare-card button {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d2d9e2;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.single-product .asa-live-product__compare-card button.is-active {
  border-color: #0369a1;
  background: #0369a1;
  color: #fff;
}

body.single-product .asa-live-product__meta {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #e7edf5;
  border-radius: 14px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  line-height: 1.8;
}

body.single-product .asa-live-product__meta a {
  color: var(--asa-live-blue);
  text-decoration: none;
}

body.single-product .asa-live-product__assurance,
body.single-product .asa-live-product__tabs,
body.single-product .asa-live-product__related {
  margin-top: 34px;
}

body.single-product .asa-live-product__section-head p,
body.single-product .asa-live-product__section-head h2 {
  margin: 0;
}

body.single-product .asa-live-product__section-head p {
  color: #8aa0bc;
  font-size: 13px;
}

body.single-product .asa-live-product__section-head h2 {
  color: #020719;
  font-size: 20px;
  font-weight: 900;
}

body.single-product .asa-live-product__assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

body.single-product .asa-live-product__assurance-card {
  min-height: 82px;
  padding: 18px;
  border: 1px solid #dce6f2;
  border-radius: 12px;
}

body.single-product .asa-live-product__assurance-card strong {
  display: block;
  margin-bottom: 8px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 900;
}

body.single-product .asa-live-product__assurance-card p {
  margin: 0;
  color: #8798ad;
  font-size: 12px;
  line-height: 1.5;
}

body.single-product .asa-live-product__assurance-card.is-green {
  border-color: #bfebdd;
  background: #effdf7;
}

body.single-product .asa-live-product__assurance-card.is-blue {
  border-color: #cfe0f8;
  background: #eff6ff;
}

body.single-product .asa-live-product__assurance-card.is-orange {
  border-color: #f8ddbd;
  background: #fff8ed;
}

body.single-product .asa-live-product__assurance-card.is-cyan {
  border-color: #bfeefa;
  background: #ecfbff;
}

body.single-product .asa-live-product__tabs .woocommerce-tabs {
  margin: 0 !important;
}

body.single-product .asa-live-product__tabs .woocommerce-tabs ul.tabs {
  margin: 0 0 24px !important;
  padding: 0 !important;
  border-bottom: 1px solid #edf0f4;
}

body.single-product .asa-live-product__tabs .woocommerce-tabs ul.tabs::before,
body.single-product .asa-live-product__tabs .woocommerce-tabs ul.tabs li::before,
body.single-product .asa-live-product__tabs .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.single-product .asa-live-product__tabs .woocommerce-tabs ul.tabs li {
  margin: 0 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
}

body.single-product .asa-live-product__tabs .woocommerce-tabs ul.tabs li a {
  padding: 10px 18px !important;
  color: var(--asa-live-blue) !important;
  font-size: 12px;
  font-weight: 900 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.single-product .asa-live-product__tabs .woocommerce-tabs ul.tabs li.active a {
  border-radius: 999px;
  background: #020719;
  color: #fff !important;
}

body.single-product .asa-live-product__related .products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px !important;
}

body.single-product .asa-live-product__related .products::before,
body.single-product .asa-live-product__related .products::after {
  display: none !important;
}

body.single-product .asa-live-product__related .products .product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  background: #fff;
}

@media (max-width: 1100px) {
  body.single-product .asa-live-product__hero {
    grid-template-columns: 1fr;
  }

  body.single-product .asa-live-product__assurance-grid,
  body.single-product .asa-live-product__related .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.single-product .asa-product-surface {
    padding: 0 10px 40px;
  }

  body.single-product .asa-live-product__nav {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 -10px 20px;
    padding: 14px 16px;
  }

  body.single-product .asa-live-product__crumbs {
    max-width: 100%;
    justify-content: flex-start;
  }

  body.single-product .asa-live-product__hero {
    gap: 22px;
  }

  body.single-product .asa-live-product__gallery-card,
  body.single-product .asa-live-product .flex-viewport,
  body.single-product .asa-live-product .woocommerce-product-gallery__wrapper,
  body.single-product .asa-live-product .woocommerce-product-gallery__image {
    min-height: 430px;
  }

  body.single-product .asa-live-product .woocommerce-product-gallery__image a {
    min-height: 390px;
  }

  body.single-product .asa-live-product .woocommerce-product-gallery__image img {
    height: 390px !important;
  }

  body.single-product .asa-live-product__summary {
    padding-top: 0;
  }

  body.single-product .asa-live-product .product_title {
    font-size: 30px !important;
  }

  body.single-product .asa-live-product__buy-card {
    padding: 20px;
  }

  body.single-product .asa-live-product__buy-head,
  body.single-product .asa-live-product__cart-row {
    align-items: stretch;
    flex-direction: column;
  }

  body.single-product .asa-live-product__stock {
    text-align: left;
  }

  body.single-product .asa-live-product__wishlist {
    width: 100%;
    flex-basis: 50px;
  }

  body.single-product .asa-live-product__tone-options,
  body.single-product .asa-live-product__assurance-grid,
  body.single-product .asa-live-product__related .products {
    grid-template-columns: 1fr;
  }
}

/* Product-detail modal standard: Trendyol-style 956 × 720 desktop viewer. */
body.asa-product-page-active {
  --asa-product-modal-width: 956px;
  --asa-product-modal-height: 720px;
}

.asa-lightbox {
  padding: 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
}

.asa-lightbox__panel {
  width: min(var(--asa-product-modal-width, 956px), calc(100vw - 48px));
  height: min(var(--asa-product-modal-height, 720px), calc(100dvh - 48px));
  max-width: var(--asa-product-modal-width, 956px);
  border-radius: 12px;
}

body.asa-product-page-active .asa-product-modal__panel {
  width: min(var(--asa-product-modal-width), calc(100vw - 48px)) !important;
  max-width: var(--asa-product-modal-width) !important;
}

.asa-lightbox__header {
  min-height: 56px;
  padding: 9px 16px;
}

.asa-lightbox__viewport {
  padding: 12px 62px;
  background: #fff;
}

.asa-lightbox__canvas {
  width: min(620px, 100%);
  max-width: 620px;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.asa-lightbox__canvas > img {
  padding: 8px;
}

.asa-lightbox__footer {
  min-height: 72px;
  padding: 10px 16px;
}

.asa-lightbox__thumbnails button {
  width: 52px;
  height: 52px;
  border-radius: 6px;
}

@media (max-width: 700px) {
  .asa-lightbox {
    padding: 0;
  }

  .asa-lightbox__panel {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .asa-lightbox__viewport {
    padding: 8px 44px;
  }

  .asa-lightbox__canvas {
    width: 100%;
    max-width: 100%;
  }

  .asa-lightbox__canvas > img {
    padding: 4px;
  }
}

.asa-designed-by {
  text-transform: none !important;
}

.asa-home-account-cta {
  border: 1px solid rgba(255, 255, 255, .18) !important;
  background: #0466c8 !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(4, 102, 200, .28) !important;
}

.asa-home-account-cta:hover {
  background: #0353a4 !important;
  box-shadow: 0 13px 30px rgba(4, 102, 200, .36) !important;
}

html.dark #catalog-start h2 {
  color: #f8fafc !important;
}

html.dark #catalog-start > div:first-child p {
  color: #94a3b8 !important;
}

/* Password recovery shares the storefront chrome and account visual language. */
body.woocommerce-lost-password #asa-main {
  width: min(720px, calc(100% - 32px));
  padding: clamp(32px, 6vw, 68px) 0;
}

body.woocommerce-lost-password .asa-password-reset-surface {
  overflow: hidden;
  border: 1px solid rgba(4, 102, 200, .14);
  border-radius: 26px;
  padding: 0;
  background: #fff;
  box-shadow: 0 24px 65px rgba(0, 24, 69, .11);
}

.asa-password-reset-intro {
  padding: clamp(26px, 5vw, 42px);
  background: linear-gradient(135deg, #001233 0%, #023e7d 62%, #0466c8 100%);
  color: #fff;
}

.asa-password-reset-intro > span {
  display: block;
  margin-bottom: 10px;
  color: #8ecae6;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .19em;
}

.asa-password-reset-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.asa-password-reset-intro p {
  max-width: 570px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: .88rem;
  line-height: 1.7;
}

body.woocommerce-lost-password .asa-native-page-content {
  padding: clamp(24px, 5vw, 42px);
}

body.woocommerce-lost-password form.lost_reset_password {
  display: grid;
  gap: 18px;
  margin: 0;
}

body.woocommerce-lost-password form.lost_reset_password > p {
  float: none;
  width: 100%;
  margin: 0;
  color: #64748b;
  font-size: .87rem;
  line-height: 1.65;
}

body.woocommerce-lost-password form.lost_reset_password label {
  display: block;
  margin-bottom: 8px;
  color: #001845;
  font-size: .76rem;
  font-weight: 850;
}

body.woocommerce-lost-password form.lost_reset_password input.input-text {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dbe4ef;
  border-radius: 13px;
  outline: 0;
  background: #f8fafc;
  padding: 0 15px;
  color: #0f172a;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body.woocommerce-lost-password form.lost_reset_password input.input-text:focus {
  border-color: #0466c8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(4, 102, 200, .1);
}

body.woocommerce-lost-password form.lost_reset_password .woocommerce-Button {
  min-height: 50px;
  width: 100%;
  border: 0;
  border-radius: 13px;
  background: #0466c8;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 24px rgba(4, 102, 200, .22);
}

body.woocommerce-lost-password form.lost_reset_password .woocommerce-Button:hover {
  transform: translateY(-1px);
  background: #0353a4;
  box-shadow: 0 15px 30px rgba(4, 102, 200, .3);
}

.dark body.woocommerce-lost-password .asa-password-reset-surface,
body.woocommerce-lost-password.asa-dark-mode .asa-password-reset-surface {
  border-color: rgba(125, 211, 252, .13);
  background: #0f172a;
}

.dark body.woocommerce-lost-password form.lost_reset_password > p,
body.woocommerce-lost-password.asa-dark-mode form.lost_reset_password > p {
  color: #94a3b8;
}

.dark body.woocommerce-lost-password form.lost_reset_password label,
body.woocommerce-lost-password.asa-dark-mode form.lost_reset_password label {
  color: #e2e8f0;
}

.dark body.woocommerce-lost-password form.lost_reset_password input.input-text,
body.woocommerce-lost-password.asa-dark-mode form.lost_reset_password input.input-text {
  border-color: #334155;
  background: #020617;
  color: #f8fafc;
}

@media (max-width: 620px) {
  body.woocommerce-lost-password #asa-main {
    width: min(100% - 20px, 720px);
    padding: 22px 0 42px;
  }

  body.woocommerce-lost-password .asa-password-reset-surface {
    border-radius: 20px;
  }
}
