/*
Theme Name: Circle T Cattle Co.
Theme URI: https://circletcattle.com
Author: Everplex
Author URI: https://everplex.org
Description: Website for Circle T Cattle Co. of Inola, Oklahoma. Ranch-raised beef, pork, and eggs, with built-in web store and order system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: Proprietary
*/

/* ======================================================
   CSS VARIABLES — ranch palette
====================================================== */
:root {
  --color-primary:        #2D5016;
  --color-primary-dark:   #1E3A0E;
  --color-primary-light:  #EAF2E4;
  --color-accent:         #B8582A;
  --color-accent-dark:    #8F4420;
  --color-accent-light:   #FBF0EA;
  --color-cream:          #FAF8F3;
  --color-sand:           #F0EDE4;
  --color-charcoal:       #1A1A18;
  --color-text:           #2C2C28;
  --color-text-muted:     #6B6960;
  --color-text-light:     #9C978A;
  --color-border:         #DDD8CC;
  --color-border-strong:  #C4BDA8;
  --color-white:          #FFFFFF;
  --color-success:        #2D6B1E;
  --color-error:          #B83220;
  --color-badge-frozen:   #3B7DD8;
  --color-badge-fresh:    #2D6B1E;

  --shadow-xs:   0 1px 2px rgba(26,26,24,.06);
  --shadow-sm:   0 2px 6px rgba(26,26,24,.08);
  --shadow-md:   0 6px 18px rgba(26,26,24,.10);
  --shadow-lg:   0 12px 36px rgba(26,26,24,.14);
  --shadow-green:0 8px 22px rgba(45,80,22,.22);
  --shadow-rust: 0 8px 22px rgba(184,88,42,.22);

  --font-display: 'Bitter', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;

  --space-xs:  .25rem;
  --space-sm:  .5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --container-max: 1200px;
  --header-height: 70px;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  --transition:      200ms ease;
  --transition-slow: 380ms cubic-bezier(.16,1,.3,1);
}

/* ======================================================
   RESET & BASE
====================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: inherit; }

/* ======================================================
   TYPOGRAPHY
====================================================== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.prose { line-height: 1.7; color: var(--color-text); }
.prose p + p { margin-top: var(--space-md); }
.prose ul { list-style: disc; padding-left: 1.5em; margin-top: var(--space-sm); }
.prose li { margin-top: var(--space-xs); }

/* ======================================================
   LAYOUT
====================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section          { padding: var(--space-3xl) 0; }
.section--tight   { padding: var(--space-2xl) 0; }
.section--lg      { padding: var(--space-4xl) 0; }
.section-alt      { background: var(--color-sand); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}
.section-head-text { flex: 1; min-width: 260px; }
.section-head-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-accent);
}
.section-head-link:hover { color: var(--color-accent-dark); }
.section-head-link svg { width: 16px; height: 16px; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.section-title { margin-bottom: var(--space-sm); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* ======================================================
   BUTTONS
====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  padding: .7em 1.4em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-rust);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.btn-white {
  background: rgba(255,255,255,.15);
  color: var(--color-white);
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}
.btn-white:hover {
  background: rgba(255,255,255,.25);
  color: var(--color-white);
  border-color: rgba(255,255,255,.55);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.btn-lg  { font-size: 1.05rem; padding: .85em 1.8em; }
.btn-sm  { font-size: .85rem; padding: .45em 1em; }
.btn-block { width: 100%; }

/* ======================================================
   MASTHEAD
====================================================== */
.ctc-masthead {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-white);
  transition: box-shadow var(--transition);
}
.ctc-masthead.is-scrolled {
  box-shadow: var(--shadow-md);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-md);
  margin: 10px auto;
}

.masthead-logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.masthead-logo img {
  height: 50px;
  width: auto;
}
.masthead-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.masthead-company-name {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
}
.masthead-tagline {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.masthead-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.masthead-call {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
}
.masthead-call-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.masthead-call-num {
  display: flex;
  align-items: center;
  gap: .35em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
}
.masthead-call-num svg { width: 16px; height: 16px; color: var(--color-accent); }
.masthead-call:hover .masthead-call-num { color: var(--color-accent); }

@media (min-width: 768px) {
  .masthead-call { display: flex; }
}

.masthead-shop-link {
  display: none;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-white);
  background: var(--color-accent);
  padding: .55em 1.2em;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.masthead-shop-link:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
}
.masthead-shop-link svg { width: 16px; height: 16px; }

@media (min-width: 900px) {
  .masthead-shop-link { display: inline-flex; }
}

.masthead-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  transition: background var(--transition);
}
.masthead-cart:hover { background: var(--color-primary-light); color: var(--color-primary); }
.masthead-cart svg { width: 22px; height: 22px; }
.masthead-cart-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: .7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--color-white);
  background: var(--color-accent);
  border-radius: var(--radius-full);
  pointer-events: none;
}
.masthead-cart-count[data-empty="1"] { display: none; }

/* Hamburger toggle */
.masthead-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.masthead-toggle:hover { background: var(--color-primary-light); }
.masthead-toggle span {
  display: block;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}
.masthead-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.masthead-toggle.is-open span:nth-child(2) { opacity: 0; }
.masthead-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .masthead-toggle { display: none; }
}

/* Nav ribbon */
.masthead-nav-wrap {
  display: none;
  background: var(--color-primary);
}
.masthead-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.masthead-nav a {
  display: block;
  padding: .65em 1.1em;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
}
.masthead-nav a:hover,
.masthead-nav a.active,
.masthead-nav a.is-active {
  color: var(--color-white);
  background: rgba(255,255,255,.08);
  border-bottom-color: var(--color-accent);
}

@media (min-width: 900px) {
  .masthead-nav-wrap { display: block; }
}

/* ======================================================
   FULL-SCREEN MOBILE MENU
====================================================== */
.ctc-fullmenu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
  overflow-y: auto;
}
.ctc-fullmenu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
html.ctc-menu-locked { overflow: hidden; }

.ctc-fullmenu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-xl) var(--space-lg);
}

.ctc-fullmenu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}
.ctc-fullmenu-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.ctc-fullmenu-close {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-charcoal);
  transition: background var(--transition);
}
.ctc-fullmenu-close:hover { background: var(--color-sand); }
.ctc-fullmenu-close svg { width: 24px; height: 24px; }

.ctc-fullmenu-links {
  flex: 1;
}
.ctc-fullmenu-links a {
  display: block;
  padding: .8em 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}
.ctc-fullmenu-links a:hover,
.ctc-fullmenu-links a.active,
.ctc-fullmenu-links a.is-active {
  color: var(--color-accent);
}

.ctc-fullmenu-foot {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.ctc-fullmenu-call {
  display: flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  color: var(--color-primary);
}
.ctc-fullmenu-call svg { width: 18px; height: 18px; color: var(--color-accent); }

/* ======================================================
   HERO SLIDER
====================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  z-index: 1;
}
.slide.active {
  position: relative;
  opacity: 1;
  z-index: 2;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,24,.65) 0%, rgba(26,26,24,.25) 100%);
  z-index: 1;
}
.slide .container { position: relative; z-index: 2; }
.slide-content {
  max-width: 640px;
  padding: var(--space-3xl) 0;
  color: var(--color-white);
}
.slide-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.12);
  padding: .35em .9em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.15);
}
.slide-title {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.slide-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  margin-bottom: var(--space-xl);
  max-width: 520px;
}
.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Slider nav */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all var(--transition);
}
.slider-arrow:hover {
  background: rgba(255,255,255,.25);
}
.slider-arrow svg { width: 20px; height: 20px; }
.slider-nav-prev { left: var(--space-lg); }
.slider-nav-next { right: var(--space-lg); }

.slider-controls {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: var(--space-sm);
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active,
.slider-dot:hover {
  background: var(--color-white);
  transform: scale(1.25);
}

/* ======================================================
   PERKS STRIP
====================================================== */
.perks-strip {
  background: var(--color-primary);
  padding: var(--space-2xl) 0;
}
.perks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 600px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .perks-grid { grid-template-columns: repeat(4, 1fr); }
}

.perk-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  color: var(--color-white);
}
.perk-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.9);
}
.perk-icon svg { width: 22px; height: 22px; }
.perk-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: .2em;
}
.perk-text {
  font-size: .875rem;
  line-height: 1.5;
  color: rgba(255,255,255,.7);
}

/* ======================================================
   PRODUCT CARDS & GRID
====================================================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 500px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-sand);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3em .7em;
  border-radius: var(--radius-sm);
  z-index: 2;
}
.product-badge-quote {
  background: var(--color-accent);
  color: var(--color-white);
}
.product-badge-frozen {
  background: var(--color-badge-frozen);
  color: var(--color-white);
}
.product-badge-fresh {
  background: var(--color-badge-fresh);
  color: var(--color-white);
}

.product-card-body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}
.product-card-category {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}
.product-card-title {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}
.product-card-title a {
  color: var(--color-charcoal);
  transition: color var(--transition);
}
.product-card-title a:hover { color: var(--color-accent); }

.product-card-weight {
  display: block;
  font-size: .8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}
.product-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
}
.product-card-price small {
  font-weight: 500;
  font-size: .8rem;
  color: var(--color-text-muted);
  margin-left: .15em;
}
.product-card-price.is-quote {
  font-size: .9rem;
  color: var(--color-accent);
  font-weight: 600;
}
.product-card-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.product-card-add:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.product-card-add svg { width: 16px; height: 16px; }

/* ======================================================
   ABOUT SNIPPET (homepage)
====================================================== */
.about-snippet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 768px) {
  .about-snippet-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); }
}
.about-snippet-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-snippet-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.since-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-green);
}
.since-badge small {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .7;
}
.since-badge strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.about-snippet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-highlights {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.about-highlight-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  margin-top: 2px;
}
.about-highlight-icon svg { width: 18px; height: 18px; }
.about-highlight-text {
  font-size: .95rem;
  color: var(--color-text);
}

/* ======================================================
   CTA BANNER
====================================================== */
.cta-banner {
  background: var(--color-primary);
  padding: var(--space-3xl) 0;
  text-align: center;
  color: var(--color-white);
}
.cta-banner .eyebrow { color: rgba(255,255,255,.6); }
.cta-banner h2 { color: var(--color-white); margin-bottom: var(--space-md); }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 540px; margin: 0 auto var(--space-xl); }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* ======================================================
   FOOTER
====================================================== */
.ctc-footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,.7);
}

.ctc-footer-top {
  padding: var(--space-3xl) 0 var(--space-2xl);
}
.ctc-footer-masthead {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
@media (min-width: 768px) {
  .ctc-footer-masthead { grid-template-columns: 1fr 1fr; }
}

.ctc-footer-name {}
.ctc-footer-kicker {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--space-xs);
}
.ctc-footer-wordmark {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}
.ctc-footer-tag {
  display: block;
  font-size: .9rem;
  line-height: 1.5;
  color: rgba(255,255,255,.55);
  max-width: 380px;
  margin-bottom: var(--space-lg);
}
.ctc-footer-social {
  display: flex;
  gap: var(--space-md);
}
.ctc-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.ctc-footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
.ctc-footer-social svg { width: 18px; height: 18px; }

.ctc-footer-directory {}
.ctc-footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}
.ctc-footer-directory ul {
  columns: 2;
  column-gap: var(--space-xl);
}
.ctc-footer-directory li {
  break-inside: avoid;
  margin-bottom: var(--space-xs);
}
.ctc-footer-directory a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.ctc-footer-directory a:hover { color: var(--color-white); }

/* Footer cards */
.ctc-footer-cards-wrap {
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ctc-footer-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 600px) {
  .ctc-footer-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .ctc-footer-cards { grid-template-columns: repeat(3, 1fr); }
}

.ctc-footer-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.ctc-footer-card-hd {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.ctc-footer-card-hd svg { width: 20px; height: 20px; color: var(--color-accent); }
.ctc-footer-card-hd h3 {
  font-size: 1rem;
  color: var(--color-white);
}
.ctc-footer-card-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.ctc-footer-card-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: .875rem;
}
.ctc-footer-card-k { color: rgba(255,255,255,.5); }
.ctc-footer-card-v { color: rgba(255,255,255,.85); }
a.ctc-footer-card-v:hover { color: var(--color-accent); }

.ctc-footer-hours li.is-today .ctc-footer-card-k em {
  color: var(--color-accent);
  font-style: normal;
}

.ctc-footer-address {
  font-style: normal;
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin-bottom: var(--space-md);
}
.ctc-footer-directions {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-accent);
}
.ctc-footer-directions:hover { color: var(--color-white); }
.ctc-footer-directions svg { width: 16px; height: 16px; }

/* Copyright */
.ctc-footer-legal {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.ctc-footer-legal p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.ctc-footer-legal a { color: rgba(255,255,255,.5); }
.ctc-footer-legal a:hover { color: var(--color-white); }
.ctc-footer-sep { margin: 0 .3em; }

/* ======================================================
   FORMS
====================================================== */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.form-field > span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-text);
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field input[type="url"],
.form-field textarea,
.form-field select {
  padding: .6em .9em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45,80,22,.12);
}
.form-field textarea { resize: vertical; min-height: 80px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-row--radio {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.form-field--radio {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}
.form-field--radio input[type="radio"] { margin-top: 4px; accent-color: var(--color-primary); }
.form-field--radio span { font-weight: 400; }
.form-field--radio strong { font-weight: 600; display: block; }
.form-field--radio small { color: var(--color-text-muted); font-size: .8rem; }

.form-note {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: .8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}
.form-note svg { width: 14px; height: 14px; flex-shrink: 0; }

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}
.form-alert svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.form-alert strong { display: block; margin-bottom: var(--space-xs); }
.form-alert.success {
  background: #E8F5E4;
  border: 1px solid #B8DEB0;
  color: var(--color-success);
}
.form-alert.error {
  background: #FBEAE8;
  border: 1px solid #E8BAB4;
  color: var(--color-error);
}

/* ======================================================
   BREADCRUMBS
====================================================== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4em;
  font-size: .8rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }

/* ======================================================
   PAGE HERO
====================================================== */
.page-hero {
  background: var(--color-primary-light);
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}
.page-hero-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.page-hero-lede {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-top: var(--space-sm);
}

/* ======================================================
   TOAST
====================================================== */
.ctc-toast {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: .75em 1.5em;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s ease;
  pointer-events: none;
}
.ctc-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ======================================================
   QTY CONTROL
====================================================== */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qty-control button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-sand);
  transition: all var(--transition);
}
.qty-control button:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.qty-control input {
  width: 48px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font-size: .9rem;
  font-weight: 600;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ======================================================
   PAGINATION
====================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-2xl);
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .6em;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.pagination a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.pagination .current {
  background: var(--color-primary);
  color: var(--color-white);
}
.pagination svg { width: 16px; height: 16px; }

/* ======================================================
   SIDECARD (checkout summary)
====================================================== */
.sidecard {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}
.sidecard h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

/* ======================================================
   EMPTY STATE
====================================================== */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}
.empty-state h2 { margin-bottom: var(--space-md); }
.empty-state p { color: var(--color-text-muted); margin-bottom: var(--space-xl); }

/* ======================================================
   SHOP TOOLBAR / FILTER
====================================================== */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.shop-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.shop-filter a {
  display: inline-block;
  padding: .45em 1em;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-sand);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.shop-filter a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.shop-filter a.is-active {
  background: var(--color-primary);
  color: var(--color-white);
}
.shop-count {
  font-size: .85rem;
  color: var(--color-text-muted);
}
