/* =========================================
   1. GENERIC BLUE CTA BUTTON
   Used for big calls-to-action like:
   - "Take me to the list / Amazon"
   - "Share this list with friends"
   ========================================= */
.giftinbio-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;                 /* pill, like small tile button */
  background: #a456e1;                  /* Gift In Bio purple */
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 1.0rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  width: 100%;                           /* full-width in modal */
  box-sizing: border-box;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.giftinbio-button:hover {
 background: #8e3ed6;                  /* darker purple on hover */
  opacity: 1;
}

/* =========================================
   2. FRONT-END SUBMIT FORM WRAPPER
   Page: [giftinbio_submit]
   ========================================= */
.giftinbio-submit-example {
    text-align: left !important;
    margin: 10px auto 20px auto;
    padding: 0;
}

.giftinbio-submit-example-label {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    color: #5a2ea6; /* your purple brand color */
}

.giftinbio-submit-example-img {
    display: inline-block;
    margin: 0 auto;
    max-width: 1080px;    /* keeps it from being huge */
    width: 100%;
    height: auto;
    vertical-align: top;
    border-radius: 8px; /* optional: matches your tile rounding */
}




.giftinbio-form-wrapper {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
}

.giftinbio-form-wrapper h2 {
  margin-top: 0;
}

.giftinbio-form-wrapper label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.giftinbio-form-wrapper input[type='text'],
.giftinbio-form-wrapper input[type='url'],
.giftinbio-form-wrapper select,
.giftinbio-form-wrapper textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.giftinbio-form-wrapper .giftinbio-error {
  color: #c00;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.giftinbio-form-wrapper .giftinbio-success {
  color: #2c7a2c;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.giftinbio-form-wrapper button {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.giftinbio-form-wrapper button:hover {
  opacity: 0.9;
}

/* Amazon URL row with inline help button */
.giftinbio-amazon-url-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.giftinbio-amazon-url-row input[type="url"] {
  flex: 1;
}

/* Little pill help button */
.giftinbio-url-help {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 2px solid #a456e1;
  background: #ffffff;
  color: #4b2b6b;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 3px 0 #7c34c0;
  white-space: nowrap;
}

.giftinbio-url-help:hover {
  background: #f5e9ff;
}




/* =========================================
   2.5 GIFT WALL SHELL (wraps filters + grid)
   ========================================= */
.giftinbio-giftwall-shell {
  position: relative;
  overflow: hidden;

  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 48px 20px 56px;

  border-radius: 24px;

  /* Soft Gift In Bio vertical gradient */
  background: linear-gradient(
    to bottom,
    #f3d9ff 0%,
    #d8a2ff 50%,
    #a456e1 100%
  );
}

/* Everything inside sits above gradient */
.giftinbio-giftwall-shell > * {
  position: relative;
  z-index: 2;
}


/* =========================================
   3. GIFT WALL LIST (PUBLIC LIST VIEW)
   Shortcode: [giftinbio_list]
   ========================================= */

/* Container: vertical list of full-width tiles */
.giftinbio-registry-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Base card styling (used in list, modal, single, etc.) */
.giftinbio-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 0.75rem 0.75rem;
  background: #fff;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* LIST VIEW layout: only when inside the registry grid */
.giftinbio-registry-grid .giftinbio-card {
  display: flex;
  align-items: stretch;
}

/* Main clickable region (photo + text); opens big tile */
.giftinbio-card-main {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  cursor: pointer;
}

/* Thumbnail: fixed size so all tiles line up */
/* Thumbnail: fixed size so all tiles line up */
.giftinbio-card-media {
  flex: 0 0 110px;
  position: relative;      /* NEW: needed for overlay */
}

.giftinbio-card-media img {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* When we're using the placeholder logo, soften it */
.giftinbio-card-media--placeholder img {
  opacity: 0.35;                 /* soft / washed-out */
  filter: grayscale(0.1);
}

/* "Gift In Bio" overlay centered over placeholder */
.giftinbio-card-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: #111827;
  text-align: center;
  padding: 0.25rem;
  pointer-events: none;          /* click still hits the tile */
}



/* Text block, stacked */
.giftinbio-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Title: ALL CAPS + bold + larger */
.giftinbio-card-title {
  margin: 0;
  font-size: 1.25rem;      /* INCREASED SIZE */
  font-weight: 700;
  text-transform: uppercase;
}

/* Tags under title (ALL CAPS) */
.giftinbio-card-tags .giftinbio-tag-pill {
  margin-bottom: 0.15rem;
  text-transform: uppercase;  /* NEW */
  font-size: 0.75rem;          /* Slightly smaller since all caps */
  font-weight: 600;
}

/* Subtitle: italics + ALL CAPS */
.giftinbio-card-subtitle {
  font-style: italic;
  font-size: 0.85rem;
  color: #555;
  text-transform: uppercase;  /* NEW */
  font-weight: 600;
}

/* Only % complete text — ALL CAPS */
.giftinbio-card-progress-text {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.15rem;
  text-transform: uppercase;  /* NEW */
}

/* About snippet: 50 chars + ...READ MORE — ALL CAPS */
.giftinbio-card-description {
  font-size: 0.9rem;
  margin-top: 0.25rem;
  color: #333;
  text-transform: uppercase;  /* NEW */
  font-weight: 500;
}

/* "View Full Details" button on small tiles */
.giftinbio-card-more-btn {
  margin-top: 0.5rem;
  padding: 6px 14px;
  border-radius: 999px;

  background-color: #a456e1;    /* Gift In Bio purple */
  color: #fff;
  border: none;

  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;

  transition: background 0.2s ease, opacity 0.2s ease;
}

.giftinbio-card-more-btn:hover {
  background-color: #8e3ed6;
}

.giftinbio-card-more-btn:active {
  opacity: 0.85;
}


/* Small inline share link — ALL CAPS */
.giftinbio-card-share {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;  /* NEW */
}

.giftinbio-card-share a {
  text-decoration: underline;
  color: #2563eb;
  text-transform: uppercase;  /* NEW */
}


/* Cart icon: bottom-right, goes straight to Amazon */
.giftinbio-card-cart {
  align-self: flex-end;
  margin-left: 0.75rem;
  font-size: 1.4rem;
  line-height: 1;
  text-decoration: none;
}

/* Hover state for the clickable row */
.giftinbio-card-main:hover {
  background: #fafafa;
  border-radius: 12px;
}

/* Progress bar container */
.giftinbio-progress-bar {
  background: #e5e5e5;
  border-radius: 999px;
  overflow: hidden;
  height: 8px;
  margin: 0.35rem 0;
}

/* Inner bar – color will be overridden by JS */
.giftinbio-progress-bar-inner {
  height: 100%;
  background: #4caf50; /* default green fallback */
  transition: width 0.3s ease, background-color 0.3s ease;
}


/* ALSO keep legacy image + text styles for non-list uses
   (single registry page & modal use .image-wrapper, .subtitle, .description) */

.giftinbio-card .image-wrapper {
  margin-bottom: 0.5rem;
}

.giftinbio-card .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.giftinbio-card .subtitle {
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.giftinbio-card .description {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .giftinbio-card {
    padding: 0.75rem;
  }

  .giftinbio-card-main {
    gap: 0.6rem;
  }

  .giftinbio-card-media {
    flex: 0 0 90px;
  }

  .giftinbio-card-media img {
    width: 90px;
    height: 90px;
  }
}

/* =========================================
   BIG TILE / DETAIL MODAL
   Matches small-tile vibes but roomier.
   ========================================= */

#giftinbio-detail-modal {
  /* hidden by default — JS will set style.display = 'flex' when opened */
  display: none;

  position: fixed;
  inset: 0;
  z-index: 9998;
  padding: 16px;
  box-sizing: border-box;

  /* Soft lilac overlay fading to white */
  background: radial-gradient(circle at top,
    rgba(249,245,255,0.96) 0%,
    rgba(249,245,255,0.96) 40%,
    rgba(255,255,255,0.98) 100%
  );

  /* Layout when it *is* shown via inline style */
  align-items: center;
  justify-content: center;
}


/* Card shell: reuse small-tile card but larger + gradient */
.giftinbio-detail-card {
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;

  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.28);

  padding: 1.5rem 1.75rem 1.75rem;
  background: linear-gradient(
    to bottom,
    #f9f5ff 0%,
    #ffffff 40%,
    #ffffff 100%
  );
}

/* X button (top-right pill) */
.giftinbio-detail-close {
  position: absolute;
  top: 10px;
  right: 12px;

  width: 32px;
  height: 32px;
  border-radius: 999px;

  border: none;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 10px rgba(15,23,42,0.18);

  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  color: #1f2937;
}

.giftinbio-detail-close:hover {
  background: #f3e9ff;
}

/* Two-column layout: image left, text right */
.giftinbio-detail-main {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.giftinbio-detail-media {
  flex: 0 0 260px; /* ~2x the 110px thumb */
}

.giftinbio-detail-media img {
  width: 100%;
  max-height: 260px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

/* Right side content */
.giftinbio-detail-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Title + text styling to match cards */
.giftinbio-detail-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.giftinbio-detail-event {
  font-size: 0.85rem;
  margin: 0.1rem 0;
}

.giftinbio-detail-tags {
  font-size: 0.8rem;
  margin: 0.25rem 0;
}

/* Reuse the pill styling for tags, just inline */
.giftinbio-detail-tags .giftinbio-tag-pill {
  margin-bottom: 0.15rem;
}

/* Subtitle + story */
#giftinbio-detail-subtitle.subtitle {
  font-style: italic;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #555;
}

#giftinbio-detail-description.description {
  font-size: 0.95rem;
  color: #333;
}

/* Progress section */
.giftinbio-detail-progress-wrapper {
  margin-top: 0.5rem;
}

.giftinbio-detail-progress-wrapper .giftinbio-progress-bar {
  margin: 0.35rem 0;
}

.giftinbio-detail-meta-line {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #4b2b6b;
}

/* Button row: Share + Amazon, same blue pill as small Amazon button */
.giftinbio-detail-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.giftinbio-detail-action {
  flex: 1 1 180px;
  margin: 0; /* reset <p> default margin */
}

/* Reuse .giftinbio-button but keep them full-width inside actions */
.giftinbio-detail-action .giftinbio-button {
  width: 100%;
}

/* Small tweak so share + amazon feel like a pair */
.giftinbio-button--amazon {
  /* could add subtle differences later if you want */
}

.giftinbio-button--share {
  /* keeps same base styling as .giftinbio-button */
}

/* Mobile: stack everything */
@media (max-width: 768px) {
  .giftinbio-detail-card {
    padding: 1.25rem 1rem 1.5rem;
  }

  .giftinbio-detail-main {
    flex-direction: column;
  }

  .giftinbio-detail-media {
    flex: 0 0 auto;
  }

  .giftinbio-detail-actions {
    flex-direction: column;
  }
}

/* Submit List pill above search bar, aligned right */
.giftinbio-list-pill {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.giftinbio-list-pill img {
    width: 220px; /* adjust if needed */
    height: auto;
    display: block;
}


/* =========================================
   4. GLOBAL SEARCH + FILTER BAR
   Lives above the Gift Wall grid.
   ========================================= */

/* Global search bar above filters */
.giftinbio-global-search-wrapper {
  margin-bottom: 0.75rem;
}

.giftinbio-global-search-label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.25rem;
}

.giftinbio-global-search-input {
  width: 100%;
  max-width: 420px;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

/* ===========================
   Filters toggle — more visible
   =========================== */

.giftinbio-filters-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
  padding: 10px 16px;

  background: rgba(164, 86, 225, 0.08); /* soft purple tint */
  border: 1px solid rgba(164, 86, 225, 0.25);
  border-radius: 999px;
}

.giftinbio-filters-toggle-label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-size: 0.85rem;
  color: #4b2b6b;
}

.giftinbio-filters-toggle-status {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #4b2b6b;
}

/* Larger, more visible iOS-style switch */
.giftinbio-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.giftinbio-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.giftinbio-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background-color: #e5def7;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.giftinbio-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 4px;
  top: 4px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

/* Checked state */
.giftinbio-switch input:checked + .giftinbio-slider {
  background-color: #a456e1;
}

.giftinbio-switch input:checked + .giftinbio-slider::before {
  transform: translateX(20px);
}

/* ===========================
   Filter bar + clear button row
   =========================== */

/* Base style */
.giftinbio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.giftinbio-filter-bar .filter-group {
  margin-bottom: 0.25rem;
}

.giftinbio-filter-bar label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

/* Keep label "space" for Actions column so buttons align */
.giftinbio-filter-bar .filter-group.filter-actions label {
  visibility: hidden;
}

/* On the Gift Wall shell, filters are hidden by default */
.giftinbio-giftwall-shell .giftinbio-filter-bar {
  display: none;
}

/* When filters are ON via JS toggle */
.giftinbio-giftwall-shell.filters-on .giftinbio-filter-bar {
  display: flex;
}

/* =========================================
   Filter Buttons – White Base + Purple Ring
   Strong specificity to override theme.
   ========================================= */

/* Base Button */
.giftinbio-filter-bar .giftinbio-filter-button {
  all: unset;                       /* RESET all theme button styles */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 6px 16px !important;
  border-radius: 999px !important;

  border: 2px solid #a456e1 !important;  /* Purple ring */
  background-color: #ffffff !important;  /* White base */
  color: #222222 !important;             /* Dark text */

  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease !important;
}

/* Hover: full purple button */
.giftinbio-filter-bar .giftinbio-filter-button:hover {
  background-color: #8e3ed6 !important;
  border-color: #8e3ed6 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15) !important;
}

/* Active press state */
.giftinbio-filter-bar .giftinbio-filter-button:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
}

/* Secondary (Clear Filters) Button */
.giftinbio-filter-bar .giftinbio-filter-button--secondary {
  background-color: #ffffff !important;
  color: #4b2b6b !important;
  border: 2px solid #a456e1 !important;
  box-shadow: none !important;
}

/* Secondary Hover */
.giftinbio-filter-bar .giftinbio-filter-button--secondary:hover {
  background-color: #8e3ed6 !important;
  border-color: #8e3ed6 !important;
  color: #ffffff !important;
}


/* =========================================
   Secondary (Clear Filters) – softer outline
   ========================================= */

.giftinbio-filter-button--secondary {
  background-color: #ffffff;
  color: #4b2b6b;
  border: 2px solid #a456e1;
  box-shadow: none;
}

/* Secondary hover still goes purple, to match vibe */
.giftinbio-filter-button--secondary:hover {
  background-color: #8e3ed6;
  border-color: #8e3ed6;
  color: #ffffff;
}


/* ===========================
   Tag filter scroll box + pills
   =========================== */

.giftinbio-tags-filter-box {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
  background: #fafafa;
}

/* Tag pills, social-style chips */
.giftinbio-tag-pill {
  display: inline-block;
  background: #f5f5f5;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  margin: 0 0.25rem 0.25rem 0;
}


/* =========================================
   5. SINGLE REGISTRY PAGE
   Appended via append_registry_to_content()
   ========================================= */
.giftinbio-single-registry a.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background: #111;
  color: #fff;
  text-decoration: none;
  margin-top: 0.5rem;
}

.giftinbio-single-registry a.button:hover {
  opacity: 0.9;
}

/* =========================================
   6. USER DASHBOARD TABLE
   Shortcode: [giftinbio_dashboard]
   ========================================= */
.giftinbio-dashboard {
  max-width: 900px;
  margin: 2rem auto;
}

.giftinbio-dashboard table {
  width: 100%;
  border-collapse: collapse;
}

.giftinbio-dashboard th,
.giftinbio-dashboard td {
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 0.95rem;
}

.giftinbio-dashboard th {
  font-weight: 600;
  background: #fafafa;
}

.giftinbio-dashboard form {
  margin: 0;
}

.giftinbio-dashboard button {
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: #111;
  color: #fff;
}

/* Dashboard – list thumbnail under title */
.giftinbio-dashboard-view-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  cursor: pointer;
  color: #2563eb;
  text-decoration: underline;
}

/* Wrapper so we can control layout if needed later */
.giftinbio-dashboard-thumb-wrapper {
  margin-top: 0.15rem;
}

/* Square mini thumbnail */
.giftinbio-dashboard-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.giftinbio-dashboard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Soften placeholder, same vibe as Gift Wall */
.giftinbio-dashboard-thumb--placeholder img {
  opacity: 0.35;
  filter: grayscale(0.1);
}

/* "Gift In Bio" overlay centered */
.giftinbio-dashboard-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111827;
  text-align: center;
  padding: 0.25rem;
  pointer-events: none;
}

/* Status color coding */
.giftinbio-dashboard-status-pending {
  color: #b7791f;
  font-weight: 600;
}

.giftinbio-dashboard-status-publish {
  color: #2b6cb0;
  font-weight: 600;
}

.giftinbio-dashboard-status-fulfilled {
  color: #2f855a;
  font-weight: 600;
}

/* =========================================
   GIFT WALL PAGE BACKGROUND
   URL: /giftinbio-list/
   Uses body class: page-giftinbio-list
   ========================================= */

/* Set the page background */
body.page-giftinbio-list {
  background-color: #f9f5ff !important; /* Gift In Bio hero color */
}

/* Make sure Astra's wrappers don't override it with white */
body.page-giftinbio-list .site,
body.page-giftinbio-list .site-content,
body.page-giftinbio-list .site-main,
body.page-giftinbio-list .content-area,
body.page-giftinbio-list .entry-content,
body.page-giftinbio-list .ast-container,
body.page-giftinbio-list #page,
body.page-giftinbio-list #primary,
body.page-giftinbio-list #content,
body.page-giftinbio-list .wrap,
body.page-giftinbio-list .container {
  background-color: #f9f5ff !important;
}

/* Give the actual Gift Wall content some max width + padding
   so it doesn't feel slammed against the edges */
body.page-giftinbio-list .entry-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 16px 80px;
}

/* Optional: if you want the list itself slightly "lifted" off the bg */
body.page-giftinbio-list .giftinbio-registry-grid {
  /* comment these in if you want a subtle panel look
  background: rgba(255,255,255,0.65);
  border-radius: 24px;
  padding: 16px;
  */
}



/* =========================================
   7. HOMEPAGE HERO (BACKGROUND + WRAPPER)
   Shortcode: [giftinbio_home]
   ========================================= */

/* Hero container */
.giftinbio-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 24px; 
  border-radius: 24px;
  margin: 0 auto 3rem;
  max-width: 1200px;              /* center the whole band on desktop */
  background-color: #a456e1;      /* ✅ single # */
  color: #a456e1;                 /* readable default text color */
}


/* Rotated repeating logo pattern across the whole hero band */
.giftinbio-hero::before {
  content: "";
  position: absolute;
  inset: -220px; /* bleed so rotation doesn't show edges */
  background-image: url('https://giftinbio.com/wp-content/uploads/2025/12/main-logo.png');
  background-repeat: repeat;
  background-size: 110px 110px; /* controls density of the icons */
  background-position: left bottom;
  opacity: 100;               /* keep it soft behind content */
  transform: rotate(-30deg);
  transform-origin: center;
  z-index: 0;
}

/* Make sure actual hero content sits above the pattern */
.giftinbio-hero-inner,
.giftinbio-hero-inner * {
  position: relative;
  z-index: 2;
}

/* Inner layout: single column (copy + card stacked) */
.giftinbio-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;   /* single column */
  gap: 2.5rem;
  align-items: flex-start;
  justify-items: center;        /* ✅ center children horizontally */
}

/* New: center the text block itself */
.giftinbio-hero-copy {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}


/* Stack on mobile (same single column, just tighter padding) */
@media (max-width: 768px) {
  .giftinbio-hero {
    padding: 80px 16px;
  }

  .giftinbio-hero-inner {
    text-align: left;
  }

  .giftinbio-hero::before {
    background-size: 130px 130px; /* optional tweak on mobile */
  }
}

.giftinbio-hero-pill {
  display: inline-block;   
  margin: 0 auto 1rem;               /* match button layout */
  align-items: center;                   /* vertically center text + img */
  justify-content: center;
  margin-left: auto;
  margin-right: auto;


  padding: 0.6rem 1.4rem;                /* similar ratio to buttons */
  border-radius: 999px;

  background: #ffffff;                   /* match hero button background */
  border: 3px solid #3b0c7a;             /* same purple border */
  box-shadow: 0 6px 0 #23044a;           /* same chunky drop shadow */
  
  font-size: 2rem;                    /* slightly smaller than buttons */
  font-weight: 700;                      /* same boldness */
  color: #3b0c7a;                        /* purple text */
  letter-spacing: 0.07em;                /* match button text spacing */
  text-transform: uppercase;

  text-decoration: none;
  white-space: nowrap;
  gap: 0.4rem;                            /* space between img + text */

  cursor: default;                        /* NOT a button */
}

/* Main headline */
.giftinbio-hero-copy h1 {
  font-size: 2.6rem;
  margin: 0.75rem 0 0.5rem;
  letter-spacing: 0.04em;
  text-align: center;
  align-items: center;
}

/* Subhead text */
.giftinbio-hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 430px;
  margin: 0 auto 1.5rem;    /* ✅ center block */
  color: #2c184e;
  text-align: center;
}


/* Small line of copy under buttons */
.giftinbio-hero-footnote {
  font-size: 0.85rem;
  color: #3a235e;
  max-width: 380px;
  margin: 0.75rem auto 0;   /* ✅ center under buttons */
  text-align: center;
}


/* =========================================
   8. HERO CTA BUTTONS (SUBMIT LIST / SHOP LISTS)
   ========================================= */

/* Flex row for hero buttons */
.giftinbio-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  justify-content: center; /* center like your Canva comp */
}

/* Base hero button */
.giftinbio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  border: 3px solid #3b0c7a;       /* purple border */
  background: #ffffff;              /* white fill */
  color: #3b0c7a;                   /* purple text */
  text-decoration: none !important;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;        /* SUBMIT LIST / SHOP LISTS */
  box-shadow: 0 6px 0 #23044a;      /* chunky “lifted” shadow */
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease,
    color 0.12s ease;
  cursor: pointer;
  white-space: nowrap;
}

/* Primary hero CTA (SUBMIT LIST) */
.giftinbio-btn-primary {
  background: #ffffff;
  color: #3b0c7a;
}

/* Secondary hero CTA (SHOP LISTS) – same visual for now */
.giftinbio-btn-secondary {
  background: #ffffff;
  color: #3b0c7a;
}

.giftinbio-btn:hover,
.giftinbio-btn:focus {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #23044a;
  background: #f8f4ff;
  color: #2a0757;
}

/* =========================================
   9. HERO CARD (now full-width under the copy)
   ========================================= */

.giftinbio-hero-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 12px 30px rgba(85, 52, 156, 0.28);
  color: #21113f;

  width: 100%;
  margin: 0 auto;
}

.giftinbio-hero-card-header {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: center;
  width: 100%;
  display: block;
}

.giftinbio-hero-card-list {
  list-style: none;
  padding-left: 0;
  margin: 0 auto 0.75rem;
  font-size: 0.9rem;
  color: #4a2f74;
  text-align: center;               /* center the whole list */
}

.giftinbio-hero-card-list li {
  margin-bottom: 0.35rem;
  display: inline-flex;             /* bullet + text on one line */
  align-items: center;
  gap: 0.4rem;                      /* space between ✶ and text */
}

.giftinbio-hero-card-list li::before {
  content: "✶";
  font-size: 0.8rem;
  color: #e879f9;
}


.giftinbio-hero-card-footer {
  font-size: 0.85rem;
  color: #6b4d9b;
}