.custom-shop-page {
  --woo-purple: #7f54b3;
  --woo-purple-dark: #674399;
  --woo-purple-soft: #f6f0fa;
  --woo-purple-border: rgba(127, 84, 179, 0.2);
  --dark: #241b2f;
  --text: #2c2333;
  --muted: #6f6477;
  --white: #ffffff;

  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #fbf8fd;
  color: var(--text);
}

.custom-shop-page,
.custom-shop-page * {
  box-sizing: border-box;
}

.custom-shop-page a {
  text-decoration: none !important;
}

/* HERO */

.custom-shop-hero {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 34px;
  padding: 42px 6% 32px;
  background:
    radial-gradient(circle at 95% 10%, rgba(127, 84, 179, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f6f0fa 100%);
}

.custom-shop-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(127, 84, 179, 0.12) !important;
  color: var(--woo-purple) !important;
  border: 1px solid var(--woo-purple-border);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.custom-shop-hero h1 {
  max-width: 720px;
  color: var(--dark) !important;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 950;
  margin: 0 0 16px;
}

.custom-shop-hero p {
  max-width: 620px;
  color: var(--muted) !important;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.custom-shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.custom-shop-btn {
  min-height: 50px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  transition: all 0.22s ease;
}

.custom-shop-btn:hover {
  transform: translateY(-2px);
}

.custom-shop-btn--primary {
  background: var(--woo-purple) !important;
  color: var(--white) !important;
  border: 2px solid var(--woo-purple) !important;
  box-shadow: 0 14px 30px rgba(127, 84, 179, 0.32);
  animation: customShopPulse 1.9s infinite;
}

.custom-shop-btn--secondary {
  background: var(--white) !important;
  color: var(--woo-purple) !important;
  border: 2px solid var(--woo-purple) !important;
}

.custom-shop-btn--light {
  background: var(--white) !important;
  color: var(--woo-purple) !important;
  border: 2px solid var(--white) !important;
}

@keyframes customShopPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(127, 84, 179, 0.42);
  }

  70% {
    box-shadow: 0 0 0 13px rgba(127, 84, 179, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(127, 84, 179, 0);
  }
}

.custom-shop-hero__visual {
  width: 100%;
  min-height: 310px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(127, 84, 179, 0.18), transparent 55%),
    #ffffff;
  box-shadow: 0 22px 55px rgba(36, 27, 47, 0.14);
  border: 1px solid var(--woo-purple-border);
}

.custom-shop-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  display: block;
  object-fit: contain;
  padding: 24px;
}

.custom-shop-hero__placeholder {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--dark), var(--woo-purple));
}

.custom-shop-hero__placeholder strong {
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
}

.custom-shop-hero__placeholder span {
  margin-top: 12px;
  font-weight: 800;
}

/* BENEFITS */

.custom-shop-proof {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px 6%;
  background: var(--white);
  border-top: 1px solid var(--woo-purple-border);
  border-bottom: 1px solid var(--woo-purple-border);
}

.custom-shop-proof div {
  background: var(--woo-purple-soft);
  border: 1px solid var(--woo-purple-border);
  border-radius: 18px;
  padding: 15px 18px;
}

.custom-shop-proof strong {
  display: block;
  color: var(--dark);
  font-size: 15px;
  font-weight: 950;
  margin-bottom: 3px;
}

.custom-shop-proof span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* MARQUEE */

.custom-shop-marquee {
  overflow: hidden;
  padding: 12px 0;
  background: var(--dark);
  color: var(--white);
}

.custom-shop-marquee__track {
  width: max-content;
  display: flex;
  gap: 34px;
  animation: customShopMarquee 24s linear infinite;
}

.custom-shop-marquee__track span {
  white-space: nowrap;
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes customShopMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* PRODUCTS */

.custom-shop-products-section {
  width: 100%;
  padding: 44px 6% 60px;
}

.custom-shop-section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.custom-shop-section-heading span {
  display: inline-block;
  color: var(--woo-purple) !important;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.custom-shop-section-heading h2 {
  color: var(--dark) !important;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 950;
  margin: 0 0 10px;
}

.custom-shop-section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.custom-shop-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.custom-product-card {
  background: var(--white);
  border: 1px solid var(--woo-purple-border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(36, 27, 47, 0.08);
  transition: all 0.22s ease;
}

.custom-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(36, 27, 47, 0.14);
  border-color: rgba(127, 84, 179, 0.35);
}

.custom-product-card__image {
  display: block;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(127, 84, 179, 0.13), transparent 55%),
    #f8f3fb;
  overflow: hidden;
}

.custom-product-card__image img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.28s ease;
}

.custom-product-card:hover .custom-product-card__image img {
  transform: scale(1.04);
}

.custom-product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--woo-purple) !important;
  color: var(--white) !important;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.custom-product-card__body {
  padding: 18px;
}

.custom-product-card__body h3 {
  min-height: 54px;
  color: var(--dark) !important;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
  margin: 0 0 12px;
}

.custom-product-card__body h3 a {
  color: var(--dark) !important;
}

.custom-product-card__price {
  color: var(--woo-purple) !important;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 950;
  margin-bottom: 15px;
}

.custom-product-card__price del {
  color: #a79bad;
  font-size: 14px;
  margin-right: 5px;
}

.custom-product-card__price ins {
  text-decoration: none;
}

.custom-product-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  align-items: center;
}

.custom-add-to-cart {
  min-height: 46px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--woo-purple) !important;
  color: var(--white) !important;
  border: 2px solid var(--woo-purple) !important;
  border-radius: 999px !important;
  padding: 12px 16px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 22px rgba(127, 84, 179, 0.24);
}

.custom-add-to-cart:hover {
  background: var(--woo-purple-dark) !important;
  border-color: var(--woo-purple-dark) !important;
  color: var(--white) !important;
}

.custom-view-details {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--woo-purple) !important;
  background: var(--woo-purple-soft);
  border: 1px solid var(--woo-purple-border);
  border-radius: 999px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 950;
}

/* SALES BLOCK */

.custom-shop-sales-block {
  margin: 0 6% 86px;
  padding: 42px;
  border-radius: 32px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, var(--dark), var(--woo-purple));
  box-shadow: 0 24px 64px rgba(36, 27, 47, 0.22);
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.custom-shop-sales-block span {
  display: inline-block;
  color: #efe3f8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.custom-shop-sales-block h2 {
  color: var(--white) !important;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 950;
  margin: 0 0 10px;
}

.custom-shop-sales-block p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* FLOATING CART */

.custom-floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--woo-purple) !important;
  color: var(--white) !important;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(127, 84, 179, 0.36);
}

.custom-shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

/* TABLET */

@media (max-width: 1024px) {
  .custom-shop-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 5% 28px;
  }

  .custom-shop-badge,
  .custom-shop-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .custom-shop-hero__actions {
    justify-content: center;
  }

  .custom-shop-hero__visual {
    max-width: 620px;
    margin: 0 auto;
  }

  .custom-shop-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-shop-sales-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .custom-shop-sales-block p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* MOBILE - 2 COLUMNS */

@media (max-width: 680px) {
  .custom-shop-hero {
    padding: 26px 14px 20px;
    gap: 18px;
  }

  .custom-shop-badge {
    font-size: 10px;
    padding: 8px 12px;
    margin-bottom: 12px;
  }

  .custom-shop-hero h1 {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 12px;
  }

  .custom-shop-hero p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .custom-shop-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .custom-shop-btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 12px;
    font-size: 12px;
  }

  .custom-shop-hero__visual {
    min-height: 210px;
    border-radius: 24px;
  }

  .custom-shop-hero__visual img {
    min-height: 210px;
    padding: 16px;
  }

  .custom-shop-proof {
    grid-template-columns: 1fr;
    padding: 12px 14px;
    gap: 9px;
  }

  .custom-shop-proof div {
    padding: 12px 14px;
  }

  .custom-shop-marquee {
    padding: 10px 0;
  }

  .custom-shop-products-section {
    padding: 34px 14px 48px;
  }

  .custom-shop-section-heading {
    margin-bottom: 22px;
  }

  .custom-shop-section-heading h2 {
    font-size: 30px;
  }

  .custom-shop-section-heading p {
    font-size: 14px;
  }

  .custom-shop-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .custom-product-card {
    border-radius: 20px;
  }

  .custom-product-card__image img {
    height: 155px;
    padding: 12px;
  }

  .custom-product-badge {
    top: 9px;
    left: 9px;
    font-size: 9px;
    padding: 5px 9px;
  }

  .custom-product-card__body {
    padding: 12px;
  }

  .custom-product-card__body h3 {
    min-height: 58px;
    font-size: 13px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .custom-product-card__price {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .custom-product-card__actions {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .custom-add-to-cart,
  .custom-view-details {
    min-height: 40px;
    width: 100%;
    font-size: 10px !important;
    padding: 10px 8px !important;
  }

  .custom-shop-sales-block {
    margin: 0 14px 78px;
    padding: 26px 20px;
    border-radius: 26px;
  }

  .custom-shop-sales-block h2 {
    font-size: 28px;
  }

  .custom-shop-sales-block p {
    font-size: 14px;
  }

  .custom-floating-cart {
    left: 14px;
    right: 14px;
    bottom: 12px;
    width: auto;
    min-height: 50px;
    padding: 14px 20px;
  }
}
/* VERSION 1.1 - HERO CAROUSEL, TIMER, PULSE BUTTONS, CART ICON */

/* Force WooCommerce purple */
.custom-shop-page {
  --woo-purple: #7f54b3 !important;
  --woo-purple-dark: #674399 !important;
  --woo-purple-soft: #f6f0fa !important;
  --woo-purple-border: rgba(127, 84, 179, 0.22) !important;
}

.custom-shop-btn--primary,
.custom-add-to-cart,
.custom-floating-cart,
.custom-product-badge {
  background: var(--woo-purple) !important;
  border-color: var(--woo-purple) !important;
}

.custom-shop-btn--secondary,
.custom-view-details,
.custom-shop-section-heading span,
.custom-product-card__price {
  color: var(--woo-purple) !important;
}

/* Hero carousel */
.custom-shop-hero__visual {
  position: relative;
  min-height: 330px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(127, 84, 179, 0.18), transparent 55%),
    #ffffff;
  box-shadow: 0 22px 55px rgba(36, 27, 47, 0.14);
  border: 1px solid var(--woo-purple-border);
}

.custom-hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 330px;
}

.custom-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.custom-hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: contain;
  padding: 24px;
  display: block;
}

.custom-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(36, 27, 47, 0.18);
  backdrop-filter: blur(10px);
}

.custom-hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.25s ease;
}

.custom-hero-dot.is-active {
  width: 22px;
  background: #ffffff;
}

/* Offer timer */
.custom-offer-timer {
  padding: 18px 6%;
  background:
    linear-gradient(90deg, var(--woo-purple), var(--woo-purple-dark));
  color: #ffffff;
}

.custom-offer-timer__content {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 74px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 22px;
  box-shadow: 0 18px 42px rgba(36, 27, 47, 0.18);
}

.custom-offer-timer__label {
  width: fit-content;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.custom-offer-timer strong {
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.5px;
}

.custom-offer-timer__time {
  min-width: 116px;
  text-align: center;
  background: #ffffff;
  color: var(--woo-purple);
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
  box-shadow: 0 10px 26px rgba(36, 27, 47, 0.22);
  animation: timerPulse 1.5s infinite;
}

@keyframes timerPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }

  100% {
    transform: scale(1);
  }
}

/* View Product pulse */
.custom-view-details {
  animation: viewProductPulse 1.8s infinite;
  box-shadow: 0 8px 18px rgba(127, 84, 179, 0.16);
}

@keyframes viewProductPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(127, 84, 179, 0.38);
  }

  70% {
    transform: scale(1.035);
    box-shadow: 0 0 0 10px rgba(127, 84, 179, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(127, 84, 179, 0);
  }
}

/* Floating cart icon */
.custom-floating-cart {
  width: 66px;
  height: 66px;
  min-height: 66px;
  padding: 0 !important;
  border-radius: 22px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 32%),
    linear-gradient(135deg, var(--woo-purple), var(--woo-purple-dark)) !important;
  box-shadow: 0 18px 42px rgba(127, 84, 179, 0.40);
  animation: cartFloat 2.2s infinite;
}

.custom-floating-cart__icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-floating-cart__icon svg {
  width: 31px;
  height: 31px;
  fill: #ffffff;
}

.custom-floating-cart__count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff4d6d;
  color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.custom-floating-cart__count:empty {
  display: none;
}

@keyframes cartFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Mobile improvements */
@media (max-width: 680px) {
  .custom-shop-hero__visual,
  .custom-hero-carousel {
    min-height: 230px;
  }

  .custom-hero-slide img {
    min-height: 230px;
    padding: 14px;
  }

  .custom-hero-dots {
    bottom: 10px;
    padding: 7px 9px;
  }

  .custom-hero-dot {
    width: 7px;
    height: 7px;
  }

  .custom-hero-dot.is-active {
    width: 18px;
  }

  .custom-offer-timer {
    padding: 14px;
  }

  .custom-offer-timer__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
  }

  .custom-offer-timer__label {
    margin: 0 auto;
  }

  .custom-offer-timer strong {
    font-size: 20px;
  }

  .custom-offer-timer__time {
    margin: 0 auto;
    min-width: 110px;
    font-size: 26px;
  }

  .custom-floating-cart {
    left: auto;
    right: 14px;
    bottom: 14px;
    width: 60px;
    height: 60px;
    min-height: 60px;
    border-radius: 20px;
  }

  .custom-floating-cart__icon svg {
    width: 28px;
    height: 28px;
  }

  .custom-floating-cart__count {
    top: -7px;
    right: -7px;
  }
}
/* VERSION 1.2 - STICKY RED URGENCY TIMER */

.custom-offer-timer {
  position: sticky;
  top: 0;
  z-index: 9998;
  padding: 12px 6%;
  background:
    linear-gradient(90deg, #b91c1c, #dc2626, #ef4444) !important;
  color: #ffffff;
  box-shadow: 0 12px 34px rgba(185, 28, 28, 0.28);
}

.custom-offer-timer__content {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 68px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.13) !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  padding: 14px 20px;
  box-shadow: none !important;
}

.custom-offer-timer__label {
  background: #ffffff !important;
  color: #b91c1c !important;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  animation: urgencyBlink 1.2s infinite;
}

.custom-offer-timer strong {
  color: #ffffff !important;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.4px;
}

.custom-offer-timer__time {
  min-width: 118px;
  text-align: center;
  background: #111827 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff;
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
  animation: timerRedPulse 1s infinite;
}

@keyframes timerRedPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.48);
  }

  70% {
    transform: scale(1.06);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes urgencyBlink {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 680px) {
  .custom-offer-timer {
    top: 0;
    padding: 10px 10px;
  }

  .custom-offer-timer__content {
    min-height: auto;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label time"
      "text time";
    gap: 6px 10px;
    padding: 12px;
    border-radius: 18px;
    text-align: left;
  }

  .custom-offer-timer__label {
    grid-area: label;
    margin: 0;
    width: fit-content;
    font-size: 9px;
    padding: 6px 9px;
  }

  .custom-offer-timer strong {
    grid-area: text;
    font-size: 15px;
    line-height: 1.15;
  }

  .custom-offer-timer__time {
    grid-area: time;
    min-width: 86px;
    font-size: 22px;
    padding: 10px 9px;
    border-radius: 15px;
  }
}
/* VERSION 1.3 - GLOBAL FIXED RED TIMER */

.global-offer-timer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: linear-gradient(90deg, #b91c1c, #dc2626, #ef4444);
  color: #ffffff;
  padding: 6px 14px;
  box-shadow: 0 8px 22px rgba(185, 28, 28, 0.28);
}

.global-offer-timer.is-expired {
  display: none !important;
}

.global-offer-timer__inner {
  max-width: 1180px;
  min-height: 42px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.global-offer-timer__label {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.global-offer-timer strong {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  margin: 0;
  text-align: center;
}

.global-offer-timer__time {
  min-width: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #111827 !important;
  border: 2px solid #ffffff;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  animation: globalTimerPulse 1.2s infinite;
}

@keyframes globalTimerPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }

  100% {
    transform: scale(1);
  }
}

/* Push site content down so the fixed timer does not cover the header */
body {
  padding-top: 54px;
}

/* Hide old timer if any old PHP block is still present */
.custom-offer-timer {
  display: none !important;
}

@media (max-width: 680px) {
  .global-offer-timer {
    padding: 6px 10px;
  }

  .global-offer-timer__inner {
    min-height: 40px;
    grid-template-columns: auto 1fr auto;
    gap: 7px;
  }

  .global-offer-timer__label {
    font-size: 8px;
    padding: 6px 8px;
    letter-spacing: 0.4px;
  }

  .global-offer-timer strong {
    font-size: 12px;
    text-align: left;
  }

  .global-offer-timer__time {
    min-width: 70px;
    padding: 7px 9px;
    font-size: 15px;
  }

  body {
    padding-top: 52px;
  }
}

@media (max-width: 420px) {
  .global-offer-timer__label {
    display: none;
  }

  .global-offer-timer__inner {
    grid-template-columns: 1fr auto;
  }
}