/* ==========================================================================
   XIANEL ART & CERAMICS - DESIGN SYSTEM & MASTER STYLESHEET
   Aesthetics: Warm neutrals (linen, terracotta, clay, raw earth), 
   refined editorial serif + clean sans-serif typography, gentle micro-interactions,
   art gallery ambiance, deep tactile luxury feel.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Color Palette */
  --bg-main: #fbf8f5;           /* Warm linen background */
  --bg-surface: #ffffff;        /* Pure card white */
  --bg-secondary: #f4eee7;      /* Warm clay-tinted soft neutral */
  --bg-tertiary: #ede4d9;       /* Light stone background */
  --bg-dark: #1f1b18;           /* Deep espresso / fired glaze dark */
  --bg-dark-surface: #2b2622;

  --color-primary: #a35638;      /* Warm Terracotta */
  --color-primary-hover: #8b4429;
  --color-primary-light: #f5ebe6;
  --color-primary-rgb: 163, 86, 56;

  --color-accent: #2e605d;       /* Glazed celadon / petrol blue-green */
  --color-accent-hover: #214744;
  --color-accent-light: #e6f0ee;

  --color-sand: #d4a373;        /* Warm sand / gold ochre */
  --color-sand-light: #faf0e6;

  --text-main: #2a2522;         /* Deep rich charcoal-brown */
  --text-muted: #6e645e;        /* Subtle warm gray */
  --text-subtle: #9c928a;       /* Tertiary muted */
  --text-inverse: #fbf8f5;

  --border-light: rgba(163, 86, 56, 0.12);
  --border-subtle: rgba(42, 37, 34, 0.08);
  --border-strong: rgba(42, 37, 34, 0.2);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(42, 37, 34, 0.04);
  --shadow-md: 0 8px 24px rgba(42, 37, 34, 0.07);
  --shadow-lg: 0 16px 40px rgba(42, 37, 34, 0.11);
  --shadow-hover: 0 20px 48px rgba(163, 86, 56, 0.15);

  /* Layout & Transitions */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1280px;
  --header-height: 80px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: radial-gradient(rgba(163, 86, 56, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: var(--color-primary-light);
  color: var(--color-primary-hover);
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.heading-display {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.site-main {
  flex: 1 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(251, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(251, 248, 245, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-main);
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.cart-icon-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px;
  z-index: 110;
}

.burger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.burger-btn.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-main);
  box-shadow: var(--shadow-lg);
  z-index: 105;
  padding: 6rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-nav-meta {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 102;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(46, 96, 93, 0.2);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.02rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  transition: gap var(--transition-fast);
}

.arrow-link svg {
  transition: transform var(--transition-fast);
}

.arrow-link:hover {
  color: var(--color-primary-hover);
}

.arrow-link:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   Hero Slider (Swiper-like Vanilla JS Slider)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  height: clamp(520px, 85vh, 760px);
  overflow: hidden;
  background-color: var(--bg-dark);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.72) saturate(1.05);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 27, 24, 0.3) 0%, rgba(31, 27, 24, 0.65) 70%, rgba(31, 27, 24, 0.9) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  color: #fff;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-sand);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 820px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.6;
}

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

/* Slider Controls */
.slider-nav {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.08);
}

.slider-dots {
  position: absolute;
  bottom: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all var(--transition-fast);
  border: none;
  padding: 0;
}

.slider-dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--color-primary);
}

/* ==========================================================================
   Two-Direction Showcase (Ceramics vs Painting)
   ========================================================================== */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.direction-card {
  position: relative;
  height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-end;
  color: #fff;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.direction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.direction-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.direction-card:hover .direction-card-img {
  transform: scale(1.06);
}

.direction-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(20,18,16,0.5) 40%, rgba(20,18,16,0.92) 100%);
}

.direction-card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  width: 100%;
}

.direction-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}

.direction-title {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.direction-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   Gallery Grid & Art Cards
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.art-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.art-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.art-card-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-secondary);
}

.art-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-card:hover .art-card-thumb {
  transform: scale(1.05);
}

.art-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(251, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid var(--border-light);
}

.art-card-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.art-card-status.for-sale {
  background: rgba(46, 96, 93, 0.9);
  color: #fff;
}

.art-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.art-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.art-card:hover .art-card-title {
  color: var(--color-primary);
}

.art-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.art-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.art-card-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(163, 86, 56, 0.25);
}

/* ==========================================================================
   Product Cards & Shop
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-thumb-wrap {
  aspect-ratio: 1;
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.product-card:hover .product-thumb {
  transform: scale(1.05);
}

.product-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   Blog Posts Grid & Article
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.25rem;
}

.post-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.post-thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.post-card:hover .post-thumb {
  transform: scale(1.05);
}

.post-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.post-title {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.post-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--color-primary);
  background: var(--bg-secondary);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-main);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2.5rem;
}

.tag-badge {
  padding: 5px 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Albums Grid
   ========================================================================== */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.album-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.album-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.album-cover-wrap {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-secondary);
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.album-card:hover .album-cover {
  transform: scale(1.05);
}

.album-body {
  padding: 1.75rem;
}

/* ==========================================================================
   Modals & Lightbox
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-main);
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(90deg);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.modal-image-col {
  background: #191614;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.modal-image-col img {
  max-height: 70vh;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-radius: var(--radius-sm);
}

.modal-info-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Lightbox Nav */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 5;
}

.lightbox-nav-btn:hover {
  background: var(--color-primary);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ==========================================================================
   Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  z-index: 260;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-items-wrap {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-secondary);
}

.cart-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.cart-item-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.qty-val {
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-footer {
  padding: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-main);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.cart-total-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(163, 86, 56, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.honeypot {
  display: none !important;
  visibility: hidden !important;
}

/* Flash alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}

.alert-success {
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.alert-danger {
  background-color: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

/* ==========================================================================
   Breadcrumbs & Pagination
   ========================================================================== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 2rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs-sep {
  opacity: 0.5;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 3.5rem;
}

.page-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.page-btn:hover,
.page-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 5rem 0 2.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 1.6rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1rem;
  max-width: 340px;
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-sand);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .modal-content-grid {
    grid-template-columns: 1fr;
  }
  .modal-image-col {
    padding: 1.5rem;
  }
}

@media (max-width: 840px) {
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .directions-grid {
    grid-template-columns: 1fr;
  }
  .direction-card {
    height: 380px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }
  .hero-slider-section {
    height: 600px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .slider-nav {
    display: none;
  }
  .spec-list {
    grid-template-columns: 1fr;
  }
}
