/* SFT Commerce – SendFreeTrials storefront theme */
:root {
  --sft-purple: #6b21d9;
  --sft-purple-dark: #4c1d95;
  --sft-pink: #ff3d7f;
  --sft-ink: #1a1423;
  --sft-grey: #5b5566;
  --sft-bg: #faf8fb;
  --sft-yellow: #ffd23f;
  --sft-green: #0e9f6e;
  --sft-radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--sft-ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--sft-purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* announcement + header */
.shopify-section--announcement {
  background: var(--sft-purple-dark); color: #fff; text-align: center;
  padding: 9px 16px; font-size: 13.5px; font-weight: 600; letter-spacing: .3px;
}
.shopify-section--announcement a { color: var(--sft-yellow); text-decoration: underline; }

.shopify-section--header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 rgba(26,20,35,.09); }
.header-wrapper { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__heading { font-family: "Archivo Black", "Archivo", sans-serif; font-size: 21px; color: var(--sft-ink); display: flex; align-items: center; gap: 9px; }
.header__heading:hover { text-decoration: none; }
.header__heading svg { width: 30px; height: 30px; }
.header__nav { display: flex; gap: 24px; align-items: center; }
.header__nav a { color: var(--sft-ink); font-weight: 600; font-size: 15px; }
.header__nav a:hover { color: var(--sft-purple); text-decoration: none; }
.header__cart-link { position: relative; font-size: 20px; }

/* buttons */
.button, .shopify-challenge__button, .product-form__submit {
  display: inline-block; cursor: pointer; border: 0; text-align: center;
  background: var(--sft-pink); color: #fff !important; font-weight: 700;
  font-family: inherit; font-size: 15px;
  padding: 14px 30px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255,61,127,.35);
  transition: transform .15s ease, background .2s ease;
  text-decoration: none !important;
}
.button:hover, .product-form__submit:hover { background: #ec1e63; transform: translateY(-2px); }
.button--secondary {
  background: #fff; color: var(--sft-purple) !important;
  border: 2px solid var(--sft-purple); box-shadow: none;
  padding: 12px 28px;
}
.button--secondary:hover { background: #f6f0ff; }
.button--full { width: 100%; }

/* hero */
.shopify-section--hero { background: linear-gradient(135deg, #f6f0ff 0%, #ffeef4 55%, #fff 100%); overflow: hidden; }
.hero-grid { max-width: 1200px; margin: 0 auto; padding: 56px 20px 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero__title { font-family: "Archivo Black", "Archivo", sans-serif; font-size: 44px; line-height: 1.08; margin: 0 0 16px; letter-spacing: -.5px; }
.hero__title .accent { color: var(--sft-pink); }
.hero__subtitle { font-size: 18px; color: var(--sft-grey); margin: 0 0 26px; }
.hero__bullets { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.hero__bullets li { font-weight: 600; font-size: 15px; }
.hero__bullets li::before { content: "✓"; color: var(--sft-green); font-weight: 800; margin-right: 9px; }
.hero__trust { margin-top: 18px; font-size: 13.5px; color: var(--sft-grey); }
.hero__trust .stars { color: #ffb400; letter-spacing: 1px; }
.hero__image { position: relative; }
.hero__image img { border-radius: 22px; box-shadow: 0 24px 60px rgba(76,29,149,.18); }
.hero__flag {
  position: absolute; top: -16px; right: -10px; background: var(--sft-yellow); color: var(--sft-ink);
  font-weight: 800; font-size: 13px; padding: 10px 16px; border-radius: 999px; transform: rotate(3deg);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

/* value props strip */
.shopify-section--value-props { background: var(--sft-purple-dark); color: #fff; }
.value-props { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; font-size: 14px; font-weight: 600; }

/* generic section */
.section-heading { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-heading h2 { font-family: "Archivo Black", "Archivo", sans-serif; font-size: 30px; margin: 0 0 10px; letter-spacing: -.3px; }
.section-heading p { color: var(--sft-grey); margin: 0; font-size: 16.5px; }
main .shopify-section { padding: 64px 20px; }
main .shopify-section--alt { background: var(--sft-bg); }

/* product grid */
.product-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid #ece6f2; border-radius: var(--sft-radius); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 14px 34px rgba(76,29,149,.13); transform: translateY(-3px); }
.card__media { position: relative; }
.card__media img { width: 100%; height: 210px; object-fit: cover; }
.card__badge {
  position: absolute; top: 12px; left: 12px; background: var(--sft-pink); color: #fff;
  font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px;
  padding: 5px 11px; border-radius: 7px;
}
.card__badge--low { background: #e02424; }
.card__info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card__vendor { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--sft-grey); font-weight: 700; margin-bottom: 4px; }
.card__title { font-size: 16.5px; font-weight: 700; margin: 0 0 8px; color: var(--sft-ink); }
.card__rating { font-size: 13px; color: var(--sft-grey); margin-bottom: 10px; }
.card__rating .stars { color: #ffb400; letter-spacing: 1px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price__free { font-size: 22px; font-weight: 800; color: var(--sft-green); }
.price__shipping { font-size: 13.5px; color: var(--sft-grey); }
.card__info .button { margin-top: auto; }

/* how it works */
.hiw-steps { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 860px) { .hiw-steps { grid-template-columns: 1fr; } }
.hiw-step { background: #fff; border: 1px solid #ece6f2; border-radius: var(--sft-radius); padding: 30px 26px; position: relative; counter-increment: step; }
.hiw-step::before {
  content: counter(step); position: absolute; top: -18px; left: 26px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--sft-purple); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.hiw-step h3 { margin: 12px 0 8px; font-size: 19px; }
.hiw-step p { color: var(--sft-grey); margin: 0; font-size: 15px; }

/* reviews */
.review-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { background: #fff; border: 1px solid #ece6f2; border-radius: var(--sft-radius); padding: 24px; }
.review-card .stars { color: #ffb400; letter-spacing: 1.5px; margin-bottom: 10px; }
.review-card p { margin: 0 0 14px; font-size: 15px; }
.review-card footer { font-size: 13.5px; color: var(--sft-grey); }
.review-card footer strong { color: var(--sft-ink); }
.review-meta { font-size: 12px; color: #9b93a8; margin-top: 4px; }

/* popup-styled newsletter banner */
.newsletter-popup {
  max-width: 560px; margin: 0 auto; background: #fff; border-radius: 20px;
  box-shadow: 0 30px 70px rgba(26,20,35,.28); border: 1px solid #ece6f2;
  padding: 40px 36px 34px; text-align: center; position: relative;
}
.newsletter-popup::before {
  content: "WAIT – TAKE 50% OFF YOUR FIRST BOX"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sft-yellow); color: var(--sft-ink); font-weight: 800; font-size: 12.5px;
  letter-spacing: .8px; padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.newsletter-popup h2 { font-family: "Archivo Black", "Archivo", sans-serif; font-size: 26px; margin: 8px 0 8px; }
.newsletter-popup p { color: var(--sft-grey); margin: 0 0 22px; font-size: 15.5px; }
.newsletter-form { display: grid; gap: 10px; }
.newsletter-form input {
  padding: 14px 18px; border-radius: 12px; border: 2px solid #ece6f2; font-family: inherit; font-size: 15px;
}
.newsletter-form input:focus { outline: none; border-color: var(--sft-purple); }
.newsletter-popup .fineprint { font-size: 12px; color: #9b93a8; margin: 14px 0 0; }

/* footer */
.shopify-section--footer { background: #14101c; color: #a99fc0; padding: 56px 20px 28px; margin-top: 0; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 11px; font-size: 14.5px; }
.footer-grid a { color: #a99fc0; }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.footer-bottom { max-width: 1200px; margin: 36px auto 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #837a99; }
.payment-icons { display: flex; gap: 8px; }
.payment-icons span { border: 1px solid rgba(255,255,255,.25); border-radius: 5px; font-size: 10.5px; padding: 3px 8px; font-weight: 700; letter-spacing: .5px; }

/* product page */
.product { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.product__media img { border-radius: 18px; width: 100%; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product__thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.product__thumbs img:hover { border-color: var(--sft-purple); }
.product__title { font-family: "Archivo Black", "Archivo", sans-serif; font-size: 32px; margin: 0 0 10px; line-height: 1.15; }
.product__vendor { color: var(--sft-grey); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.product__rating { margin: 10px 0 18px; font-size: 14px; color: var(--sft-grey); }
.product__rating .stars { color: #ffb400; letter-spacing: 1px; }
.product__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.product__price .price__free { font-size: 34px; font-weight: 800; color: var(--sft-green); }
.product__price del { color: #9b93a8; font-size: 18px; }
.product__shipnote { font-size: 13.5px; color: var(--sft-grey); margin: 0 0 22px; }
.product__desc { margin: 0 0 22px; }
.product__desc ul { padding-left: 20px; }
.product__desc li { margin-bottom: 6px; }
.product-form__quantity { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product-form__quantity label { font-weight: 700; font-size: 14px; }
.product-form__quantity select { padding: 10px 14px; border-radius: 10px; border: 2px solid #ece6f2; font-family: inherit; font-size: 15px; }
.product__meta { margin-top: 26px; font-size: 13.5px; color: var(--sft-grey); border-top: 1px solid #ece6f2; padding-top: 18px; }

/* faq */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid #ece6f2; border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq details[open] summary { margin-bottom: 8px; }
.faq details p { margin: 0; color: var(--sft-grey); font-size: 15px; }

/* legal */
.legal-body { max-width: 780px; margin: 0 auto; }
.legal-body h2 { font-size: 24px; margin: 36px 0 12px; }
.legal-body h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: #3d3749; font-size: 15.5px; }
.legal-body ul { padding-left: 20px; }
