/*------------------------------------------------------------------
  OLYMPUS88 — "Cyber Night" palette
  Deep navy base + aqua-neon accent + hot-rose primary + amber spark
  Functionality untouched; readability preserved on dark surfaces

  NOTE: token names (--oly-gold, --oly-purple, --oly-blue) are kept
  for compatibility with inline styles in index.html. Semantics:
    --oly-gold*   → accent (aqua neon)   : CTA, links, prices, titles
    --oly-purple* → primary (hot rose)   : top bar, badges, active states
    --oly-blue*   → tertiary (amber)     : focus rings, selection, sparks
--------------------------------------------------------------------*/
:root {
  /* Core palette */
  --oly-bg: #050b16;
  --oly-surface: #0b1627;
  --oly-surface-alt: #13233b;
  --oly-purple: #ff4d6d;
  --oly-purple-light: #ff8fa3;
  --oly-purple-dark: #8a0f2e;
  --oly-magenta: #ff7a59;
  --oly-gold: #2ee6d6;
  --oly-yellow: #8ffff2;
  --oly-gold-dark: #14a89c;
  --oly-blue: #ffb547;
  --oly-blue-deep: #e08a1e;
  --oly-text: #eef7ff;
  --oly-text-muted: #a9bdd3;
  --oly-border: #24405f;
  --oly-danger: #ef5350;
  --oly-success: #81c784;

  /* Breeze tokens → dark Olympus */
  --base-bg: 5, 11, 22;
  --base-color: 238, 247, 255;
  --brand-color: 255, 77, 109;
  --button-bg: 46, 230, 214;
  --button-color: 138, 15, 46;
  --button-border-color: 20, 168, 156;
  --link-color: 46, 230, 214;
  --input-bg: 11, 22, 39;
  --input-color: 238, 247, 255;
  --input-border-color: 36, 64, 95;
  --input-focus-border-color: 46, 230, 214;
  --muted-bg: 19, 35, 59;
  --block-content-bg: 11, 22, 39;
  --block-title-bg: 11, 22, 39;
  --block-title-color: 238, 247, 255;
  --message-bg: 19, 35, 59;
  --message-color: 238, 247, 255;
  --message-border-color: 36, 64, 95;
  --danger-color: 239, 83, 80;
  --scrollbar-bg: 11, 22, 39;
  --scrollbar-color: 46, 230, 214;
  --spinner-border-color: 46, 230, 214;
  --ring-color: 255, 143, 163;
  --blue: 255, 181, 71;
  --gray-50: 11, 22, 39;
  --gray-100: 19, 35, 59;
  --gray-900: 238, 247, 255;
}

html {
  background-color: var(--oly-bg);
  color-scheme: dark;
}

body {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 77, 109, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 35%, rgba(255, 181, 71, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 70%, rgba(46, 230, 214, 0.08) 0%, transparent 40%),
    var(--oly-bg);
  color: var(--oly-text);
}

a,
a:visited {
  color: var(--oly-gold);
}

a:hover {
  color: var(--oly-yellow);
}

/* ---------- Surfaces (match banner night sky) ---------- */
.page-wrapper,
.page-header,
.header.content,
.kanmo-middle-header,
.navigation-wrapper,
.page-main,
.columns,
.column.main,
.product-info-main,
.product-info-wrapper,
.product-item,
.block,
.modal-inner-wrap,
.products-widget-container,
.product.media,
.breeze-gallery,
.stage,
.product-add-form,
.box-tocart,
.fieldset,
.product.info.detailed,
.data.item.content,
.block-content,
.minicart-wrapper,
.nav-sections,
.sections.nav-sections {
  background-color: transparent;
  color: var(--oly-text);
}

.product-info-main,
.product-options-bottom,
.available-block,
.kc-cashback,
.kredivo-label {
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

.product-item,
.block.widget,
.modal-inner-wrap {
  background-color: var(--oly-surface);
  border-color: var(--oly-border);
}

/* Hapus bingkai/kotak mirip tabel di area produk */
.product-info-wrapper,
.product-info,
.product.attribute.overview,
.product.attribute.overview .value,
.product-info-price,
.price-box,
.box-tocart,
.fieldset-cust,
.product-add-form,
.product-config {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* CTA column — jangan gepeng: lebar tetap proporsional */
.catalog-product-view .product-info-main,
.page-product-configurable .product-info-main,
.product-info-main {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.catalog-product-view .product-info-main .product-info,
.product-info-main .product-info {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.catalog-product-view .product-config,
.page-product-configurable .product-config,
.product-info-main .product-config,
.product-config {
  flex: 0 0 300px;
  width: 300px;
  min-width: 280px;
  max-width: 320px;
  box-sizing: border-box;
}

.product-config form#product_addtocart_form,
.product-config .product-add-form,
.product-config .box-tocart,
.product-config .fieldset-cust,
.product-config .actions,
.product-config .product-options-bottom {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .catalog-product-view .product-info-main,
  .product-info-main {
    flex-wrap: wrap;
  }

  .catalog-product-view .product-config,
  .product-info-main .product-config,
  .product-config {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: 360px;
  }
}

@media (max-width: 767px) {
  .catalog-product-view .product-config,
  .product-info-main .product-config,
  .product-config {
    max-width: 100%;
  }
}

/* Thin top bar — royal purple like banner jewels */
.panel.wrapper,
.panel.header {
  background:
    linear-gradient(90deg, var(--oly-purple-dark), var(--oly-purple), var(--oly-purple-dark));
  color: var(--oly-text);
  border-bottom: 1px solid rgba(46, 230, 214, 0.35);
}

.panel.header a {
  color: var(--oly-text);
  background-color: transparent;
}

.panel.header a:hover {
  color: var(--oly-gold);
}

/* Header / nav */
.page-header,
.header.content,
.kanmo-middle-header,
.navigation-wrapper,
.block.ves-menu,
.ves-menu,
nav.navigation,
.navigation {
  background-color: rgba(11, 22, 39, 0.96);
  color: var(--oly-text);
  border-bottom-color: rgba(46, 230, 214, 0.18);
}

.page-header,
.header.content,
.kanmo-middle-header {
  border-bottom: 1px solid rgba(46, 230, 214, 0.18);
}

/* Kill leftover white megamenu strip from Magento/Ves defaults */
.ves-megamenu,
ul.ves-megamenu,
.ves-megamenu.menu-hover,
.ves-megamenu.ves-horizontal,
.ves-megamenu.menu-hover.ves-horizontal,
#menu-top-mothercare1742308061777474800,
.ves-megamenu-mobile,
.ves-megamenu-mobile .nav-mobile {
  background: transparent;
  background-color: transparent;
  color: var(--oly-text);
}

.ves-megamenu li.level0,
.ves-megamenu li.level0 > a,
.ves-megamenu li.level0 > a.nav-anchor,
.ves-megamenu-mobile .nav-mobile li.level0 > a,
.navigation .level0 > .level-top,
.navigation a,
.ves-megamenu .nav-anchor,
.ves-megamenu .nav-anchor span {
  color: var(--oly-text);
  background: transparent;
  background-color: transparent;
}

.ves-megamenu li.level0 > a:hover,
.ves-megamenu li.level0 > a.nav-anchor:hover,
.ves-megamenu li.level0:hover > a {
  color: var(--oly-gold);
}

.ves-megamenu li.level0 > a.anchor-active,
.ves-megamenu-mobile .nav-mobile li.level0 > a.anchor-active,
.navigation .level0 .submenu .ks_content p a:hover,
.headcontent p,
.headcontent p a {
  color: var(--oly-gold);
}

/* Gold CTA nav chips (e.g. OLYMPUS88 RESMI) — dark text on gold */
.ves-megamenu li.level0 > a.nav-anchor[style*="2ee6d6"],
.ves-megamenu li.level0 > a.nav-anchor[style*="2ee6d6"],
.ves-megamenu li.level0 > a.nav-anchor[style*="background"],
.ves-megamenu li.level0 > a[data-bgcolor*="2ee6d6"],
.ves-megamenu li.level0 > a[data-bgcolor*="2ee6d6"],
.ves-megamenu li.level0 > a[data-bgcolor*="720bb8"],
.ves-megamenu a.nav-anchor[style*="background-color: var(--oly-gold)"],
.ves-megamenu li.level0 > a.nav-anchor[style*="rgb(46, 230, 214)"],
#menu-top-mothercare1742308061777474800 li.level0 > a.nav-anchor[style*="background"] {
  color: var(--oly-purple-dark);
}

.ves-megamenu li.level0 > a.nav-anchor[style*="background"] span,
.ves-megamenu a.nav-anchor[data-bgcolor] span {
  color: inherit;
}

.megamenu-content,
.submenu,
.navigation .level0 .submenu,
.dropdown-menu,
.download-popup {
  background-color: var(--oly-surface-alt);
  color: var(--oly-text);
  border-color: var(--oly-border);
}

.brand-az a,
.navigation .level0 .submenu .ks_content p a {
  color: var(--oly-text-muted);
}

.brand-az a:hover {
  background: rgba(46, 230, 214, 0.12);
  color: var(--oly-gold);
}

.brand-az a.active {
  background: var(--oly-purple);
  color: var(--oly-text);
}

/* Search button was stuck white */
#kanmo-mc-search-btn,
.kanmo-mc-search-btn,
.block-search .action.search,
.block-search button,
.minisearch .action.search {
  background: var(--oly-surface-alt);
  background-color: var(--oly-surface-alt);
  color: var(--oly-gold);
  border: 1px solid rgba(46, 230, 214, 0.4);
  box-shadow: none;
}

#kanmo-mc-search-btn:hover,
.block-search .action.search:hover {
  background: var(--oly-purple);
  color: var(--oly-text);
  border-color: var(--oly-gold);
}

/* Breadcrumbs strip was light grey */
.breadcrumbs,
.breadcrumbs .items,
.page-main .breadcrumbs {
  background: var(--oly-surface);
  background-color: var(--oly-surface);
  color: var(--oly-text-muted);
  border-bottom: 1px solid rgba(46, 230, 214, 0.12);
}

.breadcrumbs a,
.breadcrumbs .item,
.breadcrumbs strong {
  color: var(--oly-text-muted);
}

.breadcrumbs a:hover,
.breadcrumbs strong {
  color: var(--oly-gold);
}

/* ---------- Typography readability ---------- */
.page-title,
.page-title .base,
.product-info-main h1,
.product-info-main h2,
.product-info-main h3,
.product-info-main h4,
.block-title,
.block-title strong,
.product-item-name a,
.product-item-link {
  color: var(--oly-text);
}

.product-info,
.product.attribute.overview,
.product.attribute.overview .value,
.product.attribute.overview p,
.product.attribute.overview span,
.product-info-price,
.price-label,
.avail-text,
.available-block,
.available-block span,
.kc-cashback,
.kc-cashback span,
.kredivo-label,
.kredivo-label div,
.sharing-buttons,
.sharing-buttons label,
.field .label,
.field .label span,
.product-item-details,
.column.main p,
.column.main li {
  color: var(--oly-text-muted);
}

/* Keep CTA label contrast on gold buttons */
.action.primary span,
.action.tocart span,
#product-addtocart-button span {
  color: var(--oly-purple-dark);
}

.product.attribute.overview h3,
.page-title .base,
.OLYMPUS88-SLOT-GACOR-title {
  color: var(--oly-gold);
  text-shadow: 0 0 18px rgba(46, 230, 214, 0.22);
}

.product.attribute.overview p,
.product.attribute.overview .value,
.kredivo-label,
.avail-text,
.sharing-buttons label,
.OLYMPUS88-SLOT-GACOR-sub {
  color: var(--oly-text-muted);
}

.OLYMPUS88-SLOT-GACOR-btn-login,
.OLYMPUS88-SLOT-GACOR-btn-daftar,
.OLYMPUS88-SLOT-GACOR-btn-login:hover,
.OLYMPUS88-SLOT-GACOR-btn-daftar:hover {
  color: var(--oly-purple-dark);
}

.product.attribute.overview a {
  color: var(--oly-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product.attribute.overview a:hover {
  color: var(--oly-yellow);
}

/* Hardcoded template greys → readable on dark */
.column.main [style*="color: #545159"],
.column.main [style*="color:#545159"],
.column.main [style*="color: #1e1e1e"],
.column.main [style*="color:#1e1e1e"],
.column.main [style*="color: #444"],
.column.main [style*="color:#444"] {
  color: var(--oly-text-muted);
}

/* ---------- CTA stack — premium Olympus glow ---------- */
@keyframes oly-gold-pulse {
  0%,
  100% {
    box-shadow:
      0 6px 18px rgba(46, 230, 214, 0.35),
      0 0 18px rgba(46, 230, 214, 0.22),
      0 0 0 1px rgba(160, 255, 245, 0.35);
  }
  50% {
    box-shadow:
      0 8px 26px rgba(46, 230, 214, 0.5),
      0 0 32px rgba(46, 230, 214, 0.35),
      0 0 0 1px rgba(200, 255, 249, 0.55);
  }
}

@keyframes oly-shine {
  0% {
    left: -120%;
  }
  100% {
    left: 130%;
  }
}

@keyframes oly-claim-pulse {
  0%,
  100% {
    box-shadow:
      0 4px 16px rgba(255, 77, 109, 0.4),
      0 0 0 1px rgba(255, 143, 163, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow:
      0 6px 24px rgba(255, 77, 109, 0.55),
      0 0 20px rgba(46, 230, 214, 0.18),
      0 0 0 1px rgba(46, 230, 214, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
}

.box-tocart,
.product-options-bottom,
.fieldset-cust,
.product-config,
#giftreg-message-pdp {
  width: 100%;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.box-tocart .fieldset-cust,
.box-tocart .actions,
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-config form#product_addtocart_form .product-options-bottom .box-tocart .fieldset .actions,
.page-product-simple #maincontent .column.main .box-tocart .fieldset .actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
}

.box-tocart .field.qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 6px;
  width: 100%;
  text-align: center;
}

.box-tocart .field.qty .label,
.box-tocart .field.qty .label span {
  color: #e3f0fb;
  font-size: 14px;
  font-weight: 500;
  text-transform: lowercase;
  margin-bottom: 8px;
  display: block;
  width: 100%;
  text-align: center;
}

.box-tocart .field.qty .control {
  display: flex;
  justify-content: center;
  width: 100%;
}

.box-tocart select.qty,
.box-tocart .input-text.qty,
.product-config select.qty,
.product-config .input-text.qty,
select#qty.qty,
select.input-text.qty {
  appearance: none;
  -webkit-appearance: none;
  width: 64px;
  min-width: 64px;
  max-width: 72px;
  min-height: 36px;
  height: 36px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #0e1f33;
  background-color: #0e1f33;
  color: #2ee6d6;
  border: 1px solid #ff7a92;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-align-last: center;
  box-shadow: none;
  outline: none;
  margin: 0 auto;
  cursor: pointer;
}

.box-tocart select.qty:focus,
.product-config select.qty:focus,
select#qty.qty:focus {
  border-color: #ff8fa3;
  box-shadow: 0 0 0 2px rgba(255, 77, 109, 0.25);
  outline: none;
}

.box-tocart .actions > a,
.box-tocart .actions > #giftreg-message-pdp {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.action.primary,
.action.tocart,
.action.tocart.primary,
button.action.primary,
.widget.widget-crosssell button.action.tocart.primary,
#product-addtocart-button,
.action.towishlist,
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-config form#product_addtocart_form .product-options-bottom .box-tocart button#product-addtocart-button,
.page-product-simple #maincontent .column.main .box-tocart button#product-addtocart-button,
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-config form#product_addtocart_form .product-options-bottom .box-tocart .fieldset .actions a.action.towishlist,
.page-product-simple #maincontent .column.main .box-tocart .fieldset .actions a.action.towishlist {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 54px;
  height: auto;
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  white-space: nowrap;
  box-sizing: border-box;
  text-align: center;
  border: 1px solid rgba(200, 255, 249, 0.55);
  background: linear-gradient(
    180deg,
    #c8fff9 0%,
    #8ffff2 28%,
    #2ee6d6 62%,
    #14a89c 100%
  );
  background-color: #2ee6d6;
  color: #04202e;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow:
    0 6px 18px rgba(46, 230, 214, 0.35),
    0 0 18px rgba(46, 230, 214, 0.22),
    0 0 0 1px rgba(160, 255, 245, 0.35);
  cursor: pointer;
  animation: oly-gold-pulse 2.8s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

/* Shine sweep */
.action.primary::after,
.action.tocart::after,
#product-addtocart-button::after,
.action.towishlist::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 45%,
    transparent 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  animation: oly-shine 3.2s ease-in-out infinite;
}

.action.primary span,
.action.tocart span,
#product-addtocart-button span,
.action.towishlist span {
  position: relative;
  z-index: 1;
  color: #04202e;
  font-weight: 900;
  text-transform: lowercase;
  text-align: center;
  width: 100%;
}

/* Hide broken wishlist icon square on DAFTAR */
.action.towishlist::before,
.action.towishlist .icon,
.action.towishlist img,
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-config form#product_addtocart_form .product-options-bottom .box-tocart .fieldset .actions a.action.towishlist::before,
.page-product-simple #maincontent .column.main .box-tocart .fieldset .actions a.action.towishlist::before {
  display: none;
  background: none;
  width: 0;
  height: 0;
  content: none;
}

.action.primary:hover,
.action.tocart:hover,
#product-addtocart-button:hover,
.action.towishlist:hover,
.action.towishlist:hover span {
  color: #021621;
  filter: brightness(1.08) saturate(1.08);
  transform: translateY(-2px) scale(1.015);
  animation: none;
  box-shadow:
    0 10px 28px rgba(46, 230, 214, 0.55),
    0 0 36px rgba(46, 230, 214, 0.35),
    0 0 0 1px rgba(220, 255, 251, 0.7);
}

/* Delivery / pickup icons → cool aqua brand tint */
.available-block img,
.delivery-img,
.home-pick-img,
.kredivo-logo {
  filter: sepia(0.35) saturate(1.5) hue-rotate(130deg) brightness(1.05);
}

.price,
.price-box .price,
.special-price .price,
.kc-cashback .price {
  color: var(--oly-gold);
  font-weight: 700;
}

/* Beat Magento #1e1e1e / #515759 product price rules without !important */
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-info-price .price-box.price-final_price .price-with-discount span.normal-price span.price,
.page-product-simple #maincontent .column.main .product-info-wrapper .product-info-price .price-box.price-final_price .price-with-discount span.normal-price span.price,
.page-product-bundle #maincontent .column.main .product-info-wrapper .product-info-price .price-box.price-final_price .price-with-discount span.normal-price span.price,
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-info-price .price-box.price-final_price .price-container.price-final_price span.price,
.page-product-simple #maincontent .column.main .product-info-wrapper .product-info-price .price-box.price-final_price .price-container.price-final_price span.price,
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-info-price .price-box .price,
.page-product-simple #maincontent .column.main .product-info-wrapper .product-info-price .price-box .price,
.product-info-price .price-box .price,
.product-info-price .price,
.price-box.price-final_price .price {
  color: var(--oly-gold);
  font-weight: 700;
}

.page-product-configurable #maincontent .column.main .product-info-wrapper .product-info-price .price-box.price-final_price span.old-price span.price-container span.price,
.page-product-simple #maincontent .column.main .product-info-wrapper .product-info-price .price-box.price-final_price span.old-price span.price-container span.price,
.old-price .price {
  color: var(--oly-text-muted);
  opacity: 0.75;
}

.product-info-price .price-label,
.price-box .price-label {
  color: var(--oly-text-muted);
}

.discount-percent,
.price-box.percent .discount-percent {
  background: linear-gradient(135deg, var(--oly-purple), var(--oly-magenta));
  color: var(--oly-text);
}

/* ---------- Forms (jangan timpa qty CTA) ---------- */
input:not(.qty),
select:not(.qty),
textarea,
.input-text:not(.qty) {
  background-color: var(--oly-surface-alt);
  color: var(--oly-text);
  border: 1px solid var(--oly-border);
}

input:not(.qty):focus,
select:not(.qty):focus,
textarea:focus {
  border-color: var(--oly-gold);
  outline: 1px solid rgba(46, 230, 214, 0.45);
  box-shadow: 0 0 0 3px rgba(46, 230, 214, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--oly-text-muted);
  opacity: 0.85;
}

/* ---------- Gallery ---------- */
.breeze-gallery .thumbnails .item,
.breeze-gallery .controls a,
.breeze-gallery .prev,
.breeze-gallery .next,
.breeze-gallery .close {
  background-color: rgba(11, 22, 39, 0.85);
  color: var(--oly-gold);
  border-color: rgba(46, 230, 214, 0.35);
}

.breeze-gallery .thumbnails .item.active {
  border-color: var(--oly-gold);
  box-shadow: 0 0 12px rgba(46, 230, 214, 0.35);
}

.main-image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.breeze-gallery .thumbnails .item {
  border: 1px solid rgba(46, 230, 214, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.page-footer,
.page-footer .footer.content,
.page-footer [data-content-type="row"],
.footer-content-mckanmo-desktop,
.footer-main-column-mc,
.footer-desktop,
.footer-mobile,
.pagebuilder-column.shop-with-us-column-mc,
.pagebuilder-column.need-help-column-mc,
.pagebuilder-column.download-ourapps-column-mc,
.pagebuilder-column.accept-pay {
  background-color: var(--oly-surface);
  color: var(--oly-text-muted);
  border-top: 1px solid rgba(46, 230, 214, 0.2);
}

.page-footer,
.page-footer p,
.page-footer span,
.page-footer li,
.footer-desktop p,
.footer-mobile p {
  color: var(--oly-text-muted);
}

.page-footer a,
.page-footer h4,
.heading-shop-with-us-kanmo-mc,
.heading-need-help-kanmo-mc,
.heading-download-apps-kanmo-mc {
  color: var(--oly-gold);
}

.page-footer a:hover {
  color: var(--oly-yellow);
}

.back-to-top {
  background: linear-gradient(135deg, var(--oly-purple), var(--oly-blue-deep));
  color: var(--oly-text);
  border: 1px solid rgba(46, 230, 214, 0.4);
  box-shadow: 0 0 16px rgba(255, 77, 109, 0.4);
}

/* Toggle / misc */
input:checked + .slider {
  background-color: var(--oly-purple);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--oly-purple-light);
}

.slider:before {
  color: var(--oly-purple-dark);
}

/* Product carousels / widgets */
.widget.block,
.products-grid .product-item,
.product-item-info {
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: var(--oly-text);
}

.product-item-name a,
.product-item-link {
  color: var(--oly-text);
}

.product-item-name a:hover {
  color: var(--oly-gold);
}

/* Tabs / detailed info */
.product.data.items > .item.title > .switch,
.data.item.title a,
.product.info.detailed .data.item.title {
  color: var(--oly-text-muted);
  background: var(--oly-surface);
  border-color: var(--oly-border);
}

.product.data.items > .item.title.active > .switch,
.data.item.title.active a {
  color: var(--oly-gold);
  border-bottom-color: var(--oly-gold);
}

.product.data.items > .item.content {
  background: var(--oly-surface);
  color: var(--oly-text-muted);
  border-color: var(--oly-border);
}

/* Messages / notices */
.message,
.message.notice,
.message.success,
.message.warning {
  background: var(--oly-surface-alt);
  color: var(--oly-text);
  border-color: var(--oly-border);
}

/* Search / minicart icons stay visible */
.action.showcart,
.action.skip,
.minicart-wrapper .action.showcart,
.block-search .label,
.header .links a {
  color: var(--oly-text);
}

.action.showcart:hover,
.header .links a:hover {
  color: var(--oly-gold);
}

/* Electric blue accent (banner lightning) on focus rings / highlights */
::selection {
  background: rgba(255, 181, 71, 0.35);
  color: var(--oly-text);
}

.page-main a:focus-visible,
.action:focus-visible,
button:focus-visible {
  outline: 2px solid var(--oly-blue);
  outline-offset: 2px;
}

/* Cashback banner — beat Magento .page-product-* #fff rule without !important */
.page-product-configurable #maincontent .column.main .product-info-wrapper .kc-cashback,
.page-product-simple #maincontent .column.main .product-info-wrapper .kc-cashback,
.page-product-bundle #maincontent .column.main .product-info-wrapper .product-info-main .kc-cashback,
.page-product-configurable #maincontent .column.main .product-info-wrapper .kc-cashback.check,
.page-product-simple #maincontent .column.main .product-info-wrapper .kc-cashback.check,
.kc-cashback,
.kc-cashback.check {
  background: linear-gradient(135deg, var(--oly-surface-alt), var(--oly-surface));
  background-color: var(--oly-surface-alt);
  border: 1px solid rgba(46, 230, 214, 0.4);
  border-radius: 8px;
  color: var(--oly-text);
  box-shadow: 0 0 12px rgba(46, 230, 214, 0.1);
}

.page-product-configurable #maincontent .column.main .product-info-wrapper .kc-cashback a.kc-points-lable,
.page-product-simple #maincontent .column.main .product-info-wrapper .kc-cashback a.kc-points-lable,
.page-product-bundle #maincontent .column.main .product-info-wrapper .product-info-main .kc-cashback a.kc-points-lable,
.kc-points-lable,
.kc-points-lable span {
  color: var(--oly-text-muted);
  background: transparent;
}

.page-product-configurable #maincontent .column.main .product-info-wrapper .kc-cashback a.kc-points-lable .price,
.page-product-simple #maincontent .column.main .product-info-wrapper .kc-cashback a.kc-points-lable .price,
.page-product-bundle #maincontent .column.main .product-info-wrapper .product-info-main .kc-cashback a.kc-points-lable .price,
.kc-points-lable .price,
.kc-cashback .price {
  color: var(--oly-gold);
}

/* CLAIM BONUS — same width stack as login/daftar */
#giftreg-message-pdp,
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-config form#product_addtocart_form .product-options-bottom .box-tocart .fieldset .actions #giftreg-message-pdp,
.page-product-simple #maincontent .column.main .box-tocart .fieldset .actions #giftreg-message-pdp {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

.notlogingift,
a.notlogingift,
div#giftreg-message-pdp a,
div#giftreg-message-pdp a.notlogingift,
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-config form#product_addtocart_form .product-options-bottom .box-tocart .fieldset .actions #giftreg-message-pdp a,
.page-product-simple #maincontent .column.main .box-tocart .fieldset .actions #giftreg-message-pdp a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 54px;
  height: auto;
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  white-space: nowrap;
  box-sizing: border-box;
  text-align: center;
  background: linear-gradient(180deg, #ff6b85 0%, #d61f4f 55%, #8a0f2e 100%);
  border: 1px solid rgba(46, 230, 214, 0.5);
  color: #eef7ff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  animation: oly-claim-pulse 2.6s ease-in-out infinite;
  transition:
    filter 0.22s ease,
    transform 0.22s ease;
}

.notlogingift::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(46, 230, 214, 0.18),
    transparent 55%
  );
  pointer-events: none;
}

.notlogingift img {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 181, 71, 0.65));
}

.notlogingift:hover,
a.notlogingift:hover,
div#giftreg-message-pdp a:hover {
  color: #ffffff;
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.015);
  animation: none;
  border-color: rgba(46, 230, 214, 0.75);
}

.sharing-buttons,
.sharing-buttons.mobile-sharing-button,
.product-config .sharing-buttons {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sharing-buttons label,
.sharing-buttons.mobile-sharing-button label,
.product-config .sharing-buttons label {
  color: #e3f0fb;
  font-size: 14px;
  font-weight: 500;
  text-transform: lowercase;
  text-align: center;
  display: block;
  width: 100%;
}

.sharing-buttons .sharethis-inline-share-buttons,
.product-config .sharethis-inline-share-buttons {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Title & price more eye-catching */
.page-title .base {
  background: linear-gradient(90deg, #8ffff2, #2ee6d6 40%, #c8fff9 70%, #2ee6d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(46, 230, 214, 0.35));
}

.product-info-price .price,
.price-box .price,
.page-product-configurable #maincontent .column.main .product-info-wrapper .product-info-price .price-box .price,
.page-product-simple #maincontent .column.main .product-info-wrapper .product-info-price .price-box .price {
  font-size: 1.35em;
  color: var(--oly-gold);
  text-shadow: 0 0 16px rgba(46, 230, 214, 0.35);
}

/* Mobile readability bump */
@media (max-width: 768px) {
  .product.attribute.overview p,
  .product.attribute.overview .value,
  .kredivo-label,
  .sharing-buttons label {
    color: #c6d8ea;
    line-height: 1.75;
  }

  .page-title .base {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
    line-height: 1.35;
  }
}

/*------------------------------------------------------------------
  ANIMATIONS — ringan: hanya opacity/transform (GPU composited),
  durasi pendek, dan dimatikan saat prefers-reduced-motion.
--------------------------------------------------------------------*/
@keyframes oly-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes oly-fade-down {
  from {
    opacity: 0;
    transform: translate3d(0, -12px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes oly-zoom-in {
  from {
    opacity: 0;
    transform: scale3d(0.96, 0.96, 1);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes oly-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes oly-title-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes oly-popup-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale3d(0.95, 0.95, 1);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes oly-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---- Entrance saat halaman dimuat (pure CSS, aman tanpa JS) ---- */
.page-header {
  animation: oly-fade-down 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product-info-wrapper .page-title-wrapper,
.product-info-wrapper .product-info-price,
.product-info-wrapper .kc-cashback,
.product-info-wrapper .kredivo-label,
.product-info-wrapper .available-block,
.product-info-wrapper .product.attribute.overview {
  animation: oly-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product-info-wrapper .page-title-wrapper {
  animation-delay: 0.08s;
}
.product-info-wrapper .product-info-price {
  animation-delay: 0.16s;
}
.product-info-wrapper .kc-cashback {
  animation-delay: 0.24s;
}
.product-info-wrapper .kredivo-label {
  animation-delay: 0.3s;
}
.product-info-wrapper .available-block {
  animation-delay: 0.36s;
}
.product-info-wrapper .product.attribute.overview {
  animation-delay: 0.44s;
}

.product-info-wrapper .product-config {
  animation: oly-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.product-info-wrapper .product.media {
  animation: oly-zoom-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* Gambar utama melayang pelan */
.main-image-wrapper .main-image {
  animation: oly-float 6s ease-in-out 1s infinite;
  will-change: transform;
}

/* Judul: kilau gradient yang bergerak pelan */
.page-title .base {
  background-size: 200% auto;
  animation: oly-title-shimmer 7s linear infinite;
}

/* ---- Reveal saat scroll (class diberikan oleh JS) ---- */
.oly-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--oly-i, 0) * 80ms);
  will-change: opacity, transform;
}

.oly-reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---- Micro-interactions (hover) ---- */
.product-item,
.products-grid .product-item,
.product-item-info {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-item:hover,
.products-grid .product-item:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(46, 230, 214, 0.15);
}

.product-item-photo img,
.breeze-gallery .thumbnails .item img {
  transition: transform 0.35s ease;
}

.product-item-photo:hover img,
.breeze-gallery .thumbnails .item:hover img {
  transform: scale(1.05);
}

.breeze-gallery .thumbnails .item {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.main-image-wrapper {
  transition: box-shadow 0.3s ease;
}

.main-image-wrapper:hover {
  box-shadow: 0 0 28px rgba(46, 230, 214, 0.22);
}

.kc-cashback,
.kc-cashback.check {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.kc-cashback:hover,
.kc-cashback.check:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(46, 230, 214, 0.7);
  box-shadow: 0 0 20px rgba(46, 230, 214, 0.22);
}

.page-footer a,
.ves-megamenu li.level0 > a,
.navigation a,
.breadcrumbs a,
.product.attribute.overview a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.page-footer li a {
  display: inline-block;
}

.page-footer li a:hover {
  transform: translate3d(3px, 0, 0);
}

.page-footer a.footer-apple-store-img,
.page-footer a.footer-google-play-img,
.page-footer .footer-apple-store-img img,
.page-footer .footer-google-play-img img {
  transition: transform 0.25s ease;
}

.page-footer .footer-apple-store-img:hover img,
.page-footer .footer-google-play-img:hover img {
  transform: scale(1.04);
}

.back-to-top {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.back-to-top:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 0 24px rgba(255, 77, 109, 0.55);
}

.ves-megamenu li.level0 > a.nav-anchor {
  position: relative;
}

.ves-megamenu li.level0 > a.nav-anchor::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--oly-gold);
  transform: translateX(-50%);
  transition: width 0.25s ease;
  pointer-events: none;
}

.ves-megamenu li.level0 > a.nav-anchor:hover::after {
  width: 60%;
}

/* ---- Popup: muncul halus ---- */
#OLYMPUS88-SLOT-GACOR-popup-overlay {
  animation: oly-overlay-in 0.3s ease both;
}

#OLYMPUS88-SLOT-GACOR-popup {
  animation: oly-popup-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.OLYMPUS88-SLOT-GACOR-image {
  transition: transform 0.4s ease;
}

.OLYMPUS88-SLOT-GACOR-image-wrap:hover .OLYMPUS88-SLOT-GACOR-image {
  transform: scale(1.03);
}

/* ---- Hormati preferensi pengguna ---- */
@media (prefers-reduced-motion: reduce) {
  .page-header,
  .product-info-wrapper .page-title-wrapper,
  .product-info-wrapper .product-info-price,
  .product-info-wrapper .kc-cashback,
  .product-info-wrapper .kredivo-label,
  .product-info-wrapper .available-block,
  .product-info-wrapper .product.attribute.overview,
  .product-info-wrapper .product-config,
  .product-info-wrapper .product.media,
  .main-image-wrapper .main-image,
  .page-title .base,
  #OLYMPUS88-SLOT-GACOR-popup-overlay,
  #OLYMPUS88-SLOT-GACOR-popup,
  .action.primary,
  .action.tocart,
  #product-addtocart-button,
  .action.towishlist,
  .notlogingift,
  .OLYMPUS88-SLOT-GACOR-btn-login::after,
  .OLYMPUS88-SLOT-GACOR-btn-daftar::after,
  .action.primary::after,
  .action.tocart::after,
  #product-addtocart-button::after,
  .action.towishlist::after {
    animation: none;
  }

  .oly-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: 0.01ms;
  }
}
