/* style.css — City of Rugs Component Styles */

/* =============================================
   SKIP LINK
   ============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 100;
  font-size: var(--text-sm);
}
.skip-link:focus {
  top: var(--space-2);
}

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-divider);
}
.header--hidden {
  transform: translateY(-100%);
}
.header__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}
.header__logo svg {
  width: 44px;
  height: 44px;
}
.header__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.header__logo-text span {
  display: block;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Desktop Nav */
.nav {
  display: none;
  align-items: center;
  gap: var(--space-1);
}
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive);
}
.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
  background: var(--color-surface-offset);
}
.nav__link--active {
  color: var(--color-primary);
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.header__cta {
  display: none;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-interactive),
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.header__cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.header__cta:active {
  transform: translateY(0);
}
@media (min-width: 1024px) {
  .header__cta {
    display: inline-flex;
  }
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  border-radius: var(--radius-md);
}
@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--color-bg);
  padding: var(--space-16) var(--space-6) var(--space-6);
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
}
.mobile-nav--open {
  display: flex;
}
.mobile-nav__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.mobile-nav__link {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
  display: block;
}
.mobile-nav__link:last-child {
  border-bottom: none;
}
.mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-size: var(--text-base);
}
.mobile-nav__contact {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.mobile-nav__contact a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
  white-space: nowrap;
}
.btn:active {
  transform: translateY(0) !important;
  box-shadow: var(--shadow-sm) !important;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--secondary:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface-offset);
  transform: translateY(-1px);
}
.btn--gold {
  background: var(--color-gold);
  color: #fff;
}
.btn--gold:hover {
  background: var(--color-gold-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}
.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* =============================================
   LAYOUT CONTAINERS
   ============================================= */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.section--alt {
  background: var(--color-surface-offset);
}
.section__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}
.section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
}
.section__header {
  margin-bottom: var(--space-10);
}
.section__header--center {
  text-align: center;
  margin-inline: auto;
}
.section__header--center .section__subtitle {
  margin-inline: auto;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    oklch(0.15 0.02 30 / 0.85) 0%,
    oklch(0.15 0.02 30 / 0.5) 50%,
    oklch(0.15 0.02 30 / 0.3) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-24) var(--space-4) var(--space-16);
  color: #FAF7F0;
}
@media (min-width: 768px) {
  .hero__content {
    padding: var(--space-32) var(--space-8) var(--space-20);
    max-width: 720px;
    margin-inline: var(--space-8);
  }
}
@media (min-width: 1024px) {
  .hero__content {
    margin-inline: auto;
    padding-inline: var(--space-12);
    max-width: var(--content-wide);
  }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-4);
  border: 1px solid oklch(from #C4993C l c h / 0.4);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  background: oklch(0.2 0.02 50 / 0.3);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: #FAF7F0;
}
.hero__subtitle {
  font-size: var(--text-base);
  line-height: 1.7;
  color: oklch(0.85 0 0);
  max-width: 48ch;
  margin-bottom: var(--space-8);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero__actions .btn--primary {
  background: var(--color-primary);
}
.hero__actions .btn--secondary {
  color: #FAF7F0;
  border-color: oklch(1 0 0 / 0.3);
}
.hero__actions .btn--secondary:hover {
  background: oklch(1 0 0 / 0.1);
  border-color: oklch(1 0 0 / 0.5);
}

/* =============================================
   SERVICE CARDS (4-column grid)
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.services-grid .service-card:first-child {
  grid-row: span 2;
  min-height: 320px;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card:first-child {
    grid-row: span 1;
    min-height: auto;
  }
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: left;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive),
    border-color var(--transition-interactive);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: var(--radius-lg);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =============================================
   STATS / WHY US
   ============================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-8);
}
.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}
.stat-card__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.stat-card__title {
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.stat-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 36ch;
  margin-inline: auto;
}

/* =============================================
   COLLECTION CARDS
   ============================================= */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .collections-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.collection-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: var(--color-surface-offset);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.collection-card__pattern {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.collection-card__pattern svg {
  width: 100%;
  height: 100%;
  opacity: 0.12;
}
.collection-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.15 0.02 30 / 0.7) 0%,
    oklch(0.15 0.02 30 / 0.1) 50%,
    transparent 100%
  );
}
.collection-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5);
  z-index: 2;
  color: #FAF7F0;
}
.collection-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.collection-card__count {
  font-size: var(--text-xs);
  color: oklch(0.8 0 0);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  gap: var(--space-6);
  transition: transform 0.5s var(--ease-out);
}
.testimonial-card {
  flex: 0 0 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  min-width: 0;
}
@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - var(--space-3));
  }
}
@media (min-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - var(--space-4));
  }
}
.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--color-gold);
}
.testimonial-card__text {
  font-size: var(--text-base);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-primary);
}
.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
}
.testimonial-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-interactive);
  padding: 0;
}
.testimonials-dot--active {
  background: var(--color-primary);
  width: 24px;
}

/* =============================================
   BLOG PREVIEW CARDS
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive),
    border-color var(--transition-interactive);
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}
.blog-card__image {
  height: 200px;
  background: var(--color-surface-offset);
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}
.blog-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.blog-card__readmore {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* =============================================
   FOOTER / CONTACT CTA
   ============================================= */
.footer-cta {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
}
.footer-cta__grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 768px) {
  .footer-cta__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .footer-cta__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
.footer-cta__info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.footer-cta__info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.footer-cta__phone {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.footer-cta__phone a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-lg);
  font-weight: 600;
}
.footer-cta__phone a:hover {
  color: var(--color-primary);
}
.footer-cta__phone span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
}
.footer-hours h4 {
  font-weight: 600;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}
.footer-hours dl {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-hours dl div {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-divider);
}
.footer-hours dt {
  font-weight: 500;
  color: var(--color-text);
}
.footer-map {
  background: var(--color-surface-dynamic);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--color-divider);
}
.footer-map__icon {
  color: var(--color-primary);
}
.footer-map__address {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.footer-map__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.footer-map__link:hover {
  text-decoration: underline;
}

/* Site Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-8) 0 var(--space-6);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.site-footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.site-footer__social {
  display: flex;
  gap: var(--space-3);
}
.site-footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive);
}
.site-footer__social a:hover {
  color: var(--color-primary);
  background: var(--color-surface-offset);
}

/* =============================================
   PAGE VIEWS (hash routing)
   ============================================= */
.page {
  display: none;
}
.page--active {
  display: block;
}

/* =============================================
   GALLERY VIEW
   ============================================= */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.filter-btn {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: var(--color-surface);
  cursor: pointer;
  transition:
    all var(--transition-interactive);
}
.filter-btn:hover,
.filter-btn--active {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}
.gallery-notice {
  text-align: center;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
}
.gallery-notice p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-inline: auto;
}
.gallery-notice strong {
  color: var(--color-text);
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: var(--space-6);
}
.category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.category-card__visual {
  height: 200px;
  background: var(--color-surface-offset);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card__visual svg {
  width: 120px;
  height: 120px;
  opacity: 0.15;
  color: var(--color-primary);
}
.category-card__body {
  padding: var(--space-6);
}
.category-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.category-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}
.category-card__actions {
  display: flex;
  gap: var(--space-3);
}

/* Mobile Filter Toggle Button */
.filter-toggle {
  display: none; /* hidden on desktop */
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  margin-bottom: var(--space-4);
  transition: all var(--transition-interactive);
}
.filter-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.filter-toggle__chevron {
  transition: transform 0.2s ease;
}
.filter-toggle[aria-expanded="true"] .filter-toggle__chevron {
  transform: rotate(180deg);
}

/* Filter Panel — always visible on desktop */
.filter-panel {
  /* default: visible */
}

/* Filter Sidebar (visual-only) */
.filter-sidebar {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .filter-toggle {
    display: flex;
  }
  .filter-panel {
    display: none;
  }
  .filter-panel--open {
    display: block;
  }
  .gallery-notice {
    padding: var(--space-3);
    margin-bottom: var(--space-4);
  }
  .gallery-notice p {
    font-size: var(--text-xs);
  }
  .filter-sidebar {
    margin-bottom: var(--space-4);
  }
}
.filter-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.filter-group select {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-sm);
  min-width: 160px;
}
.color-swatches {
  display: flex;
  gap: var(--space-2);
}
.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-interactive);
}
.color-swatch:hover,
.color-swatch--active {
  border-color: var(--color-text);
  transform: scale(1.1);
}

/* =============================================
   SERVICES VIEW
   ============================================= */
.service-detail {
  padding-block: var(--space-16);
  border-bottom: 1px solid var(--color-divider);
}
.service-detail:last-child {
  border-bottom: none;
}
.service-detail__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .service-detail__grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail__grid--reverse {
    direction: rtl;
  }
  .service-detail__grid--reverse > * {
    direction: ltr;
  }
}
.service-detail__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.service-detail__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.service-detail__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface-offset);
}
.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}
.process-step {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
}
.process-step__number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xs);
  margin: 0 auto var(--space-3);
}
.process-step__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
}

/* Service Features List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}
.feature-list li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
}

/* Service Highlights */
.service-highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-gold-highlight);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  margin: var(--space-1) var(--space-2) var(--space-1) 0;
}

/* =============================================
   ABOUT VIEW
   ============================================= */
.about-hero {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .about-hero {
    grid-template-columns: 1.2fr 1fr;
  }
}
.about-hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-hero__content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.about-hero__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.about-value {
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-divider);
}
.about-value__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-gold-highlight);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.about-value h4 {
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.about-value p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Origin Countries */
.origins-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}
.origin-tag {
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text);
}

/* =============================================
   BLOG VIEW (full articles)
   ============================================= */
.blog-article {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  overflow: hidden;
}
.blog-article__header {
  padding: var(--space-8);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  transition: background var(--transition-interactive);
}
.blog-article__header:hover {
  background: var(--color-surface-offset);
}
.blog-article__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}
.blog-article__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.blog-article__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.blog-article__toggle {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s var(--ease-out);
}
.blog-article--open .blog-article__toggle {
  transform: rotate(180deg);
}
.blog-article__body {
  display: none;
  padding: 0 var(--space-8) var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.blog-article--open .blog-article__body {
  display: block;
}
.blog-article__content {
  max-width: 65ch;
}
.blog-article__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin: var(--space-6) 0 var(--space-3);
}
.blog-article__content h3:first-child {
  margin-top: var(--space-4);
}
.blog-article__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.blog-article__content ul,
.blog-article__content ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}
.blog-article__content li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}
.blog-article__content strong {
  color: var(--color-text);
  font-weight: 600;
}

/* =============================================
   CONTACT VIEW
   ============================================= */
.contact-grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.form-group {
  margin-bottom: var(--space-5);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group .error-msg {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
  display: none;
}
.form-group--error input,
.form-group--error select,
.form-group--error textarea {
  border-color: var(--color-error);
}
.form-group--error .error-msg {
  display: block;
}
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8);
}
.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-success-highlight);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.form-success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Contact Info Panel */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.contact-info__card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.contact-info__card h4 {
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.contact-phone {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-phone a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
}
.contact-phone a:hover {
  color: var(--color-primary);
}
.contact-phone__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
}
.contact-directions {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.contact-directions strong {
  color: var(--color-text);
}
.contact-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.contact-social a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition-interactive);
}
.contact-social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* =============================================
   DECORATIVE PATTERNS
   ============================================= */
.pattern-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-primary));
  margin: var(--space-4) 0;
  border-radius: 1px;
}
.pattern-divider--center {
  margin-inline: auto;
}

/* Gold accent bar */
.gold-accent {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-bottom: var(--space-4);
}

/* =============================================
   RESPONSIVE UTILITIES
   ============================================= */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* =============================================
   SCROLL-TRIGGERED ENTRANCE ANIMATIONS
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.animate-delay-1 { transition-delay: 100ms; }
.animate-on-scroll.animate-delay-2 { transition-delay: 200ms; }
.animate-on-scroll.animate-delay-3 { transition-delay: 300ms; }
.animate-on-scroll.animate-delay-4 { transition-delay: 400ms; }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }

/* Hero parallax */
.hero__bg img {
  transition: transform 0.1s linear;
}

/* Card hover lift */
.service-card,
.collection-card,
.blog-card,
.testimonial-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover,
.blog-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.collection-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* =============================================
   PRODUCT GRID — Dynamic Gallery
   ============================================= */

/* Grid container */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: #211810;
  border: 1px solid rgba(196, 153, 60, 0.15);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(196, 153, 60, 0.35);
  border-color: rgba(196, 153, 60, 0.4);
}

.product-card:focus-visible {
  outline: 2px solid #C4993C;
  outline-offset: 3px;
}

/* Card image */
.product-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1410;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__image {
  transform: scale(1.04);
}

.product-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1410;
}

.product-card__image-placeholder svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card body */
.product-card__body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card__name {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #FAF7F0;
  line-height: 1.3;
  margin: 0;
  /* clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(250, 247, 240, 0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.product-card__sep {
  color: rgba(196, 153, 60, 0.4);
}

.product-card__price {
  margin: 0;
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #C4993C;
  letter-spacing: 0.02em;
}

.product-card__price--inquiry {
  color: rgba(196, 153, 60, 0.6);
  font-style: italic;
  font-size: 0.85rem;
}

/* Grid footer (load more + count) */
.product-grid__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-bottom: 1rem;
}

.product-grid__load-more {
  min-width: 200px;
}

.product-grid__count {
  font-size: 0.82rem;
  color: rgba(250, 247, 240, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

/* Empty / error state */
.product-grid__empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem 1rem;
  text-align: center;
  color: rgba(250, 247, 240, 0.6);
}

.product-grid__empty h3 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #FAF7F0;
  margin: 0;
}

.product-grid__empty p {
  font-size: 0.95rem;
  margin: 0;
}

.product-grid__empty a {
  color: #C4993C;
  text-decoration: underline;
}

/* ── Skeleton loaders ────────────────────────────────────────────────────── */

@keyframes skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton-box,
.skeleton-line {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 800px 100%;
  animation: skeleton-shimmer 1.5s infinite linear;
  border-radius: 3px;
}

.product-card--skeleton {
  pointer-events: none;
}

.product-card--skeleton .skeleton-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.skeleton-line {
  height: 14px;
  margin-bottom: 6px;
}

.skeleton-line--title {
  width: 85%;
  height: 18px;
}

.skeleton-line--meta {
  width: 60%;
  height: 12px;
}

.skeleton-line--price {
  width: 40%;
  height: 16px;
  margin-top: 8px;
}

/* ── Color swatch active state ───────────────────────────────────────────── */
.color-swatch--active {
  outline: 2px solid #C4993C;
  outline-offset: 2px;
  transform: scale(1.12);
}
