/* Venus E-Commerce Styling */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Fredoka:wght@300;400;500;600;700&family=Quicksand:wght@400;500;600;700&family=Tajawal:wght@400;500;700;900&display=swap');
:root { 
  --primary: #290E66;
  --primary-hover: #4C0E79;
  --primary-dark: #1D033C;
  --primary-light: #58197F;
--secondary: #D7407F;
--secondary-hover: #A31364;
--secondary-light: #FAD656;

--accent: #EDC230;
--accent-light: #FAD656;

--bg-creme: #FAF4E8;
--bg-white: #FFFFFF;

--text-dark: #220e53;
--text-muted: #2d282e;
--text-white: #FFFFFF;

--border-color: #E9DBC2;

--shadow-sm: 0 4px 6px rgba(41, 14, 102, 0.12);
--shadow-md: 0 10px 20px rgba(41, 14, 102, 0.16);
--shadow-lg: 0 20px 40px rgba(41, 14, 102, 0.20);

--radius-sm: 12px;
--radius-md: 20px;
--radius-lg: 30px;

--font-ar: 'Cairo', 'Tajawal', sans-serif;
--font-fr: 'Fredoka', 'Quicksand', sans-serif;

--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-creme);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

/* Dynamic Font Assignment */
html[lang="ar"] body {
  font-family: var(--font-ar);
}

html[lang="fr"] body {
  font-family: var(--font-fr);
}

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

/* Layout container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER & NAVBAR */
header {
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background-color: var(--border-color);
  padding: 3px;
  border-radius: 50px;
}

.lang-btn {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  transition: var(--transition);
}

.lang-btn.active {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* Cart Icon */
.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF4E8;
  color: var(--primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: var(--transition);
}

.cart-icon-wrapper:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--secondary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-creme);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, #FFF9F3 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-tag {
  background-color: var(--secondary-light);
  color: var(--secondary);
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 142, 114, 0.25);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 380px;
  filter: drop-shadow(0 15px 25px rgba(44, 62, 80, 0.08));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* SECTION HEADING */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 40px 0 25px 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--secondary);
  border-radius: 10px;
}

html[lang="ar"] .section-title::after {
  left: auto;
  right: 0;
}

/* CATALOG GRID WITH FILTERS */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

/* Filters Sidebar */
.filters-sidebar {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  height: fit-content;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-creme);
}

.category-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-creme);
  font-size: 0.95rem;
  font-weight: 500;
}

.category-links a:hover, .category-links a.active {
  background-color: #EEE8FA;
  color: var(--primary);
}

/* Main Shop Area */
.shop-main {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Search Bar */
.search-bar-wrapper {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 5px;
  display: flex;
  box-shadow: var(--shadow-sm);
}

.search-input {
  flex: 1;
  padding: 12px 20px;
  font-size: 1rem;
  background: none;
}

.search-btn {
  background-color: var(--secondary);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

/* Product Card */
.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.product-badge {
  position: absolute;
  top: 15px;
  inset-inline-start: 15px;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 10;
}

.product-image-container {
  background-color: var(--bg-creme);
  border-radius: var(--radius-sm);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
}

.product-image-container img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: var(--transition);
}

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

.product-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--bg-creme);
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.product-buy-btn {
  background-color: var(--secondary-light);
  color: var(--secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.product-buy-btn:hover {
  background-color: var(--secondary);
  color: white;
  transform: rotate(90deg);
}

/* PRODUCT DETAILS PAGE */
.details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0 60px 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.details-gallery {
  background-color: var(--bg-creme);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  min-height: 400px;
}

.details-gallery img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
}

.details-info {
  display: flex;
  flex-direction: column;
}

.details-category {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.details-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.details-stock {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.stock-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.stock-badge.in {
  background-color: var(--secondary-light);
  color: var(--secondary);
}

.stock-badge.out {
  background-color: #FFECE8;
  color: #E74C3C;
}

.details-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 25px;
}

.details-description {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}

.details-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

/* Quantity selector */
.qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  padding: 5px;
}

.qty-btn {
  background: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.qty-btn:hover {
  background-color: var(--border-color);
}

.qty-input {
  width: 50px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  background: none;
}

.add-cart-btn {
  flex: 1;
  background-color: var(--primary);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.add-cart-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* CART PAGE */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  margin: 40px 0 60px 0;
}

.cart-table-wrapper {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.cart-item-img {
  width: 80px;
  height: 80px;
  background-color: var(--bg-creme);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
}

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

.cart-item-price {
  color: var(--primary);
  font-weight: 700;
}

.cart-item-qty-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-item-remove {
  background: none;
  color: #E74C3C;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 50px;
}

.cart-item-remove:hover {
  background-color: #FFECE8;
}

.cart-summary {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  height: fit-content;
  box-shadow: var(--shadow-sm);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 500;
}

.summary-row.total {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  padding-top: 15px;
  border-top: 2px dashed var(--border-color);
}

.checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--secondary);
  color: white;
  padding: 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 16px rgba(77, 182, 172, 0.2);
  margin-top: 20px;
}

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

/* CHECKOUT FORM */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  margin: 40px 0 60px 0;
}

.form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-creme);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 10px;
}

.payment-radio-label {
  border: 2px solid var(--border-color);
  padding: 15px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.payment-radio-input {
  display: none;
}

.payment-radio-label:has(.payment-radio-input:checked) {
  border-color: var(--secondary);
  background-color: var(--secondary-light);
  color: var(--secondary-hover);
}

.baridimob-instructions {
  background-color: var(--bg-creme);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 15px;
  margin-top: 15px;
  display: none;
}

.baridimob-instructions p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Success Card */
.success-card {
  text-align: center;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  max-width: 600px;
  margin: 60px auto;
  box-shadow: var(--shadow-md);
}

.success-icon {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.success-card h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.success-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ABOUT & CONTACT PAGES */
.about-card, .contact-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px 0 60px 0;
  box-shadow: var(--shadow-sm);
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.about-feature-item {
  background-color: var(--bg-creme);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.about-feature-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--bg-creme);
  padding: 15px 20px;
  border-radius: var(--radius-sm);
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--secondary);
}

.alert-success {
  background-color: var(--secondary-light);
  color: var(--secondary-hover);
  border: 1px solid var(--secondary);
  border-radius: var(--radius-sm);
  padding: 15px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

/* FOOTER */
footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px 0;
  margin-top: auto;
}

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

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
}

html[lang="ar"] .footer-col h3::after {
  left: auto;
  right: 0;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-inline-start: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ADMIN LOGIN */
.admin-login-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
}

.admin-login-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-md);
}

.admin-login-card h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  color: var(--primary);
}

/* ADMIN DASHBOARD */
.admin-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.admin-tab-btn {
  padding: 10px 20px;
  background-color: var(--bg-creme);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.admin-tab-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

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

.admin-stat-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-stat-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.admin-stat-icon.blue {
  background-color: var(--secondary-light);
  color: var(--secondary);
}

.admin-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.admin-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-table-wrapper {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
}

.admin-table th {
  background-color: var(--bg-creme);
  padding: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge.pending { background-color: #FEF9E7; color: #F39C12; }
.badge.confirmed { background-color: #EAF2F8; color: #2980B9; }
.badge.shipped { background-color: var(--secondary-light); color: var(--secondary); }
.badge.completed { background-color: #EAF2F8; color: #27AE60; }
.badge.cancelled { background-color: #FDEDEC; color: #C0392B; }

.admin-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.admin-btn-primary { background-color: var(--primary); color: white; }
.admin-btn-primary:hover { background-color: var(--primary-hover); }
.admin-btn-secondary { background-color: var(--secondary); color: white; }
.admin-btn-secondary:hover { background-color: var(--secondary-hover); }
.admin-btn-danger { background-color: #FDEDEC; color: #C0392B; }
.admin-btn-danger:hover { background-color: #FADBD8; }

/* Admin modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  padding: 30px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalOpen 0.3s ease-out;
}

@keyframes modalOpen {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.modal-close {
  background: none;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .details-layout {
    grid-template-columns: 1fr;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-image img {
    max-height: 250px;
  }
  .payment-options {
    grid-template-columns: 1fr;
  }
}
