/* ios-store-three-circle 1.0.0-20261125
   Gated preview. Layers on top of T2 padlock and T2b heart ball.
   Does not edit those files. */

body.ios-three-circle-preview {
  /* Middle size: 40px grey-outline circles on desktop, 44px on phones
     under 768 so the visible circle itself feels finger-sized.
     Cluster width is 645/240 of that circle (master crop vs r=120). */
  --ios-tc-circle: 40px;
  --ios-tc-w: calc(645 / 240 * var(--ios-tc-circle)); /* 107.5px at 40px */
  --ios-tc-clip-px: calc(220 / 240 * var(--ios-tc-circle)); /* 36.7px, inner edge of grey */
  --ios-tc-disc-px: calc(156 / 240 * var(--ios-tc-circle)); /* 26.0px at rest, 65% of the circle */
  --ios-tc-disc-hover-px: calc(196 / 240 * var(--ios-tc-circle)); /* 32.7px, about 82% */
  --ios-tc-hit: 44px; /* never smaller than a finger, even when the circle is 40px */
  --ios-tc-hover: 1.2564;
  /* Sit on the top edge. At 40px this covers about 24px of the logo,
     against 32px for the current live balls. */
  --ios-tc-center-y: 0px;
}
@media (max-width: 767px) {
  body.ios-three-circle-preview {
    --ios-tc-circle: 44px; /* 118.3px group; about 26px of the logo covered */
    --ios-tc-hit: 44px;
  }
}

/* Give the sticker room above the logo. Holders and columns must not clip it. */
body.ios-three-circle-preview .cls_home_sales_hld {
  overflow: visible !important;
  padding-top: 30px;
  box-sizing: border-box;
}
body.ios-three-circle-preview .cls_a45a8,
body.ios-three-circle-preview .wpb_column,
body.ios-three-circle-preview .vc_column_container,
body.ios-three-circle-preview .vc_column-inner,
body.ios-three-circle-preview .wpb_wrapper {
  overflow: visible !important;
}

body.ios-three-circle-preview .cls_home_sales.ios-tc-ready {
  overflow: visible !important;
}

body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .ios-tc-frame {
  position: absolute;
  left: 0;
  top: calc(var(--ios-tc-center-y) - 140.5 / 240 * var(--ios-tc-circle));
  z-index: 4;
  display: block;
  width: var(--ios-tc-w);
  height: auto;
  aspect-ratio: 645 / 282;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url(img/ios-tc-base.png);
  background-image: image-set(
    url(img/ios-tc-base.webp) type("image/webp"),
    url(img/ios-tc-base.png) type("image/png")
  );
}

/* The control itself is the 44px hit area (overflow visible so the
   ring is not clipped by the smaller visual circle). */
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock {
  position: absolute !important;
  box-sizing: border-box !important;
  width: var(--ios-tc-hit) !important;
  height: var(--ios-tc-hit) !important;
  min-width: var(--ios-tc-hit) !important;
  min-height: var(--ios-tc-hit) !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
  z-index: 5;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl {
  left: calc(141 / 645 * var(--ios-tc-w) - var(--ios-tc-hit) / 2) !important;
  top: calc(var(--ios-tc-center-y) - var(--ios-tc-hit) / 2) !important;
  z-index: 5;
}

body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45 {
  left: calc(322 / 645 * var(--ios-tc-w) - var(--ios-tc-hit) / 2) !important;
  top: calc(var(--ios-tc-center-y) - var(--ios-tc-hit) / 2) !important;
  z-index: 6;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  opacity: 1 !important;
}

body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock {
  left: calc(503 / 645 * var(--ios-tc-w) - var(--ios-tc-hit) / 2) !important;
  top: calc(var(--ios-tc-center-y) - var(--ios-tc-hit) / 2) !important;
  z-index: 7;
}

/* 44px invisible hit ring, even when the visual circle is a little smaller
   (for example 6-across at 884). */
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl::before,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45::before,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--ios-tc-hit);
  height: var(--ios-tc-hit);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: none !important;
  box-shadow: none !important;
  z-index: 0;
  pointer-events: auto;
}

/* Visual clip well, 30px, overflow hidden so a grown disc cannot
   spill past the grey outline. The disc is the background, sized
   independently of the 44px hit area. */
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl::after,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--ios-tc-clip-px);
  height: var(--ios-tc-clip-px);
  border-radius: 50%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: var(--ios-tc-disc-px) var(--ios-tc-disc-px);
  transform: translate(-50%, -50%);
  transition: background-size 0.3s ease-in-out;
  z-index: 1;
  pointer-events: none;
}

body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl::after {
  /* JS copies the page badge (sales tag, gift, catalogue, and so on)
     into --ios-tc-badge before the preview class is applied. */
  background-image: var(--ios-tc-badge);
}
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl.sl_new_arrivals::after {
  background-image: url(img/ios-tc-box.png);
  background-image: image-set(
    url(img/ios-tc-box.webp) type("image/webp"),
    url(img/ios-tc-box.png) type("image/png")
  );
}
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock::after {
  background-image: url(img/ios-tc-lock.png?v=20261128p);
  background-image: image-set(
    url(img/ios-tc-lock.webp?v=20261128p) type("image/webp"),
    url(img/ios-tc-lock.png?v=20261128p) type("image/png")
  );
}
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock .ios-store-padlock__glyph {
  display: none !important;
}

/* Heart disc lives on the existing icon element so the saved class can swap it. */
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45 .fav_hold_45_heart,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45 .fav_hold_45_heart::before {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45 .fav_hold_45_heart::before {
  content: none !important;
  display: none !important;
}
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45 .fav_hold_45_heart {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  display: block !important;
  width: var(--ios-tc-clip-px) !important;
  height: var(--ios-tc-clip-px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: var(--ios-tc-disc-px) var(--ios-tc-disc-px) !important;
  background-image: url(img/ios-tc-heart.png?v=20261128o) !important;
  background-image: image-set(
    url(img/ios-tc-heart.webp?v=20261128o) type("image/webp"),
    url(img/ios-tc-heart.png?v=20261128o) type("image/png")
  ) !important;
  transform: translate(-50%, -50%) !important;
  transition: background-size 0.3s ease-in-out;
  filter: none !important;
  z-index: 1 !important;
  pointer-events: none;
}

/* Saved store: Australian flag heart inside the same circle, same size and grow. */
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45.fav_hold_45_user_fav,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45_user_fav {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45.fav_hold_45_user_fav .fav_hold_45_heart,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45_user_fav .fav_hold_45_heart {
  background-color: transparent !important;
  background-image: url(img/ios-tc-flag-heart.png) !important;
  background-image: image-set(
    url(img/ios-tc-flag-heart.webp) type("image/webp"),
    url(img/ios-tc-flag-heart.png) type("image/png")
  ) !important;
  background-size: var(--ios-tc-disc-px) var(--ios-tc-disc-px) !important;
  border-radius: 50% !important;
  filter: none !important;
}

body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45 .fav_hold_45_load {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: #d9640e !important;
  z-index: 2 !important;
}

/* Hover grow is desktop / fine pointer only. No hover dependency on touch,
   and no leftover scale after a tap (the T2b iOS freeze). */
@media (hover: hover) and (pointer: fine) {
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl:hover::after,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl:focus-visible::after,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock:hover::after,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock:focus-visible::after,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock.is-pop::after,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45:hover .fav_hold_45_heart,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45:focus-visible .fav_hold_45_heart {
    background-size: var(--ios-tc-disc-hover-px) var(--ios-tc-disc-hover-px) !important;
  }
}
@media (hover: none), (pointer: coarse) {
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl:hover,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl:focus-visible,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl:active,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45:hover,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45:focus-visible,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45:active,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock:hover,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock:focus-visible,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock:active,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock.is-pop {
    transform: none !important;
  }
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl:hover::after,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45:hover .fav_hold_45_heart,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock:hover::after,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock.is-pop::after {
    background-size: var(--ios-tc-disc-px) var(--ios-tc-disc-px) !important;
    transform: translate(-50%, -50%) !important;
  }
}

body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl:focus-visible,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45:focus-visible,
body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(238, 106, 11, 0.7) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .sl::after,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > button.ios-store-padlock::after,
  body.ios-three-circle-preview .cls_home_sales.ios-tc-ready > .fav_hold_45 .fav_hold_45_heart {
    transition: none !important;
  }
}
