/**
 * Tip-Client CSS - Site-specific overrides
 * The Teeny Tiny Bookshop
 */

/* =========================================
   GLOBAL BRAND VARIABLES
========================================= */

:root {
  --ttb-primary: #103838;
  --ttb-secondary: #6a2d3c;
  --ttb-bg-main: #f1e9d4;
  --ttb-bg-alt: #cab8a1;
  --ttb-text-primary: #2f2f2f;
  --ttb-text-light: #ffffff;
  --ttb-text-muted: #6b6b6b;
  --ttb-accent-gold: #b99755;

  --brand-primary: var(--ttb-primary);
  --brand-secondary: var(--ttb-secondary);
  --brand-accent: var(--ttb-accent-gold);
  --brand-text-primary: var(--ttb-text-primary);
  --brand-text-inverse: #ffffff;

  --font-heading: Arial, serif;
  --font-body: Arial, serif;

  --font-weight-heading: 700;
  --font-weight-body: 400;
  --font-weight-strong: 600;

  --text-h1: clamp(2.4rem, 1.9rem + 3vw, 4rem);
  --text-h2: clamp(2rem, 1.65rem + 1.4vw, 3rem);
  --text-h3: clamp(1.55rem, 1.35rem + 0.9vw, 2.15rem);
  --text-h4: clamp(1.2rem, 1.08rem + 0.45vw, 1.5rem);
  --text-body-lg: clamp(1.08rem, 1.02rem + 0.2vw, 1.18rem);
  --text-body: clamp(1rem, 0.98rem + 0.15vw, 1.05rem);
  --text-small: clamp(0.9rem, 0.88rem + 0.1vw, 0.95rem);
  --text-xs: clamp(0.78rem, 0.76rem + 0.08vw, 0.84rem);

  --line-height-heading: 1.15;
  --line-height-body: 1.7;
  --line-height-tight: 1.25;

  --letter-spacing-heading: 0.01em;
  --letter-spacing-body: 0.01em;
  --letter-spacing-eyebrow: 0.14em;

  --space-section-y: clamp(72px, 7vw, 120px);
  --space-section-y-sm: clamp(56px, 5vw, 88px);
  --space-section-y-lg: clamp(96px, 9vw, 148px);
  --space-container-x: clamp(20px, 3vw, 40px);
}


.radius15 {
    border-radius: 10px;
    border: 5px solid #103838;
}
.tplban {
    padding: 20px;
    font-family: Arial, serif;
}
/* =========================================
   EDITOR BACKGROUND COLOR CLASSES
   Used by articlebackground.inc.php
========================================= */

.ttb-teal {
  background-color: #103838;
}

.ttb-burgundy {
  background-color: #6a2d3c;
}

.ttb-gold {
  background-color: #af904f;
}

.ttb-cream {
  background-color: #f7eada;
}

.ttb-taupe {
  background-color: #c2a084;
}

.ttb-charcoal {
  background-color: #3d3d3d;
}
.textured-green-bkgrnd {
  background: url("/cms/assets/_core/image/green-texture-background.jpg") center / cover no-repeat;
}
.texture-burgundy-bkgrn {
  background: url("/cms/assets/_core/image/burgundy-texture-background.jpg") center / cover no-repeat;
}
.white-paper {
  background: url("/cms/assets/_core/image/white-paper.jpg") center / cover no-repeat;
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: clamp(560px, 72vh, 760px);
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #120f0c;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(18, 12, 9, 0.82) 0%,
      rgba(18, 12, 9, 0.58) 38%,
      rgba(18, 12, 9, 0.20) 68%,
      rgba(18, 12, 9, 0.34) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.06) 44%,
      rgba(0, 0, 0, 0.56) 100%
    );
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(110px, 10vw, 140px) clamp(28px, 6vw, 92px) clamp(80px, 8vw, 110px);
}

.hero__content {
  max-width: 750px;
  color: #f7ead6;
  text-align: left;
  text-shadow:
    0 3px 12px rgba(0, 0, 0, 0.45),
    0 12px 34px rgba(0, 0, 0, 0.35);
}

.hero__eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 0.78rem + 0.2vw, 0.98rem);
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b99755;

}

.hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 6.5vw, 6.5rem);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff6e8;
}

.hero__title span {
  color: #b99755;
}

/* =========================================
   DIVIDER — CLEAN BOOK ICON + LINES
========================================= */

.hero__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  max-width: 420px;
  margin: 28px 0 24px;
}

/* Lines */
.hero__divider-line {
  height: 2px;
  background: #b99755;
  opacity: 0.75;
}

/* Book icon */
.divider-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  color: #b99755;

  transform: translateY(-2px);
}

/* SVG styling */
.divider-book svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}

.hero__text {
  max-width: 540px;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.5rem);
  line-height: 1.55;
  color: #fff1dd;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 30px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.hero .btn-primary {
  background: #b99755;
  color: #1f1a16;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero .btn-primary:hover {
  background: #a68447;
  transform: translateY(-2px);
}

.hero .btn-secondary {
  background: #6a2d3c;
  color: #f1e9d4;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.hero .btn-secondary:hover {
  background: #53222e;
  transform: translateY(-2px);
}

h5 {color: #103838;};

/* =========================================
   WELCOME SECTION
========================================= */

.ttb-welcome {
  position: relative;
  background: #f1e9d4;
  padding: clamp(72px, 8vw, 120px) clamp(22px, 4vw, 48px);
  color: #2f2f2f;
}

.ttb-welcome__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.ttb-welcome__content {
  max-width: 720px;
}

.ttb-welcome__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a2d3c;
}

.ttb-welcome__title {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #103838;
}

.ttb-welcome__text {
  margin: 0;
  max-width: 640px;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1vw, 1.2rem);
  line-height: 1.75;
  color: #2f2f2f;
}

.ttb-welcome__link {
  display: inline-flex;
  margin-top: 30px;
  padding: 14px 24px;
  border-radius: 4px;
  background: #6a2d3c;
  color: #f1e9d4;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.ttb-welcome__card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.10) 34%,
      rgba(255, 255, 255, 0) 68%
    ),
    linear-gradient(
      135deg,
      #d3c1a8 0%,
      #cab8a1 48%,
      #bba78d 100%
    );
  border: 1px solid rgba(47, 47, 47, 0.14);
  box-shadow:
    0 22px 55px rgba(47, 47, 47, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  padding: clamp(34px, 4vw, 52px);
  border-radius: 18px;
}

.ttb-welcome__card::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    #6a2d3c,
    #b99755,
    transparent
  );
  opacity: 0.55;
}

.ttb-welcome__card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
}

.ttb-welcome__card > * {
  position: relative;
  z-index: 1;
}

.ttb-welcome__card h3 {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2vw, 2.15rem);
  color: #103838;
}

.ttb-welcome__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ttb-welcome__card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #2f2f2f;
}

.ttb-welcome__card li:last-child {
  margin-bottom: 0;
}

.ttb-welcome__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f2f2f' stroke-width='1.9'>\
<path d='M3 5c3-1 6-1 9 1 3-2 6-2 9-1v14c-3-1-6-1-9 1-3-2-6-2-9-1V5z'/>\
</svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
/* =========================================
   CONTACT PAGE SECTION
   FULL REPLACEMENT CSS
========================================= */

.contact-page-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  background:
    linear-gradient(rgba(244, 236, 223, 0.96), rgba(244, 236, 223, 0.96)),
    url("/cms/assets/_core/image/paper-texture-light.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.contact-page-wrap {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: stretch;
}

/* =========================================
   LEFT COLUMN
========================================= */
.contact-page-info {
  display: flex;
}

.contact-page-info-inner {
  position: relative;
  width: 100%;
  padding: 52px 42px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(3, 66, 60, 0.96) 0%, rgba(38, 52, 67, 0.98) 100%);
  color: #ffffff;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.contact-page-info-inner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 72%);
  pointer-events: none;
}

.contact-page-info-inner::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 72%);
  pointer-events: none;
}

.contact-page-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4d7a6;
}

.contact-page-info h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px 0;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.12;
  font-weight: 700;
  color: #ffffff;
}

.contact-page-intro {
  position: relative;
  z-index: 1;
  margin: 0 0 26px 0;
  max-width: 620px;
  font-family: "League Spartan", sans-serif;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.90);
}

.contact-page-highlight {
  position: relative;
  z-index: 1;
  margin: 0 0 28px 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.contact-page-highlight-label {
  display: inline-block;
  margin-bottom: 8px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4d7a6;
}

.contact-page-highlight p {
  margin: 0;
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}

.contact-page-details {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.contact-detail-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.contact-detail-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.11);
  border-color: rgba(244, 215, 166, 0.35);
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a15f 0%, #9b7337 100%);
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(0,0,0,0.16);
}

.contact-detail-content h3 {
  margin: 4px 0 6px 0;
  font-family: "Cinzel", serif;
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 700;
  color: #f4d7a6;
}

.contact-detail-content p {
  margin: 0;
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}

.contact-detail-content a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-detail-content a:hover {
  color: #f4d7a6;
  border-color: rgba(244, 215, 166, 0.8);
}

/* =========================================
   RIGHT COLUMN
========================================= */
.contact-page-form-column {
  display: flex;
}

.contact-page-form-card {
  width: 100%;
  padding: 48px 38px 38px;
  border-radius: 28px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(60, 60, 60, 0.08);
  backdrop-filter: blur(4px);
}

.contact-form-heading {
  margin-bottom: 28px;
}

.contact-form-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(184, 140, 74, 0.10);
  border: 1px solid rgba(184, 140, 74, 0.18);
  font-family: "League Spartan", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8a6530;
}

.contact-page-form-card h2 {
  margin: 0 0 10px 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.85rem, 2.5vw, 2.5rem);
  line-height: 1.2;
  color: #2e2721;
}

.contact-form-subtext {
  margin: 0;
  max-width: 620px;
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #6d655c;
}

.contact-page-form {
  width: 100%;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

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

.form-field label {
  margin: 0 0 8px 0;
  font-family: "League Spartan", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #544b42;
}

.form-field input,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  border: 1px solid #d9d1c6;
  border-radius: 14px;
  background: #fcfaf6;
  padding: 15px 16px;
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: #2f2a26;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

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

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #b88c4a;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(184, 140, 74, 0.12);
  transform: translateY(-1px);
}

.contact-honeypot {
  display: none;
}

/* Optional book order: checkbox + accordion panel */
.contact-book-order-toggle {
  margin-top: 4px;
}

.contact-checkbox-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: "League Spartan", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #544b42;
  line-height: 1.45;
}

.contact-checkbox-label input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0 0;
  flex-shrink: 0;
  accent-color: #8a6530;
  cursor: pointer;
}

.contact-checkbox-text {
  user-select: none;
}

.contact-book-panel-wrap {
  grid-column: 1 / -1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.3s ease, margin 0.35s ease;
  margin: 0;
  pointer-events: none;
}

.contact-book-panel-wrap.is-open {
  max-height: 520px;
  opacity: 1;
  margin-top: 6px;
  margin-bottom: 4px;
  pointer-events: auto;
}

.contact-book-panel {
  padding-top: 2px;
}

.contact-book-details {
  border: 1px solid #d9d1c6;
  border-radius: 14px;
  background: #fcfaf6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-book-summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px 14px 44px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #544b42;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-book-summary::-webkit-details-marker {
  display: none;
}

.contact-book-summary::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #8a6530;
  border-bottom: 2px solid #8a6530;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s ease;
}

.contact-book-details[open] > .contact-book-summary::before {
  transform: translateY(-25%) rotate(-135deg);
}

.contact-book-summary:hover {
  background: rgba(184, 140, 74, 0.08);
  color: #2f2a26;
}

.contact-book-summary-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #6d655c;
  letter-spacing: 0.02em;
}

.contact-book-fields {
  padding: 0 16px 18px;
  border-top: 1px solid rgba(217, 209, 198, 0.85);
}

.contact-book-fields .form-field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f3f0ea;
}

.contact-submit-wrap {
  margin-top: 24px;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 30px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #b88c4a 0%, #8a6530 100%);
  color: #ffffff;
  font-family: "League Spartan", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 14px 26px rgba(138, 101, 48, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(138, 101, 48, 0.30);
  filter: brightness(1.03);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .contact-page-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-page-info-inner,
  .contact-page-form-card {
    padding: 38px 28px;
  }
}

@media (max-width: 640px) {
  .contact-page-section {
    padding: 60px 16px;
  }

  .contact-page-info-inner,
  .contact-page-form-card {
    padding: 30px 22px;
    border-radius: 22px;
  }

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

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

  .contact-detail-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .contact-detail-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .contact-submit-btn {
    width: 100%;
    min-width: 0;
  }
}
/* =========================================
   FEATURE CARDS SECTION
========================================= */

.ttb-features {
  background:
    radial-gradient(circle at 50% 0%, rgba(185, 151, 85, 0.16), transparent 38%),
    #6a2d3c;

}

.ttb-features-heading {
  max-width: 760px;
  margin: 0 auto clamp(34px, 4vw, 54px);
  text-align: center;
}

.ttb-features-heading__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b99755;
}

.ttb-features-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.08;
  color: #f1e9d4;
}

.ttb-features__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}

.ttb-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.12) 35%,
      rgba(255, 255, 255, 0) 70%
    ),
    linear-gradient(
      135deg,
      #f7eada 0%,
      #f1e9d4 48%,
      #cab8a1 100%
    );
  border: 1px solid rgba(47, 47, 47, 0.12);
  box-shadow:
    0 18px 42px rgba(47, 47, 47, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.ttb-feature-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    #6a2d3c,
    #b99755,
    transparent
  );
  opacity: 0.55;
}

.ttb-feature-card > * {
  position: relative;
  z-index: 1;
}

.ttb-feature-card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #103838;
  color: #f1e9d4;
  font-size: 1.45rem;
  box-shadow:
    0 12px 26px rgba(16, 56, 56, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ttb-feature-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.6vw, 1.75rem);
  line-height: 1.15;
  color: #103838;
}

.ttb-feature-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: #2f2f2f;
}

/* =========================================
   VISIT US / LOCATION SECTION
========================================= */

.ttb-visit {
  background: #f1e9d4;
  padding: clamp(72px, 8vw, 120px) clamp(22px, 4vw, 48px);
}

.ttb-visit__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.ttb-visit__eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b99755;
  font-family: var(--font-body);
  font-weight: 700;
}

.ttb-visit__title {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.1;
  color: #103838;
  font-family: var(--font-heading);
}

.ttb-visit__text {
  margin: 0;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2f2f2f;
  font-family: var(--font-body);
}

.ttb-visit__btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 26px;
  background: #6a2d3c;
  color: #f1e9d4;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  font-family: var(--font-heading);
}

.ttb-visit__card {
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.10) 34%,
      rgba(255, 255, 255, 0) 68%
    ),
    linear-gradient(
      135deg,
      #d3c1a8 0%,
      #cab8a1 48%,
      #bba78d 100%
    );
  border: 1px solid rgba(47, 47, 47, 0.14);
  box-shadow:
    0 22px 55px rgba(47, 47, 47, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  padding: clamp(34px, 4vw, 52px);
  border-radius: 18px;
}

.ttb-visit__card h3 {
  margin: 0 0 18px;
  font-size: 1.6rem;
  color: #103838;
  font-family: var(--font-heading);
}

.ttb-visit__address {
  margin: 0 0 18px;
  font-weight: 600;
  color: #2f2f2f;
  font-family: var(--font-body);
}

.ttb-visit__hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ttb-visit__hours li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(47, 47, 47, 0.12);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.ttb-visit__hours li:last-child {
  border-bottom: none;
}

.ttb-visit__note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #6b6b6b;
}

/* =========================================
   FOOTER
========================================= */

.ttb-footer {
  color: #f1e9d4;
  /* padding: clamp(64px, 7vw, 96px) clamp(22px, 4vw, 48px) 30px; */
}

.ttb-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}

.ttb-footer h2,
.ttb-footer h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  color: #f1e9d4;
  line-height: 1.1;
}

.ttb-footer h2 {
  max-width: 320px;
  font-size: clamp(1.9rem, 2.4vw, 2.7rem);
  letter-spacing: -0.025em;
}

.ttb-footer h3 {
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  color: #b99755;
}

.ttb-footer p,
.ttb-footer li {
  font-family: var(--font-body);
  font-size: 1.0rem;
  line-height: 1.65;
  color: rgba(241, 233, 212, 0.82);
}

.ttb-footer__brand p {
  max-width: 430px;
  margin: 0;
}

.ttb-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ttb-footer li {
  margin-bottom: 7px;
}

.ttb-footer a {
  color: rgba(241, 233, 212, 0.84);
  text-decoration: none;
}

.ttb-footer a:hover {
  color: #b99755;
}

.ttb-footer__visit strong {
  color: #f1e9d4;
  font-weight: 700;
}

.ttb-footer__bottom {
  max-width: 1180px;
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(241, 233, 212, 0.14);
}

.ttb-footer__bottom p {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(241, 233, 212, 0.58);
}
.ttb-footer__links ul {
  list-style-type: circle;
  margin-left:20px;
}
ul {list-style: disc; padding-left: 40px;}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {
  .ttb-features__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .ttb-welcome__inner,
  .ttb-visit__inner,
  .ttb-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero {
  min-height: clamp(520px, 68vh, 700px);
}

  .hero__inner {
    padding: 130px 24px 90px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .ttb-features__inner {
    grid-template-columns: 1fr;
  }

  .ttb-feature-card {
    min-height: auto;
  }
}
/* =========================================
   SECTION DIVIDER
========================================= */

.ttb-divider {
  width: 100%;
  height: 10px;
}

/* =========================================
   TEENY TINY BOOKSHOP INTRO SPLASH
   FULL REPLACEMENT
   Place at VERY bottom of CSS file
========================================= */

/* -----------------------------------------
   MAIN OVERLAY CONTAINER
----------------------------------------- */
.bookshop-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

/* =========================================
   TEENY TINY BOOKSHOP INTRO SPLASH
   FULL REPLACEMENT
========================================= */

.bookshop-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;

  animation: bookshopOverlayRemove 0.35s ease forwards;
  animation-delay: 3.7s;
}

.bookshop-intro-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 46%),
    rgba(0, 0, 0, 0.82);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  animation: bookshopOverlayReveal 1.4s ease forwards;
  animation-delay: 2.3s;
}

.bookshop-intro-logo {
  position: relative;
  z-index: 2;
  width: min(82vw, 1000px);
  height: auto;

  opacity: 0;
  transform: scale(0.06);

  filter:
    drop-shadow(0 32px 48px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 30px rgba(255, 255, 255, 0.22));

  animation: bookshopLogoSequence 3.7s cubic-bezier(0.2, 0.85, 0.22, 1) forwards;
}

@keyframes bookshopLogoSequence {
  0% {
    opacity: 0;
    transform: scale(0.06);
  }

  32% {
    opacity: 1;
    transform: scale(1.15);
  }

  48% {
    opacity: 1;
    transform: scale(1);
  }

  55% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes bookshopOverlayReveal {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes bookshopOverlayRemove {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* BLACK OVERLAY FADES TO REVEAL PAGE */
@keyframes bookshopOverlayReveal {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* FINAL CLEANUP */
@keyframes bookshopOverlayRemove {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* =========================================
   PREMIUM LOCATION MAP CARD
========================================= */

.ttb-location-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 720px;
  min-height: 430px;
  margin: 0 auto;
  border-radius: 24px;
  background: #103838;
  border: 1px solid rgba(47, 47, 47, 0.16);
  box-shadow:
    0 34px 70px rgba(47, 47, 47, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ttb-location-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(16, 56, 56, 0.88) 0%,
      rgba(16, 56, 56, 0.62) 38%,
      rgba(16, 56, 56, 0.12) 72%,
      rgba(16, 56, 56, 0.04) 100%
    );
}

.ttb-location-card::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 0;
  z-index: 4;
  height: 4px;
  background: linear-gradient(90deg, transparent, #6a2d3c, #b99755, transparent);
  opacity: 0.85;
}

.ttb-location-card__map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ttb-location-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.08);
  filter: saturate(0.85) contrast(0.95);
}

.ttb-location-card__info {
  position: relative;
  z-index: 3;
  max-width: 310px;
  padding: 42px 38px;
  color: #f1e9d4;
}

.ttb-location-card__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b99755;
}

.ttb-location-card__info h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  line-height: 1.08;
  color: #fff6e8;
}

.ttb-location-card__info p {
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(241, 233, 212, 0.88);
}

.ttb-location-card__info a {
  display: inline-flex;
  padding: 13px 18px;
  border-radius: 4px;
  background: #b99755;
  color: #1f1a16;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.ttb-location-card__info a:hover {
  background: #a68447;
}

@media (max-width: 700px) {
  .ttb-location-card {
    min-height: 460px;
  }

  .ttb-location-card::before {
    background: linear-gradient(
      180deg,
      rgba(16, 56, 56, 0.92) 0%,
      rgba(16, 56, 56, 0.62) 48%,
      rgba(16, 56, 56, 0.12) 100%
    );
  }

  .ttb-location-card__info {
    padding: 34px 28px;
  }
}
/* =========================================
   PREMIUM IMAGE CARD (REUSABLE)
========================================= */

.ttb-image-premium {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.35),
      rgba(194,160,132,0.18)
    );

  border: 8px solid #103838;

  box-shadow:
    0 28px 60px rgba(47, 47, 47, 0.18),
    0 8px 18px rgba(47, 47, 47, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);

 /* padding: 12px; */
}

/* Inner image styling */
.ttb-image-premium img,
img.ttb-image-premium {
  width: 100%;
  height: auto;
  display: block;

  border-radius: 12px;

  box-shadow:
    0 14px 28px rgba(0,0,0,0.18);
}
#footer-container
{
    min-height: 100px;
    margin: 0 auto;
    background-color: #6A2D3C;
    border-top: 3px solid #AF904F;
    font-size: 14px;
    line-height: 1.4em;
 /* -webkit-box-shadow: 0 -5px 20px 1px #333; */
 /* box-shadow: 0 -5px 30px 1px #333;*/ /*dropshadow on top*/
}

/* =========================================
   MOBILE STACKING FIX
   Place at VERY BOTTOM of CSS
========================================= */

@media (max-width: 800px) {

  .ttb-welcome__inner,
  .ttb-visit__inner,
  .ttb-footer__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .ttb-features__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .ttb-feature-card,
  .ttb-welcome__content,
  .ttb-welcome__card,
  .ttb-visit__content,
  .ttb-visit__card {
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* =========================================
   TEENY TINY BOOKSHOP MOBILE STACKING FIX
   Place at VERY BOTTOM of CSS
========================================= */

@media (max-width: 900px) {
  .ttb-welcome__inner,
  .ttb-visit__inner,
  .ttb-footer__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .ttb-features__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .ttb-feature-card,
  .ttb-welcome__content,
  .ttb-welcome__card,
  .ttb-visit__content,
  .ttb-visit__card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* TPL14 / Bootstrap-style column safety */
@media (max-width: 900px) {
  .ttb-welcome .row,
  .ttb-visit .row,
  .ttb-features .row {
    display: block !important;
  }

  .ttb-welcome [class*="col-"],
  .ttb-visit [class*="col-"],
  .ttb-features [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    flex: none !important;
  }
}
/* Below is from original Fithq site */
.btn-custom {
    text-decoration: none;
    color: #fff;
    padding: 6px;
    font-size: 18px;
    font-weight: 700;
    background-color: #710004;
    margin-bottom:10px;
    border-radius:5px;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active,
.open > .dropdown-toggle.btn-success {
  color: #fff;
  background-color: #000000;
  text-decoration: none;
}
.btn-custom a {
    color:#FFFFFF;
}

@media (min-width: 990px) {
.btn-custom {
    width:35%;
}
}
@media (max-width: 990px) {
.btn-custom {
    width:85%;
}
}