/* 
  Theme Colors & Fonts
*/
:root {
  --color-primary: #3b2314;       /* Dark Brown */
  --color-secondary: #714C33;     /* Light Brown Accents */
  --color-accent: #c4996c;        /* Golden/Beige accent */
  --color-bg: #f4eee8;           /* Beige Coffee Paper Background */
  --color-bg-light: #ffffff;      /* White sections */
  --color-text: #2c1e16;          /* Dark Text */
  --color-text-light: #6c5a4d;    /* Muted Text */
  
  --font-primary: 'Amiri', serif; /* Calligraphy / Headings */
  --font-secondary: 'Tajawal', sans-serif; /* Body / Modern */
  
  --transition: all 0.3s ease;
  --shadow: 0 4px 15px rgba(59, 35, 20, 0.1);
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h10v10H10zM30 30h10v10H30z' fill='%23e0d5c1' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E"); /* Subtle texture */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--color-primary);
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  font-family: var(--font-secondary);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

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

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

.btn-block {
  display: block;
  width: 100%;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s;
}

.spinner {
  font-size: 3rem;
  color: var(--color-primary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(244, 238, 232, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}

header.scrolled {
  padding: 5px 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

header.scrolled .header-container {
  height: 70px;
}

.logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  line-height: 1;
}

.logo span {
  font-size: 0.8rem;
  font-family: var(--font-secondary);
  color: var(--color-accent);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links li a {
  font-weight: 500;
  position: relative;
  font-size: 1.1rem;
}

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

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after, .nav-links li a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 8px 30px 8px 15px;
  border-radius: 20px;
  border: 1px solid #ddd;
  outline: none;
  font-family: var(--font-secondary);
  width: 200px;
  background: white;
}

.search-box i {
  position: absolute;
  right: 10px;
  color: var(--color-text-light);
}

.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: transform 0.2s;
}

.cart-icon:hover {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background-image: url('https://images.unsplash.com/photo-1497935586351-b67a49e012bf?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: var(--color-bg);
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
}

/* Enable fixed background attachment on desktop monitors supporting hover */
@media (min-width: 1025px) and (hover: hover) {
  .hero {
    background-attachment: fixed;
  }
}

/* Fallback for iOS Safari WebKit bug with background-attachment: fixed */
@supports (-webkit-touch-callout: none) {
  .hero {
    background-attachment: scroll !important;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-title {
  font-size: 4.5rem;
  color: #fff;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #f4eee8;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.5s backwards;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Products Section */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 30px;
  font-family: var(--font-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--color-primary);
  color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--color-accent);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  z-index: 2;
}

.product-new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
  color: #120a06;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15), 0 0 5px rgba(212, 175, 55, 0.4);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.25);
  animation: gentlePulse 2s infinite ease-in-out;
}

@keyframes gentlePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 2px 10px rgba(212, 175, 55, 0.6); }
  100% { transform: scale(1); }
}

.product-image {
  height: 220px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

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

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  background-color: var(--color-bg);
  padding: 8px;
  border-radius: 4px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.add-to-cart-wrapper {
  display: flex;
  gap: 10px;
}

.qty-input {
  width: 60px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-family: inherit;
}

.add-btn {
  flex-grow: 1;
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  font-weight: bold;
}

.add-btn:hover {
  background-color: var(--color-secondary);
}

/* Reviews Section */
.reviews-section {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b2314' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.3;
  font-family: serif;
}

.stars {
  color: #ffc107;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  margin-bottom: 15px;
}

.reviewer-name {
  color: var(--color-primary);
}

/* Contact Section */
.contact-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-list {
  margin: 25px 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-list i {
  color: var(--color-accent);
  font-size: 1.3rem;
  width: 25px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: white;
  font-size: 1.2rem;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon.facebook { background-color: #1877f2; }
.social-icon.instagram { background-color: #e4405f; }
.social-icon.tiktok { background-color: #000000; }

.contact-form-container {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  outline: none;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--color-accent);
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand h2 {
  color: white;
  margin-bottom: 5px;
}

.footer-brand p {
  color: var(--color-accent);
}

.footer-links h3 {
  color: var(--color-accent);
  margin-bottom: 15px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* Floating Buttons */
.floating-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.whatsapp-float {
  bottom: 20px;
  left: 20px;
  background-color: #25d366;
}

.phone-float {
  bottom: 80px;
  left: 20px;
  background-color: var(--color-primary);
}

/* Cart Sidebar */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1001;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.cart-overlay.active {
  display: block;
  opacity: 1;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  background-color: white;
  z-index: 1002;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  background-color: var(--color-primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  color: white;
  margin: 0;
}

.close-cart {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

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

.cart-item-qt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  font-size: 0.9rem;
}

.remove-item {
  color: red;
  cursor: pointer;
  font-size: 0.8rem;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1003;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-modal {
  position: absolute;
  top: 15px;
  left: 15px; /* RTL - left instead of right */
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  outline: none;
}

.order-summary {
  background-color: var(--color-bg);
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-row.total {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-top: 10px;
}

.payment-method {
  text-align: center;
  color: var(--color-accent);
  font-weight: bold;
  margin-top: 10px;
  font-size: 0.9rem;
}

.success-content {
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 15px;
}

/* Toast Notifications */
.notification-toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 16px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.notification-toast.show {
  visibility: visible;
  opacity: 1;
}

/* Admin Styles */
.admin-body {
  background-color: var(--color-bg-light);
}

.admin-login-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg);
}

.login-box {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
}

.admin-nav {
  background-color: var(--color-primary);
  color: white;
  padding: 15px 0;
}

.admin-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-nav h2 {
  color: white;
  margin: 0;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-success {
  background-color: #28a745;
  color: white;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-card i {
  font-size: 2.5rem;
  color: var(--color-accent);
}

.stat-card h3 {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 5px;
}

.stat-card p {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-text);
}

.orders-table-wrapper {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow-x: auto;
}

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

.orders-table th, .orders-table td {
  padding: 15px;
  text-align: right;
  border-bottom: 1px solid #eee;
}

.orders-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.orders-table tr:hover {
  background-color: #f8f9fa;
}

.status-badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.status-pending { background-color: #fff3cd; color: #856404; }
.status-confirmed { background-color: #d4edda; color: #155724; }
.status-cancelled { background-color: #f8d7da; color: #721c24; }

.action-btns {
  display: flex;
  gap: 5px;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .search-box input {
    width: 140px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .search-box {
    display: none; /* Hide search on very small screens for space */
  }
  .contact-wrapper {
    flex-direction: column;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
    gap: 25px;
  }

  .product-card {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
}

/* === New Product Promo Popup (Redesigned - Luxury Gold & Dark Theme) === */
.promo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.promo-popup-overlay.active {
  display: flex;
  opacity: 1;
}

.promo-popup-content {
  background-color: #0d0805;
  background-image: radial-gradient(circle at center, #1e110a 0%, #0a0604 100%);
  border: 2px solid #d4af37;
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.25);
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.promo-popup-overlay.active .promo-popup-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.promo-popup-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-popup-close:hover {
  background: #d4af37;
  color: #0d0805;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.promo-popup-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}

.promo-popup-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #160f0a 0%, #0d0805 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  border-left: 1px solid rgba(212, 175, 55, 0.2);
}

.promo-popup-image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.promo-popup-image img {
  width: 100%;
  max-width: 290px;
  height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-popup-content:hover .promo-popup-image img {
  transform: scale(1.06) translateY(-5px);
}

.promo-popup-info {
  padding: 50px 35px;
  color: #f4eee8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  position: relative;
}

.promo-badge {
  align-self: flex-start;
  background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 100%);
  color: #120a06;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.promo-title {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
  font-family: var(--font-primary);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.promo-headline {
  font-size: 1.25rem;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 18px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.promo-desc {
  font-size: 0.95rem;
  color: #d8cdbf;
  margin-bottom: 30px;
  line-height: 1.7;
}

.promo-cta {
  background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 100%);
  color: #120a06;
  border: none;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 14px 35px;
  align-self: flex-start;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-cta:hover {
  background: #ffffff;
  color: #120a06;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Mobile & Tablet Styles for Promo Popup */
@media (max-width: 768px) {
  .promo-popup-body {
    grid-template-columns: 1fr;
  }
  
  .promo-popup-content {
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .promo-popup-image {
    height: 240px;
    border-left: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px;
  }
  
  .promo-popup-image img {
    height: 100%;
    width: auto;
  }
  
  .promo-popup-info {
    padding: 30px 25px;
  }
  
  .promo-title {
    font-size: 2rem;
  }
  
  .promo-headline {
    font-size: 1.1rem;
  }
}

/* Highlight effect for the newly introduced product card */
@keyframes highlightPulse {
  0% { box-shadow: 0 0 0 0px rgba(196, 153, 108, 0.8); border-color: var(--color-accent); }
  50% { box-shadow: 0 0 0 15px rgba(196, 153, 108, 0); border-color: var(--color-primary); }
  100% { box-shadow: 0 0 0 0px rgba(196, 153, 108, 0); border-color: var(--color-accent); }
}

.product-highlight {
  animation: highlightPulse 1.8s infinite;
  border: 2px solid var(--color-accent) !important;
}
