/* 
 * THE GERMAN KITCHENS - MASTER STYLESHEET
 * Design System: Architectural Monolith
 * Colors: Deep Slate (#1C2B3A), Warm Stone (#C4A882), Cream (#F9F7F3), Red (#DC2626)
 * Typography: Cormorant Garamond (display) + Inter (body)
 */

:root {
  --brand-slate: #1C2B3A;
  --brand-stone: #C4A882;
  --brand-white: #FFFFFF;
  --brand-cream: #F9F7F3;
  --brand-grey: #E8E6E1;
  --brand-red: #DC2626;
  --brand-slate-50: #F8FAFC;
  --brand-slate-100: #F1F5F9;
  --brand-slate-200: #E2E8F0;
  --brand-slate-600: #475569;
  --brand-slate-900: #0F172A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Restore content-box for nicepage layout containers so pixel-accurate
   absolute positioning is not broken by box-sizing: border-box */
.u-body .u-sheet,
.u-body .u-group,
.u-body .u-container-layout,
.u-body .u-layout-wrap,
.u-body .u-layout,
.u-body .u-layout-row,
.u-body .u-layout-cell,
.u-body .u-gallery,
.u-body .u-gallery-inner,
.u-body .u-carousel,
.u-body .u-carousel-inner,
.u-body .u-carousel-item,
.u-body .u-list,
.u-body .u-repeater,
.u-body .u-repeater-item,
.u-body .u-container-style {
  box-sizing: content-box;
}

/* h2/p resets from style.css must not disturb nicepage typography */
.u-body .u-section-1 h1,
.u-body .u-section-1 h2,
.u-body .u-section-22 h2 {
  margin-bottom: 0;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}
.u-body .u-section-1 p,
.u-body .u-section-22 p {
  margin-bottom: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--brand-slate);
  background-color: var(--brand-white);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.2;
  color: var(--brand-slate);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--brand-slate-600);
  margin-bottom: 1rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-stone);
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
}

/* Header & Navigation */
header {
  background-color: var(--brand-white);
  border-bottom: 1px solid var(--brand-grey);
  position: sticky;
  top: 38px;
  z-index: 40;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--brand-slate);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .brand {
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-text .tagline {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--brand-stone);
  letter-spacing: 0.05em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--brand-slate);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav a:hover {
  color: var(--brand-stone);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-link {
  text-decoration: none;
  color: var(--brand-slate);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-link {
  background: var(--brand-slate);
  border-radius: 999px;
  color: var(--brand-white);
  padding: 0.65rem 1rem;
  transition: background-color 0.2s, transform 0.2s;
}

.quote-link:hover {
  background: var(--brand-red);
  color: var(--brand-white);
  transform: translateY(-1px);
}

.search-icon, .cart-icon {
  cursor: pointer;
  color: var(--brand-slate);
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .header-right {
    gap: 1rem;
  }
}

/* Buttons */
.btn-primary {
  background-color: var(--brand-slate);
  color: var(--brand-white);
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: var(--brand-stone);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-slate);
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--brand-slate);
  border-radius: 0.375rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background-color: var(--brand-slate);
  color: var(--brand-white);
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  background-color: #1a1a1a;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-image.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  z-index: 10;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 20;
}

.hero-text {
  max-width: 50%;
  color: var(--brand-white);
}

.hero-text h1 {
  color: var(--brand-white);
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn-primary {
  background-color: var(--brand-slate);
}

.hero-buttons .btn-outline {
  border-color: var(--brand-white);
  color: var(--brand-white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
  color: var(--brand-white);
}

.hero-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-prev, .hero-next {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--brand-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.hero-prev:hover, .hero-next:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-dot.active {
  background-color: var(--brand-white);
}

/* USP Section */
.usp-section {
  background-color: var(--brand-white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--brand-grey);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.usp-item {
  text-align: center;
}

.usp-icon {
  width: 48px;
  height: 48px;
  background-color: var(--brand-slate-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.usp-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-slate);
}

.usp-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.usp-item p {
  font-size: 0.95rem;
  color: var(--brand-slate-600);
}

/* Offer Banner Section */
.offer-banner-section {
  background: linear-gradient(to right, #FEF2F2, #FFFBEB);
  padding: 2rem 0;
  border-bottom: 1px solid var(--brand-grey);
}

.offer-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.offer-banner-text h2 {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.offer-banner-text p {
  color: var(--brand-slate-600);
}

@media (max-width: 768px) {
  .offer-banner-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Featured Kitchens Section */
.featured-section {
  background-color: var(--brand-white);
  padding: 4rem 0;
}

.section-header {
  max-width: 600px;
  margin-bottom: 3rem;
}

.kitchen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.kitchen-card {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-grey);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.kitchen-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.kitchen-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: var(--brand-slate-100);
}

.kitchen-card-content {
  padding: 1.5rem;
}

.kitchen-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.kitchen-card p {
  font-size: 0.95rem;
  color: var(--brand-slate-600);
  margin-bottom: 1rem;
}

.kitchen-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--brand-grey);
}

.kitchen-price-group {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-slate-600);
}

.kitchen-card-arrow {
  color: var(--brand-slate);
  transition: transform 0.3s;
}

.kitchen-card:hover .kitchen-card-arrow {
  transform: translateX(4px);
}

/* Filters Sidebar */
.filters-sidebar {
  background-color: var(--brand-white);
  padding: 1.5rem;
  border: 1px solid var(--brand-grey);
  border-radius: 0.5rem;
  position: sticky;
  top: 8rem;
}

.filter-group {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--brand-grey);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group h4 {
  margin-bottom: 1rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.filter-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand-stone);
}

.filter-options span {
  color: var(--brand-slate-600);
}

/* Kitchen Grid with Filters */
.kitchens-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

.kitchens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

@media (max-width: 1024px) {
  .kitchens-container {
    grid-template-columns: 1fr;
  }
  
  .filters-sidebar {
    position: static;
  }
}

/* Footer */
footer {
  background-color: var(--brand-slate);
  color: var(--brand-white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--brand-white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--brand-stone);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Booking Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
  z-index: 2147482400;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background-color: var(--brand-white);
  border-radius: 0.5rem;
  padding: 2rem;
  max-width: 720px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand-slate-100);
  border: none;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--brand-slate);
  width: 38px;
  height: 38px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal h2 {
  margin-bottom: 1rem;
}

.modal p {
  margin-bottom: 1.5rem;
  color: var(--brand-slate-600);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--brand-slate);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--brand-grey);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--brand-grey);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--brand-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-stone);
  box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.1);
}

.tgk-quote-modal__header {
  padding-right: 2.75rem;
  margin-bottom: 1.5rem;
}

.tgk-quote-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.tgk-form-status {
  min-height: 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.tgk-form-status.is-success {
  color: #047857;
}

.tgk-form-status.is-error {
  color: var(--brand-red);
}

.tgk-page-hero {
  background-color: var(--brand-slate-50);
  border-bottom: 1px solid var(--brand-grey);
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.tgk-page-hero .container > div[style*="grid-template-columns"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.tgk-page-hero .container > div[style*="grid-template-columns"] img {
  display: none;
}

.tgk-page-hero button,
.tgk-page-hero a.btn-primary,
.tgk-page-hero a.btn-secondary,
.tgk-page-hero .btn-primary,
.tgk-page-hero .btn-secondary {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}

.tgk-page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
}

.tgk-page-hero p {
  font-size: 1.25rem;
  color: #475569;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.tgk-page-hero .section-label {
  margin-bottom: 1rem;
}

.tgk-page-hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.tgk-portfolio-filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.tgk-portfolio-filter button {
  border: 1px solid var(--brand-grey);
  background: var(--brand-white);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--brand-slate);
  cursor: pointer;
  font-weight: 700;
}

.tgk-portfolio-filter button.active,
.tgk-portfolio-filter button:hover {
  background: var(--brand-slate);
  border-color: var(--brand-slate);
  color: var(--brand-white);
}

.tgk-legal {
  --legal-ink: #17212b;
  --legal-text: #354150;
  --legal-muted: #667385;
  --legal-line: rgba(23, 33, 43, 0.1);
  --legal-soft: #f8fafc;
  --legal-accent: var(--brand-stone);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 34%, #f8fafc 100%);
  color: var(--legal-text);
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto 52px;
  overflow: hidden;
}

.tgk-legal *,
.tgk-legal *::before,
.tgk-legal *::after {
  box-sizing: border-box;
}

.tgk-legal__hero {
  padding: 92px 42px 52px;
  background:
    linear-gradient(135deg, rgba(28, 43, 58, 0.94), rgba(15, 23, 42, 0.9)),
    url("/themes/templates/thegermankitchens.com/images/hero-kitchen-2.jpg") center center / cover no-repeat;
  color: #fff;
}

.tgk-legal__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: end;
}

.tgk-legal__eyebrow,
.tgk-legal__updated {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  line-height: 1.2;
}

.tgk-legal__eyebrow {
  margin: 0 0 16px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tgk-legal__updated {
  margin: 24px 0 0;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.tgk-legal h1,
.tgk-legal h2,
.tgk-legal h3 {
  color: var(--legal-ink);
  margin-top: 0;
}

.tgk-legal__hero h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.15rem, 4.4vw, 4.5rem);
  line-height: 1.02;
}

.tgk-legal__lead {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.8;
}

.tgk-legal__contact-card,
.tgk-legal__panel,
.tgk-legal__toc,
.tgk-legal__cards article,
.tgk-legal__rights article {
  border: 1px solid var(--legal-line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 33, 43, 0.08);
}

.tgk-legal__contact-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--legal-text);
}

.tgk-legal__contact-card h2 {
  margin-bottom: 14px;
  font-size: 1.28rem;
}

.tgk-legal__contact-card p,
.tgk-legal__contact-block p {
  margin: 0 0 9px;
  line-height: 1.65;
}

.tgk-legal a {
  color: var(--brand-slate);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tgk-legal a:hover {
  color: var(--brand-red);
}

.tgk-legal__section {
  padding: 44px 42px 64px;
}

.tgk-legal__layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.tgk-legal__toc {
  position: sticky;
  top: 110px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
}

.tgk-legal__toc h2 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.tgk-legal__toc a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid rgba(23, 33, 43, 0.08);
  color: var(--legal-text);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.tgk-legal__content {
  display: grid;
  gap: 24px;
}

.tgk-legal__panel {
  padding: 34px;
  background: rgba(255, 255, 255, 0.97);
}

.tgk-legal__panel h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  line-height: 1.15;
}

.tgk-legal__panel h3 {
  margin-bottom: 8px;
  color: var(--brand-slate);
  font-size: 1.08rem;
  line-height: 1.3;
}

.tgk-legal__panel p,
.tgk-legal__list li,
.tgk-legal__table th,
.tgk-legal__table td {
  color: var(--legal-text);
  font-size: 1rem;
  line-height: 1.78;
}

.tgk-legal__panel p {
  margin: 0 0 16px;
}

.tgk-legal__notice,
.tgk-legal__contact-block {
  margin: 18px 0 0;
  padding: 22px;
  border-left: 4px solid var(--legal-accent);
  border-radius: 8px;
  background: var(--legal-soft);
}

.tgk-legal__cards,
.tgk-legal__rights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.tgk-legal__cards article,
.tgk-legal__rights article {
  padding: 20px;
  background: #fff;
}

.tgk-legal__table-wrap {
  margin: 22px 0;
  overflow-x: auto;
}

.tgk-legal__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.tgk-legal__table th,
.tgk-legal__table td {
  padding: 16px;
  border: 1px solid rgba(23, 33, 43, 0.1);
  text-align: left;
  vertical-align: top;
}

.tgk-legal__table th {
  background: var(--legal-soft);
  color: var(--legal-ink);
  font-weight: 800;
}

.tgk-legal__list {
  margin: 0;
  padding-left: 1.2rem;
}

.tgk-legal__list li {
  margin-bottom: 0.7rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.gap-2 {
  gap: 0.5rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.w-full {
  width: 100%;
}

/* Buy Online */
.tgk-online-hero {
  position: relative;
  height: 190px;
  min-height: 190px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--brand-slate);
}

.tgk-online-hero-media,
.tgk-online-hero-media img,
.tgk-online-hero-overlay {
  position: absolute;
  inset: 0;
}

.tgk-online-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tgk-online-hero-overlay {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.08));
}

.tgk-online-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.tgk-online-hero h1 {
  color: var(--brand-white);
  font-size: 2.25rem;
  line-height: 1.05;
  max-width: 760px;
  margin-bottom: 0.45rem;
}

.tgk-online-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 680px;
  margin-bottom: 0;
}

.tgk-online-filter {
  background: var(--brand-cream);
  border-bottom: 1px solid var(--brand-grey);
}

.tgk-online-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.tgk-online-breadcrumb,
.tgk-online-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.tgk-online-breadcrumb a,
.tgk-online-nav a {
  color: var(--brand-slate);
  text-decoration: none;
  font-weight: 600;
}

.tgk-online-breadcrumb a:hover,
.tgk-online-nav a:hover {
  color: var(--brand-stone);
}

.tgk-online-breadcrumb span,
.tgk-online-nav span {
  color: var(--brand-slate-600);
}

.tgk-online-breadcrumb strong {
  color: var(--brand-stone);
  font-weight: 700;
}

.tgk-online-nav a {
  border: 1px solid var(--brand-grey);
  background: var(--brand-white);
  border-radius: 0.375rem;
  padding: 0.45rem 0.75rem;
}

.tgk-online-results {
  background: var(--brand-white);
  padding: 1.5rem 0 3rem;
}

.tgk-online-result-count {
  color: var(--brand-slate-600);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.tgk-online-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tgk-online-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.tgk-online-grid-5col {
  grid-template-columns: repeat(5, 1fr);
}

.tgk-online-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--brand-white);
  border: 1px solid var(--brand-grey);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.tgk-online-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.tgk-online-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-slate-100);
}

.tgk-online-card-compact .tgk-online-card-media {
  aspect-ratio: 1 / 1;
}

.tgk-online-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.tgk-online-card-door .tgk-online-card-media {
  aspect-ratio: 3 / 4;
  background: var(--brand-white);
}

.tgk-online-card-door .tgk-online-card-media img {
  object-fit: contain;
  padding: 0.75rem;
}

.tgk-online-card:hover .tgk-online-card-media img {
  transform: scale(1.03);
}

.tgk-online-swatch {
  display: block;
  width: 100%;
  height: 100%;
}

.tgk-online-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.tgk-online-card-title {
  color: var(--brand-slate);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  line-height: 1.2;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.tgk-online-card-title:hover {
  color: var(--brand-stone);
}

.tgk-online-card-body p {
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.tgk-online-card-actions {
  margin-top: auto;
}

.tgk-online-card-actions .btn-primary,
.tgk-online-card-actions .btn-outline {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
}

.tgk-online-empty,
.error-message,
.no-results {
  max-width: 760px;
  margin: 3rem auto;
  padding: 2rem;
  border: 1px solid var(--brand-grey);
  border-radius: 0.5rem;
  background: var(--brand-cream);
  color: var(--brand-slate-600);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .kitchen-grid {
    grid-template-columns: 1fr;
  }
  
  .usp-grid {
    grid-template-columns: 1fr;
  }

  .tgk-online-hero {
    height: 150px;
    min-height: 150px;
  }

  .tgk-online-hero h1 {
    font-size: 1.65rem;
  }

  .tgk-online-hero p {
    display: none;
  }

  .tgk-online-filter-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .tgk-online-grid,
  .tgk-online-grid-compact,
  .tgk-online-grid-5col {
    grid-template-columns: repeat(2, 1fr);
  }

  .tgk-page-hero .container > div[style*="grid-template-columns"],
  section .container > div[style*="grid-template-columns: 1fr 1fr"],
  section .container > div[style*="grid-template-columns: 0.8fr"],
  section .container > div[style*="grid-template-columns: 1.05fr"],
  section .container > div[style*="grid-template-columns: 0.95fr"],
  section .container > div[style*="grid-template-columns: 1.2fr"],
  section .container > div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  .tgk-quote-modal__grid {
    grid-template-columns: 1fr;
  }

  .tgk-legal {
    width: min(100% - 16px, 1240px);
  }

  .tgk-legal__hero,
  .tgk-legal__section {
    padding: 44px 18px;
  }

  .tgk-legal__hero-grid,
  .tgk-legal__layout,
  .tgk-legal__cards,
  .tgk-legal__rights {
    grid-template-columns: 1fr;
  }

  .tgk-legal__toc {
    position: static;
  }

  .modal {
    padding: 1.5rem;
    width: 96%;
  }
}
