/* =============================================================
   Shop Now — text + cart visible by default
   ============================================================= */

:root {
  --shop-btn-accent: #396d1b;
  --shop-btn-accent-soft: rgba(57, 109, 27, 0.1);
  --shop-btn-surface: #fffef9;
  --shop-btn-surface-hover: #f4f9ef;
  --shop-btn-ring: rgba(57, 109, 27, 0.14);
}

.page-cloffy {
  --shop-btn-accent: #5c3428;
  --shop-btn-accent-soft: rgba(92, 52, 40, 0.08);
  --shop-btn-surface: #fffaf6;
  --shop-btn-surface-hover: #f9f0ea;
  --shop-btn-ring: rgba(92, 52, 40, 0.1);
}

.page-fitlys,
.page-dhatri,
.home {
  --shop-btn-accent: #396d1b;
  --shop-btn-accent-soft: rgba(57, 109, 27, 0.1);
  --shop-btn-surface: #fffef9;
  --shop-btn-surface-hover: #f4f9ef;
  --shop-btn-ring: rgba(57, 109, 27, 0.14);
}

.page-gifting,
.page-chocolates {
  --shop-btn-accent: #5c3428;
  --shop-btn-accent-soft: rgba(92, 52, 40, 0.08);
  --shop-btn-surface: #fffaf6;
  --shop-btn-surface-hover: #f9f0ea;
  --shop-btn-ring: rgba(92, 52, 40, 0.1);
}

.gift-box--budget {
  --shop-btn-accent: #c9a227;
  --shop-btn-accent-soft: rgba(201, 162, 39, 0.12);
  --shop-btn-surface-hover: #fdf8eb;
}

.gift-box--corporate {
  --shop-btn-accent: #396d1b;
  --shop-btn-accent-soft: rgba(57, 109, 27, 0.1);
  --shop-btn-surface-hover: #f4f9ef;
}

.gift-box--custom {
  --shop-btn-accent: #b85c4a;
  --shop-btn-accent-soft: rgba(184, 92, 74, 0.1);
  --shop-btn-surface-hover: #faf0ed;
}

.gift-box--festive {
  --shop-btn-accent: #b85c4a;
  --shop-btn-accent-soft: rgba(184, 92, 74, 0.1);
  --shop-btn-surface-hover: #faf0ed;
}

.products-sec .products .btn-part,
.cloffy-menu-card .btn-part,
.cloffy-cat-item .shop-btn--compact,
.cloffy-product .btn-part,
.dhatri-product .btn-part,
.fitlys-panel .btn-part,
.gift-box .btn-part,
.fitlys-cta .shop-btn,
.dhatri-cta .shop-btn {
  margin-top: 24px;
}

.fitlys-cta .shop-btn,
.dhatri-cta .shop-btn {
  margin-top: 0;
  --shop-btn-accent: #ffffff;
  --shop-btn-accent-soft: rgba(255, 255, 255, 0.18);
  --shop-btn-surface: #fffef9;
  --shop-btn-surface-hover: #f4f9ef;
  --shop-btn-ring: rgba(0, 0, 0, 0.12);
  color: #396d1b;
}

/* Green button text by default (not white) on the dhatri & fitlys CTA bands */
.fitlys-cta .shop-btn .shop-btn__text,
.fitlys-cta .shop-btn .shop-btn__cart,
.dhatri-cta .shop-btn .shop-btn__text,
.dhatri-cta .shop-btn .shop-btn__cart {
  color: #396d1b;
}

/* ---- Button shell ---- */
.shop-btn,
.products-sec .products .btn-part a,
.cloffy-menu-card .btn-part a,
.cloffy-product .btn-part a,
.dhatri-product .btn-part a,
.fitlys-panel .btn-part a,
.gift-box .btn-part a,
.fitlys-cta .shop-btn,
.dhatri-cta .shop-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 34px;
  text-decoration: none;
  color: var(--shop-btn-accent);
  background: var(--shop-btn-surface);
  border: 2px solid var(--shop-btn-accent);
  border-radius: 14px;
  box-shadow:
    0 4px 0 var(--shop-btn-accent),
    0 10px 28px var(--shop-btn-ring);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.shop-btn__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-btn__text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: letter-spacing 0.35s ease;
}

.shop-btn__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: 11px;
  color: inherit;
  flex-shrink: 0;
}

.shop-btn__cart .bi {
  font-size: 20px;
  line-height: 1;
}

.shop-btn:hover,
.products-sec .products .btn-part a:hover,
.cloffy-cat-item .shop-btn--compact:hover,
.cloffy-menu-card .btn-part a:hover,
.cloffy-product .btn-part a:hover,
.dhatri-product .btn-part a:hover,
.fitlys-panel .btn-part a:hover,
.gift-box .btn-part a:hover {
  color: var(--shop-btn-accent);
  background: var(--shop-btn-surface-hover);
  transform: translateY(-4px);
  box-shadow:
    0 6px 0 var(--shop-btn-accent),
    0 16px 36px var(--shop-btn-ring);
}

.fitlys-cta .shop-btn:hover,
.dhatri-cta .shop-btn:hover {
  color: #396d1b;
  background: var(--shop-btn-surface-hover);
  transform: translateY(-4px);
  box-shadow:
    0 6px 0 var(--shop-btn-accent),
    0 16px 36px var(--shop-btn-ring);
}

.shop-btn:hover .shop-btn__text,
.products-sec .products .btn-part a:hover .shop-btn__text,
.cloffy-menu-card .btn-part a:hover .shop-btn__text,
.cloffy-product .btn-part a:hover .shop-btn__text,
.dhatri-product .btn-part a:hover .shop-btn__text,
.fitlys-panel .btn-part a:hover .shop-btn__text,
.gift-box .btn-part a:hover .shop-btn__text,
.fitlys-cta .shop-btn:hover .shop-btn__text,
.dhatri-cta .shop-btn:hover .shop-btn__text {
  letter-spacing: 0.1em;
}

.shop-btn:active,
.products-sec .products .btn-part a:active,
.cloffy-menu-card .btn-part a:active,
.cloffy-product .btn-part a:active,
.dhatri-product .btn-part a:active,
.fitlys-panel .btn-part a:active,
.gift-box .btn-part a:active,
.fitlys-cta .shop-btn:active,
.dhatri-cta .shop-btn:active {
  transform: translateY(-1px);
  box-shadow:
    0 2px 0 var(--shop-btn-accent),
    0 6px 16px var(--shop-btn-ring);
}

.gift-box .btn-part a {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .shop-btn,
  .products-sec .products .btn-part a,
  .cloffy-menu-card .btn-part a,
  .cloffy-product .btn-part a,
  .dhatri-product .btn-part a,
  .fitlys-panel .btn-part a,
  .gift-box .btn-part a,
  .fitlys-cta .shop-btn,
  .dhatri-cta .shop-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-btn,
  .products-sec .products .btn-part a,
  .cloffy-menu-card .btn-part a,
  .cloffy-product .btn-part a,
  .dhatri-product .btn-part a,
  .fitlys-panel .btn-part a,
  .gift-box .btn-part a,
  .fitlys-cta .shop-btn,
  .dhatri-cta .shop-btn,
  .shop-btn__text {
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }

  .shop-btn:hover,
  .products-sec .products .btn-part a:hover,
  .cloffy-menu-card .btn-part a:hover,
  .cloffy-product .btn-part a:hover,
  .dhatri-product .btn-part a:hover,
  .fitlys-panel .btn-part a:hover,
  .gift-box .btn-part a:hover,
  .fitlys-cta .shop-btn:hover,
  .dhatri-cta .shop-btn:hover {
    transform: none;
  }
}
