/* assets/css/style.css - Elsalam Store (متجر السلام) 
   Luxury Feminine Beauty Theme for Algerian E-commerce
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --primary: #DE5875;
  --primary-hover: #CE4664;
  --primary-dark: #A82E47;
  --primary-light: #FEECEF;
  --primary-soft: #FFF5F7;
  --primary-border: #FBC5D2;
  --accent-gold: #D4AF37;
  --accent-gold-soft: #FCF8E3;
  --bg-main: #FFF9F9;
  --bg-card: #FFFFFF;
  --text-main: #351621;
  --text-muted: #7A4B59;
  --text-light: #9E707E;
  --font-base: 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-heading: 'Cairo', 'Tajawal', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 4px 20px rgba(222, 88, 117, 0.08);
  --shadow-elevated: 0 10px 30px rgba(222, 88, 117, 0.15);
  --shadow-glow: 0 0 25px rgba(222, 88, 117, 0.25);
}

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

html {
  font-family: var(--font-base);
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.3;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

/* 1. Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #CE4664, #DE5875, #CE4664);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(206, 70, 100, 0.25);
}

/* 2. Header */
.main-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--primary-border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-soft);
}

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

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DE5875, #CE4664);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(222, 88, 117, 0.3);
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: -2px;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.header-support {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}

/* 3. Hero Product Section */
.hero-product-section {
  padding: 24px 0 36px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9FA 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
  }
}

/* Gallery */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-image-wrapper {
  position: relative;
  background: #FFFFFF;
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.main-image-wrapper:hover img {
  transform: scale(1.03);
}

.gallery-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(222, 88, 117, 0.92);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-zoom-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, background 0.2s;
}

.gallery-zoom-btn:hover {
  transform: scale(1.1);
  background: #FFFFFF;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--primary-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.gallery-nav-btn.prev { right: 12px; }
.gallery-nav-btn.next { left: 12px; }

.gallery-nav-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* 8 Thumbnails row */
.thumbnails-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-item {
  aspect-ratio: 1 / 1;
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: #FFFFFF;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.thumb-item:hover {
  opacity: 0.95;
  border-color: var(--primary);
}

.thumb-item.active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-border), 0 4px 10px rgba(222, 88, 117, 0.2);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info Card */
.product-info-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFE4EA;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--primary-border);
}

.product-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .product-title {
    font-size: 30px;
  }
}

.product-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.stars-rating {
  color: #F59E0B;
  display: flex;
  gap: 2px;
}

.price-box {
  background: linear-gradient(135deg, #FFF0F4 0%, #FFFFFF 100%);
  border: 2px dashed var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.current-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 32px;
  color: var(--primary);
}

.currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-right: 4px;
}

.old-price {
  text-decoration: line-through;
  font-size: 18px;
  color: #A37987;
}

.discount-tag {
  background: #10B981;
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

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

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.features-list li .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E8F8F2;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.cta-scroll-btn {
  background: linear-gradient(90deg, #DE5875, #E86783, #DE5875);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(222, 88, 117, 0.35);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.cta-scroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(222, 88, 117, 0.45);
}

/* 4. CHECKOUT FORM SECTION (Directly beneath main product) */
.checkout-section {
  padding: 30px 0 50px;
  background: #FFFFFF;
}

.checkout-card {
  background: linear-gradient(180deg, #FFF5F7 0%, #FFF9FA 40%, #FFFFFF 100%);
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .checkout-card {
    padding: 36px 32px;
  }
}

.checkout-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px;
}

.checkout-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFE1E8;
  color: var(--primary-dark);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.checkout-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}

.checkout-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.form-group-block {
  background: #FFFFFF;
  border: 1px solid #FADCE2;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(222, 88, 117, 0.04);
}

.form-block-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 1px solid #FEECEF;
  padding-bottom: 10px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-block-title .icon {
  color: var(--primary);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 13px;
  font-weight: 700;
  color: #4B2532;
}

.input-label .required {
  color: #EF4444;
}

.input-control {
  width: 100%;
  background: #FFFDFE;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.input-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(222, 88, 117, 0.18);
  background: #FFFFFF;
}

.input-control.error {
  border-color: #EF4444;
  background: #FFF5F5;
}

.error-message {
  font-size: 12px;
  color: #EF4444;
  margin-top: 4px;
}

/* Delivery Options Cards */
.delivery-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .delivery-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.delivery-card {
  border: 2px solid #FCE0E7;
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.delivery-card * {
  pointer-events: none;
}

.delivery-card:hover {
  border-color: #F8B4C4;
}

.delivery-card.selected {
  border-color: var(--primary);
  background: #FFF2F5;
  box-shadow: 0 4px 14px rgba(222, 88, 117, 0.12);
}

.delivery-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.delivery-card-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.delivery-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFE8EE;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.delivery-card.selected .delivery-icon {
  background: var(--primary);
  color: white;
}

.delivery-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-main);
  display: block;
}

.delivery-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.radio-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #E0B0BD;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivery-card.selected .radio-check {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.radio-check::after {
  content: '✓';
  font-size: 11px;
  font-weight: bold;
  display: none;
}

.delivery-card.selected .radio-check::after {
  display: block;
}

.delivery-card-price {
  border-top: 1px solid #F8D4DC;
  padding-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.delivery-card-price span {
  font-size: 12px;
  color: var(--text-muted);
}

.delivery-card-price strong {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--primary);
  font-weight: 900;
}

/* Summary Box */
.summary-box {
  background: linear-gradient(135deg, #FFF0F4 0%, #FFF8FA 100%);
  border: 2px solid #FBD2DC;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.summary-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 1px solid #F8D2DC;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.summary-row strong {
  color: var(--text-main);
  font-weight: 700;
}

.summary-total-row {
  border-top: 1px solid #F8C8D4;
  padding-top: 12px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.summary-total-label {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
}

.summary-total-amount {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
}

.summary-total-amount span {
  font-size: 15px;
  color: var(--primary-dark);
}

/* Submit Button */
.btn-submit-order {
  width: 100%;
  background: linear-gradient(90deg, #DE5875, #E86783, #DE5875);
  color: #FFFFFF;
  border: none;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(222, 88, 117, 0.35);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(222, 88, 117, 0.45);
}

.btn-submit-order:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Trust Badges */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

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

.trust-badge-item {
  background: #FFF4F7;
  border: 1px solid #FDE2E8;
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-badge-item .icon {
  color: var(--primary);
  font-size: 16px;
}

/* 5. PRODUCT DETAILS SECTION (Below the checkout) */
.product-details-section {
  padding: 50px 0;
  background: #FFF9FA;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.section-head-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFE4EA;
  color: var(--primary-dark);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .section-head-title { font-size: 32px; }
}

.section-head-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 3 Bundle items cards */
.bundle-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

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

.bundle-item-card {
  background: #FFFFFF;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bundle-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.bundle-item-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #FFF5F7;
}

.bundle-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bundle-item-card:hover .bundle-item-img img {
  transform: scale(1.05);
}

.bundle-item-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bundle-item-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.bundle-item-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.bundle-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Routine Steps */
.routine-box {
  background: #FFFFFF;
  border: 2px dashed var(--primary-border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  margin-bottom: 40px;
}

.routine-title {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}

.routine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.routine-step {
  text-align: center;
  padding: 16px;
  background: #FFF8FA;
  border-radius: var(--radius-lg);
}

.routine-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DE5875, #CE4664);
  color: white;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
}

.routine-step-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.routine-step-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

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

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.review-stars {
  color: #F59E0B;
  margin-bottom: 8px;
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 12px;
  font-style: italic;
}

.review-author {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-wilaya {
  font-size: 11px;
  color: var(--text-light);
  font-weight: normal;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFDFE;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #FFF5F7;
}

.faq-toggle-icon {
  color: var(--primary);
  font-size: 18px;
  transition: transform 0.2s;
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}

/* Footer */
.main-footer {
  background: #2C1620;
  color: #FDE8EF;
  padding: 40px 0 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: #E8BFCC;
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: #D4A3B4;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  color: #9C6C7D;
  border-top: 1px solid #412130;
  padding-top: 16px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 22, 32, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
  border: 2px solid #A7F3D0;
}

.modal-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.modal-message {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-order-details {
  background: #FFF5F7;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: right;
  margin-bottom: 20px;
  font-size: 13px;
}

.modal-detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.modal-detail-row:last-child {
  margin-bottom: 0;
  border-top: 1px solid #F8D2DC;
  padding-top: 8px;
  font-weight: 900;
  color: var(--primary);
  font-size: 15px;
}

.modal-btn-close {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
}

/* Image Zoom Modal */
.image-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}

.image-zoom-overlay.active {
  display: flex;
}

.image-zoom-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.image-zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* Sticky Mobile Order Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--primary-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
  box-shadow: 0 -4px 15px rgba(222, 88, 117, 0.12);
}

@media (min-width: 768px) {
  .sticky-mobile-bar {
    display: none;
  }
}

.sticky-bar-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  color: var(--primary);
}

.sticky-bar-price small {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.sticky-bar-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #351621;
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
  display: none;
  animation: toastFade 0.3s ease;
}

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