/*
Theme Name: Aaratwist
Theme URI: https://aaratwist.ca
Author: Aaratwist
Description: Custom single-page theme for Aaratwist - custom fridge magnets, button badges and stickers. Converted 1:1 from the original static HTML design.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: aaratwist
*/

/* ===== COLOURS & BRAND VARIABLES (change the site colours here) ===== */
:root {
  --ink: #1A1A1A;
  --muted: #555555;
  --cream: #FFFFFF;
  --paper: #FFFFFF;
  --teal: #FF7A00;
  --teal-dark: #E66D00;
  --coral: #FFC107;
  --yellow: #FFC107;
  --line: #E6E6E6;
  --shadow: 0 18px 50px rgba(39, 49, 43, .09);
  --radius: 24px;
}

/* ===== BASE / RESET ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
.product-card {
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

/* ===== ANNOUNCEMENT BAR (top strip) ===== */
.announcement {
  background: var(--ink);
  color: white;
  text-align: center;
  padding: 9px 16px;
  font-size: .82rem;
  letter-spacing: .03em;
}

.announcement strong {
  color: var(--yellow);
}

/* ===== HEADER (sticky top bar) ===== */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 230, 230, .8);
}

/* ===== NAVIGATION & BRAND LOGO ===== */
.nav {
  max-width: 1180px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -.06em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--teal);
  color: white;
  font-size: 1.3rem;
  transform: rotate(-7deg);
}

.brand span:last-child {
  color: var(--teal);
}

/* ===== NAV LINKS, BAG BUTTON, MOBILE MENU BUTTON ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: .92rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn,
.menu-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 700;
  cursor: pointer;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  border-radius: 50%;
  min-width: 21px;
  height: 21px;
  font-size: .72rem;
  margin-left: 5px;
}

.menu-btn {
  display: none;
}

/* ===== HERO TEXT, BUTTONS, PAGE WRAPPER, HEADINGS (.proof-dots is here) ===== */
.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

.hero {
  padding: 60px 0 72px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 42px;
  align-items: center;
  min-height: 570px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Outfit, sans-serif;
  line-height: 1.05;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
  margin: 18px 0 20px;
  max-width: 650px;
}

h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-copy {
  max-width: 530px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 25px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 14px 21px;
  font-weight: 800;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 0, .20);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  background: var(--paper);
  border: 1px solid var(--line);
}

.tiny-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .85rem;
}

.proof-dots {
  display: flex;
}

.proof-dots i {
  width: 25px;
  height: 25px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  margin-left: -6px;
  background: var(--yellow);
  display: block;
}

.proof-dots i:nth-child(2) {
  background: var(--coral);
}

.proof-dots i:nth-child(3) {
  background: #FFE0B2;
}

.proof-dots i:first-child {
  margin-left: 0;
}

/* ===== HERO ARTWORK (floating magnets) ===== */
.hero-art {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.art-blob {
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: 45% 55% 60% 40% / 48% 42% 58% 52%;
  background: #FFF0D9;
  transform: rotate(-7deg);
}

.product-stack {
  position: relative;
  width: min(100%, 490px);
  height: 400px;
}

.magnet {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 16px 25px rgba(35, 50, 42, .15);
  border: 5px solid white;
  font-family: Outfit, sans-serif;
  font-weight: 800;
}

.magnet.big {
  width: 205px;
  height: 205px;
  left: 10%;
  top: 11%;
  border-radius: 28px;
  background: var(--yellow);
  transform: rotate(-9deg);
  font-size: 1.65rem;
  color: #314138;
}

.magnet.big small {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.magnet.round {
  width: 142px;
  height: 142px;
  right: 8%;
  top: 5%;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  transform: rotate(11deg);
  font-size: 1.05rem;
}

.magnet.photo {
  width: 175px;
  height: 190px;
  right: 12%;
  bottom: 3%;
  border-radius: 18px;
  background: #fff;
  color: var(--teal);
  transform: rotate(8deg);
  font-size: 1rem;
  padding: 13px;
}

.photo-art {
  width: 100%;
  height: 115px;
  border-radius: 10px;
  background: linear-gradient(145deg, #FFE0B2 0 40%, #FFC107 40% 65%, #FF7A00 65%);
  display: grid;
  place-items: center;
  font-size: 3.3rem;
  margin-bottom: 9px;
}

.magnet.mini {
  width: 120px;
  height: 120px;
  left: 7%;
  bottom: 6%;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  transform: rotate(-12deg);
  font-size: 2.6rem;
}

.spark {
  position: absolute;
  font-size: 2rem;
  color: var(--coral);
}

.spark.one {
  top: 3%;
  left: 45%;
}

.spark.two {
  right: 1%;
  bottom: 29%;
  color: var(--teal);
}

/* ===== SCROLLING BANNER (ticker) ===== */
.ticker {
  background: var(--yellow);
  overflow: hidden;
  white-space: nowrap;
  padding: 13px 0;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
}

.ticker-inner {
  display: flex;
  justify-content: space-around;
  gap: 32px;
  min-width: 700px;
}

.ticker span:after {
  content: "✳";
  margin-left: 32px;
  color: var(--teal);
}

/* ===== SECTIONS & SECTION HEADINGS ===== */
section {
  scroll-margin-top: 90px;
}

.section {
  padding: 82px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  margin: 12px 0 0;
}

.section-head p {
  max-width: 430px;
  color: var(--muted);
  margin-bottom: 4px;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  white-space: nowrap;
}

/* ===== PRODUCT CARDS ===== */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30, 40, 35, .025);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image {
  height: 220px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-image:before {
  content: "";
  position: absolute;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .60);
}

.product-image .mock {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(34, 43, 36, .16);
  border: 5px solid #fff;
}

.product-image .mock.square {
  width: 128px;
  height: 128px;
  border-radius: 18px;
  background: #FFC107;
  transform: rotate(-7deg);
  font-size: 1.15rem;
}

.product-image .mock.circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #FFC107;
  color: #fff;
  transform: rotate(7deg);
  font-size: 1.15rem;
}

.product-image .mock.sticker {
  width: 128px;
  height: 128px;
  border-radius: 26px;
  background: #FFF0D9;
  color: var(--teal);
  transform: rotate(-8deg);
  font-size: 2.6rem;
}

.product-image .mock.badge {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  font-size: 1.05rem;
  border: 8px solid #FFC107;
}

.bg-yellow {
  background: #FFF1D6;
}

.bg-pink {
  background: #FFE4CC;
}

.bg-green {
  background: #FFF0D9;
}

.bg-blue {
  background: #F2F2F2;
}

.product-info {
  padding: 18px;
}

.product-info h3 {
  font-size: 1.25rem;
  margin: 0 0 7px;
  letter-spacing: -.02em;
}

.product-info p {
  color: var(--muted);
  font-size: .9rem;
  min-height: 44px;
  margin-bottom: 15px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price {
  font-weight: 800;
}

.add-btn {
  border: 0;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  background: var(--teal);
  color: white;
  font-size: 1.35rem;
  cursor: pointer;
}

.add-btn:hover {
  background: var(--teal-dark);
  transform: scale(1.05);
}

/* ===== CUSTOM ORDER BAND (orange box) ===== */
.custom-band {
  background: var(--teal);
  color: #fff;
  border-radius: 30px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.custom-band:after {
  content: "✳";
  position: absolute;
  font-size: 220px;
  right: 14%;
  top: -80px;
  color: rgba(255, 255, 255, .08);
}

.custom-band h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  max-width: 680px;
  margin: 12px 0;
}

.custom-band p {
  max-width: 580px;
  color: #FFF0D9;
  margin: 0;
}

.custom-band .btn {
  position: relative;
  z-index: 1;
  background: var(--yellow);
  color: var(--ink);
  white-space: nowrap;
}

.custom-band .eyebrow {
  color: var(--yellow);
}

/* ===== HOW IT WORKS (3 steps) ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  font-family: Outfit, sans-serif;
  font-weight: 800;
  margin-bottom: 25px;
}

.step:nth-child(2) .step-num {
  background: #FFE4CC;
}

.step:nth-child(3) .step-num {
  background: #FFF0D9;
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 9px;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* ===== SHOWCASE CARDS (For your people / For your brand) ===== */
.showcase {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
}

.show-card {
  border-radius: 26px;
  padding: 28px;
  min-height: 275px;
  position: relative;
  overflow: hidden;
}

.show-card h3 {
  font-size: 2rem;
  max-width: 290px;
  margin: 0 0 10px;
}

.show-card p {
  max-width: 300px;
  color: var(--muted);
}

.show-card .emoji {
  position: absolute;
  right: 22px;
  bottom: 4px;
  font-size: 8rem;
  transform: rotate(-10deg);
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .08));
}

.show-card:first-child {
  background: #FFE4CC;
}

.show-card:last-child {
  background: #F2F2F2;
}

.show-card .text-link {
  position: relative;
  z-index: 1;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--ink);
}

.faq-a {
  display: none;
  color: var(--muted);
  padding: 0 25px 20px 0;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-q span:last-child {
  transform: rotate(45deg);
}

/* ===== NEWSLETTER / TALK-ABOUT-YOUR-IDEA BLOCK ===== */
.newsletter {
  background: #F5F5F5;
  padding: 50px 24px;
  text-align: center;
}

.newsletter h2 {
  font-size: 2.5rem;
  margin: 0 0 12px;
}

.newsletter p {
  color: var(--muted);
  margin-bottom: 22px;
}

.signup {
  display: flex;
  gap: 8px;
  max-width: 470px;
  margin: auto;
}

.signup input {
  min-width: 0;
  flex: 1;
  border: 1px solid #d9d0c1;
  background: var(--paper);
  border-radius: 999px;
  padding: 14px 18px;
  outline: none;
}

.signup input:focus {
  border-color: var(--teal);
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: #fff;
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 30px;
}

.footer-brand {
  color: #fff;
}

.footer-copy {
  color: #D0D0D0;
  max-width: 320px;
  margin: 15px 0;
}

.footer-title {
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 9px;
  color: #D0D0D0;
  font-size: .92rem;
}

.footer-links a:hover {
  color: var(--yellow);
}

.copyright {
  border-top: 1px solid #444444;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #BDBDBD;
  font-size: .8rem;
}

/* ===== BAG DRAWER (shopping bag panel) ===== */
.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.cart-panel.open {
  display: block;
}

.cart-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 24, .48);
}

.cart-drawer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(440px, 100%);
  background: var(--paper);
  padding: 25px;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 40px rgba(0, 0, 0, .1);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.drawer-head h2 {
  margin: 0;
  font-size: 1.7rem;
}

.close-btn {
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-items {
  overflow: auto;
  flex: 1;
  padding: 14px 0;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row small {
  display: block;
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-controls button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  width: 27px;
  height: 27px;
  cursor: pointer;
}

.cart-totals {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}

.total-line.muted {
  color: var(--muted);
  font-size: .9rem;
}

.checkout-note {
  font-size: .8rem;
  color: var(--muted);
  margin: 12px 0 0;
}

.empty-cart {
  color: var(--muted);
  text-align: center;
  padding: 45px 10px;
}

/* ===== CUSTOM ORDER POPUP & FORM FIELDS ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.open {
  display: grid;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 24, .55);
}

.modal-box {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 24px;
  width: min(600px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-box h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.modal-box > p {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.field {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-size: .85rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: white;
  outline: none;
}

.field textarea {
  min-height: 95px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
}

.notice {
  background: #FFF0D9;
  border-radius: 12px;
  padding: 12px;
  color: var(--teal-dark);
  font-size: .85rem;
  margin: 14px 0;
}

.fine-print {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ===== RESPONSIVE: TABLETS (screens up to 900px wide) ===== */
@media(max-width:900px) {
  .nav-links {
    gap: 16px;
  }

  .hero {
    gap: 10px;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-image {
    height: 230px;
  }

  .custom-band {
    grid-template-columns: 1fr;
  }

  .custom-band .btn {
    justify-self: start;
  }

  .hero-art {
    min-height: 360px;
  }

  .product-stack {
    transform: scale(.88);
  }
}

/* ===== RESPONSIVE: PHONES (screens up to 650px wide) ===== */
@media(max-width:650px) {
  .nav {
    padding: 12px 18px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .cart-btn {
    padding: 9px 12px;
  }

  .wrap {
    padding: 0 18px;
  }

  .hero {
    padding: 38px 0 45px;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-art {
    min-height: 335px;
    order: -1;
  }

  .product-stack {
    transform: scale(.78);
    transform-origin: center;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .products {
    gap: 12px;
  }

  .product-image {
    height: 165px;
  }

  .product-image .mock.square,
  .product-image .mock.sticker {
    width: 100px;
    height: 100px;
  }

  .product-image .mock.circle,
  .product-image .mock.badge {
    width: 102px;
    height: 102px;
  }

  .product-info {
    padding: 13px;
  }

  .product-info h3 {
    font-size: 1.08rem;
  }

  .product-info p {
    font-size: .82rem;
    min-height: 60px;
  }

  .product-bottom {
    align-items: center;
  }

  .price {
    font-size: .9rem;
  }

  .custom-band {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 22px;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .show-card {
    min-height: 245px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }

  .copyright {
    display: block;
  }

  .copyright span {
    display: block;
    margin-top: 7px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .newsletter h2 {
    font-size: 2.1rem;
  }

  .signup {
    flex-direction: column;
  }

  .signup .btn {
    width: 100%;
  }
}

/* ===== ACCESSIBILITY: REDUCED MOTION ===== */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    transition: none !important;
  }
}