:root {
  /* Colors — from Framer design */
  --color-primary: #3c252d;
  --color-primary-light: #C5AA8F;
  --color-surface: #fefefd;
  --color-surface-warm: #e8e8e1;
  --color-surface-alt: #f2f2ef;
  --color-text: #1a1c18;
  --color-text-dark: #1b1316;
  --color-text-secondary: #282828;
  --color-text-muted: rgba(26, 28, 24, 0.7);
  --color-accent-green: #3c4433;
  --color-footer-bg: #201519;
  --color-footer-card: #1e1317;
  --color-footer-text: #f3f2f2;
  --color-footer-text-muted: rgba(255, 255, 255, 0.6);
  --color-border: rgba(0, 0, 0, 0.1);
  --color-white: #fefefd;

  /* Typography — fluid scale with clamp() */
  --font-display: 'Sentient', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --font-accent: 'DM Sans', system-ui, sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  --text-2xl: clamp(1.5rem, 1rem + 2vw, 2rem);
  --text-3xl: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  --text-4xl: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);
  --text-hero: clamp(3rem, 2rem + 5vw, 7.5rem);

  /* Spacing — fluid */
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1rem + 2vw, 3rem);
  --space-xl: clamp(2rem, 1.5rem + 3vw, 5rem);
  --space-2xl: clamp(3rem, 2rem + 4vw, 8.75rem);

  /* Layout */
  --max-width: 90rem;
  --content-width: 75rem;
  --shop-width: 90rem;
  --gutter: clamp(1.25rem, 1rem + 2vw, 6.25rem);

  /* Borders & Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1.125rem;
  --radius-xl: 3rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
}

/* Base Styles */


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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-surface);
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--color-text-dark);
}

h1 {
  font-size: var(--text-hero);
  font-weight: 400;
  letter-spacing: -0.04em;
}

h2 {
  font-size: var(--text-4xl);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: var(--space-sm);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Container utility */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  max-width: var(--max-width);
}

.container--narrow {
  max-width: var(--content-width);
}

/* Section utility */
.section {
  padding-block: var(--space-xl);
}

/* Main content */
main {
  width: 100%;
  overflow-x: hidden;
}

/* Reduced motion (accessibility) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Components */

/* Header / Navigation */
.header {
  position: relative;
  width: 100%;
  z-index: 100;
  padding: clamp(0.75rem, 0.5rem + 1vw, 1.5rem) var(--gutter);
  background: var(--color-surface-alt);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--color-white);
  max-width: 90rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  padding: clamp(0.75rem, 0.5rem + 0.5vw, 1.375rem) clamp(1rem, 0.75rem + 1vw, 2rem);
  gap: var(--space-md);
}

.nav.is-menu-open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text);
  transition: opacity var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.nav__link:hover {
  opacity: 0.7;
}

.nav__logo {
  justify-self: center;
}

.nav__logo img {
  height: clamp(2rem, 1.5rem + 2vw, 4rem);
  width: auto;
}

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
}

.nav__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: var(--radius-full);
  transition: opacity var(--duration-fast) var(--ease-out);
}

.nav__action-btn:hover {
  opacity: 0.7;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
}

.nav__toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg) translate(0.35rem, 0.35rem);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg) translate(0.35rem, -0.35rem);
}

/* Mobile nav */
.nav__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: var(--space-md);
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: var(--shadow-lg);
}

.nav__mobile-menu.is-open {
  display: flex;
}

.nav__mobile-menu .nav__link {
  padding: var(--space-sm) 0;
  font-size: var(--text-base);
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 63.9375rem) {
  .nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav__links {
    display: none;
  }

  .nav__logo {
    order: 1;
  }

  .nav__actions {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .nav__toggle {
    display: flex;
    order: 3;
    margin-left: var(--space-sm);
  }
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
  padding: clamp(0.875rem, 0.75rem + 0.5vw, 1.25rem) clamp(1.5rem, 1.25rem + 1vw, 2.5rem);
  border-radius: var(--radius-md);
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  max-width: max-content;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--outline {
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-white);
}
/* Shop Layout */
.shop {
  padding-block: var(--space-xl) var(--space-2xl);
  background: var(--color-surface-alt);
}

.shop__container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  max-width: var(--shop-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shop__header {
  grid-column: 1 / -1;
  margin-bottom: var(--space-lg);
}

.shop__title {
  color: #1C1316;
  text-align: center;
  font-family: var(--font-display);
  font-size: 68px;
  font-style: italic;
  font-weight: 400;
  line-height: 44px;
  letter-spacing: -1.36px;
}

/* Breadcrumb */
.breadcrumb {
  padding: var(--space-md) var(--gutter);
  background: var(--color-surface-alt);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: var(--max-width);
  margin-inline: auto;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '>';
  color: var(--color-text-muted);
}

.breadcrumb__link {
  color: var(--color-text-muted);
  transition: opacity var(--duration-fast) var(--ease-out);
}

.breadcrumb__link:hover {
  opacity: 0.7;
}

.breadcrumb__current {
  color: var(--color-text);
  font-weight: 500;
}

/* Filters Sidebar */
.filters {
  position: sticky;
  top: var(--space-lg);
  align-self: start;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.filters__mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.filters__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-text);
  transition: opacity var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.filters__close:hover {
  opacity: 0.7;
  background: var(--color-border);
}

.filters__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.filters__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
  pointer-events: none;
}

.filters__overlay.is-active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.filters__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-dark);
}

.filters__clear {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: underline;
  cursor: pointer;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.filters__clear:hover {
  opacity: 0.7;
}

.filters__group {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.filters__group:last-child {
  border-bottom: none;
}

.filters__group-title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.filters__group-count {
  color: var(--color-text-muted);
  font-weight: 300;
}

.filters__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  cursor: pointer;
}

.filters__checkbox {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: all var(--duration-fast) var(--ease-out);
}

.filters__checkbox:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.filters__checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 0.875rem;
  line-height: 1;
}

.filters__label {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text);
  cursor: pointer;
}

/* Shop Content */
.shop__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.shop__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.shop__filters-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.shop__filters-toggle:hover {
  opacity: 0.9;
}

.shop__filters-toggle:active {
  transform: scale(0.98);
}

.shop__filters-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.shop__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shop__sort-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.shop__sort-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: var(--text-sm);
  color: var(--color-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231a1c18' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}

.shop__sort-select:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* Mobile & Tablet: drawer pentru filtre */
@media (max-width: 63.9375rem) {
  .shop__container {
    grid-template-columns: 1fr;
  }

  .shop__filters-toggle {
    display: flex;
  }

  .filters {
    position: fixed;
    top: 0;
    left: 0;
    width: min(90vw, 24rem);
    height: 100vh;
    max-height: 100dvh;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform var(--duration-base) var(--ease-out);
    overflow-y: auto;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
  }

  .filters.is-open {
    transform: translateX(0);
  }

  .filters__mobile-header {
    display: flex;
  }

  .filters__header {
    display: none;
  }

  .filters__overlay {
    display: block;
  }

  .filters__overlay.is-active {
    display: block;
  }
}

@media (max-width: 47.9375rem) {
  .shop__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

@media (max-width: 30rem) {
  .shop__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    max-width: none;
    margin-inline: 0;
  }
}
/* Deal / Product Cards */
.deal-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-surface-warm);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  height: 100%;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.deal-card--default {
  background: var(--color-surface);
  border-radius: 18px;
  border: 1px solid var(--color-surface-warm);
  transition: all var(--duration-base) var(--ease-out);
}

.deal-card.deal-card--default:hover {
  border-color: var(--color-surface-warm);
}

.deal-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-sm);
}

.deal-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background: var(--color-accent-green);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.deal-card__fav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
}

.deal-card__fav svg {
  width: 1.5rem;
  height: 1.5rem;
}

.deal-card__image {
  width: 100%;
  aspect-ratio: 292 / 270;
  object-fit: contain;
  margin-block: auto;
  padding: var(--space-sm);
}

.deal-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-sm);
  text-align: center;
}

.deal-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
}

.deal-card__price {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-text);
}

/* Related Products Section */
.related-products {
  padding-block: var(--space-xl) var(--space-2xl);
  background: var(--color-surface-alt);
}

.related-products__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-style: italic;
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-text-dark);
}

.related-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 47.9375rem) {
  .related-products__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 30rem) {
  .related-products__grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }
}
/* CTA Banner Section */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-2xl);
}

.cta-banner__inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(20rem, 15rem + 15vw, 35rem);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.cta-banner__bg picture,
.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl);
  max-width: 40rem;
}

.cta-banner__heading {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.cta-banner__body {
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
/* Footer */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: var(--space-2xl) var(--gutter) var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 340px 2fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 340px;
}

.footer__logo svg {
  width: clamp(8rem, 6rem + 5vw, 14rem);
  height: auto;
}

.footer__tagline {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-footer-text-muted);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: opacity var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  opacity: 0.7;
}

.footer__payments {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer__payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 2rem;
  background: var(--color-footer-card);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
}

.footer__payment-icon svg {
  width: 100%;
  height: auto;
}

/* Footer columns */
.footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: var(--space-lg);
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__column-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-footer-text-muted);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.footer__column-content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer__link {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-footer-text);
  transition: opacity var(--duration-fast) var(--ease-out);
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 80%;
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__text {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-footer-text);
  line-height: 1.6;
}

.footer__text--muted {
  color: var(--color-footer-text-muted);
}

/* Footer reviews */
.footer__reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: #4a383b;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
}

.footer__reviews-text {
  font-size: var(--text-xs);
  font-weight: 300;
  color: #cccccc;
  line-height: 1.5;
}

.footer__reviews-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__reviews-brand svg {
  height: 1.5rem;
  width: auto;
}

/* Footer bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-footer-text-muted);
}

@media (max-width: 63.9375rem) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 47.9375rem) {
  .footer__columns {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ── Search Input ─────────────────────────── */
.filters__search {
  position: relative;
  margin-top: 0.25rem;
}

.filters__search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  pointer-events: none;
}

.filters__search-input {
  width: 100%;
  padding: 0.625rem 0.75rem 0.625rem 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--duration-fast);
}

.filters__search-input:focus {
  outline: none;
  border-color: var(--color-primary-light);
}

.filters__search-input::placeholder {
  color: var(--color-text-muted);
}

.filters__option-count {
  color: var(--color-text-muted);
  font-size: 0.8em;
}

/* ── Results Count ────────────────────────── */
.shop__results-count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 300;
  white-space: nowrap;
}

/* ── Active Filter Tags ───────────────────── */
.shop__active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.shop__active-filters[hidden] {
  display: none;
}

.active-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.active-tag:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-alt);
}

.active-tag svg {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.5;
}

.active-tag--clear {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.active-tag--clear:hover {
  opacity: 0.85;
  background: var(--color-primary);
}

/* ── Deal Card Link ───────────────────────── */
.deal-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* ── Deal Card Category ───────────────────── */
.deal-card__category {
  font-size: var(--text-xs);
  color: var(--color-primary-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Deal Card Pricing ────────────────────── */
.deal-card__pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.deal-card__compare {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

/* ── Skeleton Loading ─────────────────────── */
.deal-card--skeleton {
  pointer-events: none;
  padding: var(--space-md);
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 292 / 270;
  background: linear-gradient(90deg, var(--color-surface-warm) 25%, var(--color-surface-alt) 50%, var(--color-surface-warm) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.skeleton-text {
  height: 1rem;
  width: 80%;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, var(--color-surface-warm) 25%, var(--color-surface-alt) 50%, var(--color-surface-warm) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text--short {
  width: 40%;
  height: 0.875rem;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Empty State ──────────────────────────── */
.shop__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.shop__empty-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  font-style: italic;
}

.shop__empty-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 28rem;
}

/* ── Pagination ───────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: var(--space-xl) 0 var(--space-md);
}

.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  transition: all var(--duration-fast);
  cursor: pointer;
}

.pagination__btn:hover:not(:disabled) {
  border-color: var(--color-primary);
  background: var(--color-surface-alt);
}

.pagination__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination__pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.pagination__num:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-border);
}

.pagination__num.is-active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.pagination__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2.5rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ── Mobile Apply Button ──────────────────── */
.filters__apply {
  display: none;
  width: 100%;
  margin-top: var(--space-md);
}

@media (max-width: 63.9375rem) {
  .filters__apply {
    display: flex;
  }
}

/* ── Responsive tweaks ────────────────────── */
@media (max-width: 35rem) {
  .shop__toolbar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .shop__results-count {
    order: 3;
    width: 100%;
    text-align: center;
  }
  .pagination__num,
  .pagination__btn {
    width: 2.125rem;
    height: 2.125rem;
    font-size: var(--text-xs);
  }
}

/* Fix: ensure hidden attribute works even with display:flex */
.shop__empty[hidden] {
  display: none;
}

/* ── Add to Cart button on cards ── */
.deal-card__add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: calc(100% - var(--space-sm) * 2);
  margin: 0 var(--space-sm) var(--space-sm);
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.deal-card__add-to-cart:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.deal-card__add-to-cart:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.deal-card__add-to-cart svg {
  flex-shrink: 0;
}

@media (max-width: 373px) {
  .shop__sort-label { display: none; }
}
