/* CANTONATOTO local overrides - independent from external templates */

html, body{
  margin: 0;
  padding: 0;
  padding-bottom: 78px;
  background: #ffffff;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  max-width: 100%;
}

#wrap{
  background: #ffffff;
  color: #111111;
  overflow-x: hidden;
  max-width: 100%;
}

#rain-canvas,
#lightning-canvas,
#lightning-flash{
  display: none !important;
}

.pd-banner,
.srd19-gnb-search,
.pdd39-anchor-nav__menu,
.pdd39-anchor-nav__price,
.pdd39-anchor-nav__header-dummy,
.pdd39-anchor-nav__bottom-wrap,
.pdd16-step-buying,
.pdd16-step-buying-v2,
.hdd02-pdp-header__buying-tool,
.hdd02-buying-tool,
.progress.cm-loader,
.skip-bar{
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

.nv00-gnb-v4__container[aria-hidden="true"]{
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.hdd02-gallery__popup .ocean-effect-box{
  display: none !important;
}

.hdd02-pdp-header__gallery-area,
.hdd02-pdp-header__gallery{
  padding: 12px 12px 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 980px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}
.hdd02-pdp-header,
.pd-g-product-detail-header-ux2{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.pd-g-reasons-to-buy-ux2{
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.lx-container{
  margin-top: 0 !important;
  padding-top: 8px !important;
}
.rtp-calendar-CANTONATOTO{
  margin-top: 8px !important;
}
.hdd02-gallery{
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 420px !important;
  flex: 0 1 420px !important;
}
.hdd02-gallery__cta,
.hdd02-gallery__thumbnail,
.hdd02-gallery__pagination,
.hdd02-gallery .swiper-button-prev,
.hdd02-gallery .swiper-button-next{
  display: none !important;
}
.hdd02-gallery__content,
.hdd02-gallery__list,
.hdd02-gallery__list .swiper-wrapper,
.hdd02-gallery__item,
.hdd02-gallery__image,
.hdd02-gallery__image .image,
.hdd02-gallery__image img{
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
}
.hdd02-gallery__image img{
  height: auto !important;
  display: block !important;
  object-fit: cover;
  border-radius: 12px;
}
.slide-info-running{
  margin: 0 0 8px !important;
  width: 100% !important;
  max-width: 420px !important;
}

/* Side column: WD/DP feeds + KLIK DAFTAR CTA */
.cto-tx-side{
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 420px;
  align-self: stretch;
}
.cto-tx-feeds{
  display: flex;
  gap: 8px;
  width: 100%;
  flex: 0 0 auto;
}
.cto-klik-daftar{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 88px;
  margin: 0;
  padding: 14px 12px;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,200,80,.45), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255,60,40,.35), transparent 50%),
    linear-gradient(135deg, #7a0000 0%, #ff2a00 42%, #ffb400 78%, #ff4d00 100%);
  border: 2px solid #ffe08a;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.25),
    0 8px 22px rgba(255,60,0,.35),
    inset 0 1px 0 rgba(255,255,255,.35);
  animation: ctoKlikPulse 1.4s ease-in-out infinite;
  transform-origin: center;
}
.cto-klik-daftar__label{
  position: relative;
  z-index: 2;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-shadow:
    0 2px 0 #7a0000,
    0 0 10px rgba(255,230,120,.9),
    0 0 22px rgba(255,80,0,.75);
  animation: ctoKlikBlink 1s steps(2, end) infinite;
}
.cto-klik-daftar__sub{
  position: relative;
  z-index: 2;
  margin-top: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #fff4c2;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.cto-klik-daftar__shine{
  position: absolute;
  inset: -40% auto -40% -40%;
  width: 40%;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: ctoKlikShine 2.4s linear infinite;
  pointer-events: none;
}
.cto-klik-daftar__spark{
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff7c2;
  box-shadow: 0 0 8px 2px #ffd36a, 0 0 16px 4px rgba(255,140,0,.7);
  animation: ctoKlikSpark 1.1s ease-in-out infinite;
  pointer-events: none;
}
.cto-klik-daftar__spark--1{ top: 14%; left: 12%; animation-delay: 0s; }
.cto-klik-daftar__spark--2{ top: 22%; right: 14%; animation-delay: .35s; }
.cto-klik-daftar__spark--3{ bottom: 16%; left: 46%; animation-delay: .7s; }
.cto-klik-daftar:hover{
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.25),
    0 10px 28px rgba(255,80,0,.5),
    inset 0 1px 0 rgba(255,255,255,.4);
}
.cto-klik-daftar:active{ transform: scale(.98); }

@keyframes ctoKlikPulse{
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 22px rgba(255,60,0,.35), inset 0 1px 0 rgba(255,255,255,.35); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 12px 30px rgba(255,90,0,.55), inset 0 1px 0 rgba(255,255,255,.45); }
}
@keyframes ctoKlikBlink{
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: .72; filter: brightness(1.35); }
}
@keyframes ctoKlikShine{
  0% { left: -45%; }
  100% { left: 120%; }
}
@keyframes ctoKlikSpark{
  0%, 100% { opacity: .25; transform: scale(.6); }
  50% { opacity: 1; transform: scale(1.25); }
}
.cto-tx-feeds__col{
  flex: 1 1 0;
  min-width: 0;
  background: #111111;
  border: 1px solid #333333;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.cto-tx-feeds__col--wd .cto-tx-feeds__head{
  background: linear-gradient(90deg, #7a1f1f, #ff3b3b);
}
.cto-tx-feeds__col--dp .cto-tx-feeds__head{
  background: linear-gradient(90deg, #0f5c2e, #1fbf5a);
}
.cto-tx-feeds__head{
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .5px;
  text-align: center;
  padding: 7px 6px;
}
.cto-tx-feeds__viewport{
  position: relative;
  overflow: hidden;
  height: 210px;
  background: #0a0a0a;
}
.cto-tx-feeds__list{
  list-style: none;
  margin: 0;
  padding: 0;
  animation: ctoTxScroll 120s linear infinite;
  will-change: transform;
}
.cto-tx-feeds__col--dp .cto-tx-feeds__list{
  animation-duration: 140s;
  animation-direction: reverse;
}
.cto-tx-feeds__item{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.25;
  color: #fff;
}
.cto-tx-feeds__id{
  color: #ffd27a;
  font-weight: 700;
  white-space: nowrap;
}
.cto-tx-feeds__amt{
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
}
.cto-tx-feeds__col--wd .cto-tx-feeds__amt{ color: #ff8e8e; }
.cto-tx-feeds__col--dp .cto-tx-feeds__amt{ color: #7dffb0; }

@keyframes ctoTxScroll{
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.cto-tx-feeds__viewport:hover .cto-tx-feeds__list{
  animation-play-state: paused;
}

@media (max-width: 900px){
  .hdd02-pdp-header__gallery-area,
  .hdd02-pdp-header__gallery{
    max-width: 100% !important;
  }
  .cto-tx-side{
    max-width: 100%;
  }
  .cto-tx-feeds__viewport{ height: 190px; }
}

@media (max-width: 480px){
  .hdd02-gallery,
  .hdd02-gallery__content,
  .hdd02-gallery__list,
  .hdd02-gallery__list .swiper-wrapper,
  .hdd02-gallery__item,
  .hdd02-gallery__image,
  .hdd02-gallery__image .image,
  .hdd02-gallery__image img,
  .slide-info-running{
    max-width: 100% !important;
  }
  .hdd02-gallery{
    flex: 1 1 100% !important;
  }
  .cto-tx-side{
    flex: 1 1 100%;
  }
  .cto-tx-feeds__viewport{ height: 170px; }
  .cto-tx-feeds__item{ font-size: 10px; padding: 5px 7px; }
  .cto-klik-daftar{ min-height: 72px; }
  .cto-klik-daftar__label{ font-size: 22px; }
}

.ocean-effect-box{
  margin: 18px 0;
  color: #111111;
}
.ocean-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ocean-card{
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 16px 14px;
  color: #111111;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.ocean-card b{
  display: block;
  margin: 6px 0 8px;
  color: #111111;
}
.ocean-card p{
  margin: 0;
  color: #333333;
  font-size: 14px;
  line-height: 1.55;
}
.bubble-wrap{ display: none; }

.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
  max-width: 1100px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}
.review-card{
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  color: #111111;
}
.review-name{ font-weight: 700; color: #111111; }
.review-stars{ color: #ff6b00; }
.review-text{ color: #333333; font-size: 14px; line-height: 1.65; font-style: italic; }
.review-date{ color: #777777; font-size: 12px; }

@media (max-width: 900px){
  .ocean-grid,
  .reviews-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .ocean-grid,
  .reviews-grid{ grid-template-columns: 1fr; }
}

/* Sticky action footer: Login / Daftar / Live Chat */
.breadcrumb,
.footer:not(.cto-action-footer),
.pdd39-anchor-nav__bottom-wrap,
.pd-g-manufacturer-info-popup,
.fab{
  display: none !important;
}

.cto-action-footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #0a0a0a;
  border-top: 1px solid #333333;
  box-shadow: 0 -8px 24px rgba(0,0,0,.35);
}
.cto-action-footer__inner{
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.cto-action-footer__item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  border-radius: 12px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: #1a1a1a;
  border: 1px solid #333333;
}
.cto-action-footer__item--daftar{
  background: #ff6b00;
  border-color: #ff6b00;
  color: #ffffff;
}
.cto-action-footer__item--login,
.cto-action-footer__item--chat{
  color: #ff6b00;
}
.cto-action-footer__icon{
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}
.cto-action-footer__item:hover{
  filter: brightness(1.08);
}
