/* ========================================================
   ISLFAA GLOBAL LUXURY DESIGN SYSTEM & THEME
   Modern Rose-Gold & Velvet Berry Aesthetics
======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Brand Palette */
  --primary: #b82d5e;
  --primary-dark: #8c1e45;
  --primary-light: #e05b8a;
  --primary-glow: rgba(184, 45, 94, 0.22);
  --accent-pink: #f7a2c2;
  --soft-rose: #fff0f6;
  --bg-gradient: linear-gradient(180deg, #fff7fa 0%, #fffcfd 100%);
  --hero-gradient: linear-gradient(135deg, #fce4ee 0%, #fff5f9 60%, #ffdbe9 100%);
  --btn-gradient: linear-gradient(135deg, #b82d5e 0%, #db4f82 100%);
  --btn-gradient-hover: linear-gradient(135deg, #a12350 0%, #c93b6e 100%);
  --btn-buy-gradient: linear-gradient(135deg, #d64277 0%, #f26896 100%);

  /* Neutrals & Surfaces */
  --bg-main: #fff8fb;
  --surface-card: #ffffff;
  --border-light: #f3d4e0;
  --border-subtle: #fae6ee;
  --text-main: #4a343e;
  --text-muted: #876573;
  --text-light: #ab8e9b;
  --text-heading: #701c3c;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(160, 45, 85, 0.06);
  --shadow-md: 0 6px 20px rgba(160, 45, 85, 0.08);
  --shadow-lg: 0 12px 32px rgba(160, 45, 85, 0.12);
  --shadow-glow: 0 6px 22px rgba(184, 45, 94, 0.25);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

/* ========================================================
   UNIFIED BUTTON SYSTEM
======================================================== */
button, .btn, .shop-btn, .checkout-btn, .cart-button, .buy-button,
.login-btn, .signup-btn, .save-btn, .cart-btn, .islfaa-add-cart,
.place-order, .show-all-btn, .submit-btn {
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
  outline: none;
  user-select: none;
}

/* Primary Gradient Buttons */
.btn-primary, .shop-btn, .checkout-btn, .login-btn, .signup-btn,
.save-btn, .cart-btn, .place-order, .show-all-btn, .submit-btn,
.hero button {
  background: var(--btn-gradient) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
  border: none !important;
}

.btn-primary:hover, .shop-btn:hover, .checkout-btn:hover, .login-btn:hover,
.signup-btn:hover, .save-btn:hover, .cart-btn:hover, .place-order:hover,
.show-all-btn:hover, .submit-btn:hover, .hero button:hover {
  background: var(--btn-gradient-hover) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #ffffff !important;
}

.btn-primary:active, .shop-btn:active, .checkout-btn:active, .place-order:active,
.hero button:active {
  transform: translateY(0) scale(0.98);
}

/* Buy Button (Vibrant & Prominent) */
.buy-button {
  background: var(--btn-buy-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(214, 66, 119, 0.35) !important;
  font-size: 16px;
  padding: 14px 28px;
  border: none !important;
}

.buy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 66, 119, 0.45) !important;
  color: #ffffff !important;
}

/* Secondary & Storefront Cart Buttons */
.cart-button, .islfaa-add-cart, .add-cart {
  background: #ffffff !important;
  color: var(--primary) !important;
  border: 1.5px solid var(--border-light) !important;
  box-shadow: 0 2px 8px rgba(184, 45, 94, 0.06);
}

.cart-button:hover, .islfaa-add-cart:hover, .add-cart:hover {
  background: #fff2f7 !important;
  border-color: var(--primary-light) !important;
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(184, 45, 94, 0.15);
}

/* Share, Outline & Remove Buttons */
.islfaa-share-btn, .remove-btn, .clear-btn, .btn-secondary, .back-link, .back {
  background: #ffffff !important;
  color: var(--text-muted) !important;
  border: 1.5px solid var(--border-light) !important;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.islfaa-share-btn:hover, .btn-secondary:hover, .back-link:hover, .back:hover {
  background: #fff4f8 !important;
  color: var(--primary) !important;
  border-color: var(--primary-light) !important;
  transform: translateY(-1px);
}

.remove-btn:hover, .clear-btn:hover {
  background: #fff0f3 !important;
  color: #c92a54 !important;
  border-color: #f7b7c8 !important;
}

/* ========================================================
   PRODUCT CARD ACTION BUTTONS (3 IN A ROW)
======================================================== */
.product-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-top: 14px !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

.product-actions .islfaa-view-product {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 9px 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: #fff0f6 !important;
  color: var(--primary) !important;
  border: 1.5px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  text-align: center !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.product-actions .islfaa-view-product:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 45, 94, 0.2);
}

.product-actions .islfaa-add-cart {
  flex: 1.3 1 0 !important;
  min-width: 0 !important;
  padding: 9px 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: var(--btn-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  text-align: center !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: var(--shadow-sm) !important;
}

.product-actions .islfaa-add-cart:hover {
  background: var(--btn-gradient-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow) !important;
}

.product-actions .islfaa-share-btn {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  color: var(--primary) !important;
  border: 1.5px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.product-actions .islfaa-share-btn:hover {
  background: #fff0f6 !important;
  color: var(--primary-dark) !important;
  border-color: var(--primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 45, 94, 0.15) !important;
}

.product-actions .islfaa-share-btn svg {
  width: 17px !important;
  height: 17px !important;
  stroke: currentColor !important;
  pointer-events: none !important;
  display: block !important;
}

/* Quantity Control Buttons */
.quantity-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
}

.quantity-box button, .quantity-btn {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: #fff0f6 !important;
  color: var(--primary) !important;
  font-size: 18px !important;
  border: none !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quantity-box button:hover, .quantity-btn:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
}

.quantity-box input, .quantity {
  width: 50px !important;
  height: 36px !important;
  border: none !important;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Wishlist Heart Action */
.wishlist-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.wishlist-btn:hover {
  transform: scale(1.12);
  background: #fff0f6;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ========================================================
   MODERN FORM CONTROLS
======================================================== */
input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="search"], input[type="number"],
select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

input::placeholder, textarea::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 7px;
}

/* Payment Radio Options */
.payment-option {
  border: 1.5px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  transition: all 0.25s ease;
}

.payment-option:hover {
  background: #fff6fa !important;
  border-color: var(--primary-light) !important;
}

.payment-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ========================================================
   CARDS & ELEVATED SURFACES
======================================================== */
.card, .product, .category-card, .wishlist-card, .checkout-card,
.summary-card, .orders-box, .account-card, .sidebar, .login-box,
.signup-box, .contact-info, .contact-form, .stat, .section,
.cart-wrapper, .home-note {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product:hover, .wishlist-card:hover, .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

/* Category Grid Tiles */
.category-card {
  background: linear-gradient(145deg, #ffffff 0%, #fff7fb 100%) !important;
  padding: 22px 14px;
  text-align: center;
  border-radius: var(--radius-lg);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.category-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--primary-light) !important;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, #ffffff 0%, #ffedf5 100%) !important;
}

.category-card .emoji {
  font-size: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.category-card:hover .emoji {
  transform: scale(1.15);
}

.category-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
}

/* Product Cards Grid & Details */
.product, .card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-image, .pic {
  background: linear-gradient(135deg, #fff0f6 0%, #ffedf4 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

/* Dedicated Square Thumbnails for Cart, Orders & Wishlist */
.cart-thumb, .cart-image, .product-icon, .order-thumb {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #fff0f6 0%, #ffe5ee 100%) !important;
  border: 1px solid #ebd4df !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.cart-thumb img, .cart-image img, .product-icon img, .order-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ========================================================
   MASTER LUXURY CART DESIGN SYSTEM
======================================================== */
.cart-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 18px 22px !important;
  background: #ffffff !important;
  border: 1px solid #f3d4e0 !important;
  border-radius: 18px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 4px 16px rgba(184, 45, 94, 0.05) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.cart-item:hover {
  border-color: #e59bb8 !important;
  box-shadow: 0 8px 24px rgba(184, 45, 94, 0.09) !important;
  transform: translateY(-1px) !important;
}

.cart-item-info, .cart-product {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.cart-thumb, .cart-image {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  background: linear-gradient(135deg, #fff0f6 0%, #ffedf4 100%) !important;
  border: 1.5px solid #f5d4e2 !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 32px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  box-shadow: inset 0 2px 6px rgba(184, 45, 94, 0.04) !important;
}

.cart-thumb img, .cart-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.cart-text, .cart-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.cart-title-text, .cart-info h3, .cart-product h3, .item-name {
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: #4a192e !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
}

.cart-unit-badge, .cart-unit-price, .item-price {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #8c6778 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
}

.unit-label {
  font-size: 12px !important;
  color: #ab8e9b !important;
  font-weight: 500 !important;
}

.cart-item-side, .cart-bottom-bar {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-shrink: 0 !important;
}

.cart-controls {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.cart-stepper {
  display: inline-flex !important;
  align-items: center !important;
  background: #fff4f8 !important;
  border: 1.5px solid #f2cfde !important;
  border-radius: 99px !important;
  padding: 3px !important;
  gap: 2px !important;
}

.cart-stepper button, 
.cart-controls button[data-action="minus"], 
.cart-controls button[data-action="plus"],
.quantity-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #ffffff !important;
  color: #b82d5e !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 1px 4px rgba(184, 45, 94, 0.12) !important;
  transition: all 0.18s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.cart-stepper button:hover, 
.cart-controls button[data-action="minus"]:hover, 
.cart-controls button[data-action="plus"]:hover,
.quantity-btn:hover {
  background: #b82d5e !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}

.cart-qty-count, .cart-stepper span, .cart-controls span, .quantity {
  min-width: 30px !important;
  text-align: center !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #4a2133 !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
  user-select: none !important;
  display: inline-block !important;
}

.cart-remove-pill, 
.cart-remove-btn, 
.cart-controls button[data-action="remove"],
.remove-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #c4335c !important;
  background: #fff0f4 !important;
  border: 1px solid #ffd0de !important;
  border-radius: 99px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
}

.cart-remove-pill:hover, 
.cart-remove-btn:hover, 
.cart-controls button[data-action="remove"]:hover,
.remove-btn:hover {
  background: #ff477e !important;
  color: #ffffff !important;
  border-color: #ff477e !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 71, 126, 0.25) !important;
}

.cart-total-price, .cart-line-total, .cart-item strong {
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #b82d5e !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  text-align: right !important;
  min-width: 95px !important;
}

@media (max-width: 768px) {
  .cart-item {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }

  .cart-item-info, .cart-product {
    width: 100% !important;
    gap: 14px !important;
  }

  .cart-thumb, .cart-image {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    font-size: 26px !important;
    border-radius: 14px !important;
  }

  .cart-title-text, .cart-info h3, .cart-product h3, .item-name {
    font-size: 15px !important;
  }

  .cart-item-side, .cart-bottom-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    border-top: 1px dashed #f2d5df !important;
    padding-top: 12px !important;
    margin-top: 2px !important;
    gap: 8px !important;
  }

  .cart-total-price, .cart-line-total {
    min-width: unset !important;
    font-size: 16px !important;
  }
}

/* ========================================================
   MASTER LUXURY ORDER SUMMARY & CHECKOUT SIDEBAR SYSTEM
======================================================== */
.summary-card, .summary-card-modern, .summary {
  background: #ffffff !important;
  border: 1.5px solid #f3d4e0 !important;
  border-radius: 20px !important;
  padding: 24px 22px !important;
  box-shadow: 0 6px 24px rgba(184, 45, 94, 0.08) !important;
  position: sticky !important;
  top: 90px !important;
  box-sizing: border-box !important;
}

.summary-card h2, .summary-heading, .summary h2 {
  color: #7b2146 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  margin: 0 0 16px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 1.5px solid #fae6ee !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#cartItems {
  margin-bottom: 16px !important;
  max-height: 340px !important;
  overflow-y: auto !important;
  padding-right: 6px !important;
}

#cartItems::-webkit-scrollbar {
  width: 5px !important;
}

#cartItems::-webkit-scrollbar-thumb {
  background: #f2cfde !important;
  border-radius: 99px !important;
}

.summary-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 12px 0 !important;
  border-bottom: 1px dashed #f5d8e4 !important;
}

.summary-item:last-child {
  border-bottom: none !important;
}

.summary-item-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.summary-thumb {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #fff0f6 0%, #ffedf4 100%) !important;
  border: 1px solid #ebd4df !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.summary-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.summary-item-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.summary-item-title {
  color: #3d1222 !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  word-break: break-word !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
}

.summary-item-meta {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12.5px !important;
  color: #876573 !important;
}

.summary-qty-tag {
  background: #fff0f5 !important;
  color: #b82d5e !important;
  font-weight: 700 !important;
  padding: 1px 7px !important;
  border-radius: 99px !important;
  border: 1px solid #ffd0de !important;
  font-size: 11.5px !important;
}

.summary-item-price {
  color: #b82d5e !important;
  font-weight: 800 !important;
  font-size: 15.5px !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
  white-space: nowrap !important;
  text-align: right !important;
  flex-shrink: 0 !important;
}

.price-row, .summary-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 10px 0 !important;
  color: #7a5e6c !important;
  font-size: 14.5px !important;
}

.price-row span:last-child, .summary-val {
  font-weight: 700 !important;
  color: #4a343e !important;
  font-size: 15px !important;
}

.delivery-badge, .delivery-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #fff0f5 !important;
  color: #9c3660 !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  border: 1px solid #fae1eb !important;
  font-size: 12.5px !important;
}

.total-row, .summary-total {
  border-top: 1.5px solid #fae6ee !important;
  padding-top: 16px !important;
  margin-top: 14px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  color: #3d1222 !important;
  font-size: 17px !important;
  font-weight: bold !important;
}

.total-row span:last-child, .total-val {
  color: #b82d5e !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
}

.trust-badge, .cart-guarantee-box {
  margin-top: 18px !important;
  padding: 14px !important;
  background: #fff8fb !important;
  border: 1px dashed #f2cfde !important;
  border-radius: 12px !important;
  font-size: 12.5px !important;
  color: #7b4a5d !important;
  line-height: 1.8 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

/* ========================================================
   MASTER LUXURY RECEIPT & POST-CHECKOUT CONFIRMATION
======================================================== */
.receipt-card {
  background: #ffffff !important;
  border: 1.5px solid #f3d4e0 !important;
  border-radius: 18px !important;
  padding: 22px !important;
  margin: 18px 0 !important;
  text-align: left !important;
  box-shadow: 0 4px 18px rgba(184, 45, 94, 0.05) !important;
}

.receipt-header-badge {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 14px !important;
  margin-bottom: 16px !important;
  border-bottom: 1.5px solid #fae6ee !important;
  font-weight: 700 !important;
  color: #7b2146 !important;
  font-size: 14.5px !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.order-meta-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}

@media (max-width: 600px) {
  .order-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

.order-meta-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  background: #fffafc !important;
  border: 1px solid #fae4ed !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
}

.meta-icon {
  font-size: 18px !important;
  line-height: 1 !important;
  margin-top: 2px !important;
}

.meta-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.meta-label {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #a4637d !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.meta-val {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #4a2133 !important;
  word-break: break-word !important;
}

.receipt-items-box {
  margin-top: 16px !important;
  border-top: 1.5px solid #fae6ee !important;
  padding-top: 14px !important;
}

.receipt-items-title {
  color: #7b2146 !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
}

.receipt-pricing-box {
  margin-top: 16px !important;
  border-top: 1.5px solid #fae6ee !important;
  padding-top: 12px !important;
}

/* ========================================================
   MASTER LUXURY ORDERS PAGE (MY ORDERS)
======================================================== */
.order-card {
  background: #ffffff !important;
  border: 1.5px solid #f3d4e0 !important;
  border-radius: 20px !important;
  margin-bottom: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(184, 45, 94, 0.06) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.order-card:hover {
  box-shadow: 0 8px 26px rgba(184, 45, 94, 0.1) !important;
  transform: translateY(-1px) !important;
}

.order-header {
  background: linear-gradient(135deg, #fff0f6 0%, #ffedf4 100%) !important;
  border-bottom: 1.5px solid #fae6ee !important;
  padding: 16px 22px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
}

.order-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.order-number {
  color: #b82d5e !important;
  font-weight: 800 !important;
  font-size: 15.5px !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
}

.order-date {
  color: #876573 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.order-body {
  padding: 20px 22px !important;
}

.order-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
  border-top: 1.5px solid #fae6ee !important;
  padding-top: 16px !important;
  margin-top: 14px !important;
}

.order-footer-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.order-payment-pill {
  background: #fff0f5 !important;
  border: 1px solid #ffd0de !important;
  color: #a4486d !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}

.order-footer .total {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #3d1222 !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
}

.order-footer .total span {
  color: #b82d5e !important;
}

.order-track-wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #25d366 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 9px 16px !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25) !important;
  transition: all 0.2s ease !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
}

.order-track-wa-btn:hover {
  background: #1eb857 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35) !important;
  color: #ffffff !important;
}

.product h3, .card h2, .product-title, .item-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 10px 0 6px;
}

.price, .product-price, .item-price {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

/* ========================================================
   HERO SECTIONS
======================================================== */
.hero {
  background: var(--hero-gradient) !important;
  padding: 65px 20px !important;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  color: var(--text-heading);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(15px, 2.5vw, 17px);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 24px;
}

/* ========================================================
   STATUS CHIPS & BADGES
======================================================== */
.status {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: capitalize;
  font-family: var(--font-heading);
}

.status.order-placed, .status.processing {
  background: #fef3c7;
  color: #92400e;
}

.status.confirmed {
  background: #e0f2fe;
  color: #0369a1;
}

.status.dispatched {
  background: #ede9fe;
  color: #5b21b6;
}

.status.delivered {
  background: #dcfce7;
  color: #15803d;
}

.status.cancelled {
  background: #fee2e2;
  color: #991b1b;
}

/* ========================================================
   TOASTS & NOTIFICATIONS
======================================================== */
#islfaa-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 100000;
  background: linear-gradient(135deg, #7b1d42 0%, #992352 100%);
  color: #ffffff;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(123, 29, 66, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
}

#islfaa-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ========================================================
   ADMIN & DASHBOARD ENHANCEMENTS
======================================================== */
.stat {
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat .icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.stat strong {
  font-size: 30px;
  font-family: var(--font-heading);
  color: var(--primary);
}

.admin-order-card {
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

/* ========================================================
   BRAND HEADER & LOGO
======================================================== */
/* ========================================================
   BRAND HEADER & LOGO (CENTER-ALIGNED)
======================================================== */
.islfaa-brand, .logo-area, .brand {
  text-decoration: none;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 4px !important;
  margin: 0 auto;
  max-width: 100%;
}

.islfaa-brand-logo, .logo-img {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  max-width: 60px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 3px 10px rgba(184, 45, 94, 0.15) !important;
  background: #ffffff;
  display: block !important;
  margin: 0 auto;
}

.islfaa-brand-slogan, .tagline {
  display: block !important;
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
  color: #7b2146 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
  text-align: center !important;
  max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero { 
    width: 100% !important; 
    max-width: 100% !important; 
    padding: 30px 14px !important; 
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .card, .product { padding: 12px 10px; }
  button, .btn { padding: 10px 16px; font-size: 14px; }
  .islfaa-brand-logo, .logo-img { width: 44px !important; height: 44px !important; min-width: 44px !important; max-width: 44px !important; }
  .islfaa-brand-slogan, .tagline { display: none !important; }
}

/* Hide legacy header markup automatically when shell is present */
.islfaa-old-header-hidden, body > header:not(.islfaa-modern-header) {
  display: none !important;
}

/* ========================================================
   MASTER RESPONSIVE FRAMEWORK & CROSS-DEVICE SYSTEM
======================================================== */

/* Prevent accidental horizontal overflow and zoom out across all pages */
html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-text-size-adjust: 100% !important;
}

/* Fluid Container Utilities */
.wrap, .container, .main-container, .product-page, .page,
.checkout-container, .cart-wrapper, .legal-container,
.content-container, .account-container, .orders-container, section, main {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(10px, 3vw, 24px);
  padding-right: clamp(10px, 3vw, 24px);
  box-sizing: border-box !important;
}

/* Fluid Typography */
h1 { font-size: clamp(22px, 4.5vw, 38px); }
h2 { font-size: clamp(18px, 3.5vw, 28px); }
h3 { font-size: clamp(15px, 2.5vw, 20px); }

/* Responsive Category Grid */
.categories, .category-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
  gap: clamp(8px, 2vw, 16px) !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Responsive Products Grid */
.products, .grid, #products, #products-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: clamp(12px, 2.5vw, 24px) !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
}

/* Responsive Product Details Layout */
.product-page {
  max-width: 1200px;
  margin: 25px auto;
}

.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 50px);
  padding: clamp(20px, 4vw, 40px);
}

.product-image-box {
  min-height: clamp(280px, 40vw, 440px);
}

/* Responsive Cart Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: clamp(20px, 3vw, 35px);
  align-items: start;
}

/* Responsive Checkout Layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(20px, 3vw, 35px);
  align-items: start;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

/* Responsive Account Layout */
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

/* Responsive Footer Grid */
.footer-container, .footer-content {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: clamp(20px, 3.5vw, 40px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* ========================================================
   BREAKPOINT: TABLETS & SMALL DESKTOPS (<= 992px)
======================================================== */
@media (max-width: 992px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-image-box {
    min-height: 320px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   BREAKPOINT: TABLETS & LARGE SMARTPHONES (<= 768px)
======================================================== */
@media (max-width: 768px) {
  /* 2-Column Product Grid on Mobile for Modern App Feel */
  .products, .grid, #products, #products-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .categories, .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .category-card {
    padding: 10px 4px !important;
    border-radius: 12px !important;
    min-height: 90px !important;
  }

  .category-card .emoji {
    font-size: 26px !important;
    height: 34px !important;
    margin-bottom: 2px !important;
  }

  .category-card h3 {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .product, .card {
    padding: 10px 8px !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .product-image, .pic {
    min-height: 125px !important;
    height: 125px !important;
    max-height: 125px !important;
    width: 100% !important;
    border-radius: 10px !important;
  }

  .product-image img, .pic img, .product-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .category-name {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #9f496b !important;
    margin-bottom: 2px !important;
  }

  .product h3, .card h2 {
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 4px 0 !important;
    line-height: 1.25 !important;
    height: 33px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .price, .product-price {
    font-size: 15px !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
  }

  /* Hide long card description on mobile to keep grid cards neat & uniform */
  .product > p:not(.price) {
    display: none !important;
  }

  /* Compact 3-Action Buttons on Mobile (100% within card, zero overflow) */
  .product-actions {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr 30px !important;
    gap: 3px !important;
    margin-top: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-actions .islfaa-view-product {
    padding: 7px 2px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    min-width: 0 !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .product-actions .islfaa-add-cart {
    padding: 7px 2px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    min-width: 0 !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .product-actions .islfaa-share-btn {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    border-radius: 6px !important;
    padding: 0 !important;
  }

  .product-actions .islfaa-share-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Mobile Form Layout */
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Admin Hub Responsiveness */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .admin-panel-card {
    padding: 16px !important;
    border-radius: var(--radius-md) !important;
  }

  .card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .card-header button {
    width: 100% !important;
  }

  .filter-bar {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .filter-bar input, .filter-bar select {
    width: 100% !important;
    min-width: 100% !important;
  }

  .admin-tabs {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
  }

  .admin-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .tab-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 10px 16px !important;
    font-size: 13.5px !important;
  }
}

/* ========================================================
   BREAKPOINT: SMARTPHONES (<= 576px)
======================================================== */
@media (max-width: 576px) {
  /* Ultra smooth touch spacing */
  .wrap, .container, .main-container, .product-page, .page,
  .checkout-container, .cart-wrapper, .legal-container,
  .content-container, .account-container, .orders-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hero {
    padding: 30px 14px !important;
  }

  .hero h1 {
    font-size: 24px !important;
  }

  .hero p {
    font-size: 13.5px !important;
  }

  .button-row {
    flex-direction: column !important;
    width: 100% !important;
  }

  .button-row button, .button-row a {
    width: 100% !important;
    text-align: center !important;
  }

  .modal-box {
    width: 95vw !important;
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .login-box, .signup-box {
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }

  .order-product {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .order-product .product-price {
    margin-left: 0 !important;
  }

  .quantity-box {
    width: 100% !important;
    justify-content: center !important;
  }

  .quantity-box input {
    flex: 1 !important;
  }
}

/* ========================================================
   BREAKPOINT: COMPACT PHONES (<= 380px)
======================================================== */
@media (max-width: 380px) {
  .categories, .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .islfaa-brand-logo {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }

  .islfaa-brand-slogan {
    display: none !important;
  }
}

/* ========================================================
   BREAKPOINT: ULTRA-WIDE MONITORS (>= 1440px)
======================================================== */
@media (min-width: 1440px) {
  .products, .grid, #products, #products-container {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 28px !important;
  }
}



