/*
Theme Name: Patricia Keeler Custom Theme
Theme URI: https://patriciakeeler-author-illustrator.com/
Author: Sahil Parmar - Blue Monkfish
Description: Custom WordPress + WooCommerce portfolio and shop theme for Author & Illustrator Patricia Keeler (Yor aesthetic).
Version: 1.0.0
Text Domain: patricia-keeler
*/

/* ==========================================================================
   1. FONTS & YOR COLOR PALETTE VARIABLES
   ========================================================================== */
@font-face {
  font-family: 'Maghfirea';
  src: url('assets/Fonts/Maghfirea.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zindora';
  src: url('assets/Fonts/ZindoraRegular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 6 Official Brand Palette Swatches (Updated to Graphic Novel Colors) */
  --brand-charcoal:   #251E1A;
  --brand-beige:      #F4D068; /* Naples Yellow */
  --brand-rust:       #C1272D; /* Superman Red */
  --brand-taupe:      #C69C26; /* Goldenrod */
  --brand-ochre:      #F17245; /* Vibrant Orange */
  --brand-slate:      #90939D;

  /* Mapped Theme Variables */
  --bg-beige:          #F4D068; /* Updated to Naples Yellow */
  --bg-white:          #fff;
  --bg-blush:          #F4D068; /* Updated to Naples Yellow */
  --bg-dark:           #474142;
  --text-dark:         #000000;
  --text-light:        #ffffff; /* Clean white for contrast against dark backgrounds */
  --text-muted:        #90939D;
  --accent-terracotta: #C1272D; /* Updated to Superman Red */
  --accent-brown:      #F17245; /* Updated to Vibrant Orange */

 
  --font-heading: 'Maghfirea', Georgia, serif;
  --font-body: 'Roboto', sans-serif;
	--font-subheading:    'Zindora', Georgia, serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, .stay-tuned-title {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

img, video {
  max-width: 100%;
  display: block;
}


/* ========================================================================== 
   2. STICKY HEADER & SLIDE-OUT MOBILE BURGER MENU DRAWER 
   ========================================================================== */ 
.site-header,
.site-header.scrolled { 
  position: fixed !important; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 1000; 
  background-color: transparent !important; 
  box-shadow: none !important; 
  backdrop-filter: none !important;
  border: none !important; 
  color: var(--text-light) !important; 
  transition: padding 0.35s ease, background-color 0.35s ease !important; 
}

/* Default state at the top */
.site-header {
  padding: 30px 4% !important; 
}

/* Scrolled state (Header shrinks but remains completely transparent) */
.site-header.scrolled { 
  padding: 14px 4% !important; 
  text-shadow: none !important;
  background-color: #00000069 !important;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 2rem;
  letter-spacing: 1px;
}

.desktop-nav {
  display: none; /* Hidden by default on mobile, handled by media query later */
}

/* Main Desktop List */
.desktop-nav > ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

/* Invisible bridge to ensure hover doesn't break between main link and dropdown */
.desktop-nav > ul > li {
  position: relative; 
  display: flex;
  align-items: center;
  height: 100%;
  padding-bottom: 25px; 
  margin-bottom: -25px; 
}

.desktop-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: color 0.3s ease;
	font-family: 'Zindora', var(--font-subheading);
}

.desktop-nav a:hover {
  color: var(--accent-terracotta);
}

/* -------------------------------------------------- */
/* DESKTOP SUBMENU (DROPDOWN) FIXES                   */
/* -------------------------------------------------- */

.desktop-nav .sub-menu {
  display: none; /* Hide dropdown by default */
  position: absolute;
  top: 100%; /* Attaches immediately to the bottom of the header */
  left: 50%;
  transform: translateX(-50%); /* Centers the dropdown right below the parent link */
  background-color: var(--brand-charcoal);
  padding: 15px 25px;
  min-width: 220px;
  list-style: none;
  z-index: 99999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-radius: 4px;
  margin-top: 0; /* Gap removed to prevent hover loss */
  flex-direction: column; 
  gap: 12px;
}

/* Add a tiny arrow to the top of the dropdown box */
.desktop-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent var(--brand-charcoal) transparent;
}

/* Show submenu on hover */
.desktop-nav ul li:hover > .sub-menu {
  display: flex; 
}

.desktop-nav .sub-menu li {
  text-align: center;
  width: 100%;
}

.desktop-nav .sub-menu a {
  color: #ffffff;
  font-size: 0.75rem;
  white-space: nowrap;
}

.desktop-nav .sub-menu a:hover {
  color: var(--brand-rust);
}

/* -------------------------------------------------- */
/* HEADER ACTIONS & BURGER MENU                       */
/* -------------------------------------------------- */

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-toggle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
	font-family: 'Zindora', var(--font-subheading);
}

/* Burger Button */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.hamburger .hb-line {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text-light);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.is-active .line-1 {
  transform: translateY(4.5px) rotate(45deg);
}

.hamburger.is-active .line-2 {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Mobile Slide-Out Drawer & Backdrop */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 10, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 380px);
  height: 100vh;
  background-color: #00000069;
  color: var(--text-light);
  z-index: 1050;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(236, 219, 203, 0.15);
  padding-bottom: 18px;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 30px 0;
}

.mobile-drawer-nav a {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  letter-spacing: 1px;
  color: var(--text-light);
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.mobile-drawer-nav a:hover {
  color: var(--accent-terracotta);
  transform: translateX(6px);
}

/* -------------------------------------------------- */
/* MOBILE SUBMENU (DRAWER) FIXES & ACCORDION          */
/* -------------------------------------------------- */
.mobile-drawer-nav .sub-menu {
  display: none; /* Hidden by default now */
  padding-left: 20px !important;
  margin-top: 5px !important;
  margin-bottom: 15px !important;
  flex-direction: column;
  gap: 12px !important;
}

/* Class added via JS to reveal the submenu */
.mobile-drawer-nav .sub-menu.open {
  display: flex !important;
}

.mobile-drawer-nav .menu-item-has-children > a {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 20px; /* Space for the arrow */
}

/* Add a plus/arrow indicator to parent items */
.mobile-drawer-nav .menu-item-has-children > a::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--brand-taupe);
  transition: transform 0.3s ease;
}

.mobile-drawer-nav .menu-item-has-children.active > a::after {
  content: "−";
}

.mobile-drawer-nav .sub-menu a {
  font-size: 1.25rem !important; /* Slightly smaller than main links */
  color: var(--brand-beige) !important;
}

.drawer-footer {
  border-top: 1px solid rgba(236, 219, 203, 0.15);
  padding-top: 20px;
  font-size: 0.8rem;
  opacity: 0.85;
}

.drawer-socials {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.drawer-socials a {
  color: var(--accent-terracotta);
}

/* ==========================================================================
   3. HERO SECTION: PARALLAX BANNER, FADE TITLE, TABS & AUTO-SLIDER
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 110px;
  color: var(--text-light);
  overflow: hidden;
}

.hero-parallax-wrap {
  position: absolute;
  inset: -12% 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-banner-bg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0) scale(1.08);
  transition: background-image 0.9s ease-in-out, opacity 0.6s ease;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(37, 30, 26, 0.65) 0%,
    rgba(37, 30, 26, 0.45) 50%,
    rgba(37, 30, 26, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: auto 0;
  padding: 30px 20px 20px;
}

/* Fade In / Out Title Box */
.hero-title-box {
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.55s ease;
  will-change: opacity, transform, filter;
}

.hero-title-box.fade-out {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  filter: blur(4px);
}

.hero-title-box.fade-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-title-box.fade-in .hero-ellipse {
  animation: ellipsePulse 1.2s ease forwards;
}

@keyframes ellipsePulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.svg-title-wrapper {
  position: relative;
  display: inline-block;
}

.hero-ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  max-width: 650px;
  color: var(--accent-terracotta);
  pointer-events: none;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  position: relative;
}

.hero-subtitle {
    margin-top: 14px;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
    color: #fff;
    font-family: zindora;
}

/* Category Filter Tabs */
.hero-category-tabs {
  margin-top: 28px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  background: rgba(37, 30, 26, 0.65);
  padding: 8px 14px;
  border-radius: 40px;
  border: 1px solid rgba(236, 219, 203, 0.2);
}

.hero-tab {
  background: transparent;
  color: var(--text-light);
  border: 1px solid transparent;
  padding: 8px 20px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-tab:hover {
  border-color: rgba(236, 219, 203, 0.4);
}

.hero-tab.active {
  background: var(--accent-terracotta);
  color: #fff;
  font-weight: 500;
}

/* Auto-Moving Slider Strip */
.hero-slider-wrapper {
  position: relative;
  z-index: 2;
  background: rgba(37, 30, 26, 0.88);
  padding: 22px 0;
  border-top: 1px solid rgba(236, 219, 203, 0.15);
  display: flex;
  align-items: center;
}

.scrolling-samples-strip {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

.samples-track {
  display: flex;
  gap: 20px;
  padding: 0 4%;
  width: max-content;
  will-change: transform;
}

.sample-item {
  position: relative;
  width: 350px;
  height: 300px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: zoom-in;
  border: 1px solid rgba(236, 219, 203, 0.2);
  background: #1a1512;
}

.sample-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sample-item:hover img {
  transform: scale(1.06);
}

.sample-item .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(37, 30, 26, 0.85);
  border: 1px solid var(--accent-terracotta);
  color: var(--text-light);
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  z-index: 2;
}

.sample-item .zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--accent-terracotta);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sample-item:hover .zoom-hint {
  opacity: 1;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(37, 30, 26, 0.85);
  color: var(--text-light);
  border: 1px solid rgba(236, 219, 203, 0.3);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.slider-nav:hover {
  background: var(--accent-terracotta);
}

.slider-nav.prev { left: 14px; }
.slider-nav.next { right: 14px; }

/* ==========================================================================
   4. REUSABLE SECTIONS & YOR SVG HEADINGS
   ========================================================================== */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 4%;
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.heading-ellipse {
  width: 220px;
  height: 110px;
  color: var(--accent-terracotta);
  margin: 0 auto -75px;
  display: block;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: #000;
}

.section-heading p {
    margin-top: 12px;
    color: #474142 !important;
	font-size: 20px;
}

/* ==========================================================================
   5. SHOP: FRAMED PRINTS & VARIATION SELECTORS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.product-card {
  text-align: center;
}

.product-frame {
  background: #fff;
  padding: 18px;
  border: 2px solid #251E1A;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.product-frame img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-summary h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.product-summary .price {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-variations select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #b8a69c;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.btn-terracotta {

    background-color: var(--brand-rust) !important;
    color: var(--brand-beige) !important;
    border: 4px solid;
    padding: 16px 45px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: zindora;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 40px;
    /* transition: background 0.3s; */
    margin-top: 10px;
}

.btn-terracotta:hover {
      background-color: #f4d068 !important;
    color: #c1272d !important;
    border: 4px solid #c1272d;
    font-weight: 600;
    font-family: zindora;
}

/* ==========================================================================
   NEWSLETTER SUBSCRIBE BUTTON (Matches "Submit Inquiry" style)
   ========================================================================== */
.btn-subscribe {
  background-color: var(--brand-rust) !important;
  color: var(--brand-beige) !important;
  border: 4px solid var(--brand-rust);
  padding: 16px 45px;
  font-family: 'Zindora', var(--font-subheading);
  font-size: 1.1rem;
  text-transform: uppercase;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background-color: var(--brand-beige) !important; /* Naples Yellow */
  color: var(--brand-rust) !important; /* Superman Red */
  border: 4px solid var(--brand-rust);
  font-weight: 600;
}
/* ==========================================================================
   6. MARQUEE & QUOTE CALLOUT
   ========================================================================== */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    padding: 30px 0;
    border-top: 1px solid #c1272d;
    border-bottom: 1px solid #f4d068;
}

.marquee-track {
  display: inline-block;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    margin-right: 40px;
    color: rgb(255,105,0);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

.quote-callout {
  padding: 80px 4%;
  display: flex;
  justify-content: center;
}

.quote-box {
  background: #EBE5E2;
  max-width: 780px;
  padding: 60px 50px;
  position: relative;
}

.terracotta-circle {
  width: 90px;
  height: 45px;
  background: var(--accent-terracotta);
  border-radius: 90px 90px 0 0;
  margin-bottom: 20px;
}

.quote-box blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 1px;
}

/* ==========================================================================
   7. BIOGRAPHY SPLIT SECTION & VIDEO
   ========================================================================== */
.bio-split-section {
  display: grid;
  grid-template-columns: 1fr;
}

.bio-image-col {
  position: relative;
}

.bio-image-col img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.vertical-name {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: #fff;
  letter-spacing: 2px;
}

.bio-content-col {
  background-color: var(--bg-blush);
  padding: 10% 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio-content-col h5 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.bio-content-col h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.bio-content-col p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.awards-highlights {
  margin: 20px 0 30px;
  padding: 18px;
  background: rgba(255,255,255,0.6);
  border-left: 3px solid var(--accent-terracotta);
}

.awards-highlights h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.awards-highlights ul {
  padding-left: 18px;
  font-size: 0.88rem;
}

.btn-ellipse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  align-self: flex-start;
}

.btn-ellipse svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--text-dark);
}

.video-banner-section {
  position: relative;
  max-height: 560px;
  overflow: hidden;
}

.video-banner-section video {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.video-overlay-caption {
  position: absolute;
  bottom: 20px;
  right: 4%;
  background: rgba(37,30,26,0.8);
  color: var(--text-light);
  padding: 8px 18px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   8. WORK, PICTURE BOOKS & SCHOOL PRESENTATIONS
   ========================================================================== */
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}

.work-item {
  position: relative;
  overflow: hidden;
  height: 420px;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37,30,26,0.65);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 20px;
  text-align: center;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.book-card {
  background: #fff;
  padding: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.book-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.book-card h4 {
  font-size: 1.25rem;
  margin: 14px 0 6px;
}

.amazon-link {
  font-size: 0.78rem;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.presentations-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.event-photos img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.form-card {
  max-width: 760px;
  margin: 60px auto 0;
  background: #fff;
  padding: 40px;
}

.form-card h3 {
  font-size: 2rem;
  margin-bottom: 24px;
  text-align: center;
}

.yor-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.yor-form input, .yor-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #d4c5bc;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

/* ==========================================================================
   9. DARK FOOTER: CONTACT & NEWSLETTER ("STAY TUNED")
   ========================================================================== */
.site-footer {
  background-color: var(--brand-beige); /* Naples Yellow */
  color: var(--brand-rust);
  padding: 0; /* Removed global padding so bottom bar spans 100% full width */
  border-top: none;
}

.footer-contact-container {
  max-width: 720px;
  margin: 0 auto 0px;
}

section#contact {
  background-color: #d4c1b3;
}

.dark-form input, .dark-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(236, 219, 203, 0.25);
  color: var(--text-light);
}

.light-ellipse {
  color: var(--text-light);
  align-self: center;
}

.light-ellipse svg {
  color: var(--text-light);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(236, 219, 203, 0.15);
  margin-bottom: 60px;
}

/* Padding moved here to keep top content spaced nicely */
.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 4% 60px;
}

@media (min-width: 992px) {
  .footer-newsletter {
    grid-template-columns: 1fr 2fr 1fr;
  }
  .footer-links-right {
    text-align: right;
  }
}

.footer-links-left, .footer-links-right {
  list-style: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 2.2;
  padding: 0;
  margin: 0;
}

.footer-links-left a, .footer-links-right a {
  color: var(--brand-rust);
  text-decoration: none;
}

.newsletter-center {
  text-align: center;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 550px; /* Restricts width so the button is forced to the next line */
  margin: 0 auto;
}

/* Neutralize CF7 auto-formatting */
.newsletter-form p {
  display: contents !important;
}
.newsletter-form br {
  display: none !important;
}

/* Ensure CF7 wrapper spans share the top row equally */
.newsletter-form .wpcf7-form-control-wrap {
  flex: 1 1 40%;
  min-width: 180px;
}

/* Update Footer Form Inputs */
.newsletter-form input:not([type="submit"]) { 
  background: transparent; 
  border: none; 
  border-bottom: 1px solid var(--brand-rust) !important; 
  color: var(--brand-rust) !important; 
  padding: 10px 4px; 
  width: 100% !important; /* Let flexbox control the width */
  box-sizing: border-box;
  font-family: var(--font-body);
	font-size: 20px !important;
}

.newsletter-form input::placeholder { 
  color: var(--brand-rust) !important; 
  opacity: 0.8 !important; 
}

/* Force the submit button to its own row, centered */
.newsletter-form .btn-subscribe {
  flex: 0 0 100%;
  max-width: 250px;
  margin: 10px auto 0;
}
.newsletter-form .btn-subscribe {
  text-align: center !important;
}

/* NEW: Full-Width Orange Bottom Bar for "Patricia Keeler" */
.footer-brand-bar {
  background-color: var(--brand-rust); /* Vibrant Orange (#F17245) */
  width: 100%;
  text-align: center;
  padding: 35px 4%;
}

.stay-tuned-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  margin: 0;
  line-height: 1;
  color: var(--brand-beige); /* Red text (change to #ffffff if you prefer white text on orange) */
}
span.wpcf7-spinner {
    display: none !important;
}
/* ==========================================================================
   MOBILE FIX FOR NEWSLETTER FORM
   ========================================================================== */
@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
    align-items: stretch; /* Stretches items to full width */
    gap: 15px;
  }

  .newsletter-form .wpcf7-form-control-wrap {
    width: 100% !important;
  }

  .newsletter-form input:not([type="submit"]) {
    margin-bottom: 5px;
  }

  .newsletter-form .btn-subscribe {
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
  }
}
/* ==========================================================================
   10. FULL ORIGINAL IMAGE LIGHTBOX MODAL (UNCROPPED)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 16, 14, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 2px solid rgba(236, 219, 203, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  background: #111;
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2.8rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(236, 219, 203, 0.25);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.3s;
}

.lightbox-arrow:hover {
  background: var(--accent-terracotta);
}

.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }

/* ==========================================================================
   11. DESKTOP MEDIA QUERIES
   ========================================================================== */
@media (min-width: 992px) {
  .desktop-nav {
    display: block;
  }
  .hamburger {
    display: none;
  }
  .bio-split-section {
    grid-template-columns: 1fr 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-newsletter {
    grid-template-columns: 1fr 2fr 1fr;
  }
  .footer-links-right {
    text-align: right;
  }
}
/* ==========================================================================
   12. FIRST-TIME SCROLL REVEAL ANIMATION FOR ALL TITLES & SVG OVALS
   ========================================================================== */
.reveal-heading {
  opacity: 0;
  transform: translateY(38px);
  filter: blur(4px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.85s ease;
  will-change: opacity, transform, filter;
}

.reveal-heading.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Word-by-word staggered slide up inside animated titles (Yor style) */
.reveal-heading .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 4px;
}

.reveal-heading .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-heading.is-visible .word-inner {
  transform: translateY(0);
}

/* Hand-drawn SVG oval stroke animation on first scroll */
.section-heading .heading-ellipse {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-heading.svg-drawn .heading-ellipse {
  stroke-dashoffset: 0;
}

/* ==========================================================================
   13. PARALLAX VIDEO BANNER & ORIGINAL-SIZE VIDEO LIGHTBOX POPUP
   ========================================================================== */
.video-banner-section {
  position: relative;
  width: 100%;
  height: 560px;
  max-height: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark);
  cursor: pointer;
}

.video-parallax-wrap {
  position: absolute;
  inset: -20% 0;
  width: 100%;
  height: 140%;
  overflow: hidden;
  pointer-events: none;
}

.video-parallax-bg {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.08);
}

.video-dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 30, 26, 0.35);
  transition: background 0.4s ease;
  z-index: 1;
}

.video-banner-section:hover .video-dark-overlay {
  background: rgba(37, 30, 26, 0.2);
}

/* Center Rotating Text Button (Exact Yor Style) */
.circle-play-btn {
  position: relative;
  z-index: 3;
  width: 175px;
  height: 175px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.video-banner-section:hover .circle-play-btn {
  transform: scale(1.08);
}

.rotating-text-svg {
  width: 100%;
  height: 100%;
  animation: spinCircleText 14s linear infinite;
}

@keyframes spinCircleText {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.circle-svg-text {
  fill: var(--text-light);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 4.2px;
  text-transform: uppercase;
}

.play-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--text-light);
  margin-left: 6px;
}

/* Video Lightbox Popup (Shows 100% Original Video Size & Native Controls) */
.video-lightbox-content {
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lightbox-content video {
  max-width: 90vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain; /* Keeps exact original video dimensions (vertical, square, or 16:9) */
  background: #000;
  border: 2px solid rgba(236, 219, 203, 0.3);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  outline: none;
}
/* ==========================================================================
   14. SCHOOL PRESENTATIONS CTA & POPUP FORM MODAL
   ========================================================================== */
.presentations-cta {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.presentation-trigger-btn {
  padding: 22px 48px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: transform 0.35s ease, color 0.35s ease;
}

.presentation-trigger-btn svg {
  color: var(--accent-terracotta);
  transition: transform 0.35s ease;
}

.presentation-trigger-btn:hover {
  color: var(--accent-terracotta);
  transform: translateY(-2px);
}

.presentation-trigger-btn:hover svg {
  transform: scale(1.05);
}

/* Popup Form Modal Card */
.form-modal {
  padding: 20px;
  backdrop-filter: blur(6px);
}

.form-modal-card {
  position: relative;
  background-color: var(--bg-beige);
  color: var(--text-dark);
  width: 100%;
  max-width: 680px;
  padding: 50px 42px 42px;
  border: 1px solid rgba(37, 30, 26, 0.2);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalSlideUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.form-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.form-modal-close:hover {
  color: var(--accent-terracotta);
}

.form-modal-header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}

.modal-ellipse {
  width: 180px;
  height: 90px;
  color: var(--accent-terracotta);
  margin: 0 auto -60px;
  display: block;
  pointer-events: none;
}

.form-modal-header h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 8px;
}

.form-modal-header p {
  font-size: 0.9rem;
  color: #5a4e48;
}

.form-modal-card .yor-form input,
.form-modal-card .yor-form textarea {
  background: #fff;
  border: 1px solid #cdbcb2;
}

.form-modal-card .yor-form input:focus,
.form-modal-card .yor-form textarea:focus {
  outline: none;
  border-color: var(--accent-terracotta);
}

.form-submit-btn {
  align-self: center;
  padding: 14px 36px;
  margin-top: 6px;
}
/* ==========================================================================
   15. MOBILE HORIZONTAL SWIPE / OVERFLOW FIX & CENTERED FOOTER LINKS
   ========================================================================== */

/* 1. Lock horizontal overflow on both html, body, main, and footer */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip; /* Stronger than hidden for mobile touch & sticky elements */
  position: relative;
  overscroll-behavior-x: none;
}

main,
.site-footer,
.section-container,
.bio-split-section {
  max-width: 100vw;
  overflow-x: clip;
}

/* 2. Prevent closed mobile drawer from creating invisible width on the right */
.mobile-drawer {
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

/* 3. Keep Hero SVG ellipse & Category Tabs inside mobile screen bounds */
.svg-title-wrapper {
  max-width: 100%;
}

.hero-ellipse {
  width: 100%;
  max-width: min(92vw, 650px);
}

.hero-category-tabs {
  max-width: 94vw;
}

/* 4. Center-align Footer Links & Newsletter on Mobile / Tablet */
.footer-newsletter {
  text-align: center;
  justify-items: center;
}

.footer-links-left,
.footer-links-right {
  text-align: center;
  width: 100%;
  padding: 0;
}

.newsletter-form {
  width: 100%;
}

.newsletter-form input {
  min-width: 0;
  width: min(100%, 280px);
  text-align: center;
}

/* Restore Left & Right Footer Alignment on Desktop Only */
@media (min-width: 992px) {
  .footer-links-left {
    text-align: left;
  }
  .footer-links-right {
    text-align: right;
  }
  .newsletter-form input {
    text-align: left;
  }
}
/* ==========================================================================
   16. STRICT 6-COLOR BRAND PALETTE ENFORCEMENT
   (#474142, #E8D8CF, #935534, #AA8F7D, #C77F49, #90939D)
   ========================================================================== */


.desktop-nav a:hover,
.mobile-drawer-nav a:hover,
.drawer-socials a {
  color: var(--brand-beige); /* #C77F49 */
}

/* Hero Overlays, Tabs & Slider (#474142, #935534, #C77F49, #AA8F7D) */
.hero-bg-overlay {
  background: linear-gradient(
    to bottom,
    rgba(71, 65, 66, 0.68) 0%,
    rgba(71, 65, 66, 0.45) 50%,
    rgba(71, 65, 66, 0.94) 100%
  );
}

.hero-ellipse,
.heading-ellipse,
.modal-ellipse {
  color: var(--brand-ochre); /* #C77F49 */
}

.hero-category-tabs {
  background: rgba(71, 65, 66, 0.78); /* #474142 */
  border-color: var(--brand-taupe);   /* #AA8F7D */
}

.hero-tab.active {
  background-color: var(--brand-rust); /* #935534 */
  color: var(--brand-beige);           /* #E8D8CF */
}

.hero-tab:hover:not(.active) {
  border-color: var(--brand-ochre);    /* #C77F49 */
  color: var(--brand-ochre);
}

.hero-slider-wrapper {
  background: rgba(71, 65, 66, 0.92);  /* #474142 */
  border-top: 1px solid var(--brand-taupe); /* #AA8F7D */
}

.sample-item {
  background: var(--brand-charcoal);   /* #474142 */
  border-color: var(--brand-taupe);    /* #AA8F7D */
}

.sample-item .badge {
  background: rgba(71, 65, 66, 0.9);   /* #474142 */
  border-color: var(--brand-ochre);    /* #C77F49 */
  color: var(--brand-beige);           /* #E8D8CF */
}

.sample-item .zoom-hint,
.slider-nav:hover,
.lightbox-arrow:hover {
  background-color: var(--brand-rust); /* #935534 */
  color: var(--brand-beige);           /* #E8D8CF */
}

/* Subtitles, Borders & Dividers (#90939D & #AA8F7D) */
.section-heading p,
.form-modal-header p {
  color: var(--brand-slate);           /* #90939D */
}

.product-frame {
  border-color: var(--brand-charcoal); /* #474142 */
}

.product-variations select,
.yor-form input,
.yor-form textarea,
.form-modal-card .yor-form input,
.form-modal-card .yor-form textarea {
  border-color: var(--brand-taupe);    /* #AA8F7D */
  color: var(--brand-charcoal);        /* #474142 */
}

.yor-form input::placeholder,
.yor-form textarea::placeholder,
.newsletter-form input::placeholder {
  color: var(--brand-slate);           /* #90939D */
}

/* Primary Buttons (#935534 default -> #C77F49 hover) */
.btn-terracotta {
  background-color: var(--brand-rust); /* #935534 */
  color: var(--brand-beige);           /* #E8D8CF */
}

.btn-terracotta:hover {
  background-color: var(--brand-ochre); /* #C77F49 */
  color: var(--brand-charcoal);         /* #474142 */
}

/* Quote Box & Biography Split Section (#AA8F7D, #C77F49, #E8D8CF, #474142) */
.quote-box {
  background-color: rgba(170, 143, 125, 0.25); /* Soft #AA8F7D taupe tint */
  border: 1px solid var(--brand-taupe);
}

.terracotta-circle {
  background-color: var(--brand-ochre); /* #C77F49 */
}



.awards-highlights {
  background-color: var(--brand-ochre) !important;;              /* #E8D8CF */
  border-left: 4px solid var(--brand-rust);    /* #935534 */
}

/* Work Overlay, Book Links & Footer (#474142, #E8D8CF, #C77F49, #935534) */
.work-overlay {
  background: rgba(71, 65, 66, 0.78);          /* #474142 */
  color: var(--brand-beige);                   /* #E8D8CF */
}

.amazon-link {
  color: var(--brand-rust);                    /* #935534 */
}

.book-card:hover .amazon-link {
  color: var(--brand-ochre);                   /* #C77F49 */
}

.site-footer {
  background-color: var(--brand-beige);     /* #474142 */
  color: var(--brand-rust);                   /* #E8D8CF */
}

.dark-form input,
.dark-form textarea {
  background: rgba(232, 216, 207, 0.06);
  border-color: var(--brand-taupe);            /* #AA8F7D */
  color: var(--brand-beige);                   /* #E8D8CF */
}
/* ==========================================================================
   17. BIOGRAPHY PAGE TEMPLATE STYLES (page-biography.php)
   ========================================================================== */
.bio-page-hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 4% 70px;
  color: var(--brand-beige);
  overflow: hidden;
  text-align: center;
}

.bio-hero-parallax-wrap {
  position: absolute;
  inset: -15% 0;
  pointer-events: none;
}

.bio-hero-bg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.06);
}

.bio-hero-overlay {
    position: absolute;
    inset: 0;
    background: #2620206d;
}

.bio-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.bio-hero-content h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
}

/* Main Editorial Bio Grid (Sidebar Portrait + 2-Column Bio Text) */
.bio-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}

.bio-portrait-frame {
  background: #fff;
  padding: 18px 18px 24px;
  border: 2px solid var(--brand-charcoal);
  box-shadow: 0 16px 36px rgba(71, 65, 66, 0.12);
  text-align: center;
}

.bio-portrait-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.portrait-caption {
  display: block;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--brand-charcoal);
  letter-spacing: 1px;
}

.bio-rep-card {
  margin-top: 28px;
  padding: 26px;
  background: rgba(170, 143, 125, 0.25); /* #AA8F7D tint */
  border-left: 4px solid var(--brand-rust);
}

.bio-rep-card h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--brand-charcoal);
}

.bio-rep-card p {
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.rep-link-wrap a {
  color: var(--brand-rust);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.rep-link-wrap a:hover {
  color: var(--brand-ochre);
}

/* Two-Column Biography Text (Matches Client Screenshot Layout) */
.bio-inline-heading {
  text-align: left;
  margin-bottom: 36px;
}

.bio-inline-heading .heading-ellipse {
  margin: 0 0 -75px 0;
}

.bio-two-col-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  border-top: 1px solid var(--brand-taupe);
  padding-top: 32px;
}

.bio-col p {
  margin-bottom: 22px;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--brand-charcoal);
}

.dropcap-paragraph::first-letter {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  float: left;
  line-height: 0.85;
  padding-right: 12px;
  padding-top: 4px;
  color: var(--brand-rust);
}

.bio-location-callout {
    margin-top: 28px;
    padding: 22px 24px;
    /* background: var(--brand-ochre); */
    border: 1px solid var(--brand-taupe);
}

.bio-location-callout p {
  margin-bottom: 6px;
}

.bio-location-callout a {
  color: var(--brand-rust);
  font-weight: 600;
  text-decoration: underline;
}

.bio-location-callout a:hover {
  color: var(--brand-ochre);
}

/* Awards & Recognition Cards Strip */
.bio-awards-strip {
  background-color: var(--brand-ochre);
  border-top: 1px solid var(--brand-taupe);
  border-bottom: 1px solid var(--brand-taupe);
}

.awards-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.award-box {
  background: var(--brand-beige);
  border: 1px solid var(--brand-taupe);
  padding: 32px 26px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.award-box:hover {
  transform: translateY(-4px);
  border-color: var(--brand-rust);
}

.award-tag {
  display: inline-block;
  background: var(--brand-rust);
  color: var(--brand-beige);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.award-box h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  color: var(--brand-charcoal);
}

.award-box p {
  font-size: 0.9rem;
  color: var(--brand-charcoal);
  line-height: 1.65;
}

/* Behind the Scenes Photo Cards */
.bts-photo-card {
  background: #fff;
  padding: 14px;
  border: 1px solid var(--brand-taupe);
  text-align: center;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}

.bts-photo-card:hover {
  transform: translateY(-4px);
}

.bts-photo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 12px;
}

.bts-photo-card span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--brand-charcoal);
}

@media (min-width: 992px) {
  .bio-editorial-grid {
    grid-template-columns: 340px 1fr;
    gap: 64px;
  }
  .bio-two-col-text {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}
/* ==========================================================================
   18. ARCHIVE, SINGLE PRODUCT, CART, CHECKOUT & CARD ENTRANCE ANIMATIONS
   ========================================================================== */

/* Inner Page Parallax Hero (Shop, Single Product, Cart, Checkout, Archives) */
.inner-page-hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 135px 4% 65px;
  color: var(--brand-beige);
  overflow: hidden;
  text-align: center;
}

.inner-page-hero.compact-hero {
  min-height: 38vh;
  padding: 125px 4% 50px;
}

.inner-hero-parallax-wrap {
  position: absolute;
  inset: -18% 0;
  pointer-events: none;
}

.inner-hero-bg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.08);
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: #2620206b;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.inner-hero-content h1 {
  font-size: clamp(2.8rem, 5.5vw, 3.8rem);
}

.yor-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-beige);
}

.yor-breadcrumbs a:hover,
.yor-breadcrumbs .current {
  color: var(--brand-ochre);
}

/* First-Time Card Scroll Zoom-In Entrance Animation (Yor style) */
.anim-card {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-card.card-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Shop Toolbar, Category Filter Pills & Sorting */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--brand-taupe);
}

.shop-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-pill {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid var(--brand-taupe);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brand-charcoal);
  transition: all 0.3s ease;
}

.shop-pill:hover,
.shop-pill.active {
  background-color: var(--brand-rust);
  border-color: var(--brand-rust);
  color: var(--brand-beige);
}

.woocommerce-ordering select {
  padding: 10px 16px;
  border: 1px solid var(--brand-taupe);
  background-color: #fff;
  color: var(--brand-charcoal);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.product-frame {
  position: relative;
}

.frame-Quick-zoom {
  position: absolute;
  bottom: 26px;
  right: 26px;
  background: rgba(71, 65, 66, 0.88);
  color: var(--brand-beige);
  border: 1px solid var(--brand-ochre);
  padding: 6px 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: zoom-in;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.product-frame:hover .frame-Quick-zoom {
  opacity: 1;
}

.frame-Quick-zoom:hover {
  background: var(--brand-rust);
}

/* Single Product Page Layout */
.single-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 54px;
  align-items: start;
}

.single-artwork-frame {
  position: relative;
  background: #fff;
  padding: 24px;
  border: 2px solid var(--brand-charcoal);
  box-shadow: 0 18px 40px rgba(71, 65, 66, 0.12);
  cursor: zoom-in;
}

.single-artwork-frame img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  margin: 0 auto;
}

.single-artwork-frame .zoom-badge {
  position: absolute;
  bottom: 34px;
  right: 34px;
  background: var(--brand-rust);
  color: var(--brand-beige);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
}

.single-gallery-thumbs {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.thumb-item {
  width: 78px;
  height: 78px;
  padding: 4px;
  background: #fff;
  border: 2px solid var(--brand-taupe);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--brand-rust);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-product-heading {
  text-align: left;
  margin-bottom: 20px;
}

.single-product-heading .heading-ellipse {
  margin: 0 0 -75px 0;
}

.single-product-heading h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.single-product-price {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--brand-rust);
  margin-bottom: 20px;
}

.single-product-excerpt {
  font-size: 1rem;
  margin-bottom: 28px;
  color: var(--brand-charcoal);
}

/* WooCommerce Variations & Add to Cart Styling */
.yor-wc-add-to-cart-wrap table.variations {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.yor-wc-add-to-cart-wrap table.variations td {
  padding: 8px 0;
  display: block;
}

.yor-wc-add-to-cart-wrap table.variations label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.yor-wc-add-to-cart-wrap select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--brand-taupe);
  background: #fff;
  color: var(--brand-charcoal);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.yor-wc-add-to-cart-wrap .quantity input.qty {
  width: 74px;
  padding: 11px;
  border: 1px solid var(--brand-taupe);
  text-align: center;
  font-size: 0.95rem;
  margin-right: 12px;
}

.single-product-full-description {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--brand-taupe);
}

.single-product-full-description h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.single-product-meta {
  margin-top: 26px;
  padding: 18px;
  background: rgba(170, 143, 125, 0.22);
  border-left: 4px solid var(--brand-rust);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
}

.related-products-section {
  margin-top: 100px;
  padding-top: 70px;
  border-top: 1px solid var(--brand-taupe);
}

/* ==========================================================================
   19. MODERN WOOCOMMERCE CART, CHECKOUT & SINGLE PRODUCT GRID STYLING
   ========================================================================== */

/* 1. Single Product 2-Column Layout (Left Image, Right Content) */
@media (min-width: 992px) {
  .single-product-grid {
    display: grid !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    gap: 64px !important;
    align-items: start !important;
  }
}

/* 2. Outer Page Wrapper & Modern Surface Container */
.yor-page-content-wrap {
  padding-top: 60px;
  padding-bottom: 90px;
}

.yor-surface-card {
  background: #ffffff;
  border: 2px solid var(--brand-taupe); /* Goldenrod #C69C26 */
  box-shadow: 0 18px 45px rgba(37, 30, 26, 0.08);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 8px;
}

/* 3. Clean Card Step Sections on Checkout Left Column */
.wc-block-components-checkout-step {
  background: #fdfbf7 !important;
  border: 1px solid rgba(198, 156, 38, 0.45) !important;
  border-radius: 8px !important;
  padding: 28px 28px 24px !important;
  margin-bottom: 26px !important;
  box-shadow: 0 4px 14px rgba(37, 30, 26, 0.03) !important;
}

.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__container::after {
  display: none !important;
}

/* 4. Typography: Headings (Maghfirea) & Subheadings (Zindora) */
.wc-block-checkout__form h2,
.wc-block-components-checkout-step__title,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
#order_review_heading {
  font-family: var(--font-heading) !important; /* Maghfirea */
  font-size: clamp(1.75rem, 2.5vw, 2.15rem) !important;
  font-weight: 400 !important;
  color: var(--brand-charcoal) !important;
  letter-spacing: 0.6px !important;
  margin: 0 0 18px 0 !important;
  line-height: 1.2 !important;
}

h2.wp-block-woocommerce-cart-order-summary-heading-block.wc-block-cart__totals-title,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-Order-summary__title,
.wc-block-components-totals-wrapper .wc-block-components-order-summary__button-text {
  letter-spacing: 0.2px !important;
  font-size: 24px !important;
  font-family: var(--font-subheading) !important; /* Zindora */
  line-height: 1.2 !important;
  color: var(--brand-charcoal) !important;
  font-weight: 600 !important;
}

.wc-block-cart-items__header th,
.wc-block-components-totals-item__label,
.wc-block-components-product-name,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td.product-name a {
  font-family: var(--font-subheading) !important; /* Zindora */
  letter-spacing: 0.5px !important;
  color: var(--brand-charcoal) !important;
}

.wc-block-components-product-name,
.woocommerce table.shop_table td.product-name a {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.wc-block-components-product-name:hover {
  color: var(--brand-rust) !important;
}

.wc-block-components-product-metadata,
.wc-block-components-product-price,
.wc-block-components-totals-item__value,
.wc-block-components-checkout-step__description,
.woocommerce table.shop_table td {
  font-family: var(--font-body) !important; /* Roboto */
  font-size: 0.94rem !important;
  color: var(--brand-charcoal) !important;
}

/* ==========================================================================
   5. CHECKOUT INPUTS, SELECT DROPDOWNS & GIFT MESSAGE FIELDS (UNIFIED LOOK)
   ========================================================================== */

/* A. Wrapper spacing for both Text Inputs and Select Dropdowns */
.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-select,
.wc-blocks-components-select {
  position: relative !important;
  margin-bottom: 16px !important;
}

/* Remove inner black/gray container borders on WooCommerce Select blocks */
.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-block-components-select .wc-block-components-select__container {
  border: none !important;
  background: transparent !important;
  height: auto !important;
}

/* All Field Labels (Text Inputs + Country/State Selects + Gift Selects) -> Zindora 16px */
.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-select label,
.wc-blocks-components-select label,
.wc-blocks-components-select__label,
.woocommerce form .form-row label {
  font-family: var(--font-subheading) !important; /* Zindora */
  font-size: 16px !important; /* Larger than 14px input text */
  font-weight: 500 !important;
  color: var(--brand-charcoal) !important;
  letter-spacing: 0.4px !important;
  left: 16px !important;
  line-height: 1.25 !important;
  transform: none !important;
  pointer-events: none !important;
}

/* Default position for empty text inputs (like Company Name / Phone) */
.wc-block-components-text-input:not(.is-active) label {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Active/Filled Text Inputs & All Select Dropdowns: Lock Label at Top-Left */
.wc-block-components-text-input.is-active label,
.wc-block-components-combobox.is-active label,
.wc-block-components-select label,
.wc-blocks-components-select label,
.wc-blocks-components-select__label {
  top: 8px !important;
  left: 16px !important;
  transform: none !important;
  font-size: 16px !important;
}

/* Unified Goldenrod Box for All Text Inputs AND Select Dropdowns */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-combobox input,
.wc-block-components-select select,
.wc-blocks-components-select select,
.wc-blocks-components-select__select,
.wc-block-components-select .components-custom-select-control__button {
  background-color: #ffffff !important;
  border: 1.5px solid var(--brand-taupe) !important; /* Goldenrod #C69C26 */
  border-radius: 6px !important;
  color: var(--brand-charcoal) !important;
  font-family: var(--font-body) !important; /* Roboto */
  font-size: 14px !important; /* Smaller than 16px label */
  padding: 28px 40px 8px 16px !important; /* Top space for label, right space for arrow */
  min-height: 60px !important;
  height: 60px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Position the dropdown arrow icon neatly on the right */
.wc-blocks-components-select__expand,
.wc-block-components-select__expand {
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  fill: var(--brand-charcoal) !important;
  pointer-events: none !important;
}

/* Focus State on All Inputs, Selects & Textareas (Replaces black outline with Brand Red) */
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus,
.wc-block-components-select select:focus,
.wc-blocks-components-select select:focus,
.wc-blocks-components-select__select:focus {
  border-color: var(--brand-rust) !important; /* #C1272D */
  box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.12) !important;
  outline: none !important;
}

/* B. Gift Message Textarea (Label Stacked Cleanly Above Box) */
.wc-block-components-textarea,
.wc-block-checkout__add-note {
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  border: 1.5px solid var(--brand-taupe) !important;
  border-radius: 6px !important;
  padding: 14px 16px !important;
  background-color: #ffffff !important;
  color: var(--brand-charcoal) !important;
  width: 100% !important;
  min-height: 110px !important;
  box-sizing: border-box !important;
}

div:has(> textarea.wc-block-components-textarea),
div:has(> .wc-block-components-textarea) {
  display: flex !important;
  flex-direction: column !important;
  margin-top: 6px !important;
  margin-bottom: 18px !important;
}

div:has(> textarea.wc-block-components-textarea) > label,
div:has(> .wc-block-components-textarea) > label,
.wc-block-components-textarea-label {
  order: -1 !important;
  position: static !important;
  transform: none !important;
  font-family: var(--font-subheading) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--brand-charcoal) !important;
  margin-bottom: 8px !important;
  left: 0 !important;
}

/* ==========================================================================
   6. SHIPPING & PAYMENT RADIO OPTIONS (FIXES OVERLAPPING CIRCLE & DOUBLE BOX)
   ========================================================================== */

/* Outer Card for Each Shipping or Payment Option */
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option {
  position: relative !important;
  background: #ffffff !important;
  border: 1.5px solid var(--brand-taupe) !important;
  border-radius: 6px !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Remove Double Border when a Payment Option is inside an Accordion */
.wc-block-components-radio-control-accordion-option > .wc-block-components-radio-control__option {
  border: none !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* Add Left Padding (50px) so Text ("Free shipping", "Direct bank transfer") NEVER Overlaps the Radio Dot */
.wc-block-components-radio-control__option {
  padding: 16px 18px 16px 50px !important;
  display: flex !important;
  align-items: center !important;
  min-height: 56px !important;
  cursor: pointer !important;
}

.wc-block-components-radio-control__option-layout {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* Lock Radio Circle to the Left Margin (18px from left edge) */
.wc-block-components-radio-control .wc-block-components-radio-control__input {
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  border: 2px solid var(--brand-charcoal) !important;
  background: #ffffff !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
  border-color: var(--brand-rust) !important;
  background-color: var(--brand-rust) !important;
}

/* Highlight Active/Selected Shipping or Payment Card */
.wc-block-components-radio-control__option-checked,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-color: var(--brand-rust) !important;
  background-color: rgba(244, 208, 104, 0.14) !important;
  box-shadow: none !important;
}

/* Payment Method Description Text (e.g., "Pay with cash upon delivery.") */
.wc-block-components-radio-control-accordion-content {
  padding: 0 18px 16px 50px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  color: var(--brand-charcoal) !important;
}

/* ==========================================================================
   7. RIGHT SIDEBAR ORDER SUMMARY, CART TABLE & BUTTONS
   ========================================================================== */
.wp-block-woocommerce-cart-totals-block,
.wp-block-woocommerce-checkout-order-summary-block,
.woocommerce .cart-collaterals .cart_totals {
  background: #fdf8ea !important;
  border: 2px solid var(--brand-taupe) !important;
  padding: 28px 26px !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 28px rgba(37, 30, 26, 0.06) !important;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img,
.woocommerce table.shop_table img {
  width: 88px !important;
  height: auto !important;
  padding: 4px !important;
  background: #fff !important;
  border: 2px solid var(--brand-charcoal) !important;
  border-radius: 2px !important;
}

.wc-block-cart-items__header th {
  font-size: 1.05rem !important;
  text-transform: uppercase !important;
  padding: 14px 12px !important;
  border-bottom: 2px solid var(--brand-taupe) !important;
}

.wc-block-cart-items__row td {
  padding: 24px 12px !important;
  border-bottom: 1px solid rgba(198, 156, 38, 0.35) !important;
  vertical-align: middle !important;
}

.wc-block-components-quantity-selector {
  border: 1.5px solid var(--brand-taupe) !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  background: #fff !important;
  width: 112px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--font-subheading) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--brand-rust) !important;
}

/* Primary CTA Buttons on Cart & Checkout */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background-color: var(--brand-rust) !important;
  color: var(--brand-beige) !important;
  border: 3px solid var(--brand-rust) !important;
  padding: 14px 28px !important;
  font-family: var(--font-subheading) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  border-radius: 40px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background-color: var(--brand-beige) !important;
  color: var(--brand-rust) !important;
  border-color: var(--brand-rust) !important;
}

/* Side Cart Buttons (Only Font Family, Uppercase & Font Size) */
.xoo-wsc-ft-btn {
  font-family: var(--font-subheading) !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
}
/* Side Cart Product Titles & Header Typography (Matches Cart Page) */
.xoo-wsc-pname,
.xoo-wsc-pname a,
.xoo-wsc-pcontainer .xoo-wsc-pname a {
  font-family: var(--font-subheading) !important; /* Zindora */
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: var(--brand-charcoal) !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
}

.xoo-wsc-pname a:hover {
  color: var(--brand-rust) !important;
}

/* Side Cart Top "Your Cart" Heading & Subtotal Label */
.xoo-wsc-ctxt {
  font-family: var(--font-heading) !important; /* Maghfirea */
  font-size: 1.8rem !important;
}

.xoo-wsc-ft-totals-label,
.xoo-wsc-ft-totals-Entry span {
  font-family: var(--font-subheading) !important; /* Zindora */
}
@media (min-width: 992px) {
  .single-product-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}
/* ==========================================================================
   MOBILE FIX FOR CHECKOUT, GIFT MESSAGE & ORDER SUMMARY CARD
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Outer Checkout Card & Step Containers */
  .yor-surface-card {
    padding: 20px 12px !important;
    overflow-x: hidden !important;
  }

  .wc-block-components-checkout-step {
    padding: 20px 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 2. Gift Dropdown Labels: Wrap onto 2 lines inside the box */
  .wc-block-components-select label,
  .wc-blocks-components-select label,
  .wc-blocks-components-select__label,
  .wc-block-components-text-input label {
    white-space: normal !important;
    right: 36px !important;
    max-width: calc(100% - 52px) !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    top: 8px !important;
  }

  .wc-block-components-select select,
  .wc-blocks-components-select select,
  .wc-blocks-components-select__select {
    padding: 44px 36px 8px 14px !important;
    min-height: 76px !important;
    height: auto !important;
    max-width: 100% !important;
    font-size: 14px !important;
  }

  div:has(> textarea.wc-block-components-textarea) > label,
  div:has(> .wc-block-components-textarea) > label,
  .wc-block-components-textarea-label {
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  /* 3. Order Summary Card Mobile Fix (Fixes "Order summary" Title & Item Spacing) */
  .wp-block-woocommerce-checkout-order-summary-block,
  .wp-block-woocommerce-cart-totals-block {
    padding: 22px 16px !important;
    margin-top: 24px !important;
    position: relative !important;
    overflow: visible !important;
  }

  /* Keep "Order summary" heading cleanly inside the box at the top */
  .wp-block-woocommerce-checkout-order-summary-block h2,
  .wc-block-components-checkout-order-summary__title,
  .wc-block-components-order-summary__button-text {
    position: static !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    font-family: var(--font-heading) !important;
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    color: var(--brand-charcoal) !important;
    display: block !important;
  }

  /* Remove extra inner border box around Order Summary items on mobile */
  .wc-block-components-order-summary,
  .wc-block-components-order-summary__content {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Scale down thumbnail & text slightly so product title, description, and price fit cleanly */
  .wc-block-components-order-summary-item__image {
    width: 64px !important;
    min-width: 64px !important;
  }

  .wc-block-components-order-summary-item__image img {
    width: 64px !important;
    height: auto !important;
    padding: 3px !important;
  }

  .wc-block-components-order-summary-item__description {
    padding-left: 12px !important;
    padding-right: 8px !important;
  }

  .wc-block-components-product-name {
    font-size: 0.98rem !important;
    line-height: 1.25 !important;
  }

  /* Full-width Place Order Button & Centered Return to Cart on Mobile */
  .wc-block-checkout__actions_row {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 16px !important;
    margin-top: 20px !important;
  }

  .wc-block-components-checkout-place-order-button {
    width: 100% !important;
    padding: 15px 20px !important;
  }
	div#additional_gift_message {
    margin-top: 45px !important;
}
}

/* ==========================================================================
   20. SINGLE BOOK / PRODUCT SPECIFICATIONS, CREDIT & PREV/NEXT BAR
   ========================================================================== */
.single-prev-next-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--brand-charcoal);
}

.single-prev-next-bar a {
  color: var(--brand-rust);
  font-weight: 500;
}

.single-prev-next-bar a:hover {
  color: var(--brand-ochre);
}

.artwork-credit-block {
  margin-top: 22px;
  padding: 20px;
  text-align: center;
  font-style: italic;
  border-top: 1px solid var(--brand-taupe);
  border-bottom: 1px solid var(--brand-taupe);
  background: rgba(255, 255, 255, 0.45);
}

.artwork-credit-block .credit-work-title {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.artwork-credit-block .credit-byline {
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.artwork-credit-block .credit-medium {
  font-size: 0.9rem;
  color: var(--brand-rust);
}

.single-book-synopsis p {
  font-size: 0.98rem;
  line-height: 1.78;
  margin-bottom: 18px;
  color: var(--brand-charcoal);
}

.amazon-cta-btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 0.85rem;
}

.book-specs-card {
  margin-top: 28px;
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--brand-taupe);
  border-left: 4px solid var(--brand-rust);
}

.book-specs-card h4 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  color: var(--brand-charcoal);
}

.book-specs-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--brand-charcoal);
}

.book-specs-list strong {
  color: var(--brand-rust);
}
/* ==========================================================================
   21. CENTERED NORMAL-SIZE PRODUCT CARDS & VIEW DETAILS BUTTON FIX
   ========================================================================== */

/* Keep 1, 2, 3, or 4 products at normal card width & centered horizontally */
.product-grid,
.archive-product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}
/*
.product-grid .product-card,
.archive-product-grid .product-card {
  width: 100%;
  max-width: 350px; Normal Yor frame size — never stretches full width!
  flex: 0 1 350px;
}*/

.product-frame img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
}

/* Fix "View Details" Button Visibility in Both Normal & Hover States */
.btn-view-details,
.product-action a[style*="brand-charcoal"] {
  background-color: var(--brand-charcoal) !important; /* #474142 */
  color: var(--brand-beige) !important;              /* #E8D8CF */
  border: 1px solid var(--brand-charcoal) !important;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

.btn-view-details:hover,
.product-action a[style*="brand-charcoal"]:hover {
  background-color: var(--brand-ochre) !important;    /* #C77F49 */
  border-color: var(--brand-ochre) !important;
  color: var(--brand-charcoal) !important;            /* #474142 */
}

/* ==========================================================================
   22. BEHIND THE SCENES DYNAMIC GALLERY & LIGHTBOX CARD
   ========================================================================== */
.bio-bts-section {
  padding-top: 60px;
}

.bts-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.bts-filter-btn {
  background: transparent;
  color: var(--brand-charcoal);
  border: 1px solid var(--brand-taupe);
  padding: 8px 20px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bts-filter-btn:hover,
.bts-filter-btn.active {
  background: var(--brand-rust);
  color: var(--brand-beige);
  border-color: var(--brand-rust);
}

/* Gallery Grid (Responsive Columns matching client's screenshot) */
.bts-gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

.bts-gallery-item {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--brand-taupe);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bts-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(71, 65, 66, 0.15);
}

.bts-item-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bts-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bts-gallery-item:hover .bts-item-inner img {
  transform: scale(1.08);
}

.bts-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(71, 65, 66, 0.82);
  color: var(--brand-beige);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bts-gallery-item:hover .bts-hover-overlay {
  opacity: 1;
}

.bts-zoom-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--brand-ochre);
}

.bts-hover-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.bts-item-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-ochre);
  font-style: italic;
}

/* Lightbox Modal Details Card Expansion */
.lightbox-bts-details {
  margin-top: 18px;
  max-width: 680px;
  text-align: center;
  color: var(--brand-beige);
}

.lightbox-bts-meta {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--brand-ochre);
  margin-top: 6px;
}

.lightbox-bts-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 10px;
  color: var(--brand-beige);
  opacity: 0.9;
}
/* ==========================================================================
   23. PUBLISHED PICTURE BOOKS 1-LINE SLIDER
   ========================================================================== */
.books-slider-section {
  position: relative;
  overflow: hidden;
}

.books-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.books-slider-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide default scrollbar on Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  -webkit-overflow-scrolling: touch;
  padding: 15px 5px 25px;
}

.books-slider-viewport::-webkit-scrollbar {
  display: none; /* Hide scrollbar on Chrome/Safari */
}

.books-slider-track {
  display: flex;
  gap: 28px;
  width: max-content;
}

.book-slide-item {
  flex: 0 0 410px;
  width: 280px;
}

.book-slide-item .book-card {
  background: #ffffff;
  padding: 16px;
  border: 1px solid var(--brand-taupe);
  box-shadow: 0 8px 24px rgba(71, 65, 66, 0.08);
  text-align: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.book-slide-item .book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(71, 65, 66, 0.16);
  border-color: var(--brand-rust);
}

.book-img-wrap {
  display: block;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: var(--brand-beige);
}

.book-slide-item .book-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.book-slide-item .book-card:hover img {
  transform: scale(1.05);
}

.book-slide-item h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 14px 0 8px;
  color: var(--brand-charcoal);
  line-height: 1.25;
}

.book-slide-item .amazon-link {
  font-size: 0.8rem;
  color: var(--brand-rust);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-slide-item .book-card:hover .amazon-link {
  color: var(--brand-ochre);
}

/* Prev / Next Circular Slider Buttons */
.books-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-charcoal);
  color: var(--brand-beige);
  border: 1px solid var(--brand-taupe);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.books-nav-btn:hover {
  background: var(--brand-rust);
  transform: translateY(-50%) scale(1.08);
}

.books-nav-btn.prev {
  left: -15px;
}

.books-nav-btn.next {
  right: -15px;
}

@media (max-width: 768px) {
  .book-slide-item {
    flex: 0 0 240px;
    width: 240px;
  }
  .books-nav-btn {
    display: none; /* On touch screens, native horizontal swipe is seamless */
  }
}
/* ==========================================================================
   24. PUBLISHED PICTURE BOOKS ARCHIVE & VIEW ALL BUTTON
   ========================================================================== */
.books-view-all-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.books-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 32px;
  margin-bottom: 70px;
}

.all-book-card {
  background: #ffffff;
  border: 1px solid var(--brand-taupe);
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.all-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(71, 65, 66, 0.12);
  border-color: var(--brand-rust);
}

.all-book-cover-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--brand-beige);
  overflow: hidden;
  margin-bottom: 12px;
}

.all-book-cover-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.all-book-card:hover .all-book-cover-link img {
  transform: scale(1.05);
}

.all-book-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

.all-book-info h3 a {
  color: var(--brand-charcoal);
}

.all-book-info h3 a:hover {
  color: var(--brand-rust);
}

/* Representation / Agency Box */
.agency-rep-card {
  background: rgba(170, 143, 125, 0.18);
  border: 1px solid var(--brand-taupe);
  border-left: 4px solid var(--brand-rust);
  padding: 36px 32px;
  margin-top: 40px;
  color: var(--brand-charcoal);
}

.agency-rep-card h4 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--brand-charcoal);
}

.agency-details {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.agency-social a {
  color: var(--brand-rust);
  font-weight: 600;
}

.agency-clients {
  border-top: 1px solid var(--brand-taupe);
  padding-top: 18px;
}

.agency-clients h5 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.agency-clients p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #5a5350;
}
/* ==========================================================================
   25. ALL BUTTONS CONVERTED TO SOLID PILL STYLE (Add to Cart Style)
   ========================================================================== */
.btn-ellipse, .light-ellipse {
    background-color: var(--brand-rust) !important;
    color: var(--brand-beige) !important;
    border: 4px solid #c1272d;
    padding: 16px 45px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: zindora;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 40px;
    /* transition: background 0.3s; */
    margin-top: 10px;
}


/* Hover State */
.btn-ellipse:hover,
.light-ellipse:hover {
    background-color: #f4d068 !important;
    color: #c1272d !important;
    border: 4px solid #c1272d;
    font-weight: 600;
    font-family: zindora;
}

/* Hide the hand-drawn SVG oval completely */
.btn-ellipse svg {
  display: none !important;
}

/* Ensure text stays centered and aligned */
.btn-ellipse span {
  position: relative;
  z-index: 2;
}
/* ==========================================================================
   27. CONTAINED ORIGINAL SIZE HERO SLIDER
   ========================================================================== */
.contained-hero-slider-section {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--brand-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Static Overlay Title */
.contained-hero-content-overlay {
  position: absolute;
  z-index: 10;
  text-align: center;
  color: var(--brand-beige);
  max-width: 900px;
  padding: 0 4%;
  pointer-events: none; /* Lets clicks pass through to the slider arrows/images */
}

/* Re-enable clicking on the button itself */
.contained-hero-content-overlay .btn-solid {
  pointer-events: auto;
}

.contained-hero-content-overlay h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: var(--brand-beige);
  margin-bottom: 14px;
}

.contained-hero-content-overlay .hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--brand-beige);
}

/* Slide Transition */
.contained-hero-slider-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contained-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.contained-hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Keeps the image sharp, uncropped, and contained within the screen */
.slide-sharp-img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  max-height: 85vh; /* Prevents touching the top/bottom edges */
  max-width: 90vw;  /* Prevents touching the side edges */
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
}

/* Blurs the background using the same image for a cinematic gallery effect */
.slide-bg-blur {
  position: absolute;
  inset: -50px;
  background-size: cover;
  background-position: center;
  filter: blur(40px);
  opacity: 0.6;
  z-index: 1;
}

.slide-bg-darken {
  position: absolute;
  inset: 0;
  background: rgba(71, 65, 66, 0.75); /* Dark overlay to make title readable */
  z-index: 2;
}

/* Arrows */
.contained-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  background: rgba(71, 65, 66, 0.8);
  color: var(--brand-beige);
  border: 1px solid var(--brand-taupe);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contained-slider-nav:hover {
  background: var(--brand-rust);
  border-color: var(--brand-rust);
}

.contained-slider-nav.prev { left: 3%; }
.contained-slider-nav.next { right: 3%; }

@media (max-width: 768px) {
  .contained-slider-nav { display: none; }
}
/* ==========================================================================
   28. HERO TITLE & SVG ELLIPSE LAYOUT FIX
   ========================================================================== */
.svg-title-wrapper {
  position: relative;
  display: inline-block; /* Forces the wrapper to perfectly hug the text width */
  margin: 0 auto 15px auto;
}

.contained-hero-content-overlay h1.anim-title {
  position: relative;
  z-index: 2; /* Keeps text crisp and clickable on top */
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  line-height: 1.1;
  color: var(--brand-beige);
  margin: 0;
  white-space: nowrap; /* Forces "Stories Told in Paint & Ink" onto one clean line */
}

.svg-title-wrapper .hero-ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 125%; /* Stretches the oval safely outside the left/right text bounds */
  height: 170%; /* Makes the oval tall enough to cover tall/hanging letters */
  transform: translate(-50%, -50%);
  fill: none;
  stroke: var(--brand-taupe); /* Applies the #AA8F7D brand color */
  stroke-width: 2px;
  z-index: 1; /* Puts the oval behind the text */
  pointer-events: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .contained-hero-content-overlay h1.anim-title {
    white-space: normal; /* Allows safe wrapping on narrow phone screens */
    font-size: 2.2rem;
  }
  .svg-title-wrapper .hero-ellipse {
    width: 115%;
    height: 130%;
  }
}
/* ==========================================================================
   29. HERO TEXT VISIBILITY FIX (Contrast on Bright Images)
   ========================================================================== */
/* 1. Soft, feathered dark radial glow exactly behind the text wrapper */
.contained-hero-content-overlay {
  background: radial-gradient(circle, rgba(30, 25, 26, 0.55) 0%, rgba(30, 25, 26, 0.25) 40%, transparent 70%);
  padding: 60px 20px;
  border-radius: 50%;
}

/* 2. Heavy dark shadow on the main title to separate it from bright art */
.contained-hero-content-overlay h1.anim-title {
  text-shadow: 
    0px 4px 30px rgba(20, 15, 15, 0.9), 
    0px 2px 8px rgba(20, 15, 15, 0.9) !important;
  position: relative;
  z-index: 5 !important; /* Forces text to stay on top of the oval */
}

/* 3. Shadow and slightly thicker weight for the subtitle */
.contained-hero-content-overlay .hero-subtitle {
  text-shadow: 0px 3px 18px rgba(20, 15, 15, 0.95), 0px 1px 4px rgba(20, 15, 15, 0.9) !important;
  font-weight: 500;
  position: relative;
  z-index: 5 !important;
}

/* 4. Make the hand-drawn SVG oval cast a shadow and sit firmly behind the text */
.svg-title-wrapper .hero-ellipse {
  filter: drop-shadow(0px 2px 10px rgba(20, 15, 15, 0.8));
  stroke-width: 2.5px !important; /* Slightly thicker line for better visibility */
  z-index: 1 !important;
}
/* ==========================================================================
   30. SINGLE STATIC BANNER IMAGE
   ========================================================================== */
.simple-banner-section {
  width: 100%;
  background-color: var(--brand-charcoal);
  display: block;
  /* Optional: adds a slight padding below the header if it overlaps */
  padding-top: 80px; 
}

.single-hero-banner {
  width: 100%;
  height: auto;
  /* max-height: 85vh; */ /* Prevents the banner from being too tall on giant screens */
  object-fit: contain; /* Keeps the entire image visible without cropping or blurring */
  display: block;
  margin: 0 auto;
}


/* ==========================================================================
   31. PUBLISHED PICTURE BOOKS STACKED LIST LAYOUT (Large Scale)
   ========================================================================== */
.books-list-container {
  max-width: 1050px; /* Widened to accommodate larger images & text */
  margin: 0 auto;
}

.book-list-item {
  display: flex;
  align-items: flex-start;
  gap: 60px; /* Increased gap for larger elements */
  padding: 60px 0;
  border-bottom: 1px solid var(--brand-taupe);
}

.book-list-item:first-of-type {
    /* border-top: 1px solid var(--brand-taupe); */
}

/* 1. Image Increased by ~30% More */
.book-list-cover {
  flex: 0 0 500px; /* Was 392px, now 500px */
  max-width: 500px;
}

.book-list-cover img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 8px 20px rgba(71, 65, 66, 0.12);
  transition: transform 0.3s ease;
}

.book-list-cover a:hover img {
  transform: translateY(-4px);
}

.book-list-content {
  flex: 1;
  text-align: left;
}

/* 2. Title Increased */
.book-list-content h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem; /* Increased from 1.8rem */
  color: var(--brand-charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}

.book-list-content h3 a {
  color: inherit;
  text-decoration: none;
}

.book-list-content h3 a:hover {
  color: var(--brand-rust);
}

/* 3. Credits Increased */
.book-list-credits {
  font-size: 1.15rem; /* Increased from 0.9rem */
  color: var(--brand-charcoal);
  margin-bottom: 24px;
  opacity: 0.85;
}

/* 4. Content / Synopsis Increased */
.book-list-synopsis {
  font-size: 1.15rem; /* Increased from 0.95rem */
  line-height: 1.7;
  color: var(--brand-charcoal);
  margin-bottom: 32px;
}

.book-list-synopsis p {
  margin-bottom: 12px;
}

/* 5. Button Increased specifically for this list */
.book-list-content .btn-solid {
  font-size: 1rem !important; /* Increased from 0.85rem */
  padding: 18px 45px !important; /* Wider padding */
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .book-list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 50px 0;
  }
  
  .book-list-cover {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px; /* Scales down on smaller screens */
  }

  .book-list-content {
    text-align: center;
  }
}
/* ==========================================================================
   32. FIX: FORCE GLOBAL SOLID BUTTON STYLE ON PUBLISHED BOOKS LIST
   ========================================================================== */
.book-list-content .btn-solid,
.book-list-content a.btn-solid {
  background-color: var(--brand-rust) !important; /* Forces the solid brown color #935534 */
  color: var(--brand-beige) !important;           /* Forces the light text #E8D8CF */
  border: none !important;
  border-radius: 40px !important;                 /* Forces the perfect pill shape */
  padding: 16px 42px !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  display: inline-block !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease !important;
  margin-top: 10px !important;
}

/* Hover State */
.book-list-content .btn-solid:hover,
.book-list-content a.btn-solid:hover {
  background-color: var(--brand-ochre) !important; /* Lighter terracotta #C77F49 */
  color: var(--brand-charcoal) !important;         /* Dark text */
  transform: translateY(-2px) !important;
}
/* ==========================================================================
   33. WORK CATEGORY ARCHIVE & LIGHTBOX POPUP
   ========================================================================== */
.work-big-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(416px, 1fr));
    gap: 30px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.work-grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--brand-taupe);
  box-shadow: 0 4px 15px rgba(71, 65, 66, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-grid-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.work-grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(71, 65, 66, 0.15);
}

.work-grid-item:hover img {
  transform: scale(1.05);
}

/* Hover prompt (+ Click to View Original) */
.work-hover-prompt {
  position: absolute;
  inset: 0;
  background: rgba(71, 65, 66, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-grid-item:hover .work-hover-prompt {
  opacity: 1;
}

.work-hover-prompt span {
  color: var(--brand-beige);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--brand-beige);
  border-radius: 40px;
}

/* -----------------------------------------
   Lightbox (Popup) Overlay Styling
   ----------------------------------------- */
.pk-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 25, 26, 0.95);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pk-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pk-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 100000;
  line-height: 1;
}

.pk-lightbox-close:hover {
  color: var(--brand-rust);
}

.pk-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

#pk-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 4px solid #fff;
}

#pk-lightbox-caption {
  color: var(--brand-beige);
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
}
/* ==========================================================================
   34. WORK CATEGORY NAVIGATION BAR
   ========================================================================== */
.work-category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.work-cat-link {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--brand-taupe); /* #AA8F7D */
  border-radius: 40px;
  color: var(--brand-charcoal);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  background: transparent;
  transition: all 0.3s ease;
}

/* Hover and Active states map to the solid button style */
.work-cat-link:hover,
.work-cat-link.active {
  background-color: var(--brand-rust); /* #935534 */
  color: var(--brand-beige);
  border-color: var(--brand-rust);
  box-shadow: 0 4px 10px rgba(147, 85, 52, 0.2);
}

@media (max-width: 768px) {
  .work-category-nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .work-cat-link {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
/* ==========================================================================
   30. SINGLE STATIC BANNER IMAGE (Flush to the top)
   ========================================================================== */
.simple-banner-section {
  width: 100%;
  background-color: transparent !important; /* Removes the dark charcoal background */
  display: block;
  padding-top: 0px !important; /* Removes the gap so the image touches the very top */
  margin-top: 0px !important;
}




/* ==========================================================================
   HOMEPAGE: FRAMED PICTURE BOOKS 3-COLUMN GRID
   ========================================================================== */
.books-framed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
/*  max-width: 1100px;*/
  margin: 0 auto;
}

.framed-book-item {
  text-align: center;
}

/* The Black Frame & White Matting */
/* The Black Frame & White Matting */
.framed-book-item .product-frame {
    background: #ffffff00;
    /* padding: 15px; */
    border: none;
    box-shadow: none;
    margin-bottom: 20px;
    cursor: zoom-in;
    position: relative;
    transition: all 0.4s ease;
}

/* THE MAGIC: Dissolve the frame and background on hover */
.framed-book-item .product-frame:hover {
    /* transform: translateY(-5px); */
    /* border-color: transparent; */
    /* background: transparent; */
    /* box-shadow: none; */
}
/* ==========================================================================
   REMOVE HOVER ZOOM & MOVEMENT ON HOME PAGE WORK SECTION
   ========================================================================== */
.home-work-tabs-wrapper .framed-book-item .product-frame:hover {
    transform: none !important;
}

.home-work-tabs-wrapper .framed-book-item .product-frame:hover img {
    transform: none !important;
}
.framed-book-item .product-frame img {
  width: 100%;
  height: 380px;
  object-fit: contain; /* Ensures the book cover text doesn't get cropped off */
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

/* Scale the image up to fill the empty frame space and apply a shadow directly to the book */
.framed-book-item .product-frame:hover img {
    /* transform: scale(1.18); */
}
section#books h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .books-framed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .books-framed-grid {
    grid-template-columns: 1fr;
  }
}
section#ya-illustrations {
    border-bottom: 1px solid #f4d068;
}
section#mg-illustrations  {
    border-bottom: 1px solid #f4d068;
}


/* Desktop: 3 columns, NO arrows, NO side padding needed for arrows */
  .section-slider.pk-slider-container { 
    position: relative; 
    max-width: 1600px; 
    margin: 0 auto; 
    padding: 0; 
  }
  .section-slider .pk-slider-track { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 30px; 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
  }
  .section-slider .pk-slider-track::-webkit-scrollbar { 
    display: none; 
  }
  .section-slider .pk-slider-item { 
    flex: 0 0 calc(33.333% - 20px); 
    scroll-snap-align: start; 
    min-width: 280px; 
    box-sizing: border-box; 
  }

  /* Uniform Frame for ALL 3 Sections (YA, MG, and Books) */
  #ya-illustrations .product-frame,
  #mg-illustrations .product-frame,
  #books .product-frame {
    width: 100%;
    height: 450px; /* Identical frame height across all 3 sections on desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }

  #ya-illustrations .product-frame img,
  #mg-illustrations .product-frame img,
  #books .product-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Forces all images to fill the frame evenly */
    object-position: center center;
    display: block;
  }

  /* Hide arrows on Desktop by default */
  .section-slider .slider-arrow { 
    display: none; 
  }

  /* Tablet & Mobile: Show Arrows and enable slider padding */
  @media (max-width: 900px) {
    .section-slider.pk-slider-container { 
      padding: 0 45px; 
    }
    .section-slider .pk-slider-item { 
      flex: 0 0 calc(50% - 15px); 
    }
    .section-slider .slider-arrow { 
      position: absolute; 
      top: 175px; /* Vertically centered on the 350px frame */
      transform: translateY(-50%); 
      background: var(--brand-rust, #c25934); 
      color: #fff; 
      border: none; 
      width: 40px; 
      height: 40px; 
      border-radius: 50%; 
      cursor: pointer; 
      z-index: 10; 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      font-size: 1.3rem; 
      transition: background 0.3s; 
    }
    .section-slider .slider-arrow:hover { 
      background: var(--brand-charcoal, #251E1A); 
    }
    .section-slider .slider-arrow.prev { left: 0; }
    .section-slider .slider-arrow.next { right: 0; }
  }

  /* Mobile: Single full-width item with uniform frame height */
  @media (max-width: 600px) {
    .section-slider.pk-slider-container { 
      padding: 0 42px; 
    }
    .section-slider .pk-slider-item { 
      flex: 0 0 100%; 
      min-width: 100%; 
    }
    #ya-illustrations .product-frame,
    #mg-illustrations .product-frame,
    #books .product-frame {
      height: 280px; /* Consistent 280px height across all 3 sections on mobile */
    }
    .section-slider .slider-arrow { 
      top: 140px; /* Centers arrows right on the 280px mobile frame */
      width: 36px; 
      height: 36px; 
      font-size: 1.1rem; 
    }
  }
  /* Extra small devices (mobile phones, 600px and down) */
@media only screen and (max-width: 600px) {
  /* Add mobile styles here */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 4% !important;
}
.single-hero-banner {
    height: 60vh; /* Keeps the taller banner */
    object-fit: cover; /* Keeps it filling the space */
    object-position: right center; /* Forces alignment to the right so she is fully visible */
    width: 100%;
  }
 .btn-terracotta, .btn-submit-form, .btn-hollow, .btn-ellipse, .light-ellipse {
        padding: 10px 30px !important;
        font-size: 0.8rem !important;
    }
	.books-view-all-cta {
    margin-top: 10px;
}
	.btn-subscribe {
    padding: 10px 30px;
    font-size: 0.8rem;
}
.xoo-wsc-products:not(.xoo-wsc-pattern-card), .xoo-wsc-products:not(.xoo-wsc-pattern-card) span.amount, .xoo-wsc-products:not(.xoo-wsc-pattern-card) a {
    font-size: 0.8rem !important;
    color: #000000;
}
.contact-content-section {
    padding: 40px 4% 0 !important;
    text-align: center;
}
.contact-page-main {
    padding-bottom: 40px !important;
}
.presentations-page-main {
    padding-bottom: 40px !important;
}
.presentations-intro-section {
    padding: 40px 4% 0 !important;

}
.book-list-title {
    font-size: 2.2rem !important;
}
}

/* ==========================================================
   1. EMPTY CART BLOCK: TALL FULL-BLEED SHOP CARDS (NO FRAMES)
   ========================================================== */

/* Full-width 3-Column Grid with tight 24px gap to match Shop */
.wc-block-cart__empty-cart__content .wc-block-grid__products,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
.wc-block-grid.has-4-columns .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1360px !important;
    margin: 35px auto !important;
    padding: 0 !important;
}

.wc-block-grid__product {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    text-align: center;
}

/* Remove border/padding and use tall portrait aspect ratio (matches Shop) */
.wc-block-grid__product .wc-block-grid__product-image {
    display: block !important;
    width: 100% !important;
    height: 480px !important; /* Tall vertical portrait height like Shop */
    background: transparent !important;
    border: none !important; /* Removes the white box border */
    padding: 0 !important; /* Removes the white frame gap */
    margin-bottom: 14px !important;
    overflow: hidden;
}

.wc-block-grid__product .wc-block-grid__product-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.wc-block-grid__product .wc-block-grid__product-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    border: none !important;
    padding: 0 !important;
}

/* Title & Price Styling to match Shop */
.wc-block-grid__product .wc-block-grid__product-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--brand-charcoal, #251E1A) !important;
    margin: 0 0 6px 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.wc-block-grid__product .wc-block-grid__product-price {
    font-size: 13px !important;
    color: #555555 !important;
    margin-bottom: 14px !important;
}

/* Rust-Red Pill Buttons */
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product .add_to_cart_button {
background-color: var(--brand-rust) !important;
    color: var(--brand-beige) !important;
    border: 4px solid;
    padding: 16px 45px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: zindora;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 40px;
    /* transition: background 0.3s; */
    margin-top: 10px;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wc-block-grid__product .add_to_cart_button:hover {
    background-color: #f4d068 !important;
    color: #c1272d !important;
    border: 4px solid #c1272d;
    font-weight: 600;
    font-family: zindora;
}

/* Responsive Tablet & Mobile Heights */
@media only screen and (max-width: 900px) {
    .wc-block-cart__empty-cart__content .wc-block-grid__products,
    .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
    .wc-block-grid.has-4-columns .wc-block-grid__products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .wc-block-grid__product .wc-block-grid__product-image {
        height: 400px !important;
    }
}

@media only screen and (max-width: 600px) {
    .wc-block-cart__empty-cart__content .wc-block-grid__products,
    .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
    .wc-block-grid.has-4-columns .wc-block-grid__products {
        grid-template-columns: 1fr !important;
    }
    .wc-block-grid__product .wc-block-grid__product-image {
        height: 380px !important;
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  /* Add small tablet styles here */
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  /* Add landscape tablet styles here */
}

/* Large devices (laptops and smaller desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  /* Add standard desktop styles here */
}

/* Extra large devices (large desktops and ultra-wide screens, 1200px and up) */
@media only screen and (min-width: 1200px) {
  /* Add large monitor styles here */
}

/* ==========================================================================
   FINAL UPDATES: SINGLE PRODUCT BANNER, BREADCRUMB REMOVAL & THANK YOU PAGE
   ========================================================================== */

/* 1. Single Product Banner: 600px Desktop Height & Center-Top Image Alignment */
.single-product .inner-page-hero,
.single-product .inner-page-hero.compact-hero {
  height: 600px !important;
  min-height: 600px !important;
}

.single-product .inner-hero-bg {
  background-position: center top !important; /* Shows top of artwork without cutting it off */
  background-size: cover !important;
}

/* 2. Remove Breadcrumbs on Single Product Page */
.single-product .yor-breadcrumbs,
.single-product .woocommerce-breadcrumb {
  display: none !important;
}

/* 3. Order Received (Thank You) Page: Increase Font Size & Change Font Family */
.woocommerce-order-received .woocommerce-thankyou-order-received,
.wc-block-order-confirmation-status h1,
.wc-block-order-confirmation-status p,
.woocommerce-order p.woocommerce-thankyou-order-received {
  font-family: var(--font-heading) !important; /* Maghfirea */
  font-size: clamp(2.1rem, 3.8vw, 3rem) !important;
  font-weight: 400 !important;
  color: var(--brand-rust) !important; /* Superman Red #C1272D */
  line-height: 1.25 !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 28px !important;
}

/* Style the Order Overview Bar (Order Number, Date, Email, Total, Payment Method) */
.woocommerce-order-received ul.woocommerce-thankyou-order-details,
.wc-block-order-confirmation-summary-list {
  background: #fdf8ea !important;
  border: 2px solid var(--brand-taupe) !important; /* Goldenrod */
  border-radius: 6px !important;
  padding: 22px 26px !important;
  margin-bottom: 36px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  list-style: none !important;
}

.woocommerce-order-received ul.woocommerce-thankyou-order-details li,
.wc-block-order-confirmation-summary-list-item {
  font-family: var(--font-subheading) !important; /* Zindora */
  font-size: 0.92rem !important;
  color: var(--brand-charcoal) !important;
  border-right: 1px dashed var(--brand-taupe) !important;
  padding-right: 20px !important;
  margin-right: 0 !important;
}

.woocommerce-order-received ul.woocommerce-thankyou-order-details li:last-child,
.wc-block-order-confirmation-summary-list-item:last-child {
  border-right: none !important;
  padding-right: 0 !important;
}

.woocommerce-order-received ul.woocommerce-thankyou-order-details li strong,
.wc-block-order-confirmation-summary-list-item__value {
  font-family: var(--font-body) !important; /* Roboto */
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--brand-charcoal) !important;
  display: block !important;
  margin-top: 4px !important;
}

/* Order Details Heading on Thank You Page */
.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title,
.wc-block-order-confirmation-totals-wrapper h2,
.wc-block-order-confirmation-address-wrapper h2 {
  font-family: var(--font-heading) !important; /* Maghfirea */
  font-size: 2.1rem !important;
  color: var(--brand-charcoal) !important;
  margin-bottom: 16px !important;
}

/* 4. Mobile Version (<= 768px): 300px Single Product Banner Height */
@media (max-width: 768px) {
  .single-product .inner-page-hero,
  .single-product .inner-page-hero.compact-hero {
 /*   height: 300px !important;*/
   /* min-height: 300px !important;*/
   /* padding: 90px 4% 30px !important;*/
  }

  .single-product .inner-hero-bg {
    background-position: center top !important;
  }

  .woocommerce-order-received ul.woocommerce-thankyou-order-details li {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px dashed rgba(198, 156, 38, 0.4) !important;
    padding-bottom: 12px !important;
    padding-right: 0 !important;
  }

  .woocommerce-order-received ul.woocommerce-thankyou-order-details li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
}