/* ============================================================
   Secret Ali Finds — Mobile-first RTL Elegant Stylesheet
   ============================================================ */

:root {
  --bg: #f8f5f1;
  --text: #5f514a;
  --text-sec: #9a887c;
  --btn: #c8a15a;
  --btn-text: #ffffff;
  --card: #e7dbd2;
  --accent: #d2ad9a;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(95, 81, 74, 0.1);
  --shadow-lg: 0 8px 28px rgba(95, 81, 74, 0.16);
  --trans: 0.22s ease;
  --gold: #c8a15a;
  --gold-light: #e8c97a;
}

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

html {
  direction: rtl;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Heebo", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ── Typography ─────────────────────────────────────────── */

h1,
h2,
h3 {
  font-family: "Frank Ruhl Libre", serif;
  font-weight: 700;
  line-height: 1.3;
}

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--accent);
  padding: 0.75rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1rem;
  box-shadow: 0 1px 8px rgba(95, 81, 74, 0.07);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.header-logo img {
  height: 78px;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(95, 81, 74, 0.18));
}

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

.header-logo-text .brand-name {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.01em;
}

.header-logo-text .brand-sub {
  font-size: 0.68rem;
  color: var(--text-sec);
  letter-spacing: 0.04em;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: var(--text-sec);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition:
    color var(--trans),
    background var(--trans);
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.back-btn:hover {
  color: var(--text);
  background: rgba(200, 161, 90, 0.12);
}

/* right-side group: back btn + menu btn */
.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ── Hamburger menu button ──────────────────────────────── */

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background var(--trans);
  flex-shrink: 0;
}

.menu-btn:hover {
  background: var(--card);
}

.menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition:
    transform var(--trans),
    opacity var(--trans),
    width var(--trans);
}

.menu-btn span:nth-child(3) {
  width: 60%;
  margin-inline-start: auto;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.open span:nth-child(3) {
  width: 100%;
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Menu overlay ───────────────────────────────────────── */

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(50, 34, 26, 0.45);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  transition: opacity var(--trans);
}

.menu-overlay.visible {
  display: block;
  opacity: 1;
}

/* ── Menu drawer ────────────────────────────────────────── */

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--bg);
  z-index: 300;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 32px rgba(50, 34, 26, 0.22);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.menu-drawer.open {
  transform: translateX(0);
}

.menu-drawer-header {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  padding-bottom: 0;
  flex-direction: row-reverse;
  flex-shrink: 0;
}

.menu-drawer-title {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text);
}

.menu-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-sec);
  transition:
    background var(--trans),
    color var(--trans);
}

.menu-close-btn:hover {
  background: var(--accent);
  color: var(--text);
}

/* ── Menu navigation ────────────────────────────────────── */

.menu-nav {
  overflow-y: auto;
  flex: 1;
  padding: 0.75rem 0 2rem;
}

.menu-home-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background var(--trans);
  border-bottom: 1px solid var(--card);
  margin-bottom: 0.25rem;
  font-family: "Frank Ruhl Libre", serif;
}

.menu-home-link:hover {
  background: var(--card);
}

.menu-cat-group {
  margin-bottom: 0.25rem;
}

.menu-cat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: "Frank Ruhl Libre", serif;
  color: var(--text);
  cursor: pointer;
  transition: background var(--trans);
}

.menu-cat-label:hover {
  background: var(--card);
}

.menu-cat-label .menu-cat-icon {
  font-size: 1rem;
}

.menu-cat-chevron {
  color: var(--text-sec);
  transition: transform var(--trans);
  flex-shrink: 0;
}

.menu-cat-group.expanded .menu-cat-chevron {
  transform: rotate(90deg);
}

.menu-subcats {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-right: 0.5rem;
}

.menu-cat-group.expanded .menu-subcats {
  display: flex;
}

.menu-subcat-item {
  padding: 0.6rem 1.2rem;
  font-size: 0.84rem;
  color: var(--text-sec);
  cursor: pointer;
  transition:
    color var(--trans),
    background var(--trans);
  border-bottom: 1px solid rgba(210, 173, 154, 0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-subcat-item:last-child {
  border-bottom: none;
}

.menu-subcat-item::after {
  content: "›";
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  margin-inline-start: auto;
}

.menu-subcat-item:hover {
  color: var(--text);
  background: rgba(200, 161, 90, 0.1);
}

/* ── Breadcrumb ─────────────────────────────────────────── */

.breadcrumb {
  display: none;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-sec);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--accent);
  background: var(--bg);
}

.breadcrumb.visible {
  display: flex;
}

#breadcrumb-crumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

#breadcrumb-crumbs span {
  cursor: pointer;
  transition: color var(--trans);
}
#breadcrumb-crumbs span:hover {
  color: var(--btn);
}
.breadcrumb .sep {
  color: var(--accent);
  user-select: none;
}
.breadcrumb .current {
  color: var(--text);
  font-weight: 600;
  cursor: default;
}
.breadcrumb .current:hover {
  color: var(--text);
}

/* ── Main container ─────────────────────────────────────── */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 5rem;
}

/* ── Page titles ────────────────────────────────────────── */

.page-title {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.page-subtitle {
  font-size: 0.88rem;
  color: var(--text-sec);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--accent);
}

.page-description {
  font-size: 0.84rem;
  color: var(--text-sec);
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* ── Hero (home) ────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 2.5rem 1rem 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero h1,
.hero h2 {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.6rem;
}

/* Gold ornamental divider */
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.75rem auto 1rem;
  max-width: 260px;
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--side, right), transparent, var(--gold));
}

.hero-divider::before {
  --side: right;
}
.hero-divider::after {
  --side: left;
}

.hero-divider-icon {
  font-size: 1rem;
  color: var(--gold);
  line-height: 1;
}

.hero p {
  font-size: 0.95rem;
  color: var(--text-sec);
  max-width: 420px;
  margin: 0 auto;
}

/* ── Section label ──────────────────────────────────────── */

/* ── Suppliers button ───────────────────────────────────── */

.suppliers-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  background: var(--card);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition:
    background var(--trans),
    border-color var(--trans),
    box-shadow var(--trans),
    transform var(--trans);
  position: relative;
  overflow: hidden;
}

.suppliers-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(200, 161, 90, 0.07) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.suppliers-btn:hover {
  background: #ecdfd6;
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.suppliers-btn-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.suppliers-btn-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.suppliers-btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.suppliers-btn-title {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.suppliers-btn-sub {
  font-size: 0.75rem;
  color: var(--text-sec);
}

.suppliers-btn-arrow {
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Suppliers page ─────────────────────────────────────── */

.suppliers-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 4rem 1rem;
  color: var(--text-sec);
  text-align: center;
}

.suppliers-empty-icon {
  font-size: 3rem;
  opacity: 0.6;
}

.suppliers-empty p {
  font-size: 1rem;
  font-family: "Frank Ruhl Libre", serif;
}

.supplier-card {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--card);
  overflow: hidden;
  transition:
    border-color var(--trans),
    box-shadow var(--trans);
}

.supplier-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.supplier-video-wrap {
  position: relative;
}

.supplier-video {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  background: #111;
}

.video-mute-btn {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.52);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--trans);
  backdrop-filter: blur(4px);
}

.video-mute-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.icon-unmuted {
  display: none;
}

.supplier-info {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.supplier-name {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.supplier-desc {
  font-size: 0.84rem;
  color: var(--text-sec);
  line-height: 1.5;
}

.supplier-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.supplier-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity var(--trans),
    box-shadow var(--trans);
  white-space: nowrap;
}

.supplier-action.phone {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 2px 8px rgba(200, 161, 90, 0.3);
}

.supplier-action.instagram {
  background: linear-gradient(
    135deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: #fff;
  box-shadow: 0 2px 8px rgba(220, 39, 67, 0.25);
}

.supplier-action:hover {
  opacity: 0.88;
}

.supplier-action.coupon {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #25d366, #128c4e);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  font-size: 0.88rem;
  padding: 0.6rem 1rem;
  margin-top: 0.25rem;
  border-radius: 10px;
}

/* ── Section label ──────────────────────────────────────── */

.section-label {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.4rem;
}

/* ── Category / Subcategory grid ────────────────────────── */

.grid-categories,
.grid-subcategories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 540px) {
  .grid-categories,
  .grid-subcategories {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-categories {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-subcategories {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Category card ──────────────────────────────────────── */

.cat-card {
  background: var(--card);
  border-radius: var(--radius);
  height: 180px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    transform var(--trans),
    box-shadow var(--trans);
  border: 1.5px solid transparent;
  user-select: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 540px) {
  .cat-card {
    height: 200px;
  }
}

/* full-bleed background image */
.cat-card .cat-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cat-card:hover .cat-bg-img,
.cat-card:active .cat-bg-img {
  transform: scale(1.06);
}

/* gradient overlay — dark at bottom for text legibility */
.cat-card .cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(50, 34, 26, 0.72) 0%,
    rgba(50, 34, 26, 0.18) 55%,
    transparent 100%
  );
  transition: opacity var(--trans);
}

.cat-card:hover .cat-overlay,
.cat-card:active .cat-overlay {
  opacity: 0.85;
}

/* gold top-edge shimmer */
.cat-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--trans);
  z-index: 3;
}

.cat-card:hover::before {
  opacity: 1;
}

/* text block at the bottom */
.cat-card-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0.85rem 0.9rem 0.75rem;
  text-align: center;
}

.cat-card .cat-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.cat-card .cat-name {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.cat-card .cat-count {
  display: inline-block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(200, 161, 90, 0.45);
  border: 1px solid rgba(200, 161, 90, 0.6);
  border-radius: 20px;
  padding: 0.12rem 0.55rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.cat-card:hover,
.cat-card:active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

/* ── Subcategory card ───────────────────────────────────── */

.subcat-card {
  background: var(--card);
  border-radius: var(--radius);
  height: 150px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    transform var(--trans),
    box-shadow var(--trans);
  border: 1.5px solid transparent;
  user-select: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 540px) {
  .subcat-card {
    height: 170px;
  }
}

.subcat-card .subcat-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.subcat-card:hover .subcat-bg-img,
.subcat-card:active .subcat-bg-img {
  transform: scale(1.06);
}

.subcat-card .subcat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(50, 34, 26, 0.75) 0%,
    rgba(50, 34, 26, 0.2) 55%,
    transparent 100%
  );
  transition: opacity var(--trans);
}

.subcat-card:hover .subcat-overlay,
.subcat-card:active .subcat-overlay {
  opacity: 0.88;
}

.subcat-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--trans);
  z-index: 3;
}

.subcat-card:hover::before {
  opacity: 1;
}

.subcat-card-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0.7rem 0.8rem 0.65rem;
  text-align: center;
}

.subcat-card .subcat-name {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.28rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  line-height: 1.3;
}

.subcat-card .subcat-count {
  display: inline-block;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(200, 161, 90, 0.45);
  border: 1px solid rgba(200, 161, 90, 0.6);
  border-radius: 20px;
  padding: 0.1rem 0.5rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.subcat-card:hover,
.subcat-card:active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

/* ── Products grid ──────────────────────────────────────── */

.grid-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 540px) {
  .grid-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* ── Product card ───────────────────────────────────────── */

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--trans),
    box-shadow var(--trans),
    border-color var(--trans);
  cursor: pointer;
  border: 1.5px solid var(--card);
  text-decoration: none;
}

.product-card:hover,
.product-card:active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.product-card .product-img-wrap {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.product-card .product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.07);
}

.product-card .product-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
}

.product-card .product-info {
  padding: 0.75rem 0.65rem 0.65rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--card);
}

.product-card .product-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  flex: 1;
}

.product-card .product-cta {
  display: block;
  background: linear-gradient(135deg, var(--gold) 0%, #b8893a 100%);
  color: var(--btn-text);
  font-size: 0.73rem;
  font-weight: 700;
  text-align: center;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition:
    opacity var(--trans),
    box-shadow var(--trans);
  font-family: inherit;
  border: none;
  cursor: pointer;
  width: 100%;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(200, 161, 90, 0.3);
}

.product-card .product-cta:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(200, 161, 90, 0.4);
}

/* ── Loading spinner ────────────────────────────────────── */

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 0;
}

.loader::after {
  content: "";
  width: 36px;
  height: 36px;
  border: 3px solid var(--card);
  border-top-color: var(--btn);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Footer ─────────────────────────────────────────────── */

footer {
  text-align: center;
  padding: 1.75rem 1rem;
  font-size: 0.76rem;
  color: var(--text-sec);
  border-top: 1px solid var(--accent);
  background: var(--card);
  margin-top: 3rem;
  line-height: 1.8;
}

footer a {
  color: var(--btn);
  text-decoration: none;
}

/* ── Utility ─────────────────────────────────────────────── */

.hidden {
  display: none !important;
}
