/* =============================================================================
   style1.css — Clean, Modern, RTL-friendly UI
   - Palette, spacing, shadows, transitions & accessibility
   - Keeps all existing class names to avoid breaking JS
   ========================================================================== */

/* ========== Fonts & Base ========== */

:root {
  /* Colors */
  --clr-primary: #004981;
  --clr-primary-600: #0060aa;
  --clr-primary-700: #003c64;
  --clr-accent: #b20000;
  --clr-success: #28a745;
  --clr-danger: #d93025;
  --clr-bg: #f9f9f9;
  --clr-surface: #ffffff;
  --clr-text: #222;
  --clr-muted: #555;
  --clr-border: #e6e6e6;

  /* Brand for floating button */
  --clr-grad-start: #800059;
  --clr-grad-end: #a00070;

  /* Type & sizing */
  --ff: 'Cairo', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, .12);
  --shadow-md: 0 8px 15px rgba(0, 0, 0, .15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .22);
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --trans: .2s ease;

  /* Layout */
  --content-max: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--clr-bg);
  color: var(--clr-text);
  direction: rtl;
  line-height: 1.6;
  font-family: var(--ff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbars (WebKit) */
*::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

*::-webkit-scrollbar-thumb {
  background: #c9c9c9;
  border-radius: 999px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

/* Focus ring for accessibility */
:where(a, button, input, select, textarea, [tabindex]):focus {
  outline: 3px solid color-mix(in oklab, var(--clr-primary), white 65%);
  outline-offset: 2px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================================
   Header
   ========================================================================== */
.header {
  background: var(--clr-primary);
  color: #fff;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
}

.header h3 {
  margin: 0;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .2px;
}

/* Burger icon */
.header .menui {
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans), transform var(--trans);
}

.header .menui:active {
  transform: scale(.96);
}

.header .menui:hover {
  background: rgba(255, 255, 255, .12);
}

/* Cart button */
#cart-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  position: relative;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--trans), opacity var(--trans);
}

#cart-btn:hover {
  transform: translateY(-1px) scale(1.03);
}

#cart-count {
  background: #ff3b3b;
  border-radius: 999px;
  padding: 0 7px;
  font-size: .72rem;
  position: absolute;
  top: -8px;
  left: -8px;
  font-weight: 800;
  box-shadow: 0 0 8px rgba(255, 59, 59, .5);
}

/* Top nav menu */
.menud {
  display: none;
  width: 100%;
}

.menud ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menud ul li {
  padding: 0 var(--sp-5);
}

.menud a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .12);
}

.menud a:hover {
  color: #ffecb3;
}


/* =============================================================================
   Categories bar
   ========================================================================== */
.categories {
  padding: var(--sp-3) var(--sp-5);
  background: var(--clr-surface);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--clr-border);
  scroll-behavior: smooth;
}

.categories button {
  background: #e0e7ff;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--trans), color var(--trans), transform var(--trans);
}

.categories button:hover,
.categories button:focus {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* =============================================================================
   Products grid & cards
   ========================================================================== */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  padding: 20px;
  max-width: var(--content-max);
  margin: 0 auto 40px;
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    padding: 10px;
  }
}

.product-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #f0f0f0;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 12px;
  background: #f3f3f3;
}

.product-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--clr-text);
  font-weight: 800;
  flex-grow: 1;
}

.product-card p {
  margin: 0 0 12px;
  font-size: .98rem;
  color: #444;
}

.product-card p del {
  color: #2c2c2c;
  margin-right: 8px;
}

.product-card p strong {
  color: var(--clr-primary);
  font-weight: 800;
}

.product-card .card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px
}

.product-card button {
  padding: 10px;
  background: var(--clr-primary);
  border: none;
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.product-card button:hover {
  background: var(--clr-primary-600);
  transform: translateY(-1px);
}

.product-card button:active {
  transform: translateY(0);
}

/* Discount badge */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 8px;
  background: #6d0000;
  color: #fff;
  padding: 2px 10px;
  font-size: .78rem;
  font-weight: 800;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(255, 59, 59, .3);
  z-index: 2;
}

/* Qty controls (grid cards) — toggled by .in-cart */
.product-card .qty-controls {
  display: none;
}

.product-card.in-cart .add-cart-btn {
  display: none !important;
}

.product-card.in-cart .qty-controls {
  display: inline-flex !important;
}

.qty-controls {
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f4f7fb;
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  border: 1px solid #e9eef5;
}

.qty-controls .qty {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  color: #1e293b;
}

.qty-controls button {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: background var(--trans), transform var(--trans);
}

.qty-controls button:hover {
  background: var(--clr-primary-600);
  transform: translateY(-1px);
}

.qty-controls button:active {
  transform: translateY(0);
}

/* =============================================================================
   Product (detail) box – if used on product page
   ========================================================================== */
.box {
  width: 97%;
  background: #000b1b;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.box img#main-product-image {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #fff;
  transition: transform .3s ease;
}

.box img#main-product-image:hover {
  transform: scale(1.03);
}

.box h2 {
  margin: 8px 0 0;
  font-size: 22px;
  color: #ffcc00;
}

.box p {
  font-size: 14px;
  color: #ddd;
  margin: 6px 0 10px;
}

.box .price {
  font-size: 18px;
}

.box .price del {
  color: #aaa;
  margin-left: 6px;
}

.box .price strong {
  color: #4caf50;
  font-size: 20px;
}

.box .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.box .gallery .thumb {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.box .gallery .thumb:hover {
  transform: scale(1.08);
  border-color: #ffcc00;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

/* Toggle on detail box too */
.box .qty-controls {
  display: none;
}

.box.in-cart .add-cart-btn {
  display: none !important;
}

.box.in-cart .qty-controls {
  display: inline-flex !important;
}

/* =============================================================================
   Modal (product quick view & image viewer)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .6);
  z-index: 2000;
  padding: 20px;
}

.modal-content {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 700px;
  padding: 18px 20px 20px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  max-height: 90vh;
}

.modal-content h2 {
  font-size: 1.4rem;
  color: var(--clr-primary);
  margin: 10px 0 8px;
}

.modal-content p {
  font-size: 1rem;
  color: #555;
  margin: 6px 0 12px;
}

#main-image-wrapper {
  text-align: center;
  margin: 8px 0 14px;
}

#main-image {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

#modal-gallery.gallery {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px 0 16px;
}

#modal-gallery.gallery img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

#modal-gallery.gallery img:hover {
  transform: scale(1.08);
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-sm);
}

.modal-content .close-btn {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #999;
  cursor: pointer;
  transition: color var(--trans), transform var(--trans);
}

.modal-content .close-btn:hover {
  color: var(--clr-primary);
  transform: rotate(-5deg);
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.modal-actions button,
.modal-actions a {
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--trans), background var(--trans);
}

.modal-actions a.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

.modal-actions a.whatsapp-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* =============================================================================
   Cart side panel
   ========================================================================== */
.cart-modal {
  position: fixed;
  top: 80px;
  right: 0;
  width: 360px;
  height: 85vh;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: none;
}

.cart-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 18px;
  overflow-y: auto;
  animation: fade-in .4s ease-out forwards;
  opacity: 0;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-btn {
  align-self: flex-start;
  font-size: 1.6rem;
  font-weight: 800;
  color: #666;
  margin-bottom: 10px;
  user-select: none;
  cursor: pointer;
  transition: color var(--trans), transform var(--trans);
}

.close-btn:hover {
  color: var(--clr-primary);
  transform: rotate(-6deg);
}

#cart-items>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: .95rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cart-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  background: #f3f3f3;
  padding: 6px;
}

.cart-info {
  flex: 1;
}

#cart-items>div>div button {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-weight: 800;
  padding: 0 !important;
  transition: background var(--trans), transform var(--trans);
}

#cart-items>div>div button:hover {
  background: var(--clr-primary-600);
  transform: translateY(-1px);
}

.cart-content input,
.cart-content textarea,
.cart-modal select,
#coupon-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1.5px solid #d9d9d9;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: border-color var(--trans), box-shadow var(--trans);
  background: #fff;
}

.cart-content input:focus,
.cart-content textarea:focus,
.cart-modal select:focus,
#coupon-input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--clr-primary), white 75%);
  outline: none;
}

.cart-modal label {
  display: block;
  margin: 8px 0 6px;
  text-align: right;
  font-size: 1rem;
  color: #1f2937;
}

#cart-total {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--clr-primary);
  margin: 12px 0 6px;
}

/* Buttons inside cart */
button.checkout-btn,
.coupon-btn {
  background: var(--clr-primary);
  color: #fff;
  font-weight: 800;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}

button.checkout-btn:hover,
.coupon-btn:hover {
  background: var(--clr-primary-600);
  transform: translateY(-1px);
}

button.checkout-btn:active,
.coupon-btn:active {
  transform: translateY(0);
}

#coupon-msg {
  font-size: .9rem;
  margin-bottom: 8px;
  color: var(--clr-danger);
}

/* Loaders */
.load, .load2 {
  width: 55px;
  height: 55px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--clr-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 6px auto;
}

.load {
  display: none;
}

.load2 {
  position: relative;
  top: 50%;
  left: -50%;
  transform: translate(-50%, -50%);
  margin-bottom: 100px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile cart full width */
@media (max-width: 600px) {
  .cart-modal {
    width: 100%;
    right: 0;
    left: 0;
    top: 0;
    height: 100vh;
    border-radius: 0;
  }
}

/* =============================================================================
   Page bits (logo / search / sections)
   ========================================================================== */
.div1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.div1 img {
  border-radius: 50%;
  margin: 5px auto 10px;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}

.div2 {
  width: 100%;
  max-width: var(--content-max);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  margin: 0 auto;
}

.div2 input {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1.5px solid #d9d9d9;
  border-radius: 10px;
  transition: border-color var(--trans), box-shadow var(--trans);
  background: #fff;
}

.div2 input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--clr-primary), white 75%);
}

.div2 i {
  background: var(--clr-primary);
  color: #fff;
  position: relative;
  top: -45px;
  right: 93%;
  padding: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}

.div2 i:hover {
  background: var(--clr-primary-600);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .div2 i {
    right: 87%;
  }
}

/* =============================================================================
   Footer
   ========================================================================== */
footer {
  width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 14px;
  margin-top: 30px;
}

.fdiv1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}

.fdiv1 a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color var(--trans), transform var(--trans);
}

.fdiv1 a:hover {
  color: #ff9ab0;
  transform: translateY(-1px);
}

.fdiv2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

footer p {
  margin: 0;
  font-size: .9rem;
  opacity: .85;
}

footer a:hover {
  color: var(--clr-accent);
}

/* =============================================================================
   Toast (unify inline style if present in page)
   ========================================================================== */
#toast {
  position: fixed;
  top: 56px;
  left: 12px;
  background: var(--clr-success);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

/* =============================================================================
   Floating Checkout Button
   ========================================================================== */
.floating-checkout {
  position: fixed;
  left: 12px;

  bottom: calc(50px + env(safe-area-inset-bottom));
  z-index: 999;

  display: none;
  /* shown only when cart has items */
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  height: 56px;
  padding: 0 14px;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;

  background: linear-gradient(90deg, var(--clr-grad-start), var(--clr-grad-end));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  transition: transform var(--trans), box-shadow var(--trans);
}

@media screen and (max-width: 600px) {
  .floating-checkout {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));

  }

}

.floating-checkout:active {
  transform: translateY(1px);
}

.floating-checkout .fc-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.floating-checkout .fc-left i {
  font-size: 18px;
}

.floating-checkout .fc-count {
  background: rgba(255, 255, 255, .18);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
}

.floating-checkout .fc-text {
  letter-spacing: .3px;
}

.floating-checkout .fc-total {
  background: rgba(0, 0, 0, .15);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 800;
}

@media (min-width: 992px) {
  .floating-checkout {
    left: calc(50% - 220px);
    right: auto;
    width: 440px;
  }
}














/* Quick Cart (modal) */
.qc-modal {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.63);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000
}

.qc-box {
  width: min(560px, 92vw);
  min-height: 70vh;
  background: var(--clr-surface, #fff);
  border: 1px solid var(--clr-border, #e5e7eb);
  border-radius: var(--radius-lg, 14px);
  padding: 14px;
  box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, .22))
}

.qc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px
}

.qc-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666
}

.qc-items {
  max-height: 50vh;
  overflow: auto;
  border: 1px solid var(--clr-border, #e5e7eb);
  border-radius: 10px;
  padding: 8px
}

.qc-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-bottom: 1px dashed var(--clr-border, #e5e7eb)
}

.qc-line:last-child {
  border-bottom: none
}

.qc-name {
  color: var(--clr-text, #222)
}

.qc-qty {
  color: var(--clr-muted, #555);
  font-size: 13px;
  margin-inline-start: 6px
}

.qc-price {
  font-weight: 800;
  color: var(--clr-primary, #004981)
}

.qc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px
}

.qc-total {
  font-weight: 800
}

.qc-buy {
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: var(--clr-primary, #004981);
  color: #fff;
  cursor: pointer;
  font-weight: 800
}

.qc-buy:hover {
  filter: brightness(1.05)
}










/* Promo hero */
.promo-hero {
  background: linear-gradient(135deg, #003c64, #0060aa);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 16px auto;
  max-width: var(--content-max);
  padding: 28px 22px;
  box-shadow: var(--shadow-md);
}

.promo-hero .promo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.promo-hero h2 {
  margin: 0;
  font-size: clamp(1.1rem, 3.4vw, 1.6rem);
  font-weight: 800;
}

.promo-hero p {
  margin: 6px 0 0;
  opacity: .95
}

.btn-hero {
  background: #ffcc00;
  color: #222;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
}

.btn-hero:hover {
  filter: brightness(1.05)
}

/* Home features */
.home-features {
  max-width: var(--content-max);
  margin: 16px auto;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.home-features .feat {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.home-features .feat i {
  font-size: 26px;
  margin-bottom: 6px;
  display: block;
  color: var(--clr-primary)
}

.home-features .feat h5 {
  margin: 6px 0 4px;
  font-size: 1rem;
}

/* Best sellers */
.best-sellers {
  max-width: var(--content-max);
  margin: 12px auto;
  padding: 0 10px;
}

.bs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 4px;
}

.bs-head h3 {
  margin: 0;
  font-weight: 800;
}

.bs-viewall {
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 700;
}

.bs-viewall:hover {
  text-decoration: underline;
}

/* Testimonials */
.testimonials {
  max-width: var(--content-max);
  margin: 18px auto 12px;
  padding: 8px 10px;
}

.testimonials h3 {
  margin: 4px 0 10px;
  font-weight: 800;
}

.t-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.t-list blockquote {
  background: var(--clr-surface);
  border: 1px dashed var(--clr-border);
  border-radius: 12px;
  padding: 14px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}

.t-list cite {
  display: block;
  margin-top: 8px;
  color: #666;
  font-style: normal
}

/* Load more button */
.load-more {
  display: block;
  margin: 8px auto 20px;
  padding: 10px 18px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.load-more:hover {
  background: var(--clr-primary-600);
  transform: translateY(-1px);
}

/* Footer Pro */
.site-footer {
  background: #0b0b0b;
  color: #eee;
  margin-top: 26px;
}

.site-footer .footer-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.site-footer h4 {
  margin: 0 0 10px;
  font-weight: 800;
  color: #fff;
  font-size: 1.03rem
}

.site-footer p, .site-footer li, .site-footer small {
  color: #d6d6d6
}

.footer-links, .footer-contact, .footer-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.f-social a {
  color: #fff;
  margin-inline-end: 10px;
  font-size: 1.1rem;
  text-decoration: none
}

.f-social a:hover {
  color: #ff9ab0
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 6px
}

.newsletter input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #111;
  color: #fff
}

.newsletter input::placeholder {
  color: #aaa
}

.newsletter button {
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: #ff3366;
  color: #fff;
  font-weight: 800;
  cursor: pointer
}

.newsletter button:hover {
  filter: brightness(1.05)
}

.f-payments {
  margin-top: 10px;
  opacity: .9;
  font-size: .95rem
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  text-align: center;
  padding: 10px;
  font-size: .92rem;
  color: #cfcfcf
}


/* Cart line */
.cart-line {
  align-items: center;
}

.cart-qty-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-badge {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  color: #1e293b;
}

.cart-remove {
  background: transparent;
  border: 1px solid var(--clr-border, #e5e7eb);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  color: #b00000;
}

.cart-remove:hover {
  background: #ffe7e7;
  border-color: #f3baba;
  transform: translateY(-1px);
}

/* Quick cart images & remove */
.qc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qc-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f3f3;
}

.qc-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qc-remove {
  background: transparent;
  border: 1px solid var(--clr-border, #e5e7eb);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  color: #b00000;
}

.qc-remove:hover {
  background: #ffe7e7;
  border-color: #f3baba;
  transform: translateY(-1px);
}