@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;800&display=swap');

:root {
  --color-purple: #D283BF;       /* JURI Brand Purple light */
  --color-purple-dark: #B66CAE; /* JURI Brand Purple dark */
  --color-teal: #9EDADA;        /* JURI Brand Teal light */
  --color-teal-dark: #61A8A6;   /* JURI Brand Teal dark */
  --color-orange: #F3B167;      /* JURI Brand Orange light */
  --color-orange-dark: #E49432; /* JURI Brand Orange dark */
  --color-green: #9AC163;       /* JURI Brand Green light */
  --color-green-dark: #7AA345;  /* JURI Brand Green dark */
  --color-bg: #FAFAFA;
  --color-text: #4A4A4A;
  --color-white: #FFFFFF;
  
  --font-heading: 'Fredoka One', cursive;
  --font-body: 'Nunito', sans-serif;
  
  --shadow-sticker: 2px 4px 0px rgba(0,0,0,0.1);
  --shadow-card: 0 10px 20px rgba(0,0,0,0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
}

/* Header & Logo */
header {
  background: var(--color-white);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container svg {
  height: 60px;
  filter: drop-shadow(var(--shadow-sticker));
  transition: transform 0.3s ease;
}

.logo-container svg:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* Navigation & Cart Trigger */
.cart-trigger {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  color: var(--color-purple-dark);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  padding: 0.1rem 0.4rem;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, rgba(177,156,217,0.2) 0%, rgba(72,209,204,0.2) 100%);
  border-bottom: 4px dashed var(--color-purple);
}

.hero h1 {
  font-size: 3rem;
  color: var(--color-teal-dark);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Product Grid */
.products-section {
  padding: 4rem 5%;
}

.products-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-orange-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-white);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-teal);
  box-shadow: 0 15px 30px rgba(72,209,204,0.2);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #f0f0f0;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-purple-dark);
}

.product-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-green-dark);
  margin-bottom: 1rem;
}

.btn-add-cart {
  background: var(--color-orange);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  box-shadow: var(--shadow-sticker);
}

.btn-add-cart:hover {
  background: var(--color-orange-dark);
  transform: scale(1.05);
}

/* Shopping Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  background: var(--color-purple);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-size: 1.5rem;
}

.close-cart {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #ccc;
}

.cart-item-details h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  color: var(--color-green-dark);
  font-weight: bold;
}

.cart-item-remove {
  background: none;
  border: none;
  color: red;
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-footer {
  padding: 1.5rem;
  background: var(--color-bg);
  border-top: 1px solid #ddd;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.btn-checkout {
  width: 100%;
  background: var(--color-teal);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-checkout:hover {
  background: var(--color-teal-dark);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-overlay.active {
  display: flex;
}

/* Checkout Form Modal */
.checkout-modal {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.checkout-modal h2 {
  color: var(--color-purple-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--color-teal);
}

.btn-submit {
  width: 100%;
  background: var(--color-orange);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 1rem;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
}

/* ===================== Navigation ===================== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--color-purple-dark);
  font-weight: 700;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-orange-dark);
}

/* ===================== Store toolbar ===================== */
.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.cat-tab {
  background: var(--color-white);
  border: 2px solid var(--color-purple);
  color: var(--color-purple-dark);
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  transition: all 0.2s;
}
.cat-tab:hover { background: rgba(177,156,217,0.15); }
.cat-tab.active {
  background: var(--color-purple);
  color: white;
}
.store-search {
  position: relative;
  display: flex;
  align-items: center;
}
.store-search i {
  position: absolute;
  right: 12px;
  color: #aaa;
}
.store-search input {
  padding: 0.6rem 2.4rem 0.6rem 1rem;
  border: 2px solid #ddd;
  border-radius: 20px;
  font-family: var(--font-body);
  outline: none;
  min-width: 220px;
}
.store-search input:focus { border-color: var(--color-teal); }
.grid-message { text-align: center; width: 100%; color: #888; grid-column: 1 / -1; }

/* ===================== Product card extras ===================== */
.product-image-link { display: block; }
.product-cat {
  display: inline-block;
  background: rgba(72,209,204,0.15);
  color: var(--color-teal-dark);
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}
.product-title a { color: inherit; text-decoration: none; }
.product-title a:hover { color: var(--color-orange-dark); }
.btn-add-cart {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* ===================== Cart extras ===================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
}
.cart-overlay.show { opacity: 1; pointer-events: auto; }
.cart-empty { text-align: center; color: #999; margin-top: 2rem; }
.cart-item-img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f0f0;
}
.cart-item { gap: 0.8rem; }
.cart-item-details { flex: 1; }
.cart-item-variant {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--color-purple-dark);
  background: rgba(177,156,217,0.15);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.3rem 0;
}
.qty-btn {
  width: 24px; height: 24px;
  border: 1px solid var(--color-purple);
  background: white;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-purple-dark);
  font-weight: bold;
}

/* ===================== Checkout extras ===================== */
.fulfillment-toggle { display: flex; gap: 1rem; }
.ful-option {
  flex: 1;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 0.7rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.ful-option input { display: none; }
.ful-option:has(input:checked) {
  border-color: var(--color-teal);
  background: rgba(72,209,204,0.1);
  color: var(--color-teal-dark);
  font-weight: 700;
}
.checkout-summary {
  background: var(--color-bg);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
}
.checkout-summary > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.summary-total {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-green-dark);
  border-top: 1px dashed #ccc;
  padding-top: 0.5rem;
}
.checkout-modal { max-height: 90vh; overflow-y: auto; }
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  resize: vertical;
}
.form-group textarea:focus { border-color: var(--color-teal); outline: none; }

/* ===================== Product detail ===================== */
.product-detail { padding: 3rem 5%; max-width: 1200px; margin: 0 auto; }
.breadcrumb { margin-bottom: 1.5rem; color: #888; }
.breadcrumb a { color: var(--color-teal-dark); text-decoration: none; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.detail-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  background: #f0f0f0;
}
.detail-thumbs { display: flex; gap: 0.6rem; margin-top: 1rem; flex-wrap: wrap; }
.detail-thumb {
  width: 70px; height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 3px solid transparent;
}
.detail-thumb.active { border-color: var(--color-teal); }
.detail-info h1 { font-size: 2rem; color: var(--color-purple-dark); margin: 0.5rem 0; }
.detail-rating { color: var(--color-orange); margin-bottom: 1rem; }
.detail-rating span { color: #888; font-size: 0.9rem; }
.detail-price { font-size: 1.8rem; font-weight: 800; color: var(--color-green-dark); margin-bottom: 1rem; }
.detail-desc { line-height: 1.9; margin-bottom: 1.5rem; }
.variant-block { margin-bottom: 1.5rem; }
.variant-block label { font-weight: 700; display: block; margin-bottom: 0.6rem; }
.variant-options { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.variant-opt {
  border: 2px solid #ddd;
  background: white;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  transition: all 0.2s;
}
.variant-opt:hover { border-color: var(--color-purple); }
.variant-opt.active { border-color: var(--color-teal); background: rgba(72,209,204,0.1); }
.variant-price { font-size: 0.85rem; color: var(--color-green-dark); font-weight: 700; }
.detail-actions { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.8rem; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 2px solid #ddd;
  border-radius: 25px;
  padding: 0.4rem 1rem;
}
.qty-control button {
  background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--color-purple-dark);
}
.btn-add-cart.big { padding: 0.9rem 2rem; font-size: 1.1rem; }
.stock-note { font-size: 0.9rem; }
.stock-note.in { color: var(--color-green-dark); }
.stock-note.out { color: #d9534f; }

/* ===================== Reviews ===================== */
.reviews-section { margin-top: 3rem; border-top: 4px dashed var(--color-green); padding-top: 2rem; }
.reviews-section h2 { color: var(--color-orange-dark); margin-bottom: 1.5rem; }
.review-item { background: white; border-radius: 12px; padding: 1rem 1.3rem; margin-bottom: 1rem; box-shadow: var(--shadow-card); }
.review-head { display: flex; justify-content: space-between; align-items: center; }
.review-stars { color: var(--color-orange); }
.review-date { font-size: 0.8rem; color: #aaa; }
.no-reviews { color: #999; }
.review-form-box { background: var(--color-bg); border-radius: 14px; padding: 1.5rem; margin-top: 2rem; }
.review-form-box h3 { color: var(--color-purple-dark); }
.review-hint { font-size: 0.9rem; color: #888; margin-bottom: 1rem; }
.form-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; }
.form-row input { flex: 1; min-width: 160px; padding: 0.7rem; border: 2px solid #ddd; border-radius: 8px; font-family: var(--font-body); }
.rating-input { font-size: 1.5rem; color: var(--color-orange); cursor: pointer; margin-bottom: 1rem; }
.rating-input i { cursor: pointer; }
.review-form-box textarea { width: 100%; padding: 0.8rem; border: 2px solid #ddd; border-radius: 8px; font-family: var(--font-body); margin-bottom: 1rem; }
.review-msg { margin-top: 0.6rem; font-weight: 700; }
.review-msg.ok { color: var(--color-green-dark); }
.review-msg.error { color: #d9534f; }

/* ===================== Footer ===================== */
.site-footer { background: var(--color-purple-dark); color: white; margin-top: 4rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 2rem;
  padding: 3rem 5%;
}
.footer-col h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--color-green); }
.footer-col p { line-height: 1.8; opacity: 0.9; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 1rem; line-height: 1.7; }
.footer-list a { color: var(--color-teal); }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; font-size: 1.5rem; }
.footer-social a { color: white; transition: color 0.2s; }
.footer-social a:hover { color: var(--color-orange); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem; padding: 1.2rem 5%; background: rgba(0,0,0,0.15); font-size: 0.9rem; }

/* ===================== Track page ===================== */
.track-section { padding: 3rem 5%; max-width: 800px; margin: 0 auto; }
.track-section h1 { color: var(--color-teal-dark); text-align: center; }
.track-intro { text-align: center; color: #888; margin-bottom: 2rem; }
.track-form { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.track-form input { padding: 0.8rem 1rem; border: 2px solid #ddd; border-radius: 10px; font-family: var(--font-body); min-width: 200px; }
.track-form .btn-submit { width: auto; margin: 0; padding: 0.8rem 2rem; }
.track-error { text-align: center; color: #d9534f; font-weight: 700; }
.track-card { background: white; border-radius: 16px; padding: 2rem; box-shadow: var(--shadow-card); }
.track-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.track-card-head h2 { color: var(--color-purple-dark); }
.track-meta { color: #888; font-size: 0.9rem; }
.track-status-badge { background: var(--color-teal); color: white; padding: 0.4rem 1rem; border-radius: 20px; font-weight: 700; }
.track-status-badge.cancelled { background: #d9534f; }
.track-steps { display: flex; justify-content: space-between; margin: 2rem 0; position: relative; }
.track-steps::before { content: ''; position: absolute; top: 16px; right: 5%; left: 5%; height: 3px; background: #eee; z-index: 0; }
.track-step { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; position: relative; z-index: 1; flex: 1; text-align: center; }
.step-dot { width: 34px; height: 34px; border-radius: 50%; background: #eee; color: #aaa; display: flex; align-items: center; justify-content: center; }
.track-step.done .step-dot { background: var(--color-green); color: white; }
.track-step.current .step-dot { background: var(--color-orange); color: white; }
.track-step span { font-size: 0.8rem; }
.track-cancelled { text-align: center; color: #d9534f; font-size: 1.2rem; padding: 1.5rem; }
.track-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 1.5rem 0; background: var(--color-bg); padding: 1rem; border-radius: 10px; }
.track-items { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.track-items th, .track-items td { padding: 0.6rem; text-align: right; border-bottom: 1px solid #eee; }
.track-totals { margin-top: 1rem; }
.track-totals > div { display: flex; justify-content: space-between; margin-bottom: 0.3rem; }
.track-grand { font-weight: 800; color: var(--color-green-dark); border-top: 1px dashed #ccc; padding-top: 0.5rem; }
.track-history { margin-top: 1.5rem; }
.track-history h3 { color: var(--color-purple-dark); margin-bottom: 0.8rem; }
.track-history ul { list-style: none; }
.track-history li { padding: 0.5rem 0; border-bottom: 1px dashed #eee; }
.hist-status { font-weight: 700; color: var(--color-teal-dark); }
.hist-at { color: #aaa; font-size: 0.85rem; }

@media (max-width: 768px) {
  .detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .track-details { grid-template-columns: 1fr; }
  .track-step span { font-size: 0.65rem; }
}

/* ===================== ANIMATIONS ===================== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes floatRotate {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(300px) rotate(720deg); opacity: 0; }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== TOAST ===================== */
.jury-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--color-purple-dark);
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(123,104,238,0.35);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.jury-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.jury-toast i { font-size: 1.2rem; }
.jury-toast.success { background: var(--color-green-dark); box-shadow: 0 10px 30px rgba(107,142,35,0.3); }

/* ===================== CONFETTI ===================== */
.confetti-container {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 10000;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  width: 10px; height: 10px;
  animation: confettiFall 1.2s ease-out forwards;
  border-radius: 2px;
}

/* ===================== SKELETON ===================== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 12px;
}
.skeleton-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.skeleton-img { width: 100%; height: 180px; border-radius: 12px; margin-bottom: 1rem; }
.skeleton-text { height: 18px; margin-bottom: 0.6rem; }
.skeleton-text.short { width: 60%; margin: 0 auto 0.6rem; }
.skeleton-text.tiny { width: 40%; margin: 0 auto; height: 14px; }

/* ===================== BADGES ===================== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
}
.badge-new {
  background: linear-gradient(135deg, #FF6B9D, #C44569);
  color: white;
  box-shadow: 0 3px 10px rgba(196, 69, 105, 0.3);
}
.badge-hot {
  background: linear-gradient(135deg, #FF8C00, #FF6B35);
  color: white;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}
.badge-sale {
  background: linear-gradient(135deg, #20B2AA, #48D1CC);
  color: white;
  box-shadow: 0 3px 10px rgba(72, 209, 204, 0.3);
}

/* ===================== FUN BUTTONS ===================== */
.btn-fun {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.35);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-fun:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.45);
}
.btn-fun:active {
  transform: translateY(1px) scale(0.97);
}
.btn-fun::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.4s;
}
.btn-fun:hover::after { left: 100%; }

/* ===================== FUN SPINNER ===================== */
.fun-spinner {
  width: 48px; height: 48px;
  border: 4px solid rgba(177,156,217,0.2);
  border-top-color: var(--color-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

/* ===================== ENHANCED Landing Page ===================== */
.home-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 1rem 5rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(60,30,80,0.75) 0%, rgba(40,20,60,0.65) 50%, rgba(30,15,50,0.8) 100%);
  z-index: 1;
}
.home-hero::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 150px; height: 150px;
  background: rgba(72, 209, 204, 0.15);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite 1s;
  z-index: 2;
}
.hero-floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: floatRotate 8s ease-in-out infinite;
}
.hero-shape.s1 { width: 80px; height: 80px; background: var(--color-purple); top: 20%; left: 10%; animation-delay: 0s; }
.hero-shape.s2 { width: 50px; height: 50px; background: var(--color-teal); top: 60%; right: 15%; animation-delay: 2s; }
.hero-shape.s3 { width: 65px; height: 65px; background: var(--color-orange); bottom: 20%; left: 30%; animation-delay: 4s; }
.hero-shape.s4 { width: 40px; height: 40px; background: var(--color-green); top: 30%; right: 30%; animation-delay: 1.5s; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: #fff;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
  animation: slideUp 0.6s ease-out 0.3s both;
  border: 3px solid rgba(255,255,255,0.3);
}
.hero-cta:hover {
  background: linear-gradient(135deg, var(--color-orange-dark), #e67300);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 140, 0, 0.45);
}
.hero-cta i { transition: transform 0.3s; }
.hero-cta:hover i { transform: translateX(-5px); }

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-purple-dark);
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
  width: 100%;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-orange));
  border-radius: 4px;
  margin: 0.6rem auto 0;
}

/* --- Marquee Banner --- */
.fun-banner {
  background: linear-gradient(90deg, var(--color-purple-dark), var(--color-teal-dark));
  color: white;
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.fun-banner-inner {
  display: inline-block;
  animation: marquee 20s linear infinite;
}
.fun-banner-inner span {
  display: inline-block;
  padding: 0 2rem;
  font-weight: 700;
}
.fun-banner-inner span i { margin-left: 0.5rem; color: var(--color-orange); }

/* --- Enhanced Category Cards --- */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.category-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 2rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--color-purple-dark);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--color-purple), var(--color-teal), var(--color-orange));
  opacity: 0;
  transition: opacity 0.3s;
}
.category-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--color-teal);
  box-shadow: 0 15px 40px rgba(72,209,204,0.2);
}
.category-card:hover::before { opacity: 1; }
.category-card i {
  font-size: 2.5rem;
  width: 70px; height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(177,156,217,0.2), rgba(72,209,204,0.2));
  color: var(--color-purple-dark);
  transition: all 0.3s;
}
.category-card:hover i {
  transform: scale(1.15) rotate(-5deg);
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
  color: white;
}
.category-card span { font-weight: 800; font-size: 1.05rem; }

/* ===================== ENHANCED Product Cards ===================== */
.product-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.5s ease-out both;
}
.product-card:nth-child(2) { animation-delay: 0.05s; }
.product-card:nth-child(3) { animation-delay: 0.1s; }
.product-card:nth-child(4) { animation-delay: 0.15s; }
.product-card:nth-child(5) { animation-delay: 0.2s; }
.product-card:nth-child(6) { animation-delay: 0.25s; }
.product-card:nth-child(7) { animation-delay: 0.3s; }
.product-card:nth-child(8) { animation-delay: 0.35s; }

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--color-teal);
  box-shadow: 0 20px 50px rgba(72,209,204,0.18);
}
.product-card .badge {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
}

.product-image-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
}
.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-cat {
  display: inline-block;
  background: linear-gradient(135deg, rgba(72,209,204,0.15), rgba(72,209,204,0.05));
  color: var(--color-teal-dark);
  font-size: 0.75rem;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--color-purple-dark);
  font-weight: 700;
}
.product-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.product-title a:hover { color: var(--color-orange-dark); }

.product-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-green-dark);
  margin-bottom: 1rem;
  direction: ltr;
  display: inline-block;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: white;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
  text-decoration: none;
  justify-content: center;
}
.btn-add-cart:hover {
  background: linear-gradient(135deg, var(--color-orange-dark), #e67300);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}
.btn-add-cart:active { transform: scale(0.95); }
.btn-add-cart.added {
  background: linear-gradient(135deg, var(--color-green-dark), #5a8a1e);
  animation: pop 0.4s ease;
}

/* ===================== ENHANCED Store Toolbar ===================== */
.store-toolbar {
  background: white;
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.cat-tab {
  background: white;
  border: 2px solid #eee;
  color: var(--color-text);
  padding: 0.55rem 1.2rem;
  border-radius: 25px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  transition: all 0.25s;
  font-size: 0.95rem;
}
.cat-tab:hover {
  border-color: var(--color-purple);
  color: var(--color-purple-dark);
  transform: translateY(-2px);
}
.cat-tab.active {
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(123,104,238,0.3);
}
.store-search input {
  padding: 0.7rem 2.4rem 0.7rem 1rem;
  border: 2px solid #eee;
  border-radius: 25px;
  font-family: var(--font-body);
  outline: none;
  min-width: 240px;
  transition: all 0.3s;
  font-size: 0.95rem;
}
.store-search input:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(72,209,204,0.15);
}

/* ===================== ENHANCED Header ===================== */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.8rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav a {
  text-decoration: none;
  color: var(--color-purple-dark);
  font-weight: 700;
  transition: all 0.2s;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-orange-dark);
  background: rgba(255, 179, 71, 0.15);
}
.cart-trigger {
  background: linear-gradient(135deg, rgba(177,156,217,0.15), rgba(177,156,217,0.05));
  border: 2px solid rgba(177,156,217,0.3);
  font-size: 1.3rem;
  cursor: pointer;
  position: relative;
  color: var(--color-purple-dark);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.cart-trigger:hover {
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
  color: white;
  border-color: transparent;
  transform: scale(1.1);
}
.cart-trigger.shake { animation: shake 0.5s ease; }

/* ===================== ENHANCED Cart ===================== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -10px 0 40px rgba(0,0,0,0.12);
  transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  border-radius: 24px 0 0 24px;
}
.cart-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 24px 0 0 0;
}
.cart-header h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 0.6rem; }
.cart-count {
  position: absolute;
  top: -8px; right: -10px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: white;
  border-radius: 50%;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: bold;
  min-width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  animation: pop 0.3s ease;
}
.cart-empty {
  text-align: center;
  color: #bbb;
  margin-top: 3rem;
  font-size: 1.1rem;
}
.cart-empty i { font-size: 4rem; display: block; margin-bottom: 1rem; color: #ddd; }
.cart-item {
  background: var(--color-bg);
  border-radius: 14px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideUp 0.3s ease-out;
}
.qty-btn {
  width: 28px; height: 28px;
  border: 2px solid var(--color-purple);
  background: white;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-purple-dark);
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  background: var(--color-purple);
  color: white;
  transform: scale(1.15);
}
.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(32,178,170,0.35);
}
.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(32,178,170,0.45);
}

/* ===================== ENHANCED Footer ===================== */
.site-footer {
  background: linear-gradient(135deg, var(--color-purple-dark), #5a4fcf);
  color: white;
  margin-top: 4rem;
  border-radius: 30px 30px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 80px;
  background: var(--color-bg);
  border-radius: 50%;
}
.footer-grid { padding: 4rem 5% 3rem; }
.footer-social a {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--color-orange);
  transform: translateY(-3px) scale(1.1);
}

/* ===================== Empty States ===================== */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  grid-column: 1 / -1;
}
.empty-state i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 1rem;
  display: block;
}
.empty-state h3 {
  color: var(--color-purple-dark);
  margin-bottom: 0.5rem;
}
.empty-state p {
  color: #aaa;
  font-size: 1rem;
}

/* ===================== Checkout Modal Enhancement ===================== */
.checkout-modal {
  background: white;
  padding: 2rem;
  border-radius: 24px;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
  border: 3px solid rgba(177,156,217,0.2);
}
.checkout-modal h2 {
  color: var(--color-purple-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.6rem;
}
.ful-option {
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
}
.ful-option:hover { border-color: var(--color-teal); transform: translateY(-2px); }
.ful-option:has(input:checked) {
  border-color: var(--color-teal);
  background: linear-gradient(135deg, rgba(72,209,204,0.1), rgba(72,209,204,0.05));
  color: var(--color-teal-dark);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(72,209,204,0.15);
}
.checkout-modal .btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255,140,0,0.35);
  margin-top: 1rem;
}
.checkout-modal .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,140,0,0.45);
}
.checkout-modal .btn-submit:active { transform: translateY(1px) scale(0.98); }

/* ===================== HERO TEXT ===================== */
.hero-text {
  text-align: center;
  position: relative;
  z-index: 3;
  max-width: 700px;
}
.hero-text h1 {
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-text p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

/* ===================== HERO LOGO ===================== */
.hero-logo {
  margin-bottom: 1.5rem;
  animation: floatLogo 4s ease-in-out infinite;
}
.hero-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15), 0 0 0 8px rgba(177,156,217,0.2);
  background: white;
  padding: 8px;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* ===================== HERO GIFT DECORATIONS ===================== */
.hero-gift {
  position: absolute;
  font-size: 2rem;
  opacity: 0.55;
  animation: giftFloat 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.hero-gift i { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
.hero-gift.g1 { top: 15%; left: 8%; color: #FF6B9D; animation-delay: 0s; font-size: 2.5rem; }
.hero-gift.g2 { top: 25%; right: 10%; color: #48D1CC; animation-delay: 1s; font-size: 1.8rem; }
.hero-gift.g3 { bottom: 25%; left: 12%; color: #FFB347; animation-delay: 2s; font-size: 2.2rem; }
.hero-gift.g4 { bottom: 20%; right: 8%; color: #B19CD9; animation-delay: 0.5s; font-size: 2rem; }
.hero-gift.g5 { top: 50%; left: 3%; color: #FF6B9D; animation-delay: 1.5s; font-size: 1.5rem; }
.hero-gift.g6 { top: 40%; right: 5%; color: #FFD700; animation-delay: 2.5s; font-size: 1.7rem; }
.hero-gift.g7 { bottom: 35%; left: 25%; color: #48D1CC; animation-delay: 3s; font-size: 1.9rem; }

@keyframes giftFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* ===================== COLORFUL CATEGORY ICONS ===================== */
.icon-purple { background: linear-gradient(135deg, rgba(177,156,217,0.25), rgba(177,156,217,0.1)) !important; color: #7B68EE !important; }
.icon-purple:hover { background: linear-gradient(135deg, #7B68EE, #B19CD9) !important; color: white !important; }

.icon-orange { background: linear-gradient(135deg, rgba(255,179,71,0.25), rgba(255,179,71,0.1)) !important; color: #E67E00 !important; }
.icon-orange:hover { background: linear-gradient(135deg, #E67E00, #FFB347) !important; color: white !important; }

.icon-teal { background: linear-gradient(135deg, rgba(72,209,204,0.25), rgba(72,209,204,0.1)) !important; color: #20B2AA !important; }
.icon-teal:hover { background: linear-gradient(135deg, #20B2AA, #48D1CC) !important; color: white !important; }

.icon-green { background: linear-gradient(135deg, rgba(162,228,184,0.25), rgba(162,228,184,0.1)) !important; color: #4CAF50 !important; }
.icon-green:hover { background: linear-gradient(135deg, #4CAF50, #8BC34A) !important; color: white !important; }

.icon-pink { background: linear-gradient(135deg, rgba(255,107,157,0.2), rgba(255,107,157,0.08)) !important; color: #E91E63 !important; }
.icon-pink:hover { background: linear-gradient(135deg, #E91E63, #FF6B9D) !important; color: white !important; }

/* ===================== ABOUT US SECTION ===================== */
.about-section {
  background: linear-gradient(135deg, rgba(177,156,217,0.08) 0%, rgba(72,209,204,0.06) 50%, rgba(255,179,71,0.05) 100%);
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
}
.about-gift {
  position: absolute;
  font-size: 2rem;
  opacity: 0.2;
  animation: giftFloat 6s ease-in-out infinite;
  pointer-events: none;
}
.about-gift.ag1 { top: 10%; left: 5%; color: #FF6B9D; animation-delay: 0s; }
.about-gift.ag2 { bottom: 15%; right: 8%; color: #48D1CC; animation-delay: 1.5s; }
.about-gift.ag3 { top: 40%; right: 3%; color: #FFD700; animation-delay: 3s; }
.about-gift.ag4 { bottom: 30%; left: 8%; color: #B19CD9; animation-delay: 2s; }

.about-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 10px 40px rgba(177,156,217,0.3), 0 0 0 12px rgba(177,156,217,0.15);
  background: white;
  padding: 12px;
  animation: floatLogo 5s ease-in-out infinite;
}
.about-content { text-align: center; }
.about-text {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.about-feature {
  background: white;
  border-radius: 20px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 2px solid transparent;
  transition: all 0.3s;
}
.about-feature:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal);
  box-shadow: 0 8px 25px rgba(72,209,204,0.15);
}
.about-feature span { font-weight: 800; color: var(--color-purple-dark); font-size: 0.95rem; }
.af-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: white;
}
.about-feature:nth-child(1) .af-icon { background: linear-gradient(135deg, #FF6B9D, #E91E63); }
.about-feature:nth-child(2) .af-icon { background: linear-gradient(135deg, #48D1CC, #20B2AA); }
.about-feature:nth-child(3) .af-icon { background: linear-gradient(135deg, #FFB347, #E67E00); }
.about-feature:nth-child(4) .af-icon { background: linear-gradient(135deg, #B19CD9, #7B68EE); }

/* ===================== Common Section Helpers ===================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
  color: white;
  font-size: .8rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.section-subtitle {
  color: #888;
  font-size: 1.05rem;
  max-width: 600px;
  margin: .5rem auto 2.5rem;
  text-align: center;
}

/* ===================== Scroll Reveal Animations ===================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-child {
  transition-delay: calc(var(--i, 0) * 0.12s);
}

/* ===================== Stats Section ===================== */
.stats-section {
  background: linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-teal-dark) 100%);
  padding: 4rem 5%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.stat-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 2rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform .3s, box-shadow .3s;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.stat-icon {
  font-size: 2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: .8rem;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: #fff;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: .9rem;
  font-weight: 600;
}

/* ===================== Journey Section ===================== */
.journey-section {
  padding: 5rem 5%;
  text-align: center;
  background: #fdf8ff;
  position: relative;
  overflow: hidden;
}
.journey-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
  opacity: .08;
  pointer-events: none;
}
.journey-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 1100px;
  margin: 2rem auto 0;
  flex-wrap: wrap;
}
.journey-step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  padding: 0 .5rem;
  position: relative;
  text-align: center;
}
.js-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: white;
  position: relative;
  z-index: 1;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.journey-step:hover .js-icon { transform: scale(1.15) rotate(-5deg); }
.journey-step.js-1 .js-icon { background: linear-gradient(135deg, var(--color-purple-dark), var(--color-purple)); }
.journey-step.js-2 .js-icon { background: linear-gradient(135deg, #E91E63, #FF6B9D); }
.journey-step.js-3 .js-icon { background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal)); }
.journey-step.js-4 .js-icon { background: linear-gradient(135deg, var(--color-orange-dark), var(--color-orange)); }
.journey-step.js-5 .js-icon { background: linear-gradient(135deg, var(--color-green-dark), var(--color-green)); }
.js-connector {
  position: absolute;
  top: 34px;
  left: calc(50% + 34px);
  width: calc(100% - 34px);
  height: 3px;
  background: linear-gradient(90deg, var(--color-purple), var(--color-teal));
  opacity: .3;
  z-index: 0;
}
.journey-step:last-child .js-connector { display: none; }
.journey-step h3 {
  font-family: var(--font-heading);
  color: var(--color-purple-dark);
  font-size: 1.1rem;
  margin-bottom: .4rem;
}
.journey-step p {
  font-size: .88rem;
  color: #777;
  line-height: 1.5;
}

/* ===================== Testimonials Section ===================== */
.testimonials-section {
  padding: 5rem 5%;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fdf4ff 100%);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 6px 25px rgba(182,108,174,0.1);
  border: 1.5px solid rgba(182,108,174,0.1);
  text-align: right;
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px; left: 18px;
  font-size: 4rem;
  color: var(--color-purple);
  opacity: .15;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(182,108,174,0.18);
}
.tc-stars { color: var(--color-orange-dark); font-size: .9rem; margin-bottom: .8rem; }
.tc-stars i { margin-left: 1px; }
.tc-comment {
  color: #555;
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-style: italic;
}
.tc-footer { display: flex; align-items: center; gap: .8rem; }
.tc-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-purple-dark), var(--color-teal-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.tc-name { font-weight: 700; color: var(--color-purple-dark); font-size: .95rem; }
.tc-product { font-size: .78rem; color: #aaa; margin-top: .15rem; }

/* ===================== Branches Section ===================== */
.branches-section {
  padding: 5rem 5%;
  text-align: center;
  background: #f8fff8;
}
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.branch-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .3s, border-color .3s;
  transition-delay: calc(var(--i, 0) * 0.1s);
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 6px 25px rgba(97,168,166,0.1);
  border: 1.5px solid rgba(97,168,166,0.15);
  text-align: right;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.branches-section.is-visible .branch-card {
  opacity: 1;
  transform: translateY(0);
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(97,168,166,0.2);
  border-color: var(--color-teal-dark);
  transition-delay: 0s;
}
.branch-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal-dark), var(--color-green-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.branch-body { flex: 1; }
.branch-body h3 { color: var(--color-teal-dark); font-size: 1rem; margin-bottom: .5rem; }
.branch-address { font-size: .88rem; color: #666; margin-bottom: .5rem; line-height: 1.5; }
.branch-phone {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--color-green-dark); font-weight: 700; font-size: .9rem;
  text-decoration: none; margin-bottom: .4rem;
  direction: ltr;
}
.branch-phone:hover { color: var(--color-teal-dark); }
.branch-hours { font-size: .82rem; color: #aaa; margin-bottom: .6rem; }
.branch-map-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  background: linear-gradient(135deg, var(--color-teal-dark), var(--color-green-dark));
  color: white; text-decoration: none;
  padding: .4rem .9rem; border-radius: 20px;
  font-size: .8rem; font-weight: 700;
  transition: opacity .2s, transform .2s;
}
.branch-map-btn:hover { opacity: .85; transform: translateY(-1px); }

/* ===================== Social Section ===================== */
.social-section {
  padding: 5rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2d0f3e 0%, #0f2e3a 100%);
}
.social-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.social-bg-shape.s1 {
  width: 300px; height: 300px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
  opacity: .25;
}
.social-bg-shape.s2 {
  width: 250px; height: 250px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, var(--color-teal) 0%, transparent 70%);
  opacity: .2;
}
.social-content { position: relative; z-index: 1; }
.social-section .section-tag { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.social-section .section-title { color: #fff; }
.social-section .section-subtitle { color: rgba(255,255,255,.65); }
.social-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1.5rem 2.5rem;
  border-radius: 24px;
  text-decoration: none;
  min-width: 180px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  border: 1.5px solid rgba(255,255,255,.1);
}
.social-btn i { font-size: 2.2rem; }
.social-btn span { font-weight: 800; font-size: 1rem; }
.social-btn small { font-size: .78rem; opacity: .8; }
.social-btn:hover { transform: translateY(-8px) scale(1.03); }
.social-btn.insta {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
  box-shadow: 0 8px 30px rgba(253,29,29,.3);
}
.social-btn.insta:hover { box-shadow: 0 18px 50px rgba(253,29,29,.45); }
.social-btn.fb {
  background: linear-gradient(135deg, #1877f2, #0d5dbf);
  color: white;
  box-shadow: 0 8px 30px rgba(24,119,242,.3);
}
.social-btn.fb:hover { box-shadow: 0 18px 50px rgba(24,119,242,.45); }

/* ===================== ShamCash Panel ===================== */
.shamcash-panel {
  background: linear-gradient(135deg, #e8f8f8, #f0e8ff);
  border: 2px solid var(--color-teal);
  border-radius: 16px;
  padding: 1.2rem;
  margin: 1rem 0;
  animation: slideUp .4s ease-out;
}
.shamcash-inner { text-align: center; }
.shamcash-label {
  font-weight: 700;
  color: var(--color-teal-dark);
  margin-bottom: .8rem;
  font-size: .95rem;
}
.shamcash-qr {
  width: 150px; height: 150px;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  margin-bottom: .8rem;
}
.shamcash-code-wrap { margin-top: .5rem; }
.shamcash-code-label { font-size: .78rem; color: #888; display: block; margin-bottom: .3rem; }
.shamcash-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.shamcash-code {
  font-family: monospace;
  font-size: .78rem;
  background: #fff;
  border: 1.5px solid var(--color-teal);
  border-radius: 8px;
  padding: .4rem .7rem;
  color: var(--color-teal-dark);
  word-break: break-all;
  max-width: 260px;
}
.shamcash-copy-btn {
  background: var(--color-teal-dark);
  color: white;
  border: none;
  border-radius: 8px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.shamcash-copy-btn:hover { background: var(--color-teal); transform: scale(1.05); }
.shamcash-copied {
  display: inline-block;
  font-size: .78rem;
  color: var(--color-green-dark);
  font-weight: 700;
  opacity: 0;
  margin-top: .4rem;
  transition: opacity .3s;
}
.shamcash-copied.show { opacity: 1; }

/* ===================== Footer Branches (compact) ===================== */
.footer-branches-list {
  list-style: none;
  padding: 0;
  margin: 0 0 .75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem .6rem;
}
.footer-branches-list li {
  font-size: .82rem;
  line-height: 1.4;
}
.footer-branch-link {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.footer-branch-link i { color: var(--color-teal); font-size: .7rem; flex-shrink: 0; }
.footer-branch-link:hover { color: var(--color-teal); }
.footer-branches-list span {
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
}
.footer-branches-list span i { color: var(--color-teal); font-size: .7rem; flex-shrink: 0; }
.footer-branches-more {
  display: inline-block;
  font-size: .78rem;
  color: var(--color-teal);
  text-decoration: none;
  border-bottom: 1px dashed var(--color-teal);
  transition: opacity .2s;
  margin-top: .2rem;
}
.footer-branches-more:hover { opacity: .75; }

.footer-dev {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.footer-dev strong {
  color: rgba(255,255,255,.75);
  font-weight: 700;
}

/* ===================== Share Buttons ===================== */
.product-share-btn {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--color-purple-dark);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: background .2s, transform .2s, color .2s;
  z-index: 3;
}
.product-share-btn:hover {
  background: var(--color-purple-dark);
  color: white;
  transform: scale(1.1);
}
.product-card { position: relative; }

.btn-share-product {
  display: inline-flex; align-items: center; gap: .35rem;
  background: transparent;
  border: 1.5px solid var(--color-purple-dark);
  color: var(--color-purple-dark);
  border-radius: 20px;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  font-family: var(--font-body);
}
.btn-share-product:hover {
  background: var(--color-purple-dark);
  color: white;
  transform: translateY(-2px);
}

.share-site-btn {
  background: linear-gradient(135deg, var(--color-purple-dark), var(--color-teal-dark)) !important;
  border: none !important;
  cursor: pointer;
  font-family: var(--font-body);
}

/* ===================== Al-Haram Panel ===================== */
.alharam-panel {
  background: linear-gradient(135deg, #fff8e8, #fff0e8) !important;
  border-color: var(--color-orange-dark) !important;
}
.alharam-panel .shamcash-label { color: var(--color-orange-dark); }
.alharam-info { margin: .8rem 0; }
.alharam-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.alharam-key { font-size: .78rem; color: #888; }
.alharam-val {
  background: #fff;
  border: 1.5px solid var(--color-orange);
  border-radius: 8px;
  padding: .3rem .6rem;
  font-weight: 700;
  color: var(--color-orange-dark);
  font-size: .88rem;
}
.alharam-note {
  font-size: .78rem;
  color: #999;
  margin-top: .5rem;
  line-height: 1.5;
}

/* ===================== About Feature icon colors (brand) ===================== */
.about-feature:nth-child(1) .af-icon { background: linear-gradient(135deg, var(--color-purple-dark), var(--color-purple)); }
.about-feature:nth-child(2) .af-icon { background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal)); }
.about-feature:nth-child(3) .af-icon { background: linear-gradient(135deg, var(--color-orange-dark), var(--color-orange)); }
.about-feature:nth-child(4) .af-icon { background: linear-gradient(135deg, var(--color-green-dark), var(--color-green)); }

/* ===================== Mobile ===================== */
@media (max-width: 768px) {
  .cart-sidebar { width: 100%; right: -100%; border-radius: 0; }
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .hero-logo img { width: 90px; height: 90px; }
  .about-container { grid-template-columns: 1fr; gap: 2rem; }
  .about-logo img { width: 150px; height: 150px; }
  .hero-gift { display: none; }
  .about-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-steps { gap: 1.5rem; }
  .journey-step { min-width: 140px; }
  .js-connector { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .social-btns { flex-direction: column; align-items: center; }
  .social-btn { width: 100%; max-width: 280px; flex-direction: row; padding: 1rem 1.5rem; justify-content: flex-start; }
  .section-subtitle { font-size: .95rem; }
  .home-hero { min-height: 100vh; padding: 5rem 1rem 4rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-num { font-size: 2rem; }
  .journey-step { min-width: 100%; max-width: 100%; margin-bottom: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .branch-card { flex-direction: column; }
  .social-btn { max-width: 100%; }
  header { padding: .75rem 4%; }
  .hero-cta { font-size: .95rem; padding: .8rem 1.5rem; }
}
