/*
Theme Name:  Draw Yer Dog
Theme URI:   https://drawyerdog.com
Author:      Draw Yer Dog
Description: Custom theme for Draw Yer Dog — hand-drawn custom pet portraits.
Version:     1.0.0
License:     GPL-2.0+
Text Domain: dyd
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink:        #1C1C1C;
  --coral:      #FF6B4A;
  --yellow:     #FFD23F;
  --teal:       #3ABFBF;
  --white:      #FFFFFF;
  --offwhite:   #F5F5F5;
  --border:     #E0E0E0;
  --mid:        #555555;
  --muted:      #AAAAAA;
  --ink-light:  #2A2A2A;
  --teal-tint:  #F0FAFA;
  --green-tint: #F0F9F0;

  --ff-fun:  'Fredoka One', cursive;
  --ff-body: 'Nunito', sans-serif;

  --radius-sm:    8px;
  --radius-input: 10px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    20px;
  --radius-pill:  32px;

  --max-width: 1060px;
  --page-pad:  28px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* guards against the .dyd-page-header 100vw breakout causing a horizontal scrollbar */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.dyd-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.dyd-section {
  padding: 56px var(--page-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.dyd-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}

.dyd-title {
  font-family: var(--ff-fun);
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1.1;
}

.dyd-title--light { color: var(--white); }
.dyd-title--yellow { color: var(--yellow); }
.dyd-title--ink   { color: var(--ink); }

.dyd-subtitle {
  font-size: 15px;
  color: var(--mid);
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.dyd-subtitle--light { color: #aaa; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  line-height: 1;
}
.btn:hover { opacity: 0.88; text-decoration: none; }

.btn--primary   { background: var(--coral);  color: #fff; }
.btn--yellow    { background: var(--yellow); color: var(--ink); }
.btn--outline   { background: transparent; color: var(--ink);   border: 2px solid var(--ink); padding: 12px 26px; }
.btn--outline-light { background: transparent; color: var(--yellow); border: 2px solid var(--yellow); padding: 12px 26px; }
.btn--ghost     { background: transparent; color: var(--coral); border: none; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.btn--sm        { font-size: 13px; padding: 9px 20px; }
.btn--full      { display: block; width: 100%; text-align: center; }

/* ============================================================
   NAV
   ============================================================ */
.dyd-nav {
  background: var(--ink);
  padding: 0 var(--page-pad);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dyd-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.dyd-nav__logo {
  font-family: var(--ff-fun);
  font-size: 22px;
  color: var(--yellow);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.dyd-nav__logo:hover { text-decoration: none; }

.dyd-nav__logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.dyd-nav__logo-text { display: inline-flex; align-items: baseline; }

.dyd-nav__logo-pet {
  color: var(--coral);
  display: inline-block;
  min-width: 110px;
}

.dyd-nav__links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.dyd-nav__links a {
  font-size: 14px;
  color: #ccc;
  font-weight: 600;
  text-decoration: none;
}
.dyd-nav__links a:hover { color: var(--yellow); }

/* ============================================================
   HERO
   ============================================================ */
.dyd-hero {
  background: var(--ink);
  padding: 64px var(--page-pad) 52px;
  text-align: center;
}

.dyd-hero__paws {
  font-size: 22px;
  letter-spacing: 6px;
  margin-bottom: 18px;
  opacity: 0.35;
  color: #fff;
}

.dyd-hero__headline {
  font-family: var(--ff-fun);
  font-size: 52px;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
}
.dyd-hero__headline .hl { color: var(--yellow); }

.dyd-hero__sub {
  font-size: 17px;
  color: #bbb;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.dyd-hero__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.dyd-hero__note {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}

.dyd-hero__animals {
  font-size: 28px;
  letter-spacing: 4px;
}

/* ============================================================
   STEPS
   ============================================================ */
.dyd-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dyd-step {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
}

.dyd-step__num {
  font-family: var(--ff-fun);
  font-size: 34px;
  margin-bottom: 8px;
}

.dyd-step__title {
  font-family: var(--ff-fun);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}

.dyd-step__desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* ============================================================
   TIERS
   ============================================================ */
.dyd-tiers-bg {
  background: var(--ink);
  padding: 56px var(--page-pad);
}

.dyd-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.dyd-tier {
  background: var(--ink-light);
  border: 2px solid #3a3a3a;
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
}
.dyd-tier--featured { border-color: var(--coral); }

.dyd-tier__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.dyd-tier__icon  { font-size: 34px; text-align: center; }
.dyd-tier__name  { font-family: var(--ff-fun); font-size: 21px; color: #fff; }
.dyd-tier__tag   { font-size: 13px; color: #888; font-style: italic; margin-top: -5px; }

.dyd-tier__price {
  font-family: var(--ff-fun);
  font-size: 36px;
  color: var(--yellow);
}
.dyd-tier__price span {
  font-family: var(--ff-body);
  font-size: 13px;
  color: #888;
  font-weight: 400;
}

.dyd-tier__divider { border: none; border-top: 1px solid #3a3a3a; }

.dyd-tier__features { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.dyd-tier__features li {
  font-size: 14px;
  color: #ccc;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.dyd-tier__features li i { color: var(--teal); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.dyd-tier__turnaround {
  font-size: 12px;
  color: #aaa;
  background: #1a1a1a;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  font-weight: 600;
}
.dyd-tier__turnaround i { color: var(--coral); font-size: 14px; margin-right: 4px; vertical-align: -2px; }

/* ============================================================
   CARDS
   ============================================================ */
.dyd-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.dyd-card__title {
  font-family: var(--ff-fun);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dyd-card__title i { font-size: 20px; color: var(--coral); }

/* ============================================================
   FORMS
   ============================================================ */
.dyd-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.dyd-form-group:last-child { margin-bottom: 0; }

.dyd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dyd-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.dyd-input,
.dyd-select,
.dyd-textarea {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--ink) !important;
  background: #ffffff !important;
  border: 2px solid var(--border);
  border-radius: var(--radius-input);
  padding: 10px 14px;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s;
}
.dyd-input:focus,
.dyd-select:focus,
.dyd-textarea:focus  { border-color: var(--teal); }

.dyd-textarea        { resize: vertical; min-height: 80px; }
.dyd-select          { cursor: pointer; }

.dyd-field-hint  { font-size: 12px; color: var(--muted); margin-top: 4px; }
.dyd-field-error { font-size: 12px; color: var(--coral); font-weight: 700; margin-top: 4px; }

/* ============================================================
   UPLOAD ZONE
   ============================================================ */
.dyd-upload-zone {
  border: 2px dashed var(--teal);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  background: var(--teal-tint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s;
}
.dyd-upload-zone:hover { border-color: var(--coral); }
.dyd-upload-zone i    { font-size: 28px; color: var(--teal); }
.dyd-upload-zone p    { font-size: 14px; color: var(--mid); }
.dyd-upload-note      { font-size: 12px; color: var(--muted); }

.dyd-upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dyd-preview-chip {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 12px;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dyd-safe-note {
  font-size: 12px;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green-tint);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 10px;
}
.dyd-safe-note i { color: #3aaf5a; font-size: 16px; flex-shrink: 0; }

/* ============================================================
   REVIEWS
   ============================================================ */
.dyd-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.dyd-review {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dyd-review__stars  { font-size: 16px; letter-spacing: 2px; color: var(--yellow); }
.dyd-review__text   { font-size: 14px; color: var(--ink); line-height: 1.6; flex: 1; }
.dyd-review__author { font-size: 13px; font-weight: 700; color: var(--mid); }
.dyd-review__pet    { font-size: 12px; color: var(--coral); font-style: italic; }

/* ============================================================
   FAQ
   ============================================================ */
.dyd-faq-bg  { background: var(--ink); padding: 56px var(--page-pad); }
.dyd-faq-inner { max-width: 700px; margin: 0 auto; }

.dyd-faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

.dyd-faq-item { background: var(--ink-light); border-radius: var(--radius-md); padding: 20px 24px; }

.dyd-faq-q {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.dyd-faq-q i { color: var(--coral); font-size: 16px; flex-shrink: 0; }

.dyd-faq-a { font-size: 14px; color: #aaa; line-height: 1.6; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.dyd-cta-strip {
  background: var(--coral);
  text-align: center;
  padding: 64px var(--page-pad);
}
.dyd-cta-strip h2 {
  font-family: var(--ff-fun);
  font-size: 40px;
  color: #fff;
  margin-bottom: 12px;
}
.dyd-cta-strip p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================================
   GALLERY
   ============================================================ */
.dyd-page-header {
  background: var(--ink);
  padding: 52px var(--page-pad);
  text-align: center;
  margin: 0;
  /* Full-bleed breakout — guarantees edge-to-edge width and flush contact
     with the nav above it, regardless of any ancestor padding/max-width
     (e.g. WordPress' own paragraph wrapping around shortcode output). */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
.dyd-page-header h1 {
  font-family: var(--ff-fun);
  font-size: 44px;
  color: var(--yellow);
  margin-bottom: 10px;
}
.dyd-page-header p { font-size: 16px; color: #bbb; max-width: 480px; margin: 0 auto; line-height: 1.6; }

.dyd-filter-group  { margin-bottom: 18px; }
.dyd-filter-label  { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); margin-bottom: 10px; }
.dyd-filter-bar    { display: flex; gap: 8px; flex-wrap: wrap; }
.dyd-filter-divider { border: none; border-top: 1px solid var(--border); margin: 22px 0 24px; }
.dyd-results-count  { font-size: 13px; color: var(--mid); margin-bottom: 20px; font-weight: 600; }

.dyd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dyd-portrait-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.dyd-portrait-card:hover { transform: translateY(-4px); border-color: var(--coral); }

.dyd-portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 52px;
}
.dyd-portrait-img--sketch   { background: #f0ede8; }
.dyd-portrait-img--color    { background: #e8f4f0; }
.dyd-portrait-img--original { background: #f4ece8; }

.dyd-tier-pip {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.dyd-tier-pip--sketch   { background: var(--ink);   color: #fff; }
.dyd-tier-pip--color    { background: var(--coral); color: #fff; }
.dyd-tier-pip--original { background: var(--teal);  color: #fff; }

.dyd-portrait-info {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dyd-portrait-name { font-family: var(--ff-fun); font-size: 17px; color: var(--ink); }
.dyd-portrait-tier { font-size: 12px; color: var(--mid); font-weight: 600; }

.dyd-empty-state { text-align: center; padding: 64px 28px; color: var(--mid); font-size: 15px; display: none; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.dyd-checkout-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px var(--page-pad);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.dyd-checkout-main { display: flex; flex-direction: column; gap: 24px; }

.dyd-tier-opt {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.15s, background 0.15s;
  background: var(--white);
}
.dyd-tier-opt:hover   { border-color: var(--coral); background: #fff9f8; }
.dyd-tier-opt.selected { border-color: var(--coral); background: #fff5f3; }

.dyd-tier-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.dyd-tier-opt.selected .dyd-tier-radio { border-color: var(--coral); }
.dyd-tier-dot   { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); display: none; }
.dyd-tier-opt.selected .dyd-tier-dot { display: block; }

.dyd-tier-opt-info  { flex: 1; }
.dyd-tier-opt-name  { font-weight: 700; font-size: 14px; color: var(--ink); }
.dyd-tier-opt-desc  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dyd-tier-opt-price { font-family: var(--ff-fun); font-size: 20px; color: var(--coral); flex-shrink: 0; }

.dyd-rush-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff9f3;
  border: 2px solid var(--yellow);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.dyd-rush-left       { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.dyd-rush-left input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--coral); flex-shrink: 0; }
.dyd-rush-text       { font-size: 14px; font-weight: 700; color: var(--ink); }
.dyd-rush-sub        { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dyd-rush-price      { font-family: var(--ff-fun); font-size: 18px; color: var(--coral); flex-shrink: 0; white-space: nowrap; }

.dyd-gift-toggle     { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink); }
.dyd-gift-toggle input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--coral); }
.dyd-gift-fields     { margin-top: 16px; display: none; flex-direction: column; gap: 14px; }
.dyd-gift-fields.open { display: flex; }

.dyd-promo-row { display: flex; gap: 10px; }

.dyd-payment-logos { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.dyd-pay-badge     { background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 14px; font-size: 12px; font-weight: 700; color: var(--mid); }

.dyd-subscribe-row       { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--mid); }
.dyd-subscribe-row input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--coral); flex-shrink: 0; margin-top: 2px; }

/* Order summary sidebar */
.dyd-summary-card  { background: var(--ink); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 80px; }
.dyd-summary-title { font-family: var(--ff-fun); font-size: 20px; color: var(--yellow); margin-bottom: 20px; }

.dyd-summary-line  { display: flex; justify-content: space-between; align-items: flex-start; font-size: 14px; color: #ccc; margin-bottom: 12px; gap: 8px; }
.dyd-summary-line span:first-child { flex: 1; }
.dyd-summary-line span:last-child  { font-weight: 700; color: #fff; flex-shrink: 0; }

.dyd-summary-divider { border: none; border-top: 1px solid #333; margin: 16px 0; }

.dyd-summary-total { display: flex; justify-content: space-between; align-items: center; }
.dyd-summary-total span:first-child { font-family: var(--ff-fun); font-size: 18px; color: var(--yellow); }
.dyd-summary-total span:last-child  { font-family: var(--ff-fun); font-size: 24px; color: var(--yellow); }

.dyd-summary-empty      { font-size: 13px; color: #666; font-style: italic; }
.dyd-summary-turnaround { background: var(--ink-light); border-radius: 10px; padding: 12px 14px; margin-top: 16px; font-size: 13px; color: #aaa; }
.dyd-summary-turnaround i { color: var(--coral); vertical-align: -2px; margin-right: 6px; font-size: 15px; }

.dyd-bnpl-note        { margin-top: 14px; font-size: 12px; color: #888; text-align: center; line-height: 1.6; }
.dyd-bnpl-note strong { color: var(--yellow); }

/* ============================================================
   TERMS
   ============================================================ */
.dyd-terms-body   { max-width: 760px; margin: 0 auto; padding: 56px var(--page-pad); }
.dyd-terms-updated { font-size: 12px; color: var(--muted); margin-bottom: 40px; }

.dyd-toc          { background: var(--offwhite); border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 48px; }
.dyd-toc-title    { font-family: var(--ff-fun); font-size: 18px; margin-bottom: 14px; }
.dyd-toc ol       { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.dyd-toc ol li a  { font-size: 14px; color: var(--coral); font-weight: 600; }

.dyd-terms-section        { margin-bottom: 48px; }
.dyd-terms-section h2     { font-family: var(--ff-fun); font-size: 24px; color: var(--yellow); background: var(--ink); display: inline-block; padding: 6px 18px; border-radius: var(--radius-pill); margin-bottom: 18px; }
.dyd-terms-section p      { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 14px; }
.dyd-terms-section ul     { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.dyd-terms-section ul li  { font-size: 15px; line-height: 1.7; color: #333; }
.dyd-terms-section strong { color: var(--ink); font-weight: 700; }

.dyd-highlight-box { background: #fff5eb; border-left: 4px solid var(--coral); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 18px 20px; margin: 18px 0; }
.dyd-highlight-box p { margin: 0; font-size: 14px; color: #555; line-height: 1.7; }

.dyd-info-box { background: var(--teal-tint); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 18px 20px; margin: 18px 0; }
.dyd-info-box p { margin: 0; font-size: 14px; color: #555; line-height: 1.7; }

.dyd-contact-box    { background: var(--ink); border-radius: var(--radius-lg); padding: 32px; text-align: center; margin-top: 48px; }
.dyd-contact-box h3 { font-family: var(--ff-fun); font-size: 22px; color: var(--yellow); margin-bottom: 10px; }
.dyd-contact-box p  { font-size: 14px; color: #aaa; line-height: 1.6; margin-bottom: 18px; }
.dyd-contact-box a  { color: var(--coral); font-weight: 700; }

/* ============================================================
   CART — SUGGESTED BACKGROUND / SCENE ADD-ON
   ============================================================ */
.dyd-cart-addon {
  background: #FFFBEF;
  border: 2px dashed var(--yellow);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dyd-cart-addon__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}
.dyd-cart-addon__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dyd-cart-addon__text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}
.dyd-cart-addon__text strong { color: var(--ink); }
.dyd-cart-addon__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.dyd-cart-addon__qty-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.dyd-cart-addon__qty {
  width: 52px;
  font-family: var(--ff-body);
  font-size: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  text-align: center;
}
.dyd-cart-addon__btn {
  background: var(--coral);
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 13px;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.dyd-cart-addon__btn:hover { opacity: 0.88; }
.dyd-cart-addon__btn:disabled { opacity: 0.6; cursor: default; }

/* ============================================================
   FOOTER
   ============================================================ */
.dyd-footer {
  background: var(--ink);
  color: #666;
  text-align: center;
  padding: 28px var(--page-pad);
  font-size: 13px;
  line-height: 1.8;
}
.dyd-footer__logo { font-family: var(--ff-fun); font-size: 18px; color: var(--yellow); margin-bottom: 8px; }
.dyd-footer a     { color: #999; text-decoration: none; }
.dyd-footer a:hover { color: var(--yellow); }

/* ============================================================
   MARQUEE
   ============================================================ */
.dyd-marquee { background: var(--coral); border-top: none; border-bottom: none; padding: 12px 0; overflow: hidden; white-space: nowrap; }
.dyd-marquee__inner { display: inline-flex; gap: 48px; animation: dyd-scroll 22s linear infinite; }
.dyd-marquee__item  { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; font-weight: 700; }

@keyframes dyd-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-page .woocommerce { max-width: var(--max-width); margin: 0 auto; padding: 40px var(--page-pad); }

/* WooCommerce auto-wraps shortcode page content in <div class="woocommerce">,
   which carries the padding above. On Cart/Checkout, .dyd-page-header is the
   first thing inside that wrapper and is meant to be a full-bleed banner
   flush against the nav — cancel just the wrapper's top padding for it
   specifically, so it doesn't affect any other WooCommerce-wrapped content. */
.woocommerce > .dyd-page-header {
  margin-top: -40px;
}

/* WordPress wraps the raw [woocommerce_cart]/[woocommerce_checkout]
   shortcode block in an empty <p> before it's expanded — collapse it so it
   doesn't add its own sliver of height between the nav and the page content. */
p[data-sd-block-type="core/shortcode"]:empty {
  display: none;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  font-family: var(--ff-body) !important;
  font-size: 14px !important;
  color: var(--ink) !important;
  background: #ffffff !important;
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-input) !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus { border-color: var(--teal) !important; outline: none !important; }

.woocommerce #place_order,
.woocommerce-cart .checkout-button,
.woocommerce button.button {
  background: var(--coral) !important;
  color: #fff !important;
  font-family: var(--ff-body) !important;
  font-weight: 700 !important;
  border-radius: var(--radius-pill) !important;
  border: none !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
}
.woocommerce button.button.alt { background: var(--coral) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .dyd-hero__headline { font-size: 36px; }
  .dyd-steps          { grid-template-columns: 1fr; }
  .dyd-tiers          { grid-template-columns: 1fr; }
  .dyd-reviews        { grid-template-columns: 1fr; }
  .dyd-gallery-grid   { grid-template-columns: repeat(2, 1fr); }
  .dyd-checkout-wrap  { grid-template-columns: 1fr; }
  .dyd-summary-card   { position: static; }
  .dyd-nav__links     { display: none; }
  .dyd-form-row       { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .dyd-gallery-grid { grid-template-columns: 1fr; }
  .dyd-hero__headline { font-size: 28px; }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
.dyd-nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Burger — hidden on desktop, shown on mobile via JS */
.dyd-nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.dyd-nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
  pointer-events: none;
}
.dyd-nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dyd-nav__burger.is-open span:nth-child(2) { opacity: 0; }
.dyd-nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown — hidden by default, shown via JS inline style */
.dyd-nav__mobile {
  flex-direction: column;
  padding: 16px 28px 24px;
  background: #1C1C1C;
  border-top: 1px solid #2a2a2a;
}

.dyd-nav__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dyd-nav__mobile-links a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #cccccc;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #2a2a2a;
}
.dyd-nav__mobile-links a:hover { color: #FFD23F; }

@media (max-width: 900px) {
  .dyd-nav__links { display: none !important; }
  .dyd-nav__cta   { display: none !important; }
}

/* ============================================================
   WOOCOMMERCE PAYMENT SECTION STYLING
   ============================================================ */
#payment {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 0;
}

#payment .payment_methods {
  list-style: none;
  border: none;
  padding: 0;
  margin: 0 0 20px;
}

#payment .payment_methods li {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--white);
}

#payment .payment_methods li.active,
#payment .payment_methods li:has(input:checked) {
  border-color: var(--coral);
  background: #fff5f3;
}

#payment .payment_methods label {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

#payment .payment_methods input[type="radio"] {
  accent-color: var(--coral);
  width: 16px;
  height: 16px;
}

#payment .payment_box {
  padding: 12px 0 4px;
  font-size: 13px;
  color: var(--mid);
}

#payment #place_order {
  background: var(--coral) !important;
  color: #fff !important;
  font-family: var(--ff-body) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  padding: 18px 28px !important;
  width: 100% !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  display: block !important;
}

#payment .payment_method_paypal img {
  max-height: 20px;
  vertical-align: middle;
}

.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

/* Hide WooCommerce/gateway injected terms checkbox and privacy notice
   since we have our own Terms & Refund Policy note below the form */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-privacy-policy-link,
p.form-row.terms,
.woocommerce-terms-and-conditions-wrapper,
#payment .form-row.terms,
#payment .woocommerce-privacy-policy-text,
.payment_box ~ p,
/* removed overly aggressive selector */

/* ============================================================
   NAV CART ICON
   ============================================================ */
.dyd-nav__cart {
  position: relative;
  color: #ccc;
  font-size: 22px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.dyd-nav__cart:hover { color: var(--yellow); text-decoration: none; }

.dyd-nav__cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--coral);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
.dyd-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dyd-shop-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, border-color 0.15s;
}
.dyd-shop-card:hover { transform: translateY(-4px); border-color: var(--coral); }

.dyd-shop-card__img-wrap {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--offwhite);
}
.dyd-shop-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.dyd-shop-card:hover .dyd-shop-card__img-wrap img { transform: scale(1.03); }

.dyd-shop-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--border);
}

.dyd-shop-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.dyd-shop-card__name {
  font-family: var(--ff-fun);
  font-size: 20px;
  color: var(--ink);
}

.dyd-shop-card__desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
  flex: 1;
}

.dyd-shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.dyd-shop-card__price {
  font-family: var(--ff-fun);
  font-size: 22px;
  color: var(--coral);
}

.dyd-shop-card__price .woocommerce-Price-amount { color: var(--coral); }

@media (max-width: 768px) {
  .dyd-shop-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BATCH FIX v31
   ============================================================ */

/* Required field asterisk */
.dyd-required { color: var(--coral); font-weight: 700; }

/* Hide "added to cart" notice on checkout */
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
  display: none !important;
}

/* Fix payment method card brand images — horizontal, smaller */
#payment .payment_methods li img {
  max-height: 20px !important;
  width: auto !important;
  display: inline-block !important;
  margin: 0 3px !important;
  vertical-align: middle !important;
}

/* Hide only the "Pay via PayPal." label text, not PayPal functionality */
.woocommerce-checkout .about_paypal { display: none !important; }
#payment .payment_method_paypal .payment_box > p { display: none !important; }

/* Hide reCAPTCHA text */
#payment .godaddy-payments-recaptcha-notice,
.wc-credit-card-form ~ p {
  display: none !important;
}

/* Fix card input focus border — teal not red */
#payment input:focus,
#payment select:focus,
.wc-credit-card-form input:focus {
  border-color: var(--teal) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Google Pay button — match Apple Pay rounded rectangle style */
#payment .gpay-button-fill,
#payment .gpay-button,
.payment_method_ppcp-googlepay .gpay-button {
  border-radius: 6px !important;
}

/* PayPal logo next to PayPal label */
.payment_method_paypal label img,
.payment_method_ppcp-gateway label img {
  display: inline-block !important;
  max-height: 20px !important;
  vertical-align: middle !important;
  margin-left: 6px !important;
}

/* Cart page responsive */
@media (max-width: 768px) {
  .woocommerce-cart-form > div {
    grid-template-columns: 1fr !important;
  }
}

/* Place order button — always visible outside payment div */
.form-row.place-order { margin-top: 8px; }
.form-row.place-order #place_order {
  background: var(--coral) !important;
  color: #fff !important;
  font-family: var(--ff-body) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  padding: 18px 28px !important;
  width: 100% !important;
  cursor: pointer !important;
  display: block !important;
}

/* Force coupon field open on cart page — no dropdown toggle */
.woocommerce-cart .showcoupon,
.woocommerce-cart .coupon-toggle { display: none !important; }
.woocommerce-cart .checkout_coupon,
.woocommerce-cart form.checkout_coupon { display: block !important; }

/* Cart page notices styling */
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-notices-wrapper {
  margin-bottom: 24px;
}

.woocommerce-message {
  background: #f0fff0 !important;
  border-top: 3px solid #3aaf5a !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 16px !important;
  font-family: var(--ff-body) !important;
  font-size: 14px !important;
  color: var(--ink) !important;
  margin-bottom: 12px !important;
}

.woocommerce-message a.button {
  background: var(--ink) !important;
  color: #fff !important;
  font-family: var(--ff-body) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 6px 16px !important;
  border-radius: var(--radius-pill) !important;
  float: none !important;
  margin-left: 12px !important;
}

/* Error / info notices (e.g. "Coupon already applied", invalid coupon,
   out-of-stock warnings) — these come through as <ul> lists by default
   and were previously totally unstyled, showing up as a bare bulleted
   box. Matched to the same card treatment as .woocommerce-message. */
.woocommerce-error,
.woocommerce-info {
  background: var(--offwhite) !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 16px !important;
  font-family: var(--ff-body) !important;
  font-size: 14px !important;
  color: var(--ink) !important;
  margin: 0 0 12px !important;
  list-style: none !important;
}

.woocommerce-error {
  border-top: 3px solid var(--coral) !important;
}

.woocommerce-info {
  border-top: 3px solid var(--teal) !important;
}

.woocommerce-error li,
.woocommerce-info li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-error a.button,
.woocommerce-info a.button {
  background: var(--ink) !important;
  color: #fff !important;
  font-family: var(--ff-body) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 6px 16px !important;
  border-radius: var(--radius-pill) !important;
  float: none !important;
  margin-left: 12px !important;
}
