/* ============================================================
   TAFIF STORE — Premium Design System
   A luxury e-commerce experience
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-black: #0a0a0a;
  --color-dark: #1a1a1a;
  --color-dark-2: #222222;
  --color-dark-3: #2a2a2a;
  --color-gray-900: #333333;
  --color-gray-700: #555555;
  --color-gray-500: #888888;
  --color-gray-400: #aaaaaa;
  --color-gray-300: #cccccc;
  --color-gray-200: #e0e0e0;
  --color-gray-100: #f0f0f0;
  --color-cream: #f8f6f3;
  --color-white: #ffffff;
  --color-gold: #c8a96e;
  --color-gold-light: #d4af37;
  --color-gold-dark: #b8963f;
  --color-gold-muted: rgba(200, 169, 110, 0.15);
  --color-success: #2ecc71;
  --color-danger: #e74c3c;
  --color-info: #3498db;

  /* Typography */
  --font-ar: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Inter', 'Segoe UI', Helvetica, sans-serif;
  --font-primary: var(--font-ar);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 20px rgba(200, 169, 110, 0.3);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;

  /* Layout */
  --navbar-height: 80px;
  --container-max: 1320px;
  --container-padding: 24px;
}

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

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

body.premium-theme {
  font-family: var(--font-primary);
  background-color: var(--color-cream);
  color: var(--color-dark);
  line-height: 1.9;
  font-size: clamp(17px, 1.15vw, 20px);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: 0.01em;
  word-spacing: 0.05em;
}

html[lang="en"] body.premium-theme {
  font-family: var(--font-en);
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-spacing: normal;
}

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

/* ---------- Typography ---------- */
.pm-heading-xl {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.pm-heading-lg {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-black);
}

.pm-heading-md {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-dark);
}

.pm-heading-sm {
  font-size: clamp(2.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.pm-text {
  font-size: clamp(2.05rem, 1.2vw, 1.2rem);
  color: var(--color-gray-700);
  line-height: 1.9;
}

.pm-text-sm {
  font-size: clamp(1.95rem, 1vw, 2.05rem);
  color: var(--color-gray-500);
  line-height: 1.7;
}

.pm-text-gold {
  color: var(--color-gold);
}

.pm-section-label {
  font-size: clamp(1.85rem, 1vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

/* ---------- NAVBAR ---------- */
.pm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--duration-normal) var(--ease-out);
}

.pm-navbar.scrolled {
  height: 64px;
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.pm-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

.pm-navbar-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: var(--space-sm);
}

.pm-navbar-logo img {
  height: 42px;
  width: auto;
  transition: height var(--duration-normal) var(--ease-out);
}

.pm-navbar.scrolled .pm-navbar-logo img {
  height: 34px;
}

.pm-navbar-logo .logo-text {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.pm-navbar-logo .logo-text span {
  color: var(--color-gold);
}

/* Nav Links */
.pm-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.pm-nav-links li {
  position: relative;
}

.pm-nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 2.05rem;
  font-weight: 500;
  transition: color var(--duration-fast);
  position: relative;
  padding: var(--space-sm) 0;
}

.pm-nav-links a:hover,
.pm-nav-links a.active {
  color: var(--color-gold);
}

.pm-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

.pm-nav-links a:hover::after,
.pm-nav-links a.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.pm-dropdown {
  position: relative;
}

.pm-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.pm-dropdown-toggle i.fa-angle-down {
  font-size: 1.75rem;
  transition: transform var(--duration-fast);
}

.pm-dropdown:hover .pm-dropdown-toggle i.fa-angle-down {
  transform: rotate(180deg);
}

.pm-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-xl);
  z-index: 100;
}

html[dir="ltr"] .pm-dropdown-menu {
  right: auto;
  left: 0;
}

.pm-dropdown:hover .pm-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.pm-dropdown-menu li {
  display: block;
}

.pm-dropdown-menu a {
  display: block;
  padding: var(--space-md) var(--space-lg);
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 2.05rem;
  transition: all var(--duration-fast);
}

.pm-dropdown-menu a::after {
  display: none;
}

.pm-dropdown-menu a:hover {
  background: rgba(200, 169, 110, 0.1);
  color: var(--color-gold) !important;
  padding-right: var(--space-xl);
}

html[dir="ltr"] .pm-dropdown-menu a:hover {
  padding-left: var(--space-xl);
  padding-right: var(--space-lg);
}

/* Nav Actions */
.pm-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.pm-nav-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all var(--duration-fast);
  position: relative;
  text-decoration: none;
  font-size: 2.15rem;
}

.pm-nav-action-btn:hover {
  background: rgba(200, 169, 110, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.pm-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: var(--color-black);
  font-size: 1.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

html[dir="ltr"] .pm-cart-badge {
  right: -4px;
  left: auto;
}

/* Language Switcher */
.pm-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(200, 169, 110, 0.12);
  border: 1px solid rgba(200, 169, 110, 0.3);
  color: var(--color-gold);
  cursor: pointer;
  font-size: 1.95rem;
  font-weight: 600;
  font-family: var(--font-en);
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.pm-lang-btn:hover {
  background: rgba(200, 169, 110, 0.25);
}

/* Mobile Menu Toggle */
.pm-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.pm-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.pm-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.pm-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.pm-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.pm-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  padding: 100px var(--space-xl) var(--space-xl);
  overflow-y: auto;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.pm-mobile-menu.open {
  opacity: 1;
}

.pm-mobile-menu .pm-mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.pm-mobile-menu .pm-mobile-nav-links a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--duration-fast);
}

.pm-mobile-menu .pm-mobile-nav-links a:hover {
  color: var(--color-gold);
  padding-right: var(--space-md);
}

.pm-mobile-menu .pm-mobile-sub {
  list-style: none;
  padding-right: var(--space-lg);
  display: none;
}

html[dir="ltr"] .pm-mobile-menu .pm-mobile-sub {
  padding-right: 0;
  padding-left: var(--space-lg);
}

.pm-mobile-menu .pm-mobile-sub.open {
  display: block;
}

.pm-mobile-menu .pm-mobile-sub a {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ---------- HERO SECTION ---------- */
.pm-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--color-black);
  margin-top: var(--navbar-height);
  overflow: hidden;
}

.pm-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transition: transform 8s var(--ease-out);
}

.pm-hero:hover .pm-hero-bg {
  transform: scale(1.03);
}

.pm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(200, 169, 110, 0.1) 100%);
}

.pm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: var(--space-3xl) 0;
}

.pm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  background: rgba(200, 169, 110, 0.12);
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-gold);
  font-size: clamp(1.9rem, 1.1vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xl);
}

.pm-hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: var(--space-xl);
}

.pm-hero-title span {
  color: var(--color-gold);
}

.pm-hero-desc {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
  margin-bottom: var(--space-2xl);
  max-width: 550px;
}

.pm-hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: clamp(3rem, 1.1vw, 1.3rem);
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.pm-btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-black);
  box-shadow: var(--shadow-gold);
}

.pm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 110, 0.45);
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-black);
  text-decoration: none;
}

.pm-btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.pm-btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(200, 169, 110, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.pm-btn-dark {
  background: var(--color-dark);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-btn-dark:hover {
  background: var(--color-dark-2);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
  text-decoration: none;
}

.pm-btn-sm {
  padding: 12px 22px;
  font-size: 1.95rem;
}

.pm-btn-lg {
  padding: 20px 44px;
  font-size: clamp(1.3rem, 1.3vw, 1.2rem);
}

.pm-btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ---------- SECTIONS ---------- */
.pm-section {
  padding: var(--space-4xl) 0;
}

.pm-section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.pm-section-header .pm-heading-lg {
  margin-bottom: var(--space-md);
}

.pm-section-header .pm-text {
  max-width: 550px;
  margin: 0 auto;
}

.pm-section-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.pm-section-dark .pm-heading-lg,
.pm-section-dark .pm-heading-md {
  color: var(--color-white);
}

.pm-section-dark .pm-text {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- PRODUCT CARDS ---------- */
.pm-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.pm-product-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.pm-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pm-product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-gray-100);
}

.pm-product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.pm-product-card:hover .pm-product-card-img img {
  transform: scale(1.08);
}

.pm-product-card-actions {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out);
}

.pm-product-card:hover .pm-product-card-actions {
  opacity: 1;
  transform: translateY(0);
}

.pm-product-card-actions .pm-btn {
  flex: 1;
  padding: 12px;
  font-size: 1.95rem;
  backdrop-filter: blur(10px);
}

.pm-product-card-body {
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
}

.pm-product-card-category {
  font-size: clamp(1.8rem, 0.9vw, 0.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.pm-product-card-name {
  font-size: clamp(2.3rem, 1.3vw, 1.3rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.pm-product-card-name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast);
}

.pm-product-card-name a:hover {
  color: var(--color-gold);
}

.pm-product-card-price {
  font-size: clamp(2.2rem, 1.4vw, 1.4rem);
  font-weight: 800;
  color: var(--color-gold-dark);
}

/* Product Card Wishlist */
.pm-wishlist-btn {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  color: var(--color-gray-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
  z-index: 2;
  font-size: 1.9rem;
}

html[dir="ltr"] .pm-wishlist-btn {
  left: auto;
  right: var(--space-md);
}

.pm-wishlist-btn:hover,
.pm-wishlist-btn.active {
  color: var(--color-danger);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

/* ---------- CATEGORY GRID ---------- */
.pm-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.pm-category-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  background: var(--color-dark);
}

.pm-category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  z-index: 1;
}

.pm-category-card-name {
  position: relative;
  z-index: 2;
  padding: var(--space-lg);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 600;
  width: 100%;
  transition: all var(--duration-normal) var(--ease-out);
}

.pm-category-card:hover .pm-category-card-name {
  color: var(--color-gold);
  transform: translateY(-4px);
}

/* ---------- SIDEBAR / FILTERS ---------- */
.pm-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-lg));
}

.pm-filter-group {
  margin-bottom: var(--space-xl);
}

.pm-filter-title {
  font-size: clamp(1rem, 1vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gray-500);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-gray-200);
}

.pm-filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.pm-filter-list a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  color: var(--color-gray-700);
  text-decoration: none;
  font-size: clamp(3rem, 1.1vw, 1.3rem);
  font-weight: 500;
  transition: all var(--duration-fast);
}

.pm-filter-list a:hover,
.pm-filter-list a.active {
  background: var(--color-gold-muted);
  color: var(--color-gold-dark);
}

/* ---------- PRODUCT DETAILS ---------- */
.pm-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  padding-top: calc(var(--navbar-height) + var(--space-xl));
}

.pm-product-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-gray-100);
  aspect-ratio: 1;
}

.pm-product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.pm-product-image-wrap:hover img {
  transform: scale(1.05);
}

.pm-product-info {
  padding: var(--space-xl) 0;
}

.pm-product-info-category {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.pm-product-info-name {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.pm-product-info-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-xl);
}

.pm-product-info-desc {
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  font-size: 3rem;
}

.pm-product-info-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: 1.9rem;
  color: var(--color-gray-500);
}

.pm-product-info-meta i {
  color: var(--color-gold);
  width: 20px;
  margin-left: var(--space-sm);
}

html[dir="ltr"] .pm-product-info-meta i {
  margin-left: 0;
  margin-right: var(--space-sm);
}

.pm-product-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.pm-added-msg {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-success);
  font-weight: 600;
  font-size: 1.95rem;
}

.pm-added-msg.show {
  display: flex;
}

/* ---------- CART PAGE ---------- */
.pm-cart-section {
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  min-height: 80vh;
}

.pm-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.pm-cart-table th {
  text-align: right;
  padding: var(--space-md) var(--space-lg);
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500);
  border-bottom: 2px solid var(--color-gray-200);
}

html[dir="ltr"] .pm-cart-table th {
  text-align: left;
}

.pm-cart-table td {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-gray-100);
  vertical-align: middle;
}

.pm-cart-item-name {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 3rem;
}

.pm-cart-item-price {
  font-weight: 600;
  color: var(--color-gold-dark);
}

.pm-cart-qty-input {
  width: 60px;
  padding: 8px 12px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 1.95rem;
  font-weight: 600;
  font-family: inherit;
  transition: border-color var(--duration-fast);
}

.pm-cart-qty-input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.pm-cart-summary {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-sm);
}

.pm-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.pm-cart-summary-row:last-child {
  border-bottom: none;
}

.pm-cart-summary-row.total {
  font-size: 2.2rem;
  font-weight: 700;
  border-top: 2px solid var(--color-dark);
  padding-top: var(--space-lg);
  margin-top: var(--space-sm);
}

.pm-cart-empty {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
}

.pm-cart-empty i {
  font-size: 4rem;
  color: var(--color-gray-300);
  margin-bottom: var(--space-lg);
}

/* ---------- CHECKOUT MODAL ---------- */
.pm-modal-overlay {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.pm-modal-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  margin: 5vh auto;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.pm-modal-header {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-modal-header h4 {
  font-size: 2.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pm-modal-header h4 i {
  color: var(--color-gold);
}

.pm-modal-body {
  padding: var(--space-xl);
}

/* ---------- FORMS ---------- */
.pm-form-group {
  margin-bottom: var(--space-lg);
}

.pm-form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-dark);
  font-size: clamp(1rem, 1vw, 1rem);
}

.pm-form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: clamp(1rem, 1.1vw, 1.3rem);
  color: var(--color-black);
  transition: all var(--duration-fast);
  background: var(--color-white);
}

.pm-form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px var(--color-gold-muted);
}

.pm-form-control::placeholder {
  color: var(--color-gray-400);
}

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

/* ---------- LOGIN ---------- */
.pm-login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  padding: var(--space-xl);
}

.pm-login-card {
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
}

.pm-login-card h2 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 2vw, 1.8rem);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.pm-login-card .pm-text-sm {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-xl);
  font-size: clamp(1rem, 1vw, 1rem);
}

.pm-login-card .pm-form-control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.pm-login-card .pm-form-control:focus {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
}

.pm-login-card .pm-form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.pm-login-card label {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- SUCCESS PAGE ---------- */
.pm-success-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  padding-top: calc(var(--navbar-height) + var(--space-4xl));
}

.pm-success-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-success), #27ae60);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 2.5rem;
  color: var(--color-white);
}

/* ---------- FOOTER ---------- */
.pm-footer {
  background: var(--color-black);
  color: var(--color-white);
  margin-top: auto;
}

.pm-footer-main {
  padding: var(--space-3xl) 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
}

.pm-footer-brand .logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.pm-footer-brand .logo-text span {
  color: var(--color-gold);
}

.pm-footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.9rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.pm-footer-social {
  display: flex;
  gap: var(--space-sm);
}

.pm-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all var(--duration-fast);
  font-size: 1.9rem;
}

.pm-footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
}

.pm-footer-col h4 {
  font-size: clamp(2.3rem, 1.2vw, 1.25rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.pm-footer-col ul {
  list-style: none;
}

.pm-footer-col ul li {
  margin-bottom: var(--space-md);
}

.pm-footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: clamp(1.95rem, 1vw, 2.05rem);
  transition: all var(--duration-fast);
  display: inline-block;
}

.pm-footer-col ul a:hover {
  color: var(--color-gold);
}

.pm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- CONTACT ---------- */
.pm-contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-3xl);
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
}

.pm-contact-info-card {
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--color-white);
}

.pm-contact-info-card h3 {
  margin-bottom: var(--space-xl);
  font-size: 2.2rem;
}

.pm-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.95rem;
}

.pm-contact-item i {
  color: var(--color-gold);
  width: 20px;
  margin-top: 4px;
  font-size: 2rem;
}

/* ---------- ABOUT ---------- */
.pm-about-section {
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.pm-about-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pm-about-card .pm-heading-lg {
  margin-bottom: var(--space-xl);
}

/* ---------- SEARCH OVERLAY ---------- */
.pm-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.pm-search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pm-search-overlay-close {
  position: absolute;
  top: var(--space-xl);
  left: var(--space-xl);
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--duration-fast);
}

html[dir="ltr"] .pm-search-overlay-close {
  left: auto;
  right: var(--space-xl);
}

.pm-search-overlay-close:hover {
  color: var(--color-gold);
}

.pm-search-field {
  width: 90%;
  max-width: 600px;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: clamp(2.5rem, 4vw, 2.5rem);
  font-family: inherit;
  padding: var(--space-lg) 0;
  text-align: center;
  outline: none;
  transition: border-color var(--duration-fast);
}

.pm-search-field::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.pm-search-field:focus {
  border-bottom-color: var(--color-gold);
}

/* ---------- PAGE SPACER ---------- */
.pm-page-top {
  padding-top: calc(var(--navbar-height) + var(--space-xl));
}

/* ---------- GLASS CARD ---------- */
.pm-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .pm-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .pm-product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .pm-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
    --navbar-height: 64px;
  }

  .pm-nav-links {
    display: none;
  }

  .pm-mobile-toggle {
    display: flex;
  }

  .pm-mobile-menu {
    display: block;
  }

  .pm-hero {
    min-height: 70vh;
    margin-top: 64px;
  }

  .pm-hero-content {
    padding: var(--space-xl) 0;
  }

  .pm-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .pm-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-section {
    padding: var(--space-3xl) 0;
  }

  .pm-footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .pm-product-detail {
    padding-top: calc(64px + var(--space-lg));
  }

  .pm-cart-table th,
  .pm-cart-table td {
    padding: var(--space-sm) var(--space-md);
    font-size: 1.9rem;
  }

  .pm-login-card {
    padding: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .pm-products-grid {
    grid-template-columns: 1fr;
  }

  .pm-category-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .pm-hero-actions {
    flex-direction: column;
  }

  .pm-hero-actions .pm-btn {
    width: 100%;
    text-align: center;
  }

  .pm-product-actions {
    flex-direction: column;
  }

  .pm-product-actions .pm-btn {
    width: 100%;
  }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* ---------- SELECTION ---------- */
::selection {
  background: var(--color-gold-muted);
  color: var(--color-dark);
}

/* ---------- UTILITIES ---------- */
.pm-text-center {
  text-align: center;
}

.pm-text-right {
  text-align: right;
}

.pm-mb-0 {
  margin-bottom: 0;
}

.pm-mb-sm {
  margin-bottom: var(--space-sm);
}

.pm-mb-md {
  margin-bottom: var(--space-md);
}

.pm-mb-lg {
  margin-bottom: var(--space-lg);
}

.pm-mb-xl {
  margin-bottom: var(--space-xl);
}

.pm-mt-auto {
  margin-top: auto;
}

.pm-flex {
  display: flex;
}

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

.pm-gap-sm {
  gap: var(--space-sm);
}

.pm-gap-md {
  gap: var(--space-md);
}

.pm-hidden {
  display: none !important;
}