/* ============================================================
   Shrine Components — Adapted from Shrine PRO Shopify Theme
   ============================================================ */

/* 1. BUTTON SYSTEM
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  padding: 0.875rem 2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background-color: var(--color-primary);
  border-radius: var(--buttons-radius);
  cursor: pointer;
  transition:
    box-shadow var(--duration-short) ease,
    transform var(--duration-short) ease;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  line-height: 1.4;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.12);
}
.btn:hover {
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.18);
  background-color: var(--color-primary-dark);
}
.btn:focus,
.btn:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 0.3rem var(--color-background),
    0 0 0 0.5rem rgba(0, 0, 0, 0.25);
}
.btn:active {
  transform: scale(0.98);
}
.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}
.btn--secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}
.btn--tertiary {
  background-color: transparent;
  color: var(--color-text-secondary);
  box-shadow: none;
  padding: 0.5rem 1rem;
}
.btn--tertiary:hover {
  color: var(--color-primary);
  background-color: rgba(78, 123, 88, 0.06);
}

/* 2. SECTION DIVIDERS (static SVG shapes)
   ------------------------------------------------------------ */
.section-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.section-divider svg {
  display: block;
  width: 100%;
  height: auto;
}
.section-divider--curved-2 svg {
  max-height: 60px;
}
.section-divider--curved-5 svg {
  max-height: 80px;
  min-height: 20px;
}
.section-divider--curved-6 svg {
  max-height: 80px;
  min-height: 17px;
}
.section-divider--flip-x svg {
  transform: scaleX(-1);
}
.section-divider--flip-y svg {
  transform: scaleY(-1);
}
.section-divider--flip-xy svg {
  transform: scaleX(-1) scaleY(-1);
}

/* 3. ANIMATED WAVE DIVIDERS
   ------------------------------------------------------------ */
.waves-animated {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.waves-animated svg {
  display: block;
  width: 100%;
  max-height: 3rem;
}
.waves-animated .parallax1 > use {
  animation: move-forever1 10s linear infinite;
}
.waves-animated .parallax2 > use {
  animation: move-forever2 8s linear infinite;
  opacity: 0.4;
}
.waves-animated .parallax3 > use {
  animation: move-forever3 6s linear infinite;
  opacity: 0.3;
}
.waves-animated .parallax4 > use {
  animation: move-forever4 4s linear infinite;
  opacity: 0.2;
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}
@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}
@keyframes move-forever3 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}
@keyframes move-forever4 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

@media screen and (min-width: 1000px) {
  .waves-animated svg {
    max-height: 6rem;
  }
}

/* 4. CART DRAWER
   ------------------------------------------------------------ */
.cart-drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-default) ease,
    visibility var(--duration-default) ease;
}
.cart-drawer__overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer__inner {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--drawer-width);
  max-width: 100%;
  height: 100%;
  background: var(--color-background);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--duration-default) ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}
.cart-drawer__overlay.is-open .cart-drawer__inner {
  transform: translateX(0);
}
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.cart-drawer__header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
}
.cart-drawer__count {
  font-weight: 600;
}
.cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  padding: 0;
  transition: background var(--duration-short) ease;
}
.cart-drawer__close:hover {
  background: rgba(0, 0, 0, 0.1);
}
.cart-drawer__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text-primary);
  stroke-width: 2;
  stroke-linecap: round;
}
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-drawer__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-drawer__item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.cart-drawer__item:last-child {
  border-bottom: none;
}
.cart-drawer__item-image {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}
.cart-drawer__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-drawer__item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.cart-drawer__item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-drawer__item-label {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cart-drawer__item-price {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-primary);
}
.cart-drawer__item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.cart-drawer__qty-static {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.cart-drawer__item-remove {
  background: none;
  border: none;
  color: var(--color-text-tertiary);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition: color var(--duration-short) ease;
  display: flex;
  align-items: center;
}
.cart-drawer__item-remove:hover {
  color: var(--color-error);
}
.cart-drawer__item-compare-price {
  text-decoration: line-through;
  color: var(--color-text-tertiary);
  font-weight: 400;
  font-size: 0.8rem;
}
.cart-drawer__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.cart-drawer__subtotal-label {
  font-weight: 600;
  color: var(--color-text-primary);
}
.cart-drawer__subtotal-amount {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text-primary);
}
.cart-drawer__checkout {
  width: 100%;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: transparent;
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: color 0.3s ease;
}
.cart-drawer__checkout::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  z-index: -1;
  transition: transform 0.3s ease;
  transform-origin: center;
}
.cart-drawer__checkout:hover {
  color: var(--color-primary);
  background-color: transparent;
  box-shadow: none;
}
.cart-drawer__checkout:hover::after {
  transform: scaleX(0);
}
.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  gap: 1rem;
  flex: 1;
}
.cart-drawer__empty-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-text-tertiary);
  stroke-width: 1.5;
  fill: none;
}
.cart-drawer__empty-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
}
.cart-drawer__empty-subtext {
  font-size: 0.9rem;
  color: var(--color-text-tertiary);
}

@media screen and (max-width: 480px) {
  .cart-drawer__inner {
    width: 100%;
  }
}

/* 4b. CART PROGRESS BAR
   ------------------------------------------------------------ */
.cart-drawer__progress-wrap:empty {
  display: none;
}
.cart-progress {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.cart-progress__text {
  margin: 0 0 0.6rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text-primary);
}
.cart-progress__bar {
  position: relative;
  height: 0.5rem;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 5rem;
}
.cart-progress__bar__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 5rem;
  background-color: var(--color-primary);
  transition: width 0.4s ease;
}
.cart-progress__bar__progress--striped {
  background-image: linear-gradient(
    315deg,
    rgba(255, 255, 255, 0.4) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.4) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  animation: slideBar 4s linear infinite;
}
@keyframes slideBar {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 10rem;
  }
}
.cart-progress__bar__badge {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  width: 2rem;
  height: 2rem;
  background: #fff;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
}

/* 4c. CART UPSELL
   ------------------------------------------------------------ */
.cart-upsell {
  padding-top: 0.5rem;
}
.cart-upsell__title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.cart-upsell__card {
  display: flex;
  gap: 0.75rem;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 0.75rem;
  align-items: flex-start;
}
.cart-upsell__image {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
}
.cart-upsell__content {
  flex: 1;
  min-width: 0;
}
.cart-upsell__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-primary);
  margin-bottom: 0.2rem;
}
.cart-upsell__desc {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin: 0 0 0.5rem;
}
.cart-upsell__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-upsell__price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}
.cart-upsell__add-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent;
  color: #fff;
  transition: color 0.3s ease;
}
.cart-upsell__add-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  z-index: -1;
  transition: transform 0.3s ease;
  transform-origin: center;
}
.cart-upsell__add-btn:hover {
  color: var(--color-primary);
}
.cart-upsell__add-btn:hover::after {
  transform: scaleX(0);
}
.cart-upsell__add-btn--added {
  border-color: var(--color-success);
  color: var(--color-success);
  cursor: default;
}
.cart-upsell__add-btn--added::after {
  background-color: var(--color-success);
  transform: scaleX(0);
}
.cart-upsell__add-btn--added:hover {
  color: var(--color-success);
}

/* 4d. CART DISCOUNT
   ------------------------------------------------------------ */
.cart-discount {
  margin: 0;
}
.cart-discount-form {
  margin: 0;
}
.cart-discount-form__row {
  display: flex;
  gap: 0;
}
.cart-discount-form__input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-right: none;
  border-radius: 6px 0 0 6px;
  outline: none;
  transition: border-color 0.2s ease;
  color: var(--color-text-primary);
}
.cart-discount-form__input:focus {
  border-color: var(--color-primary);
}
.cart-discount-form__btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-primary);
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent;
  color: #fff;
  transition: color 0.3s ease;
}
.cart-discount-form__btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  z-index: -1;
  transition: transform 0.3s ease;
  transform-origin: center;
}
.cart-discount-form__btn:hover {
  color: var(--color-primary);
}
.cart-discount-form__btn:hover::after {
  transform: scaleX(0);
}

/* 5. PRODUCT CARD SYSTEM
   ------------------------------------------------------------ */
.product-card {
  position: relative;
  border-radius: var(--product-card-corner-radius);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 1px var(--product-card-shadow-blur)
    rgba(0, 0, 0, var(--product-card-shadow-opacity));
  transition:
    transform var(--duration-default) ease,
    box-shadow var(--duration-default) ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.product-card__image {
  overflow: hidden;
  aspect-ratio: 1;
  background: #f5f5f5;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-long) ease;
}
.product-card:hover .product-card__image img {
  transform: scale(1.05);
}
.product-card__body {
  padding: 1rem;
}
.product-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-primary);
  margin: 0 0 0.375rem;
  line-height: 1.3;
}
.product-card__price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}
.product-card__price-compare {
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-weight: 400;
}
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}
.product-card__badge--sale {
  background: var(--color-error);
  color: #fff;
}
.product-card__badge--vip {
  background: var(--color-primary);
  color: #fff;
}

/* 6. SCROLL ANIMATION SYSTEM
   ------------------------------------------------------------ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--duration-extra-long) ease,
    transform var(--duration-extra-long) ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 7. HEADER (flat, not sticky)
   ------------------------------------------------------------ */
.header-section {
  position: relative;
  z-index: 100;
}
.header-section .container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Header cart count bubble */
.header-cart {
  position: relative;
}
.cart-count-bubble {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  transition: transform var(--duration-short) ease;
}
.cart-count-bubble.bump {
  animation: cart-bump 0.3s ease;
}
@keyframes cart-bump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* 8. ANNOUNCEMENT BAR REFINEMENTS
   ------------------------------------------------------------ */
.subheader-soc {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* 9. DESKTOP HEADER LAYOUT
   ------------------------------------------------------------ */
@media screen and (min-width: 769px) {
  .header-topbar {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .header-navigations {
    justify-self: center;
  }
  .header-cart {
    justify-self: end;
  }
}

/* 10. MOBILE NAV OVERLAY IMPROVEMENT
   ------------------------------------------------------------ */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-default) ease,
    visibility var(--duration-default) ease;
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* 11. FOOTER MULTI-COLUMN GRID
   ------------------------------------------------------------ */
.footer-topbar--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-topbar--grid .footer-col__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}
.footer-topbar--grid .footer-col__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-topbar--grid .footer-col__links li {
  margin-bottom: 0.5rem;
}
.footer-topbar--grid .footer-col__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--duration-short) ease;
}
.footer-topbar--grid .footer-col__links a:hover {
  color: #fff;
}
.footer-topbar--grid .footer-col__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-disclaimer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.5;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}
.footer-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  padding-top: 1rem;
}

@media screen and (max-width: 768px) {
  .footer-topbar--grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* 12. FORM INPUT TOKENS
   ------------------------------------------------------------ */
.shrine-input {
  border-radius: var(--inputs-radius);
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  transition:
    border-color var(--duration-short) ease,
    box-shadow var(--duration-short) ease;
  width: 100%;
}
.shrine-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(78, 123, 88, 0.1);
}

/* 13. CARD CONTAINER (for forms/sections)
   ------------------------------------------------------------ */
.shrine-card {
  background: var(--color-surface);
  border-radius: var(--product-card-corner-radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

/* 14. MICRO-INTERACTIONS (Phase 5)
   ------------------------------------------------------------ */
.header-navigations a {
  transition: color var(--duration-short) ease;
}
.footer-navigation a {
  transition: color var(--duration-short) ease;
}

/* 15. CHECKOUT PAGE POLISH
   ------------------------------------------------------------ */
.form-group input,
.form-group select {
  border-radius: var(--inputs-radius);
}
.form-section {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 16. CANCELLATION PAGE POLISH
   ------------------------------------------------------------ */
.cancellation-form-wrapper {
  background: var(--color-surface);
  border-radius: var(--product-card-corner-radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}
.cancellation-form-wrapper input,
.cancellation-form-wrapper select,
.cancellation-form-wrapper textarea {
  border-radius: var(--inputs-radius);
}

/* 17. SCROLL-TO-TOP BUTTON
   ------------------------------------------------------------ */
.scroll-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition:
    background var(--duration-short) ease,
    transform var(--duration-short) ease;
}
.scroll-to-top-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
.scroll-to-top-btn svg {
  width: 18px;
  height: 18px;
}

/* 18. ANNOUNCEMENT BAR
   ------------------------------------------------------------ */
.announcement-bar {
  background: linear-gradient(
    90deg,
    rgba(236, 72, 153, 1) 10%,
    rgba(124, 58, 237, 1) 30%,
    rgba(124, 58, 237, 1) 70%,
    rgba(236, 72, 153, 1) 100%
  );
  color: #fff;
  padding: 10px 0;
  position: relative;
  z-index: 5;
}
.announcement-bar__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.announcement-bar__icon {
  display: inline-flex;
  align-items: center;
}
.announcement-bar__icon svg {
  stroke: #fff;
}
.announcement-bar__timer {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
  .announcement-bar__content {
    font-size: 12px;
    gap: 8px;
  }
  .announcement-bar__icon {
    display: none;
  }
}

/* 19. TRUST TICKER
   ------------------------------------------------------------ */
.trust-ticker {
  background: white;
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.trust-ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}
.trust-ticker:hover .trust-ticker__track {
  animation-play-state: paused;
}
.trust-ticker__items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.trust-ticker__item {
  background-color: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 15px;
  letter-spacing: 0.02em;
}
.trust-ticker__item svg {
  stroke: var(--color-accent-light);
  flex-shrink: 0;
}
.trust-ticker__item svg path,
.trust-ticker__item svg circle,
.trust-ticker__item svg line,
.trust-ticker__item svg polyline,
.trust-ticker__item svg polygon {
  fill: none !important;
}
.trust-ticker__divider {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--color-accent-light);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 768px) {
  .trust-ticker {
    padding: 10px 0;
  }
  .trust-ticker__item {
    font-size: 12px;
    padding: 0 14px;
  }
}

/* 20. PRODUCT TABS
   ------------------------------------------------------------ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  display: inline-block;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.home-product .container {
  text-align: center;
}
.product-tabs {
  display: inline-flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 32px;
  padding: 0.35rem;
  border-radius: 9999px;
  background: #f1f5f9;
  box-shadow: 0 0.2em 0.8em rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 0;
}
.product-tab-active-bg {
  position: absolute;
  z-index: 0;
  background: var(--color-background, #fff);
  border-radius: 9999px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.06);
  transition:
    left 0.4s cubic-bezier(0.68, -0.15, 0.265, 1.35),
    width 0.4s cubic-bezier(0.68, -0.15, 0.265, 1.35);
  top: 0.35rem;
  bottom: 0.35rem;
}
.product-tab {
  background: none;
  border: none;
  padding: 0.6rem 1.8rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}
.product-tab:hover {
  color: var(--color-primary);
}
.product-tab.active {
  color: var(--color-primary);
}
.product-tab-content {
  display: none;
  text-align: left;
}
.product-tab-content.active {
  display: block;
  animation: heroFadeIn 0.4s ease;
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 768px) {
  .product-tab {
    padding: 0.5rem 1.2rem;
    font-size: 13px;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .section-title {
    font-size: 24px;
  }
}

/* 21. CART DRAWER TRUST ELEMENTS
   ------------------------------------------------------------ */
.cart-drawer__trust {
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.cart-drawer__trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.cart-drawer__trust-badges img {
  height: 20px;
  width: auto;
}
.cart-drawer__trust-text {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  line-height: 1.4;
}

/* 22. FOOTER RESTRUCTURE
   ------------------------------------------------------------ */
footer .footer-lowbar {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
footer .footer-lowbar .footer-copyright {
  text-align: left;
  padding-top: 0;
  margin: 0;
}
.footer-disclaimer--bottom {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.5;
  padding: 0.75rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media screen and (max-width: 768px) {
  footer .footer-lowbar {
    flex-direction: column !important;
    text-align: center;
    gap: 0.75rem;
  }
  footer .footer-lowbar .footer-copyright {
    text-align: center;
  }
}

/* 23. NEWSLETTER ICON BUTTON
   ------------------------------------------------------------ */
.ft-form__button--icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.ft-form__button--icon svg {
  width: 18px;
  height: 18px;
}
.ft-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media screen and (max-width: 768px) {
  .ft-form {
    flex-direction: row !important;
  }
}

/* 24. REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .waves-animated .parallax1 > use,
  .waves-animated .parallax2 > use,
  .waves-animated .parallax3 > use,
  .waves-animated .parallax4 > use {
    animation: none;
  }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .product-card,
  .btn,
  .cart-drawer__inner,
  .cart-drawer__overlay {
    transition-duration: 0.01ms !important;
  }
  .trust-ticker__track {
    animation: none;
  }
  .particle {
    animation: none !important;
    opacity: 0 !important;
  }
  .hero-wave {
    animation: none !important;
  }
}

/* 25. HERO PARTICLES & OCEAN
   ------------------------------------------------------------ */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}
.particle.p1,
.particle.p3,
.particle.p5,
.particle.p7 {
  border-radius: 60% 40% 60% 40%;
}
.particle.p1 {
  width: 10px;
  height: 10px;
  background: rgba(66, 165, 245, 0.3);
  left: 8%;
  animation-duration: 14s;
  animation-delay: 0s;
}
.particle.p2 {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  left: 20%;
  animation-duration: 18s;
  animation-delay: 2s;
}
.particle.p3 {
  width: 14px;
  height: 14px;
  background: rgba(78, 123, 88, 0.2);
  left: 35%;
  animation-duration: 16s;
  animation-delay: 4s;
}
.particle.p4 {
  width: 8px;
  height: 8px;
  background: rgba(66, 165, 245, 0.25);
  left: 50%;
  animation-duration: 20s;
  animation-delay: 1s;
}
.particle.p5 {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  left: 65%;
  animation-duration: 15s;
  animation-delay: 3s;
}
.particle.p6 {
  width: 7px;
  height: 7px;
  background: rgba(78, 123, 88, 0.25);
  left: 78%;
  animation-duration: 17s;
  animation-delay: 5s;
}
.particle.p7 {
  width: 11px;
  height: 11px;
  background: rgba(66, 165, 245, 0.2);
  left: 88%;
  animation-duration: 13s;
  animation-delay: 2.5s;
}
.particle.p8 {
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  left: 45%;
  animation-duration: 19s;
  animation-delay: 6s;
}
@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
    bottom: -20px;
  }
  10% {
    opacity: 0.7;
  }
  50% {
    transform: translateY(-50vh) translateX(30px) rotate(180deg);
    opacity: 0.5;
  }
  90% {
    opacity: 0;
  }
  100% {
    transform: translateY(-100vh) translateX(-20px) rotate(360deg);
    opacity: 0;
    bottom: -20px;
  }
}
.hero-ocean {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6400px;
  height: 100%;
  background-repeat: repeat-x;
  background-size: 1600px 100%;
  background-position: 0 bottom;
}
.hero-wave--back {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 Q200,120 400,70 Q600,20 800,60 Q1000,100 1200,50 Q1400,0 1600,60 L1600,120 L0,120 Z' fill='%234e7b58' fill-opacity='0.25'/%3E%3C/svg%3E");
  animation: waveScroll 8s linear infinite;
  opacity: 0.8;
}
.hero-wave--mid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 120' preserveAspectRatio='none'%3E%3Cpath d='M0,70 Q200,20 400,70 Q600,120 800,60 Q1000,10 1200,70 Q1400,110 1600,70 L1600,120 L0,120 Z' fill='%2391b498' fill-opacity='0.3'/%3E%3C/svg%3E");
  animation: waveScroll 6s linear infinite reverse;
  bottom: -5px;
}
.hero-wave--front {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 120' preserveAspectRatio='none'%3E%3Cpath d='M0,80 Q200,40 400,80 Q600,120 800,70 Q1000,30 1200,80 Q1400,120 1600,80 L1600,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  animation: waveScroll 10s linear infinite;
  bottom: -2px;
}
@keyframes waveScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1600px);
  }
}
.home-hero > .container {
  position: relative;
  z-index: 3;
}
@media screen and (max-width: 992px) {
  .hero-ocean {
    height: 80px;
  }
}
@media screen and (max-width: 768px) {
  .hero-particles {
    display: none;
  }
  .hero-ocean {
    height: 50px;
  }
}

/* 26. COMPARISON SECTION
   ------------------------------------------------------------ */
.comparison-section {
  padding: 80px 0;
  background: #f8fafc;
}
.comparison-table-wrapper {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 31, 61, 0.08);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.comparison-table thead {
  background: var(--color-primary);
  color: #fff;
}
.comparison-table th {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.comparison-table th:first-child {
  text-align: left;
}
.comparison-logo {
  max-width: 100px;
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}
.comparison-table td {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--color-text-secondary);
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-text-primary);
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.comparison-table tbody tr:hover {
  background: #f8fafc;
}
.comparison-highlight {
  background: rgba(78, 123, 88, 0.04);
}
.comparison-check {
  color: var(--color-success);
  font-size: 20px;
  font-weight: 700;
}
.comparison-x {
  color: var(--color-error);
  font-size: 20px;
  font-weight: 700;
}
.comparison-maybe {
  color: var(--color-warning);
  font-size: 18px;
  font-weight: 600;
}
.comparison-expensive {
  color: var(--color-error);
  font-size: 14px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .comparison-section {
    padding: 60px 0;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
  .comparison-logo {
    max-width: 70px;
  }
}
@media screen and (max-width: 500px) {
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    font-size: 12px;
  }
}

/* 16. MOBILE MENU
   ------------------------------------------------------------ */
body.menu-open {
  overflow: hidden;
}

.mobile-menu-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-scrim.active {
  display: block;
  opacity: 1;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-scrim {
    display: none !important;
  }
  .header-navigations__close {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .desktop-nav-link {
    display: none !important;
  }

  .header-navigations {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    left: auto !important;
    width: 85vw !important;
    max-width: 380px !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    z-index: 1001 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12) !important;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    gap: 0 !important;
  }
  .header-navigations.active {
    right: 0 !important;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
    flex-shrink: 0;
  }
  .mobile-menu-logo {
    height: 36px;
    width: auto;
  }
  .mobile-menu-hours {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 4px 12px;
    white-space: nowrap;
  }
  .mobile-menu-hours i {
    font-size: 11px;
  }
  .header-navigations__close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none !important;
    background: none !important;
    color: var(--color-text-secondary) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    margin-left: auto;
    padding: 0 !important;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    position: static !important;
  }
  .header-navigations__close:hover {
    background: #f0f0f0 !important;
  }

  .mobile-menu-nav {
    flex: 1;
    padding: 8px 0;
    overflow-y: auto;
  }

  .mobile-menu-item {
    display: flex !important;
    align-items: center;
    padding: 14px 20px !important;
    color: var(--color-text-primary) !important;
    font-size: 15px !important;
    font-weight: 500;
    text-decoration: none;
    border: none !important;
    border-bottom: none !important;
    width: 100% !important;
    text-align: left !important;
    background: none !important;
    border-radius: 0 !important;
    transition: background 0.15s;
    cursor: pointer;
    gap: 14px;
    box-sizing: border-box;
  }
  .mobile-menu-item:hover {
    background: #f8f8f8 !important;
  }
  .mobile-menu-item.active {
    color: var(--color-primary) !important;
    background: rgba(78, 123, 88, 0.04) !important;
  }
  .mobile-menu-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f5f5f5;
    color: var(--color-text-secondary);
    font-size: 15px;
    flex-shrink: 0;
  }
  .mobile-menu-item.active .mobile-menu-item__icon {
    background: rgba(78, 123, 88, 0.08);
    color: var(--color-primary);
  }
  .mobile-menu-item__text {
    flex: 1;
  }
  .mobile-menu-item__arrow {
    font-size: 12px;
    color: var(--color-text-tertiary);
    transition: transform 0.25s ease;
    margin-left: auto;
  }
  .mobile-menu-item--expandable {
    -webkit-user-select: none;
    user-select: none;
  }
  .mobile-menu-item--expandable.is-expanded .mobile-menu-item__arrow {
    transform: rotate(180deg);
  }

  .mobile-menu-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
  }
  .mobile-menu-item--expandable.is-expanded + .mobile-menu-submenu {
    max-height: 300px;
  }
  .mobile-menu-submenu__item {
    display: flex !important;
    align-items: center;
    padding: 12px 20px 12px 72px !important;
    color: var(--color-text-secondary) !important;
    font-size: 14px !important;
    font-weight: 400;
    text-decoration: none;
    border: none !important;
    border-bottom: none !important;
    width: 100% !important;
    text-align: left !important;
    background: none !important;
    border-radius: 0 !important;
    transition:
      background 0.15s,
      color 0.15s;
    box-sizing: border-box;
    position: relative;
  }
  .mobile-menu-submenu__item::before {
    content: "";
    position: absolute;
    left: 38px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: #ddd;
  }
  .mobile-menu-submenu__item:hover {
    background: #f0f0f0 !important;
    color: var(--color-text-primary) !important;
  }
  .mobile-menu-submenu__item.active {
    color: var(--color-primary) !important;
  }

  .mobile-menu-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 20px;
  }

  .mobile-menu-ctas {
    padding: 16px 20px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-shrink: 0;
    border-top: 1px solid #f0f0f0;
  }
  .mobile-menu-cta {
    flex: 1;
    text-align: center !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    border-bottom: none !important;
    display: inline-flex !important;
    justify-content: center !important;
  }
  .mobile-menu-cta.btn {
    color: #fff !important;
  }
  .mobile-menu-cta.btn--secondary {
    color: var(--color-primary) !important;
    background-color: transparent !important;
  }
}
