@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   POINT CARPET — Main Stylesheet
 * ═══════════════════════════════════════════════════════════════════════════
 *   To navigate: search for "SECTION" or section number (e.g. "SECTION 4") to find your place.
 *
 *   TABLE OF CONTENTS:
 *     1. Global & Variables      12. Products Page      23. Account Orders
 *     2. Social Icons & Back Top 13. Inner Pages        24. Order Details
 *     3. Loading                 14. Checkout           25. Cart Page
 *     4. Header & Navigation     15. Auth               26. Footer (end of file)
 *     5. Offcanvas + Quick Search  17. Blog Details    27. Product Details
 *     5b. Cart Offcanvas         18. Payment Confirm   28. Share Modal
 *     6. Hero                    19. Invoice           29. Quick View Modal
 *     7. Categories              20. Contact           30. Payment Failure
 *     8. Featured & Wishlist     21. Account
 *     9. New Collection          22. Modals
 *    10. Why Choose Us            (after 25: Utility, then 27–30, then 26. Footer)
 *    11. Blog
 * ═══════════════════════════════════════════════════════════════════════════
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 1 — GLOBAL & VARIABLES
 *   (:root, reset, buttons, utilities)
 * ═══════════════════════════════════════════════════════════════════════════
 */
:root {
  --main-color: #050505;
  --second-color: #800000;
  --third-color: #f5f0eb;
  --white-color: #ffffff;
  --black-color: #000000;
  --placeholder-color: #a1a1a1;

  /* Grays — text, borders, backgrounds */
  --gray-900: #222222;
  --gray-800: #212121;
  --gray-750: #444444;
  --gray-700: #555555;
  --gray-600: #666666;
  --gray-500: #999999;
  --gray-400: #888888;
  --gray-300: #6c757d;
  --gray-200: #e0e0e0;
  --gray-150: #e8e8e8;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --gray-25: #f8f9fa;
  --gray-border: #e9ecef;
  --gray-250: #dddddd;
  --gray-surface: #787878;

  /* Semantic — success, danger, warning */
  --success-color: #198754;
  --success-light: #28a745;
  --success-teal: #20c997;
  --danger-color: #dc3545;
  --danger-dark: #b02a37;
  --danger-light: #ff6b6b;
  --warning-color: #ffc107;

  /* Off-white (hero/subtle text) */
  --off-white: #f1f1f1;

  /* Border radius — values used across the file */
  --radius-0: 0;
  --radius-2: 2px;
  --radius-4: 4px;
  --radius-5: 5px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius-14: 14px;
  --radius-16: 16px;
  --radius-18: 18px;
  --radius-20: 20px;
  --radius-24: 24px;
  --radius-pill: 50px;
  --radius-pill-lg: 999px;
  --radius-full: 50%;

  /* Header — nav bar border color */
  --header-nav-border: rgba(255, 255, 255, 0.1);
}

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

ul li {
  list-style: none !important;
}

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

html,
body {
  scroll-behavior: smooth !important;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
}

body {
  background: var(--main-color);
}

[dir="rtl"] body {
  font-family: "Cairo", sans-serif;
}

.theme-offcanvas-label {
  color: rgba(255, 255, 255, 0.65);
}

#mobileMenu .theme-toggle-offcanvas .header-action-icon,
.offcanvas .theme-toggle-offcanvas .header-action-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-0);
  color: var(--white-color);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

#mobileMenu .theme-toggle-offcanvas:hover .header-action-icon,
.offcanvas .theme-toggle-offcanvas:hover .header-action-icon {
  background-color: var(--second-color);
  color: var(--white-color);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--second-color);
  border-radius: var(--radius-0);
}

.text-main {
  color: var(--main-color);
}

.bg-main {
  background-color: var(--main-color);
}

.btn-send {
  padding: 12px 32px;
  letter-spacing: 2px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--white-color);
  color: var(--main-color);
  border: 2px solid var(--main-color);
  border-radius: var(--radius-0);
  font-size: 13px !important;
  transition: all 0.5s ease;
  text-transform: uppercase;
  text-align: center;

  &:hover {
    background: var(--second-color);
    color: var(--white-color);
    border: 2px solid var(--white-color);
  }
}

.btn-send-outline {
  background-color: transparent;
  color: var(--white-color);
  border: 2px solid var(--second-color);
  border-radius: var(--radius-0);
  padding: 12px 32px;
  font-size: 13px !important;
  transition: all 0.5s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;

  &:hover {
    background-color: var(--second-color);
    color: var(--white-color);
    border: 2px solid var(--second-color);
  }
}

.btn-more {
  border-radius: var(--radius-0);
  font-size: 16px;
  transition: all 0.5s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  background: transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;

  span {
    background: var(--second-color);
    color: var(--white-color);
    padding: 12px 32px;
    border-radius: var(--radius-0);
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: 2px solid transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  i {
    background-color: var(--white-color);
    color: var(--main-color);
    padding: 12px;
    border-radius: var(--radius-0);
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: 2px solid transparent;
    margin-left: -15px;
    box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.1);
    /* transform: rotate(-45deg); */
  }

  &:hover {
    span {
      background: var(--white-color);
      color: var(--main-color);
    }

    i {
      background: var(--second-color);
      color: var(--white-color);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      transform: rotate(0deg);
    }
  }
}

.btn-contact {
  background: transparent !important;
  color: var(--third-color) !important;
  padding: 12px 32px;
  border-radius: var(--radius-0);
  font-size: 16px;
  transition: all 0.3s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--white-color) !important;
  margin-top: 8px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-0);
    background: var(--second-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
  }

  &:hover {
    color: var(--white-color) !important;
    border-color: var(--second-color) !important;

    &::before {
      transform: scaleX(1);
      transform-origin: left;
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 1 — GLOBAL & VARIABLES
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 2 — SOCIAL ICONS & BACK TO TOP
 * ═══════════════════════════════════════════════════════════════════════════
 */
.social-icon {
  inset-inline-start: 0 !important;
  margin-inline-start: 16px;
  margin-bottom: 50px;
  width: fit-content;
  z-index: 999 !important;

  a {
    background: var(--second-color) !important;
    color: var(--white-color);
    padding: 0.8rem;
    border-radius: var(--radius-0) !important;
    margin: 0.5rem;
    width: 50px;
    height: 50px;
    font-size: 25px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    border: none;

    &:hover {
      color: var(--white-color);
      transform: translateY(-5px) scale(1.05);
      filter: brightness(1.1);
    }

    &:nth-child(1) {
      font-size: 20px !important;
    }
  }
}

.back-to-top {
  position: fixed;
  bottom: 50px;
  inset-inline-end: 30px;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--second-color) !important;
  color: var(--white-color);
  border-radius: var(--radius-0);
  border: none;
  font-size: 25px;
  display: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 999;
  cursor: pointer;

  &:hover {
    color: var(--white-color);
    transform: translateY(-5px) scale(1.05);
  }

  &.show {
    display: flex !important;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 2 — SOCIAL ICONS & BACK TO TOP
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 3 — LOADING (preloader)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  .loader-container {
    position: relative;
    width: 200px;
    height: 200px;
  }

  .pulse-circle {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulseLoader 1.5s infinite ease-in-out;

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
}

@keyframes pulseLoader {
  0% {
    opacity: 0.5;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 3 — LOADING
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 4 — HEADER & NAVIGATION
 *   (Fixed, Brand bar, Cart/Dropdown, Wishlist, Mobile, Bottom nav, Mega menu)
 * ═══════════════════════════════════════════════════════════════════════════
 */
/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Header — Fixed state (scrolled)
 *   Applies to: .fixed-top and .fixed .header-brand-bar on scroll
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.fixed-top {
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.fixed .header-brand-bar {
  background: var(--main-color) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
  z-index: 99;
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Header — Shared (cart badge, wishlist badge, dropdown menu)
 *   Applies to: cart/wishlist badges and account dropdown menu
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.cart-count,
.wishlist-count,
.header-action-badge {
  position: absolute;
  top: 4px;
  font-size: 10px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  background: var(--second-color) !important;
  color: var(--white-color);
  border: 2px solid var(--white-color);
}

.cart-count,
.wishlist-count {
  right: 4px;
}

.wishlist-count {
  border-radius: var(--radius-0);
}

.header-brand-bar .cart-count,
.header-brand-bar .header-action-badge,
.header-actions-mobile .cart-count,
.header-actions-mobile .header-action-badge {
  right: 8px;
  border-radius: var(--radius-0);
}

.dropdown-menu-nav {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: var(--radius-0) !important;
  padding: 10px !important;
  min-width: 200px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12) !important;
  inset: 0 auto auto 0 !important;

  .dropdown-item {
    border-radius: var(--radius-0);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 12px !important;
    transition:
      background 0.2s ease,
      color 0.2s ease;

    &:hover {
      background: rgba(223, 31, 46, 0.06);
      color: var(--second-color);
    }
  }

  .dropdown-divider {
    margin: 10px 0;
  }
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Header — Brand bar (logo + actions)
 *   Applies to: logo bar + account, wishlist and cart icons
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.header-brand-bar {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    transparent 100%
  );
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;

  .logo-and-menu {
    .header-action-item {
      display: inline-flex;
      align-items: center;
      gap: 4px !important;
      color: var(--white-color) !important;
      background: rgba(255, 255, 255, 0.3);
      text-decoration: none;
      border-radius: var(--radius-0);
      border: 1px solid transparent;
      transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
      font-size: 14px;
      font-weight: 600;

      &:hover {
        color: var(--second-color);

        .header-action-icon {
          background: rgba(223, 31, 46, 0.1);
          color: var(--second-color);
        }
      }
    }
  }

  .header-actions {
    .header-action-link,
    .themeToggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px;
      color: var(--white-color);
      text-decoration: none;
      border-radius: var(--radius-0);
      border: 1px solid transparent;
      transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;

      &:hover {
        .header-action-icon {
          background-color: var(--second-color);
          color: var(--white-color);
        }
      }
    }

    .header-action-icon {
      width: 40px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.3);
      border-radius: var(--radius-0);
      color: var(--white-color);
      transition:
        background 0.2s ease,
        color 0.2s ease;
    }

    .header-action-label {
      white-space: nowrap;
    }

    .header-action-cart {
      .header-action-cart-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.25;
      }

      .header-cart-total {
        font-weight: 700;
        font-size: 15px;
      }

      .header-cart-count {
        font-size: 12px;
        color: var(--gray-600);
        font-weight: 500;
      }
    }
  }
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Header — Mobile actions
 *   Applies to: mobile icons (wishlist, cart, hamburger menu)
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.header-actions-mobile {
  display: flex;
  align-items: center;
  gap: 4px !important;
  flex-wrap: wrap;

  .header-action-item {
    position: relative;
  }

  .header-action-link {
    display: inline-flex;
    align-items: center;
    gap: 4px !important;

    color: var(--white-color) !important;
    background: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    border-radius: var(--radius-0);
    border: 1px solid transparent;

    transition:
      color 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease;
    font-size: 14px;
    font-weight: 600;

    &:hover {
      color: var(--second-color);

      .header-action-icon {
        background: rgba(223, 31, 46, 0.1);
        color: var(--second-color);
      }
    }
  }

  .header-action-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-surface);
    border-radius: var(--radius-0);
    color: var(--white-color);
    transition:
      background 0.2s ease,
      color 0.2s ease;
  }

  .header-action-label {
    white-space: nowrap;
  }

  .header-action-cart {
    .header-action-cart-info {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      line-height: 1.25;
    }

    .header-cart-total {
      font-weight: 700;
      font-size: 15px;
    }

    .header-cart-count {
      font-size: 12px !important;
      color: var(--gray-600);
      font-weight: 500;
    }
  }
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Header — Bottom navigation & Search
 *   Applies to: bottom nav links and search
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.bottom-nav {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);

  .bottom-nav-categories {
    position: relative;

    .bottom-nav-categories-btn {
      color: var(--white-color);
      text-decoration: none;
      font-size: 13px;
      line-height: 40px;
      letter-spacing: 0.02em;
      border-right: 1px solid rgba(0, 0, 0, 0.1);
      transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;

      i {
        font-size: 14px;
      }

      &:hover {
        background: rgba(223, 31, 46, 0.06);
        border-color: rgba(223, 31, 46, 0.2);
        color: var(--second-color);
      }
    }
  }

  .bottom-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
  }

  .bottom-nav-link {
    padding: 10px 14px;
    color: var(--white-color);
    font-size: 16px;
    font-weight: 600;

    line-height: 80px !important;
    text-decoration: none;
    border-radius: var(--radius-0);
    white-space: nowrap;
    transition:
      color 0.2s ease,
      background 0.2s ease;

    &:hover {
      color: var(--second-color);
    }
  }

  .bottom-nav-search {
    position: relative;

    .bottom-nav-search-input {
      padding: 10px 24px 10px 16px;
      border-left: 1px solid rgba(0, 0, 0, 0.12) !important;
      border: none;
      border-radius: var(--radius-0);
      font-size: 14px;
      width: 100%;
      transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

      &:focus {
        outline: 0;
        border: none;
        box-shadow: none;
        background: var(--white-color);
      }

      &::placeholder {
        color: var(--placeholder-color);
      }
    }

    .bottom-nav-search-btn {
      position: absolute;
      top: 50%;
      inset-inline-end: 0px;
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: none;
      background: transparent;
      color: var(--white-color);
      border-radius: var(--radius-0);
      cursor: pointer;
      transition:
        color 0.2s ease,
        background 0.2s ease;

      &:hover {
        color: var(--second-color);
        background: rgba(223, 31, 46, 0.08);
      }
    }
  }

  .mega-menu {
    left: 0;
    right: auto;
    width: 100%;
    min-width: 320px;
  }
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Header — Navbar & Mega menu
 *   Applies to: navbar and mega menu (Products dropdown)
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.navbar {
  background-color: transparent;
  transition: all 0.3s ease;
  box-shadow: none;

  .navbar-brand {
    img {
      transition: transform 0.3s ease;
    }

    &:hover img {
      transform: scale(1.05);
    }
  }

  .navbar-toggler {
    box-shadow: none !important;
    border: none !important;
  }

  .nav-item {
    .nav-link {
      color: var(--main-color);
      font-weight: 600;
      font-size: 16px;

      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      position: relative;
      text-align: center;

      i {
        line-height: 90px;
      }

      &:hover {
        color: var(--third-color);
      }

      &.active {
        background: linear-gradient(
          135deg,
          rgba(139, 115, 85, 0.15) 0%,
          rgba(155, 134, 119, 0.15) 100%
        );
      }
    }
  }

  .dropdown,
  .user-dropdown {
    position: static;
  }

  .bottom-nav-dropdown {
    position: static;

    &:hover > .mega-menu {
      display: block;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }
  }

  .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(14px);
    width: 300px;
    padding: 20px 10px;
    margin-top: -10px !important;
    border-radius: var(--radius-0);
    border: 1px solid var(--white-color);
    background-color: var(--gray-750);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
    z-index: 1300;
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;

    .mega-menu-title {
      font-size: 14px !important;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--white-color);
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      margin-bottom: 6px;
    }

    .mega-title {
      display: block;
      text-decoration: none;
      color: var(--white-color);
      font-size: 14px;
      font-weight: 500;
      padding: 8px 10px;
      border-radius: var(--radius-0);
      transition:
        color 0.2s ease,
        background 0.2s ease,
        padding-inline-start 0.2s ease;

      &:hover {
        color: var(--white-color);
        background: rgba(223, 31, 46, 0.08);
        padding-left: 16px;
      }
    }

    .mega-title-with-sub {
      position: relative;

      .mega-title {
        padding-right: 18px;
      }

      &:hover > .mega-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0) translateY(0);
      }
    }

    .mega-submenu {
      position: absolute;
      top: 0;
      left: 100%;
      margin-left: 0px;
      min-width: 200px;
      padding: 10px 14px;
      border-radius: var(--radius-0);
      border: 1px solid rgba(255, 255, 255, 0.12);
      background-color: var(--gray-750);
      box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateX(6px) translateY(4px);
      transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;

      .mega-sub-link {
        display: block;
        font-size: 14px;
        color: var(--white-color);
        text-decoration: none;
        padding: 4px 8px;
        border-radius: var(--radius-0);
        transition:
          color 0.2s ease,
          background 0.2s ease,
          padding-inline-start 0.2s ease;

        &:hover {
          color: var(--white-color);
          background: rgba(223, 31, 46, 0.08);
          padding-left: 12px;
        }
      }
    }
  }

  .user-dropdown {
    .dropdown-menu {
      position: absolute;
      top: 100%;
      padding: 20px 10px;
      margin: 0;
      border: none;
      border-radius: var(--radius-0);
      background-color: var(--white-color);
    }
  }
}

@keyframes megaMenuFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 4 — HEADER & NAVIGATION
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 5 — OFFCANVAS
 *   (Quick Search, Mobile menu, Cart offcanvas styles)
 * ═══════════════════════════════════════════════════════════════════════════
 */
/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Offcanvas — Quick Search (from footer)
 *   Applies to: quick search side panel
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.quick-search-offcanvas {
  .offcanvas-header {
    border-bottom: 1px solid var(--gray-border);
  }

  .offcanvas-title {
    font-weight: 600;
    font-size: 20px !important;
    letter-spacing: 0.03em;
    color: var(--third-color);
  }

  .quick-search-header-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-0);
    background: rgba(255, 255, 255, 0.03);
    color: var(--white-color);
    font-size: 14px;
  }

  .quick-search-form {
    background: var(--gray-surface);
    border-radius: var(--radius-0);
    padding: 6px 10px;
  }

  .quick-search-input-wrapper {
    width: 100%;
  }

  .quick-search-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-0);
    background: var(--second-color);
    color: var(--white-color);
    font-size: 14px !important;
  }

  .quick-search-input {
    border: none;
    background: transparent;
    box-shadow: none;

    &:focus {
      outline: none;
      box-shadow: none;
    }

    &::placeholder {
      color: var(--third-color);
      font-size: 14px !important;
      font-weight: 500;
    }
  }

  .quick-search-btn {
    border-radius: var(--radius-0);
    white-space: nowrap;
  }
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Offcanvas — Mobile menu & Cart
 *   Applies to: mobile side menu and cart offcanvas
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.offcanvas {
  background-color: var(--main-color);

  .offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    .navbar-brand {
      img {
        max-height: 50px;
        width: auto;
      }
    }

    .btn {
      padding: 8px;
      border-radius: var(--radius-0);
      transition: all 0.3s ease;

      &:hover {
        background: rgba(223, 31, 46, 0.1);
      }
    }
  }

  .offcanvas-body {
    overflow-y: auto;
  }

  .search-form {
    .search-input {
      border: 1px solid rgba(0, 0, 0, 0.1);
      padding: 12px 40px 12px 16px;
      font-size: 14px;
      transition: all 0.3s ease;

      &:focus {
        border-color: var(--second-color);
        box-shadow: 0 0 0 0.2rem rgba(223, 31, 46, 0.1);
      }
    }

    .search-btn {
      color: var(--second-color);
      transition: all 0.3s ease;

      &:hover {
        color: var(--main-color);
        transform: scale(1.1);
      }
    }
  }

  .navbar-nav {
    .nav-item {
      margin-bottom: 4px;
    }

    .nav-link {
      color: var(--white-color);
      font-weight: 600;
      font-size: 15px;
      padding: 12px 16px;
      border-radius: var(--radius-0);
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      width: 100%;

      i {
        transition: transform 0.3s ease;
      }

      &:hover {
        color: var(--second-color);
        background: rgba(223, 31, 46, 0.05);
        padding-left: 20px;
      }

      &.active {
        color: var(--second-color);
        background: rgba(223, 31, 46, 0.1);
      }
    }

    .dropdown {
      .nav-link {
        &[aria-expanded="true"] {
          .fa-angle-down {
            transform: rotate(180deg);
          }
        }
      }
    }
  }

  .mega-menu {
    display: none;
    position: static !important;
    width: 100%;
    padding: 12px 0;
    margin: 0 !important;
    border: none;
    border-radius: var(--radius-0);
    background-color: rgba(223, 31, 46, 0.02);
    border-left: 3px solid var(--second-color);

    transform: none !important;

    &.show {
      display: block;
    }

    .dropdown-item {
      padding: 10px 20px;
      font-size: 14px;
      color: var(--white-color);
      transition: all 0.3s ease;
      border-radius: var(--radius-0);

      &:hover {
        color: var(--second-color);
        background: rgba(223, 31, 46, 0.05);
        padding-left: 24px;
      }
    }

    .mega-title {
      text-decoration: none;
      color: var(--white-color);
      font-size: 14px;
      transition: all 0.3s ease;
      display: block;
      padding: 10px 20px;

      &:hover {
        color: var(--second-color);
        padding-left: 24px;
        background: rgba(223, 31, 46, 0.05);
      }
    }
  }

  .dropdown-menu-nav {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: var(--radius-0) !important;
    padding: 10px !important;
    min-width: 200px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12) !important;
    margin-top: 0px !important;
    position: static !important;
    transform: none !important;

    .dropdown-item {
      border-radius: var(--radius-0);
      font-size: 14px;
      font-weight: 500;
      padding: 10px 12px !important;
      transition:
        background 0.2s ease,
        color 0.2s ease;
      color: var(--main-color);

      i {
        color: var(--second-color);
      }

      &:hover {
        background: rgba(223, 31, 46, 0.06);
        color: var(--second-color);
      }
    }

    .dropdown-divider {
      margin: 10px 0;
    }
  }

  /* Cart Offcanvas — styles for cart offcanvas only */
  &#cartOffcanvas {
    width: 450px;
    max-width: 100vw;

    .offcanvas-header {
      padding: 24px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);

      .offcanvas-title {
        font-size: 20px !important;
        font-weight: 700;
        color: var(--third-color);
        margin: 0;
      }

      .btn-close {
        padding: 8px;
        opacity: 1;
        transition: opacity 0.2s ease;
        color: var(--third-color);
        filter: brightness(0) invert(1);

        &:hover {
          opacity: 1;
        }
      }
    }
  }

  .header-social {
    border-top: 1px solid rgba(0, 0, 0, 0.08);

    .social-link {
      width: 42px;
      height: 42px;
      border-radius: var(--radius-0);
      background: rgba(255, 255, 255, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--third-color);
      transition: all 0.3s ease;
      text-decoration: none;

      &:hover {
        background: var(--second-color);
        color: var(--white-color);
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(223, 31, 46, 0.3);
      }
    }
  }

  .transition-transform {
    transition: transform 0.3s ease;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 5 — OFFCANVAS
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 5b — CART OFFCANVAS + CART PAGE
 *   (.cart-item, .cart-summary, .cart-actions)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.cart-page-section .cart-item-name {
  color: var(--white-color) !important;
}

.cart-page-section .cart-item-collection {
  color: rgba(255, 255, 255, 0.65) !important;
}

.cart-page-section .cart-item-price {
  color: var(--second-color) !important;
}

.cart-page-section .cart-item-line-total {
  font-size: 15px;
  font-weight: 700;
  color: var(--white-color);
  white-space: nowrap;
}

.cart-page-section .cart-page-label,
.cart-page-section .cart-page-empty {
  color: rgba(255, 255, 255, 0.85);
}

.cart-page-section .cart-page-subtotal-value {
  color: var(--second-color);
  font-size: 1.15rem;
}

.cart-page-section .cart-item-meta {
  flex-wrap: wrap;
}

.cart-item {
  background: var(--main-color);
  border-radius: var(--radius-0);
  transition: background 0.2s ease;
  color: var(--white-color);
  border: 1px solid var(--second-color);
  &:hover {
    background: var(--gray-900);
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
    min-width: 100px;
    min-height: 100%;
    border-radius: var(--radius-0);
    overflow: hidden;

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

  .cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .cart-item-name {
    font-size: 15px !important;
    font-weight: 600;
    color: var(--third-color);
    margin: 0;
    line-height: 1.4;
  }

  .cart-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  .cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--second-color);
  }

  .cart-item-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-0);
    padding: 4px;
  }

  .cart-item-qty-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius-0);
    color: var(--second-color);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;

    i {
      font-size: 11px;
    }

    &:hover {
      background: var(--second-color);
      color: var(--white-color);
    }

    &:active {
      transform: scale(0.95);
    }
  }

  .cart-item-qty-value {
    min-width: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--main-color);
  }

  .cart-item-remove {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-0);
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;

    i {
      font-size: 12px;
    }

    &:hover {
      background: rgba(223, 31, 46, 0.1);
      border-color: var(--second-color);
      color: var(--second-color);
    }
  }
}

.cart-summary {
  padding: 24px;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
  background: var(--main-color);
  position: sticky;
  bottom: 0;
  border-top: 1px solid var(--second-color);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

  span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--third-color);
  }

  span:last-child {
    font-size: 18px;
    font-weight: 700;
    color: var(--third-color);
  }
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 5b — CART OFFCANVAS STYLES
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 6 — HERO
 *   (Slider, hero-content, hero-mobile)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.hero {
  position: relative;
  z-index: 0;

  .hero-slider {
    overflow-x: hidden;
    height: 100vh;

    .swiper-slide {
      height: 100vh;
      width: 100%;
      object-fit: cover;

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

      .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
          to top,
          rgba(0, 0, 0, 0.9) 0%,
          transparent 100%
        );
        z-index: 1;
      }
    }

    .swiper-btns {
      position: absolute;
      display: flex;
      justify-content: space-between;
      width: 100%;
      padding: 0 15px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 4;

      .swiper-button-next,
      .swiper-button-prev {
        position: static !important;
        width: 52px;
        height: 52px;
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-0);
        background: var(--white-color) !important;
        border: 1px solid rgba(255, 255, 255, 0.4);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

        & svg {
          display: none;
        }

        &::after {
          display: none;
        }

        i {
          font-size: 16px;
          color: var(--main-color);
          transition: all 0.3s ease;
        }

        &:hover {
          background: var(--second-color) !important;
          border-color: var(--white-color);

          i {
            color: var(--third-color);
          }
        }
      }
    }

    [dir="rtl"] .swiper-btns {
      left: auto;
      right: 24px;
    }

    .swiper-pagination {
      bottom: 30px !important;
      z-index: 3;

      .swiper-pagination-bullet {
        width: 30px;
        height: 3px;
        border-radius: var(--radius-0);
        background: rgba(255, 255, 255, 0.5);
        opacity: 1;
        transition: all 0.3s ease;

        &.swiper-pagination-bullet-active {
          background: var(--white-color);
          width: 30px;
          border-radius: var(--radius-0);
        }
      }
    }
  }

  .hero-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    opacity: 0;

    &.active {
      opacity: 1;

      .hero-slogan {
        opacity: 1;
        transform: translateY(0);
      }

      h1 {
        opacity: 1;
        transform: translateY(0);
      }

      p {
        opacity: 1;
        transform: translateY(0);
      }

      .btn-contact {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-slogan {
      display: inline-block;
      margin-bottom: 14px;
      font-size: 14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-weight: 600;
      color: var(--white-color);
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.6s ease;
    }

    h1 {
      font-size: 48px;
      font-weight: 700;
      color: var(--white-color);
      margin-bottom: 12px;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    p {
      max-width: 600px;
      color: var(--off-white);
      opacity: 0;
      transform: translateY(30px);
      transition: all 1s ease;
    }

    .btn-contact {
      opacity: 0;
      transform: translateY(30px);
      transition: all 1.2s ease;
      background: transparent !important;
      color: var(--white-color) !important;
      padding: 14px 38px !important;
      font-size: 14px !important;
      letter-spacing: 2px;
      text-transform: uppercase;
      border: 2px solid rgba(255, 255, 255, 0.9) !important;
      margin-top: 8px;

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--white-color);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
      }

      &:hover {
        color: var(--main-color) !important;
        border-color: var(--white-color) !important;

        &::before {
          transform: scaleX(1);
          transform-origin: left;
        }
      }
    }
  }
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Hero — Mobile version
 *   Applies to: hero slider and content on small screens
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.hero-mobile {
  .hero-slider-mobile {
    height: 60vh;

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

    .swiper-pagination {
      bottom: 20px !important;
      z-index: 6;

      .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, 0.6);
        opacity: 1;

        &.swiper-pagination-bullet-active {
          background: var(--white-color);
        }
      }
    }

    .overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.3);
      z-index: 1;
    }

    .hero-content {
      position: absolute;
      left: 25px;
      bottom: 90px;
      z-index: 6;

      .hero-slogan {
        display: inline-block;
        margin-bottom: 14px;
        font-size: 14px;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-weight: 600;
        color: var(--white-color);
        transform: translateY(20px);
        transition: all 0.6s ease;
      }

      h1 {
        font-size: 35px !important;
        font-weight: 700;
        color: var(--white-color);
        margin-bottom: 12px;
        transform: translateY(30px);
        transition: all 0.8s ease;
      }

      p {
        max-width: 600px;
        color: var(--off-white);
        transform: translateY(30px);
        transition: all 1s ease;
      }

      .btn-contact {
        transform: translateY(30px);
        transition: all 1.2s ease;
        background: transparent !important;
        color: var(--white-color) !important;
        padding: 12px 28px !important;
        font-size: 13px !important;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        border: 2px solid rgba(255, 255, 255, 0.9) !important;

        &::before {
          content: "";
          position: absolute;
          inset: 0;
          background: var(--white-color);
          transform: scaleX(0);
          transform-origin: right;
          transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
          z-index: -1;
        }

        &:hover {
          color: var(--main-color) !important;
          border-color: var(--white-color) !important;

          &::before {
            transform: scaleX(1);
            transform-origin: left;
          }
        }
      }

      &.active {
        .hero-slogan {
          transform: translateY(0);
        }

        h1 {
          transform: translateY(0);
        }

        p {
          transform: translateY(0);
        }

        .btn-contact {
          transform: translateY(0);
        }
      }
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 6 — HERO
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 7 — CATEGORIES
 * ═══════════════════════════════════════════════════════════════════════════
 */
.categories-section-badge,
.featured-products-badge,
.why-choose-us-badge,
.blog-section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--second-color);
  margin-bottom: 10px;
}

.categories-section-title,
.featured-products-title,
.why-choose-us-title,
.blog-section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 12px;
}

.categories-section-desc,
.featured-products-desc,
.why-choose-us-desc,
.blog-section-desc {
  color: var(--third-color);
  font-size: 16px;
  line-height: 1.6;
}

.categories-section {
  position: relative;

  .categories-swiper-wrap {
    overflow: hidden;
    padding: 0 52px 40px;
  }

  .categoriesSwiper {
    overflow: hidden;
  }

  .categoriesSwiper .swiper-slide {
    height: auto;
  }

  .category-card {
    display: block;
    height: 100%;

    border-radius: var(--radius-0);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease;
    text-decoration: none;
    color: inherit;

    &:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
      border: 1px solid var(--second-color);

      .category-card-img {
        transform: scale(1.08);
      }

      .category-card-icon {
        background: var(--second-color);
        color: var(--white-color);
        transform: scale(1.05);

        img {
          filter: brightness(0) invert(1);
        }
      }

      .category-card-title {
        color: var(--second-color);
      }

      .category-card-link {
        color: var(--second-color);

        i {
          transform: translateX(4px);
        }
      }
    }

    .category-card-img-wrap {
      position: relative;
      aspect-ratio: 4 / 4;
      overflow: hidden;
    }

    .category-card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .category-card-content {
      padding: 20px 18px;
    }

    .category-card-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      background: rgba(255, 255, 255, 0.7);
      color: var(--second-color);
      border-radius: var(--radius-0);
      font-size: 18px;
      margin-bottom: 14px;
      transition:
        background 0.5s ease,
        color 0.5s ease,
        transform 0.5s ease;

      img {
        width: 30px;
        height: 30px;
      }
    }

    .category-card-title {
      font-size: 20px !important;
      font-weight: 700;
      color: var(--white-color);
      margin: 0 0 10px 0;
      line-height: 1.35;
      transition: color 0.3s ease;
    }

    .category-card-link {
      font-size: 14px;
      font-weight: 600;
      color: var(--third-color);
      display: inline-flex;
      align-items: center;
      gap: 6px;

      transform: translateY(4px);
      transition:
        opacity 0.3s ease,
        transform 0.3s ease;

      i {
        font-size: 12px;
        transition: transform 0.3s ease;
      }
    }
  }

  .categories-swiper-prev,
  .categories-swiper-next,
  .featured-products-prev,
  .featured-products-next {
    width: 48px;
    height: 48px;
    background: var(--white-color) !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-0);
    color: var(--main-color) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    top: 50%;

    svg {
      display: none;
    }

    i {
      font-size: 14px;
    }

    &:hover {
      background: var(--second-color) !important;
      color: var(--white-color) !important;
      border-color: var(--white-color);
      box-shadow: 0 6px 20px rgba(20, 20, 20, 0.2);
    }
  }

  .categories-swiper-pagination,
  .featured-products-pagination {
    bottom: -30px !important;
    z-index: 2;

    .swiper-pagination-bullet {
      width: 30px;
      height: 5px;
      border-radius: var(--radius-0);
      background: var(--third-color);
      opacity: 1;
      transition: all 0.3s ease;
    }

    .swiper-pagination-bullet-active {
      background: var(--second-color);
      width: 50px;
      border-radius: var(--radius-0);
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 7 — CATEGORIES
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 8 — FEATURED PRODUCTS & WISHLIST
 * ═══════════════════════════════════════════════════════════════════════════
 */

.featured-products-section,
.best-sellers-section,
.wishlist-section,
.account-wishlist-section {
  /* Featured / Wishlist — Pills wrapper (same style as order details tabs) */
  .featured-products-tabs-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-0);
    padding: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .featured-products-tabs {
    border-bottom: none;
    margin: 0;
    gap: 4px;

    .nav-item {
      margin: 0;
    }

    .nav-link {
      border: none;
      border-radius: var(--radius-0);
      background: transparent;
      color: var(--main-color);
      font-weight: 600;
      font-size: 15px;
      padding: 10px 24px;
      transition: all 0.25s ease;
      position: relative;
      margin-bottom: 0;

      i {
        font-size: 14px;
        transition: transform 0.2s ease;
      }

      &:hover {
        color: var(--second-color);
        background: rgba(255, 255, 255, 0.9);

        i {
          transform: scale(1.05);
        }
      }

      &.active {
        color: var(--second-color);
        background: var(--white-color);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

        i {
          color: var(--second-color);
        }
      }
    }
  }

  .tab-content {
    padding-top: 0;
  }

  .product-card {
    position: relative;
    display: block;
    border: 1px solid var(--second-color);
    border-radius: var(--radius-0) !important;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;

    &:hover {
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
      text-decoration: none;
      color: inherit;

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

    &:hover .product-card-img-wrap .product-card-actions,
    .product-card-img-wrap:hover .product-card-actions,
    &:focus-within .product-card-img-wrap .product-card-actions {
      opacity: 1;
      visibility: visible;
    }

    .product-card-img-wrap:hover::before {
      opacity: 1;
    }

    .product-card-img-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 1 / 1;
      max-height: 420px;
      overflow: hidden;
      display: block;
      background: linear-gradient(135deg, #000000 0%, #1d1d1d 100%);
      border-radius: var(--radius-0);

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
      }
    }

    .product-card-img-wrap .product-card-link {
      display: block;
      width: 100%;
      height: 100%;
      position: relative;
      z-index: 1;
    }

    .product-card-img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      border-radius: var(--radius-0);
    }

    .product-badge {
      z-index: 5;
      font-size: 14px;
      font-weight: 700;
      padding: 6px 12px;
      letter-spacing: 0.5px;
      background: var(--second-color);
      color: var(--white-color);
    }

    .product-card-img-wrap .product-card-actions {
      position: absolute;
      top: 50%;
      right: 12px;
      left: auto;
      bottom: auto;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 8px;
      opacity: 0;
      visibility: hidden;
      transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
      z-index: 6;
      pointer-events: auto;
    }

    .product-card-actions {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    @media (hover: none), (max-width: 991.98px) {
      .product-card-img-wrap .product-card-actions {
        opacity: 1;
        visibility: visible;
      }

      .product-card-img-wrap::before {
        opacity: 1;
      }
    }

    .product-action-btn {
      width: 44px;
      height: 44px;
      border-radius: var(--radius-0);
      background: rgba(255, 255, 255, 0.5);
      border: none;
      color: var(--second-color);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 10;
      position: relative;

      &:hover {
        background: var(--second-color);
        color: var(--white-color);
        transform: scale(1.1);
      }
    }

    .product-action-btn-wishlist-active {
      background: var(--second-color);
      color: var(--white-color);
      transform: scale(1.1);

      i {
        color: var(--white-color);
        animation: heartBeat 0.5s ease;
      }

      &:hover {
        background: var(--main-color);
        color: var(--white-color);
        transform: scale(1.15);
      }
    }

    .wishlist-heart-btn {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-0);
      background: var(--white-color);
      color: var(--second-color);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
      z-index: 4;
      cursor: pointer;
      transition: all 0.3s ease;

      &:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        color: var(--second-color);
        background: var(--white-color);
      }
    }

    .product-card-content {
      background: var(--main-color);
    }

    .product-card-type {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .product-type-badge {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 4px 10px;
      border-radius: var(--radius-0);
      background: rgba(255, 255, 255, 0.14);
      color: var(--off-white);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .product-size-badge {
      display: inline-flex;
      align-items: center;
      font-size: 12px;
      font-weight: 500;
      color: var(--gray-600);

      i {
        font-size: 10px;
      }
    }

    .product-card-title {
      font-size: 14pt !important;
      font-weight: 600;
      color: var(--third-color);
      margin-bottom: 12px;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .product-card-price {
      display: flex;
      align-items: baseline;

      gap: 10px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }

    .price-from-label {
      font-size: 12px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.65);
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .price-current {
      font-size: 20px;
      font-weight: 700;
      color: var(--second-color);
    }

    .price-unit {
      font-size: 13px;
      font-weight: 500;
      color: var(--gray-500);
    }

    .price-old {
      font-size: 16px;
      font-weight: 500;
      color: var(--gray-500);
      text-decoration: line-through;
    }
  }
  .best-sellers-prev,
  .best-sellers-next {
    color: var(--second-color);
    background: var(--white-color);
    border: 1px solid var(--second-color);
    border-radius: var(--radius-0);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;

    & svg {
      display: none;
    }

    & i {
      font-size: 20px;
    }

    &:hover {
      background: var(--second-color);
      color: var(--white-color);
      border-color: var(--white-color);

      i {
        color: var(--white-color);
      }
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 8 — FEATURED PRODUCTS & WISHLIST
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 9 — NEW COLLECTION / VIDEO SECTION
 *   (Banner: image pairs, or full-width muted autoplay loop video + overlay)
 * ═══════════════════════════════════════════════════════════════════════════
 */


.new-collection-section,
.video-section {
  margin: 0;
  padding: 0;

  .new-collection-banner {
    position: relative;
    min-height: 60vh;
    display: block;
  }

  .new-collection-banner--half {
    min-height: 60vh !important;

    .new-collection-content {
      max-width: min(440px, 92%);
    }

    .new-collection-title {
      font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    }
  }

  .new-collection-banner--video {
    min-height: 78vh;

    .new-collection-content {
      max-width: min(720px, 94%);
      pointer-events: auto;
    }
  }

  @media (min-width: 992px) {
    .new-collection-banner--video {
      min-height: 85vh;
    }
  }

  .new-collection-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: var(--main-color);

    video.new-collection-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      pointer-events: none;
    }
  }

  .new-collection-image {
    position: absolute;
    inset: 0;
    z-index: 0;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }

  .new-collection-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  .new-collection-content {
    z-index: 2;
    max-width: 90%;
  }

  .new-collection-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  }

  .new-collection-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.95;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  }

  .new-collection-btn {
    font-weight: 600;
    letter-spacing: 0.05em;
    border-width: 2px;
    transition:
      background 0.25s ease,
      color 0.25s ease,
      border-color 0.25s ease;

    &:hover {
      background: var(--white-color);
      color: var(--main-color) !important;
      border-color: var(--white-color);
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 9 — NEW COLLECTION
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 10 — WHY CHOOSE US
 * ═══════════════════════════════════════════════════════════════════════════
 */

.why-choose-us-section {
  .feature-icon {
    transition: transform 0.35s ease;
    color: var(--second-color);
    background: rgba(255, 255, 255, 0.8);
    font-size: 25px;
  }

  .feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 12px;
  }

  .feature-desc {
    color: #d2d2d2;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 10 — WHY CHOOSE US
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 11 — BLOG
 * ═══════════════════════════════════════════════════════════════════════════
 */
.blog-section {
  background: var(--gray-50);

  .blog-card {
    background: var(--white-color);
    border-radius: var(--radius-0);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease;

    &:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);

      .blog-card-img {
        transform: scale(1.1);
      }

      .blog-card-title a {
        color: var(--second-color);
      }

      .blog-card-link {
        color: var(--second-color);
        transform: translateX(4px);
      }
    }

    .blog-card-img-wrap {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: linear-gradient(135deg, var(--gray-150) 0%, #f0f0f0 100%);
    }

    .blog-card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .blog-card-date {
      top: 16px;
      left: 16px;
      background: var(--white-color);
      border-radius: var(--radius-0);
      padding: 12px 16px;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 2;
    }

    .blog-date-day {
      display: block;
      font-size: 24px;
      font-weight: 700;
      color: var(--main-color);
      line-height: 1;
    }

    .blog-date-month {
      display: block;
      font-size: 12px;
      font-weight: 600;
      color: var(--second-color);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-top: 4px;
    }

    .blog-card-content {
      background: var(--white-color);
    }

    .blog-card-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .blog-meta-item {
      font-size: 13px;
      color: var(--gray-500);
      font-weight: 500;

      i {
        font-size: 12px;
      }
    }

    .blog-card-title {
      font-size: 20px !important;
      font-weight: 700;
      color: var(--main-color);
      line-height: 1.4;
      margin-bottom: 12px;

      a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
    }

    .blog-card-excerpt {
      color: var(--gray-600);
      font-size: 15px !important;
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .blog-card-link {
      color: var(--main-color);
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition:
        color 0.3s ease,
        transform 0.3s ease;

      i {
        font-size: 12px;
        transition: transform 0.3s ease;
      }

      &:hover i {
        transform: translateX(4px);
      }
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 11 — BLOG
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 12 — PRODUCTS PAGE
 *   (Sidebar, filters, toolbar, product-card, products-offcanvas)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.products-page {
  .products-sidebar-col {
    align-self: flex-start;
    overflow: visible;

    .products-sidebar-card {
      position: sticky !important;
      top: 150px !important;
      background: var(--main-color);
      border-radius: var(--radius-0);
      box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04);
      border: 1px solid var(--second-color);
    }
  }

  /* Products Page — shared sidebar styles (desktop + offcanvas) */
  .products-sidebar-block {
    padding: 1.25rem 1rem;
  }

  .products-sidebar-title {
    font-size: 16px !important;
    font-weight: 700;
    color: var(--third-color);
    display: flex;
    align-items: center;
    letter-spacing: 0.3px;

    i {
      color: var(--second-color);
      font-size: 1rem;
    }
  }

  .products-sidebar-filters .products-sidebar-title {
    margin-bottom: 1.25rem;
  }

  .products-categories-tabs {
    border: none;
    gap: 0.25rem;

    .nav-item {
      margin-bottom: 0;
    }

    .nav-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      text-align: left;
      border: none;
      color: var(--third-color);
      font-size: 1rem;
      font-weight: 500;
      padding: 0.6rem 1rem;
      transition: all 0.25s ease;

      &:hover {
        background: rgba(223, 31, 46, 0.06);
        color: var(--second-color);
      }

      &.active {
        color: var(--second-color);
        font-weight: 600;
      }
    }
  }

  .category-count {
    font-size: 0.75rem;

    background-color: var(--main-color);
    color: var(--second-color);
  }

  .products-filter-group {
    border-radius: var(--radius-0);
    padding: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--second-color);

    &:last-of-type {
      margin-bottom: 1.25rem;
    }
  }

  .products-filter-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--third-color);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .products-price-counter {
    text-align: center;
    padding: 0.5rem 0.75rem;
    background: rgba(223, 31, 46, 0.2);
    border-radius: var(--radius-0);
    border: 1px solid rgba(223, 31, 46, 0.15);
  }

  .products-price-counter-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--third-color);
  }

  .products-price-range-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    .form-range {
      width: 100%;
      height: 0.5rem;
      cursor: pointer;

      &::-webkit-slider-thumb {
        background: var(--second-color);
        border: none;
        box-shadow: 0 2px 8px rgba(223, 31, 46, 0.35);
      }

      &::-moz-range-thumb {
        background: var(--second-color);
        border: none;
        box-shadow: 0 2px 8px rgba(223, 31, 46, 0.35);
      }
    }
  }

  .products-filter-input {
    border-radius: var(--radius-0) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    font-size: 0.875rem !important;

    &:focus {
      border-color: rgba(223, 31, 46, 0.4) !important;
      box-shadow: 0 0 0 3px rgba(223, 31, 46, 0.08) !important;
    }
  }

  .products-filter-options {
    .form-check {
      margin-bottom: 0.5rem;

      &:last-child {
        margin-bottom: 0;
      }
    }

    .form-check-label {
      font-size: 0.9rem;
      color: var(--third-color);
      cursor: pointer;
    }

    .form-check-input:checked {
      background-color: var(--second-color);
      border-color: var(--second-color);
    }
  }

  .products-toolbar {
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--main-color);
    border-radius: var(--radius-0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--second-color);
    margin-bottom: 1.5rem;
  }

  .products-toolbar-sort,
  .products-toolbar-columns {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .products-toolbar-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
  }

  .products-filter-btn {
    border-radius: var(--radius-0);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    transition: all 0.25s ease;
    font-size: 16px !important;

    &:hover {
      background: var(--second-color);
      border-color: var(--second-color);
      color: var(--white-color);
    }
  }

  .products-sort-select {
    min-width: 180px;
    border-radius: var(--radius-0) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    font-size: 16px;
    font-weight: 500;

    &:focus {
      border-color: rgba(223, 31, 46, 0.35) !important;
      box-shadow: 0 0 0 3px rgba(223, 31, 46, 0.08) !important;
    }
  }

  .products-columns-pills {
    gap: 0.35rem;

    .nav-link {
      width: 40px;
      height: 40px;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius-0);
      border: 1px solid rgba(0, 0, 0, 0.1);
      color: var(--gray-600);
      background: var(--white-color);
      transition: all 0.25s ease;

      &:hover {
        border-color: var(--second-color);
        color: var(--second-color);
        background: rgba(223, 31, 46, 0.06);
      }

      &.active {
        background: var(--second-color);
        border-color: var(--second-color);
        color: var(--white-color);
      }
    }
  }

  .tab-content {
    padding-top: 0;
  }

  .product-card {
    border-radius: var(--radius-0);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);

    &:hover {
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
    }
  }
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Products Page — Filter sidebar (offcanvas)
 *   Applies to: filters offcanvas on mobile
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.products-offcanvas {
  &.offcanvas {
    border-radius: var(--radius-0);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  }

  .offcanvas-header {
    padding: 1rem 1.25rem;

    .btn-close {
      filter: brightness(0) invert(1);
    }

    h5 {
      font-size: 16px;
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 12 — PRODUCTS PAGE
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 13 — INNER PAGES (page hero, breadcrumb)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.page-hero {
  position: relative;
  height: 40vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;

  .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
  }

  .container-fluid {
    position: relative;
    z-index: 1;
  }

  .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 12px;
  }

  .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;

    &:hover {
      color: var(--white-color);
    }
  }

  .breadcrumb-item.active {
    color: var(--white-color);
    font-weight: 600;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
  }

  .page-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 13 — INNER PAGES
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 14 — CHECKOUT
 * ═══════════════════════════════════════════════════════════════════════════
 */
.checkout-section {
  background: var(--main-color);

  /* Checkout — section headers (badge, title, desc) */
  &-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--second-color);
  }

  &-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  &-desc {
    font-size: 16px;
  }

  /* Checkout — address, shipping and payment cards */
  .checkout-card {
    background: var(--main-color);
    border-radius: var(--radius-0);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px !important;

    p {
      font-size: 16px !important;
      color: var(--white-color);
    }

    &:hover {
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
    }
  }

  .checkout-card-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;

    i {
      color: var(--second-color);
    }
  }

  /* Checkout — form fields */
  .form-label {
    font-weight: 700;
    color: var(--white-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .form-control {
    border-radius: var(--radius-0);
    border: none;
    border-bottom: 2px solid var(--gray-150);
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--white-color);

    &::placeholder {
      color: rgba(255, 255, 255, 0.55);
    }

    &:focus {
      border-bottom-color: var(--second-color);
      box-shadow: none;
      outline: none;
    }
  }

  textarea.form-control {
    resize: vertical;
    border-bottom: 2px solid var(--gray-150);

    &:focus {
      border-bottom-color: var(--second-color);
    }
  }

  /* Checkout — select dropdowns */
  .form-select {
    border-radius: var(--radius-0);
    border: none;
    border-bottom: 2px solid var(--gray-150);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
    font-size: 16px;
    color: var(--white-color);

    &:focus {
      border-color: var(--second-color);
      box-shadow: none;
      outline: none;
    }
  }

  /* Checkout — payment options (card, PayPal, etc.) */
  .checkout-payment-option {
    padding: 14px 20px;
    border-radius: var(--radius-0);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
    color: var(--white-color);

    & + .checkout-payment-option {
      margin-top: 12px;
    }

    &:hover {
      border-color: rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.06);
    }

    &:has(input:checked) {
      border-color: var(--second-color);
      background: rgba(223, 31, 46, 0.12);
    }

    .form-check-label {
      i {
        color: var(--second-color);
        opacity: 0.8;
      }
    }
  }

  .form-check-input {
    &:checked {
      background-color: var(--second-color);
      border-color: var(--second-color);
    }
  }

  /* Checkout — order summary card */
  .checkout-order-card {
    ul.list-unstyled {
      li {
        border-color: #f0f0f0 !important;

        span.fw-semibold {
          color: var(--main-color);
        }
      }
    }
  }

  /* Checkout — coupon / discount code field */
  .input-group {
    .form-control {
      border: 2px solid var(--second-color);
      border-radius: var(--radius-0);
      background: #fcfcfc;
      color: var(--main-color);
      &:focus {
        border-color: var(--second-color);
      }

      &::placeholder {
        color: var(--main-color);
      }
    }

    .btn-outline-dark {
      border-radius: var(--radius-0);
      font-weight: 600;
      font-size: 14px;
    }
  }

  /* Checkout — place order button */
  .checkout-place-btn {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;

    span {
      color: var(--white-color);
    }
  }

  .btn-outline-dark {
    font-weight: 600;
    transition: all 0.3s ease;

    &:hover {
      background: var(--main-color);
      border-color: var(--main-color);
      color: var(--white-color);
    }
  }

  /* Checkout — badge inside section */
  .badge {
    &.bg-main {
      background-color: var(--second-color) !important;
      font-size: 11px;
      font-weight: 600;
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 14 — CHECKOUT
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 15 — AUTH (Login / Register)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.auth-page-wrap {
  min-height: 100%;
  background: var(--main-color);
  border-radius: var(--radius-0);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  .auth-form-box {
    padding: 48px 40px 48px 44px;
    border: 1px solid var(--white-color);

    .auth-form-title {
      font-size: 26px !important;
      font-weight: 700;
      color: var(--third-color);
      margin-bottom: 8px;
    }

    .auth-form-subtitle {
      font-size: 14px !important;
      color: var(--white-color);
      margin-bottom: 28px;
    }

    .form-label {
      font-weight: 600;
      color: var(--white-color);
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 700;
    }

    .form-control {
      border-radius: var(--radius-0);
      border: none;
      border-bottom: 2px solid var(--gray-150);
      font-size: 16px;
      transition: all 0.3s ease;
      background: transparent;
      font-weight: 400;

      &:focus {
        border-bottom-color: var(--second-color);
        box-shadow: none;
        background: transparent;
        outline: none;
        padding-left: 0;
      }

      &::placeholder {
        color: #aaa;
        font-size: 15px;
        font-weight: 400;
      }
    }

    .input-group-auth {
      position: relative;
      display: block;

      .input-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray-500);
        font-size: 16px;
        z-index: 2;
        pointer-events: none;
        transition: color 0.25s ease;
      }

      .form-control {
        padding-left: 44px;
      }
    }

    .form-control:focus + .input-icon,
    .input-group-auth:focus-within .input-icon {
      color: var(--second-color);
    }

    .input-group-auth-textarea .input-icon {
      top: 18px;
      transform: none;
    }

    .input-group-auth-textarea textarea.form-control {
      padding-top: 14px;
      min-height: 120px;
      resize: vertical;
    }

    .form-check-label {
      font-size: 14px !important;
      color: var(--white-color);
    }

    .form-check-input {
      width: 1.1em;
      height: 1.1em;
      border-radius: var(--radius-0);
      border: 2px solid rgba(0, 0, 0, 0.2);

      &:checked {
        background-color: var(--second-color);
        border-color: var(--second-color);
      }
    }

    .btn-auth {
      padding: 16px 28px;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      border-radius: var(--radius-0);
      border: none;
      background: var(--main-color);
      color: var(--white-color);
      transition: all 0.3s ease;
      margin-top: 8px;

      &:hover {
        background: var(--second-color);
        color: var(--white-color);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(223, 31, 46, 0.35);
      }
    }

    .auth-divider {
      text-align: center;
      margin: 24px 0 20px;
      font-size: 13px;
      color: var(--gray-500);

      &::before,
      &::after {
        content: "";
        display: inline-block;
        width: 40px;
        height: 1px;
        background: rgba(0, 0, 0, 0.12);
        vertical-align: middle;
        margin: 0 12px;
      }
    }

    .auth-footer-link {
      text-align: center;
      margin-top: 20px;
      font-size: 14px !important;
      color: var(--third-color);

      a {
        color: var(--second-color);
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
        font-size: 14px;

        &:hover {
          color: var(--white-color);
          text-decoration: underline;
        }
      }
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 15 — AUTH
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 17 — BLOG DETAILS
 *   (blog-article, sidebar, RTL)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.blog-details-section {
  background: var(--gray-50);
}

.blog-article {
  background: var(--white-color);
  padding: 40px;
  border-radius: var(--radius-0);
}

.blog-article-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 24px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-meta-item {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 400;

  i {
    color: var(--second-color);
    font-size: 13px;
  }
}

.blog-article-title {
  font-size: 36px !important;
  font-weight: 700;
  color: var(--main-color);
  line-height: 1.4;
  margin: 0;
}

.blog-article-image {
  img {
    border-radius: var(--radius-0);
    height: 500px;
    object-fit: cover;
  }
}

.blog-article-content {
  padding-top: 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-750);

  .lead {
    font-size: 20px;
    font-weight: 500;
    color: var(--main-color);
    line-height: 1.7;
  }

  p {
    margin-bottom: 20px;
    color: var(--gray-700);
  }

  strong {
    color: var(--main-color);
    font-weight: 600;
  }

  a {
    color: var(--second-color);
    text-decoration: none;
    font-weight: 500;

    &:hover {
      text-decoration: underline;
    }
  }
}

.blog-tags {
  .blog-tag-link {
    color: var(--gray-600);
    text-decoration: none;
    margin-right: 12px;
    font-size: 14px;
    transition: color 0.2s ease;

    &:hover {
      color: var(--second-color);
    }
  }
}

.blog-share {
  .blog-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: var(--radius-0);
    transition: all 0.2s ease;

    &:hover {
      background: rgba(223, 31, 46, 0.1);
      color: var(--second-color);
    }
  }
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  color: var(--main-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;

  &:hover {
    color: var(--second-color);
  }
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Blog Details — sidebar (widgets: recent posts, categories, tags)
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.blog-sidebar {
  position: sticky;
  top: 160px;
}

.sidebar-widget {
  background: var(--white-color);
  padding: 24px;
  border-radius: var(--radius-0);
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar-title {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

/* Blog Sidebar — recent posts list */
.sidebar-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-post-item {
  margin-bottom: 16px;

  &:last-child {
    margin-bottom: 0;
  }

  .sidebar-post-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;

    &:hover {
      opacity: 0.8;

      .sidebar-post-title {
        color: var(--second-color);
      }
    }
  }

  .sidebar-post-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: var(--radius-0);
    overflow: hidden;
    background: #f0f0f0;

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

  .sidebar-post-content {
    flex: 1;
  }

  .sidebar-post-title {
    font-size: 15px !important;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 6px;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sidebar-post-date {
    font-size: 13px;
    color: var(--gray-500);
  }
}

/* Blog Sidebar — categories list */
.sidebar-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    margin-bottom: 12px;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.sidebar-category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 0;
  transition: color 0.2s ease;

  &:hover {
    color: var(--second-color);
  }

  span {
    color: var(--gray-500);
    font-size: 13px;
  }
}

/* Blog Sidebar — tags cloud */
.sidebar-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Blog Details — RTL support (right-to-left) */
[dir="rtl"] {
  .blog-meta {
    gap: 20px;
  }

  .blog-tags .blog-tag-link {
    margin-right: 0;
    margin-left: 12px;
  }

  .sidebar-post-link {
    flex-direction: row-reverse;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 17 — BLOG DETAILS
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 18 — PAYMENT CONFIRMATION
 * ═══════════════════════════════════════════════════════════════════════════
 */
.payment-confirmation-section {
  background: var(--main-color);
  display: flex;
  align-items: center;

  .payment-confirmation-card {
    background: var(--main-color);
    border-radius: var(--radius-0);
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--second-color);
    position: relative;
    overflow: hidden;

    .success-icon-wrapper {
      position: relative;
      display: inline-block;
      margin-bottom: 32px;
    }

    .success-icon {
      width: 100px;
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(
        135deg,
        var(--success-light) 0%,
        var(--success-teal) 100%
      );
      border-radius: var(--radius-0);
      color: var(--white-color);
      font-size: 48px;
      position: relative;
      z-index: 2;
      box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3);
      animation: successScale 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .success-pulse {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100px;
      height: 100px;
      background: rgba(40, 167, 69, 0.2);
      border-radius: var(--radius-0);
      animation: pulse 2s ease-out infinite;
      z-index: 1;
    }

    .confirmation-title {
      font-size: 32px !important;
      font-weight: 700;
      color: var(--third-color);
      margin-bottom: 16px;
      line-height: 1.3;
    }

    .confirmation-message {
      font-size: 16px;
      color: var(--white-color);
      line-height: 1.7;
      margin-bottom: 32px;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
    }

    .order-details-box {
      background: var(--main-color);
      border-radius: var(--radius-0);
      padding: 24px;
      margin-bottom: 24px;
      text-align: left;
      border: 1px solid var(--second-color);
    }

    .order-detail-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);

      &:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }

      &:first-child {
        padding-top: 0;
      }
    }

    .order-detail-label {
      display: flex;
      align-items: center;
      font-size: 15px;
      color: var(--white-color);
      font-weight: 500;

      i {
        color: var(--second-color);
        font-size: 14px;
      }
    }

    .order-detail-value {
      font-size: 15px;
      font-weight: 600;
      color: var(--third-color);
    }

    .status-badge {
      display: inline-block;
      padding: 4px 12px;
      background: rgba(40, 167, 69, 0.1);
      color: var(--success-light);
      border-radius: var(--radius-0);
      font-size: 13px;
      font-weight: 600;
    }

    .confirmation-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }

    .btn-confirmation {
      display: inline-flex;
      align-items: center;
      padding: 14px 28px;
      border-radius: var(--radius-0);
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      transition: all 0.3s ease;
      border: 2px solid transparent;

      i {
        font-size: 14px;
      }
    }

    .btn-primary-confirm {
      background: var(--second-color);
      color: var(--white-color);
      box-shadow: 0 4px 16px rgba(223, 31, 46, 0.3);

      &:hover {
        background: var(--main-color);
        color: var(--white-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(223, 31, 46, 0.4);
      }
    }

    .btn-secondary-confirm {
      background: var(--white-color);
      color: var(--main-color);
      border-color: rgba(0, 0, 0, 0.15);

      &:hover {
        background: var(--main-color);
        color: var(--white-color);
        border-color: var(--main-color);
        transform: translateY(-2px);
      }
    }

    .continue-shopping {
      padding-top: 24px;
      border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .continue-link {
      display: inline-flex;
      align-items: center;
      color: var(--gray-600);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      transition: color 0.2s ease;

      &:hover {
        color: var(--second-color);

        i {
          transform: translateX(-4px);
        }
      }

      i {
        font-size: 13px;
        transition: transform 0.2s ease;
      }
    }
  }
}

@keyframes successScale {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Payment Confirmation — RTL support for confirmation page */
[dir="rtl"] {
  .order-details-box {
    text-align: right;
  }

  .continue-link {
    &:hover i {
      transform: translateX(4px);
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 18 — PAYMENT CONFIRMATION
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 19 — INVOICE
 * ═══════════════════════════════════════════════════════════════════════════
 */
.invoice-section {
  background: var(--main-color);

  .invoice-card {
    background: var(--white-color);
    border-radius: var(--radius-0);
    padding: 56px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;

    .invoice-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 48px;
      gap: 40px;
    }

    .invoice-company {
      display: flex;
      align-items: center;
      gap: 16px;
      filter: brightness(1) invert(1);
    }

    .invoice-logo {
      height: 60px;
    }

    .company-name {
      font-size: 24px !important;
      font-weight: 600;
      color: var(--main-color);
      margin: 0;
      line-height: 1.2;
    }

    .invoice-info {
      text-align: right;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 12px;
    }

    .invoice-status-badge {
      display: inline-block;
      padding: 4px 12px;
      background: var(--success-light);
      color: var(--white-color);
      border-radius: var(--radius-0);
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .invoice-title {
      font-size: 32px !important;
      font-weight: 700;
      color: var(--main-color);
      margin: 0;
      text-transform: uppercase;
      letter-spacing: 1px;
      line-height: 1.2;
    }

    .invoice-number {
      font-size: 16px;
      font-weight: 600;
      color: var(--main-color);
      margin: 0;
    }

    .invoice-parties {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      margin-bottom: 40px;
      padding-bottom: 32px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .party-section {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .party-label {
      font-size: 11px;
      font-weight: 600;
      color: var(--gray-600);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 4px;
    }

    .party-name {
      font-size: 16px;
      font-weight: 700;
      color: var(--main-color);
      margin-bottom: 4px;
    }

    .party-detail {
      font-size: 14px;
      color: var(--gray-500);
      line-height: 1.6;
    }

    .invoice-table-wrapper {
      margin-bottom: 32px;
    }

    .invoice-table {
      width: 100%;
      border-collapse: collapse;
      border-spacing: 0;

      thead {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      }

      th {
        padding: 12px 0;
        text-align: left;
        font-weight: 700;
        font-size: 12px;
        color: var(--main-color);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      }

      td {
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 14px;
        color: var(--gray-700);
      }

      tbody tr:last-child td {
        border-bottom: none;
      }
    }

    .item-number {
      width: 40px;
      color: var(--gray-500);
      font-size: 14px;
    }

    .product-info {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .product-name {
      font-weight: 600;
      color: var(--main-color);
      font-size: 14px;
      line-height: 1.4;
    }

    .product-spec {
      font-size: 13px;
      color: var(--gray-500);
      font-weight: 400;
      line-height: 1.5;
    }

    .invoice-summary-wrapper {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 40px;
    }

    .invoice-summary {
      width: 280px;
      padding: 0;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      padding: 8px 0;
      font-size: 14px;
      color: var(--gray-600);
    }

    .summary-total {
      margin-top: 8px;
      padding-top: 16px;
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      font-size: 20px;
      font-weight: 700;
      color: var(--main-color);
    }

    .invoice-footer {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      padding-top: 32px;
      border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .invoice-notes {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .notes-label {
      font-size: 11px;
      font-weight: 600;
      color: var(--gray-600);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .notes-text {
      font-size: 13px;
      color: var(--gray-500);
      line-height: 1.6;
    }

    .invoice-contact {
      text-align: right;
      display: flex;
      flex-direction: column;
      gap: 4px;

      @media (max-width: 768px) {
        text-align: left;
      }
    }

    .contact-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--main-color);
    }

    .contact-email {
      font-size: 13px;
      color: var(--gray-500);
    }

    .invoice-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
      margin-top: 32px;
      flex-wrap: wrap;
    }

    .btn-invoice {
      display: inline-flex;
      align-items: center;
      padding: 14px 28px;
      border-radius: var(--radius-0);
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      transition: all 0.3s ease;
      border: 2px solid transparent;

      i {
        font-size: 14px;
      }
    }

    .btn-print {
      background: var(--second-color);
      color: var(--white-color);
      box-shadow: 0 4px 16px rgba(223, 31, 46, 0.3);
      transition: all 0.3s ease;
      padding: 12px 28px;

      &:hover {
        background: var(--main-color);
        color: var(--white-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(223, 31, 46, 0.4);
      }
    }

    .btn-back {
      background: var(--white-color);
      color: var(--main-color);
      border-color: rgba(0, 0, 0, 0.15);
      padding: 12px 28px;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;

      &:hover {
        background: var(--main-color);
        color: var(--white-color);
        border-color: var(--main-color);
        transform: translateY(-2px);
      }
    }
  }
}

/* Invoice — print styles (hide header and footer when printing) */
@media print {
  .invoice-section {
    background: var(--main-color);
  }

  .page-hero,
  .header,
  .footer,
  .back-to-top {
    display: none !important;
  }
}

/* Invoice — RTL support for invoices */
[dir="rtl"] {
  .invoice-info {
    text-align: left;
  }

  .invoice-summary-wrapper {
    justify-content: flex-start;
  }

  .invoice-contact {
    text-align: left;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 19 — INVOICE
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 20 — CONTACT
 * ═══════════════════════════════════════════════════════════════════════════
 */
.contact {
  background: var(--main-color);
  position: relative;

  /* Contact — section badge (Minimal & Elegant) */
  .why-choose-us-badge {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--second-color);
    position: relative;
    padding-left: 0;
  }

  /* Contact — page title (Clean & Bold) */
  .why-choose-us-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--third-color);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  /* Contact — contact info cards (address, phone, email) */
  .footer-contact {
    gap: 0;
    margin: 0;
    padding: 0;

    li {
      background: transparent;
      padding: 0;
      border-radius: var(--radius-0);
      box-shadow: none;
      border: none;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      padding-bottom: 28px;
      margin-bottom: 28px;
      transition: all 0.3s ease;
      position: relative;

      &:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
      }

      &:hover {
        transform: translateX(8px);
        padding-left: 8px;

        i {
          background: var(--second-color);
          color: var(--white-color);
          transform: scale(1.05);
        }

        span,
        a {
          color: var(--second-color);
        }
      }

      i {
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f8f8;
        color: var(--main-color);
        border-radius: var(--radius-0);
        font-size: 22px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        flex-shrink: 0;
        border: 1px solid rgba(0, 0, 0, 0.05);
      }

      span,
      a {
        font-size: 16px;
        color: var(--white-color);
        font-weight: 500;
        line-height: 1.7;
        transition: color 0.3s ease;
        text-decoration: none;
        display: block;
        margin-top: 4px;
      }

      a:hover {
        color: var(--second-color);
        text-decoration: none;
      }
    }
  }

  /* Contact — contact form card */
  .card-box {
    background: var(--main-color);
    border-radius: var(--radius-0);
    box-shadow: none;
    border: 2px solid var(--second-color);
    padding: 56px 48px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    h2 {
      font-size: 32px;
      font-weight: 700;
      color: var(--white-color);
      margin-bottom: 40px;
      letter-spacing: -0.5px;
      position: relative;
      padding-bottom: 20px;
    }

    /* Contact Form — field and button styles */
    .form-label {
      font-weight: 600;
      color: var(--third-color);
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 700;
    }

    .form-control {
      border-radius: var(--radius-0);
      border: none;
      border-bottom: 2px solid var(--second-color);
      font-size: 16px;
      transition: all 0.3s ease;
      background: transparent;
      font-weight: 400;
      color: var(--white-color);

      &:focus {
        border-bottom-color: var(--second-color);
        box-shadow: none;
        background: transparent;
        outline: none;
        padding-left: 0;
      }

      &::placeholder {
        color: var(--third-color);
        font-size: 15px;
        font-weight: 400;
      }
    }

    textarea.form-control {
      resize: vertical;
      border-bottom: 2px solid var(--second-color);

      &:focus {
        border-bottom-color: var(--second-color);
      }
    }
  }

  .showrooms-section {
    margin-top: 32px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .showrooms-desc {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
  }

  .showroom-card {
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 2px solid var(--second-color);
    overflow: hidden;
    transition: all 0.35s ease;

    &:hover {
      transform: translateY(-8px);
      border-color: var(--second-color);
      box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
    }
  }

  .showroom-map {
    height: 220px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;

    iframe {
      width: 100%;
      height: 100%;
      border: 0;
      filter: grayscale(1) contrast(1.05);
      transition: filter 0.35s ease, transform 0.35s ease;
    }
  }

  .showroom-card:hover .showroom-map iframe {
    filter: grayscale(0) contrast(1);
    transform: scale(1.02);
  }

  .showroom-card-body {
    padding: 28px;

    h3 {
      margin: 12px 0 10px;
      color: var(--white-color);
      font-size: 22px;
      font-weight: 700;
      line-height: 1.35;
    }

    p {
      margin-bottom: 22px;
      color: rgba(255, 255, 255, 0.72);
      line-height: 1.7;
    }
  }

  .showroom-tag {
    display: inline-flex;
    align-items: center;
    color: var(--second-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .showroom-link,
  .showroom-phone-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white-color);
    font-weight: 700;
    letter-spacing: 0.6px;
    transition: all 0.3s ease;

    &:hover {
      color: var(--second-color);
      transform: translateX(6px);
    }
  }

  .showroom-phone-card {
    display: flex;
    align-items: center;
    min-height: 100%;
    background:
      linear-gradient(rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.88)),
      url("../images/slider/hero.jpeg") center / cover;
  }

  .showroom-phone-list {
    display: grid;
    gap: 12px;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 20 — CONTACT
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 21 — ACCOUNT
 *   (account-nav, account-section, address, RTL)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.account-nav {
  border-radius: var(--radius-0);
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--second-color);
  background: var(--main-color);
  top: 165px;
  z-index: 0;

  .list-group-item {
    border: none;
    border-radius: var(--radius-0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    font-weight: 500;
    font-size: 16px;
    color: var(--white-color);
    background: var(--main-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    &:last-child {
      border-bottom: none;
    }

    i {
      width: 36px;
      height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.08);
      color: var(--white-color);
      border-radius: var(--radius-0);
      font-size: 14px;
      transition: all 0.3s ease;
    }

    &:hover {
      background: rgba(255, 255, 255, 0.04);
      color: var(--white-color);
      padding-left: 24px;

      i {
        background: rgba(223, 31, 46, 0.1);
        color: var(--second-color);
      }
    }

    &.active {
      background: linear-gradient(
        90deg,
        rgba(223, 31, 46, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 100%
      );
      color: var(--second-color);
      font-weight: 600;

      i {
        background: var(--second-color);
        color: var(--white-color);
      }
    }
  }
}

/* Account — RTL support for account sidebar */
[dir="rtl"] {
  .account-nav {
    .list-group-item {
      &.active {
        border-left: none;
        border-right: 3px solid var(--second-color);
      }

      &:hover {
        padding-left: 20px;
        padding-right: 24px;
      }
    }
  }
}

/* Account — main content area (data cards and forms) */
.account-section {
  background: var(--main-color);

  .card-box {
    background: var(--main-color);
    border-radius: var(--radius-0);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2rem 1.5rem;
    transition: box-shadow 0.3s ease;
    color: var(--white-color);
    &:hover {
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    h2 {
      font-size: 1.2rem !important;
      font-weight: 700;
      color: var(--white-color);
      margin-bottom: 1.5rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    p {
      font-size: 14px;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.75);
      margin-bottom: 1.5rem;
      padding-bottom: 1rem;

      a {
        font-size: 16px;
        font-weight: 400;
        color: var(--second-color);
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
      }
    }

    .form-label {
      font-weight: 600;
      color: var(--white-color);
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 700;
    }

    .form-control {
      border-radius: var(--radius-0);
      border: none;
      border-bottom: 2px solid var(--gray-150);
      font-size: 16px;
      transition: all 0.3s ease;
      background: transparent;
      font-weight: 400;
      color: var(--white-color);

      &:focus {
        border-bottom-color: var(--second-color);
        box-shadow: none;
        background: transparent;
        outline: none;
        padding-left: 0;
      }

      &::placeholder {
        color: rgba(255, 255, 255, 0.55);
        font-size: 15px;
        font-weight: 400;
      }
    }

    .account-divider {
      border-color: rgba(255, 255, 255, 0.12);
      opacity: 1;
    }

    .form-text.text-muted {
      font-size: 0.8rem;
      margin-top: 0.35rem;
      color: rgba(255, 255, 255, 0.6) !important;
    }

    .btn-outline-dark {
      border: 2px solid rgba(255, 255, 255, 0.55);
      color: var(--white-color);
      font-weight: 600;
      background: transparent;
      transition: all 0.25s ease;
    }

    .btn-outline-dark:hover {
      background: var(--second-color);
      color: var(--white-color);
      border-color: var(--second-color);
    }
  }
}

/* Account — edit profile page (subtitle, buttons, save button) */
.account-edit-section {
  .card-box {
    .account-edit-subtitle {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      padding-bottom: 0.5rem;
      color: var(--white-color);
    }

    .account-edit-submit {
      background: var(--main-color);
      border: none;
      font-weight: 600;
      padding: 12px 24px;
      transition:
        background 0.25s ease,
        transform 0.2s ease;

      &:hover {
        background: var(--second-color);
        transform: translateY(-1px);
      }

      i {
        font-size: 0.9em;
      }
    }
  }
}

/* Account — addresses page (shipping and billing address cards) */
.account-address-section {
  .address-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .address-card {
    background: var(--main-color);
    border-radius: var(--radius-0);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition:
      box-shadow 0.3s ease,
      transform 0.2s ease;

    &:hover {
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    }
  }

  .address-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .address-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-0);
    background: rgba(223, 31, 46, 0.1);
    color: var(--second-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .address-card-icon-billing {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white-color);
  }

  .address-card-title {
    font-size: 1rem !important;
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
  }

  .address-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-0);
    background: rgba(25, 135, 84, 0.12);
    color: var(--success-color);
  }

  .address-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white-color);
    margin: 0 0 0.5rem 0;
  }

  .address-card-line {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.72);

    &:last-child {
      margin-bottom: 0;
    }

    i {
      color: var(--second-color);
      font-size: 0.85rem;
      margin-top: 3px;
      flex-shrink: 0;
    }
  }

  .address-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
    margin-top: 0;
  }

  .btn-address-edit,
  .btn-address-remove {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-0);
    transition: all 0.25s ease;
    border: none;

    i {
      margin-right: 6px;
      font-size: 0.8em;
    }
  }

  .btn-address-edit {
    background: rgba(25, 25, 25, 0.06);
    color: var(--main-color);

    &:hover {
      background: var(--main-color);
      color: var(--white-color);
    }
  }

  .btn-address-remove {
    background: transparent;
    color: var(--danger-color);

    &:hover {
      background: rgba(220, 53, 69, 0.1);
      color: var(--danger-dark);
    }
  }

  .address-add-wrap {
    margin-top: 1.5rem;
  }

  .btn-add-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 18px !important;
    font-weight: 600;
    border-radius: var(--radius-0);
    background: var(--main-color);
    color: var(--white-color);
    border: none;
    transition:
      background 0.25s ease,
      transform 0.2s ease;
    &:hover {
      background: var(--second-color);
      color: var(--white-color);
      transform: translateY(-2px);
    }

    i {
      font-size: 1rem !important;
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 21 — ACCOUNT
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 22 — MODALS
 *   (modal-backdrop, form-modal)
 * ═══════════════════════════════════════════════════════════════════════════
 */
/* Modals — backdrop for all modal windows */
.modal-backdrop.show {
  background: rgba(20, 20, 20, 0.55);
  opacity: 1;
}

/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Modals — Compare products (dark theme)
 *   Applies to: #compareModal (app/compare-modal.html)
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
#compareModal {
  .modal-content {
    background-color: var(--main-color);
    color: var(--white-color);
  }

  .modal-header {
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.06),
      transparent
    );
    color: var(--white-color);

    .modal-title {
      font-size: 1.35rem;
      letter-spacing: 0.03em;
    }

    .text-muted {
      color: rgba(255, 255, 255, 0.7) !important;
    }

    .border {
      border-color: rgba(255, 255, 255, 0.18) !important;
      background: rgba(0, 0, 0, 0.25);
    }
  }

  .modal-body {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.02),
      transparent 40%
    );
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .compare-product-card {
    background: var(--main-color);
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.6);

    padding: 1.25rem !important;
  }

  .compare-product-image img {
    max-width: 120px;
    height: auto;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
  }

  .compare-attributes .text-muted {
    color: rgba(255, 255, 255, 0.64) !important;
  }

  .compare-attributes li {
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  .btn-close {
    filter: invert(1) grayscale(100%);
  }
}

.form-modal {
  .modal-dialog {
    max-width: 520px;
  }

  .modal-content {
    border: none;
    border-radius: var(--radius-0);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
    overflow: hidden;
  }

  .modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(
      180deg,
      var(--gray-50) 0%,
      var(--white-color) 100%
    );
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .modal-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .modal-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-0);
    background: rgba(223, 31, 46, 0.12);
    color: var(--second-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
  }

  .modal-icon-danger {
    background: rgba(220, 53, 69, 0.12);
    color: var(--danger-color);
  }

  .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 0;
  }

  .btn-close {
    opacity: 0.5;
    padding: 0.5rem;

    &:hover {
      opacity: 1;
    }
  }

  .modal-body {
    padding: 1.5rem 1.5rem 1.75rem;
    background: var(--white-color);
  }

  .form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
  }

  .form-control {
    border: none;
    border-radius: var(--radius-0);
    border-bottom: 2px solid var(--gray-150);
    padding: 10px 0 12px;
    font-size: 16px;
    background: transparent;
    transition: border-color 0.25s ease;

    &:focus {
      border-bottom-color: var(--second-color);
      box-shadow: none;
      outline: none;
      background: transparent;
    }

    &::placeholder {
      color: #aaa;
      font-size: 15px;
    }
  }

  .form-select {
    border: none;
    border-radius: var(--radius-0);
    border-bottom: 2px solid var(--gray-150);
    padding: 10px 0 12px;
    font-size: 16px;
    background: transparent;
    transition: border-color 0.25s ease;

    &:focus {
      border-bottom-color: var(--second-color);
      box-shadow: none;
      outline: none;
    }
  }

  .mb-3 {
    margin-bottom: 1.25rem !important;
  }

  .form-check-input {
    border-radius: var(--radius-0);
    border: 2px solid var(--gray-250);
    width: 1.1em;
    height: 1.1em;

    &:checked {
      background-color: var(--second-color);
      border-color: var(--second-color);
    }
  }

  .form-check-label {
    font-size: 15px;
    color: var(--main-color);
    margin-left: 0.5rem;
  }

  .modal-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .btn-modal-cancel {
    padding: 10px 22px;
    font-weight: 600;
    border-radius: var(--radius-0);
    border: 2px solid var(--main-color);
    color: var(--main-color);
    background: transparent;
    transition: all 0.25s ease;

    &:hover {
      background: var(--main-color);
      color: var(--white-color);
      border-color: var(--main-color);
    }
  }

  .btn-modal-submit {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: var(--radius-0);
    border: none;
    background: var(--main-color);
    color: var(--white-color);
    transition:
      background 0.25s ease,
      transform 0.2s ease;

    &:hover {
      background: var(--second-color);
      color: var(--white-color);
      transform: translateY(-1px);
    }
  }

  .btn-modal-danger {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: var(--radius-0);
    border: none;
    background: var(--danger-color);
    color: var(--white-color);
    transition:
      background 0.25s ease,
      transform 0.2s ease;

    &:hover {
      background: var(--danger-dark);
      color: var(--white-color);
      transform: translateY(-1px);
    }
  }

  .modal-confirm-text {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 0;
    line-height: 1.6;
  }
}

/* Modals — account address forms and confirmation (dark theme) */
.form-modal,
.point-carpet-modal {
  .modal-dialog {
    max-width: 560px;
  }

  .modal-content {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
      var(--main-color);
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-0);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62);
    overflow: hidden;
  }

  .modal-header {
    padding: 1.35rem 1.5rem;
    background: rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .modal-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .modal-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: var(--radius-0);
    background: rgba(128, 0, 0, 0.28);
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .modal-icon-danger {
    background: rgba(220, 53, 69, 0.16);
    color: var(--danger-light);
  }

  .modal-title {
    margin: 0;
    color: var(--white-color);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 0.75;

    &:hover {
      opacity: 1;
    }
  }

  .modal-body {
    padding: 1.5rem;
    background: transparent;
  }

  .form-label,
  .form-check-label {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
  }

  .form-label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .form-control,
  .form-select {
    min-height: 48px;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-0);
    padding: 0.75rem 0.95rem;
    box-shadow: none;
    transition:
      border-color 0.2s ease,
      background-color 0.2s ease,
      box-shadow 0.2s ease;

    &:focus {
      background-color: rgba(255, 255, 255, 0.08);
      border-color: var(--second-color);
      box-shadow: 0 0 0 0.2rem rgba(128, 0, 0, 0.22);
      color: var(--white-color);
    }

    &::placeholder {
      color: rgba(255, 255, 255, 0.42);
    }
  }

  .form-select {
    color-scheme: dark;
  }

  .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--radius-0);

    &:checked {
      background-color: var(--second-color);
      border-color: var(--second-color);
    }

    &:focus {
      box-shadow: 0 0 0 0.2rem rgba(128, 0, 0, 0.22);
    }
  }

  .modal-confirm-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.7;
  }

  .modal-footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .btn-modal-cancel,
  .btn-send-outline {
    min-height: 44px;
    padding: 0.75rem 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-0);
    font-size: 0.78rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    &:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.42);
      color: var(--white-color);
    }
  }

  .btn-modal-submit,
  .btn-send {
    min-height: 44px;
    padding: 0.75rem 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--second-color);
    color: var(--white-color);
    border: 1px solid var(--second-color);
    border-radius: var(--radius-0);
    font-size: 0.78rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    &:hover {
      background: var(--white-color);
      color: var(--main-color);
      border-color: var(--white-color);
    }
  }

  .btn-modal-danger {
    min-height: 44px;
    padding: 0.75rem 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--danger-color);
    color: var(--white-color);
    border: 1px solid var(--danger-color);
    border-radius: var(--radius-0);
    font-size: 0.78rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    &:hover {
      background: var(--danger-dark);
      border-color: var(--danger-dark);
      color: var(--white-color);
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 22 — MODALS
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 23 — ACCOUNT ORDERS
 * ═══════════════════════════════════════════════════════════════════════════
 */
.account-orders-section {
  .orders-table-wrap {
    background: var(--main-color);
    border-radius: var(--radius-0);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--second-color) !important;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .orders-table {
    width: 100%;
    min-width: 560px;
    margin: 0;
    border-collapse: collapse;
    font-size: 15px;

    thead tr {
      border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    }

    thead th {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--third-color);
      padding: 16px 20px;
      text-align: left;
      border-bottom: 2px solid var(--white-color);
      background: var(--main-color);
    }

    tbody tr {
      transition: background 0.2s ease;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);

      &:last-child {
        border-bottom: none;
      }

      &:hover {
        background: rgba(255, 255, 255, 0.04);
      }
    }

    tbody td {
      padding: 18px 20px;
      vertical-align: middle;
      color: var(--white-color);
      background: var(--main-color);
    }
  }

  .orders-table-id {
    color: var(--white-color);
    font-size: 15px;
  }

  .orders-table-total {
    font-weight: 600;
    color: var(--third-color);
  }

  .orders-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: var(--radius-0);
  }

  .orders-badge-success {
    background: rgba(25, 135, 84, 0.12);
    color: var(--success-color);
  }

  .orders-badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
  }

  .orders-badge-info {
    background: rgba(13, 202, 240, 0.15);
    color: #0aa2c0;
  }

  .orders-badge-danger {
    background: rgba(220, 53, 69, 0.18);
    color: #f8a5a5;
  }

  .btn-orders-view {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-0);
    border: 2px solid var(--main-color);
    color: var(--main-color);
    background: transparent;
    text-decoration: none;
    transition: all 0.25s ease;

    &:hover {
      background: var(--main-color);
      color: var(--white-color);
      border-color: var(--main-color);
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 23 — ACCOUNT ORDERS
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 24 — ACCOUNT ORDER DETAILS
 *   (order-hero, timeline, tabs, order-items, RTL)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.account-order-details-section {
  .order-hero-card {
    background: var(--main-color);
    border-radius: var(--radius-0);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--second-color);
  }

  .order-hero-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .order-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-0);
    background: rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
  }

  .order-details-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--third-color);
    margin: 0 0 0.5rem 0;
  }

  .order-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin: 0;
    font-size: 13px;
    color: var(--white-color);
  }

  .order-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    i {
      color: var(--second-color);
      font-size: 0.9em;
    }
  }

  .order-details-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: var(--radius-0);
  }

  .order-details-badge-success {
    background: rgba(25, 135, 84, 0.12);
    color: var(--success-color);
  }

  .order-details-badge-info {
    background: rgba(13, 202, 240, 0.15);
    color: #7dd3fc;
  }

  .order-details-badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffe08a;
  }

  .order-details-badge-danger {
    background: rgba(220, 53, 69, 0.18);
    color: #f8a5a5;
  }

  /* Order Details — order status timeline card */
  .order-timeline-card {
    background: var(--main-color);
    border-radius: var(--radius-0);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--second-color);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .order-timeline-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white-color);
    margin: 0 0 1rem 0;
  }

  .order-status-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0;
    position: relative;
  }

  .order-status-timeline::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--white-color);
    transform: translateY(-50%);
    z-index: 0;
  }

  .order-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 25%;
  }

  .order-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: var(--radius-0);
    background: var(--gray-250);
    border: 3px solid var(--white-color);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  }

  .order-timeline-step.order-timeline-done .order-timeline-dot {
    background: var(--second-color);
  }

  .order-timeline-step.order-timeline-current .order-timeline-dot {
    background: var(--success-color);
    box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.3);
  }

  .order-timeline-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--third-color);
  }

  .order-timeline-date {
    font-size: 11px;
    color: var(--gray-400);
  }

  .order-details-tabs {
    background: var(--main-color);
    border-radius: var(--radius-0);
    padding: 6px;
    border: 1px solid var(--second-color);
    gap: 4px;
    margin: 0;

    .nav-link {
      border: none;
      border-radius: var(--radius-0);
      font-weight: 600;
      font-size: 14px;
      padding: 10px 20px;
      color: var(--third-color);
      background: transparent;
      transition: all 0.25s ease;

      &:hover {
        color: var(--second-color);
        background: rgba(255, 255, 255, 0.8);
      }

      &.active {
        background: var(--white-color);
        color: var(--second-color);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
      }
    }
  }

  .order-details-tab-content {
    margin-top: 0;
  }

  .order-details-card {
    background: var(--main-color);
    border-radius: var(--radius-0);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--second-color);
    padding: 1.5rem;
    margin-bottom: 0;
  }

  .order-items-card {
    padding: 0.5rem 0;
  }

  .order-summary-card .order-summary-row.order-summary-total {
    margin: 1rem -1.5rem -1.5rem -1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-0);
  }

  .order-addresses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .order-tracking-block {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .order-item-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 0 0.5rem;
    border-radius: var(--radius-0);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;

    &:hover {
      background: rgba(0, 0, 0, 0.02);
    }

    &:last-child {
      border-bottom: none;
      padding-bottom: 1rem;
    }

    &:first-child {
      padding-top: 1rem;
    }
  }

  .order-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-0);
    flex-shrink: 0;
    background: var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .order-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .order-item-name {
    font-size: 1rem;
    color: var(--third-color);
  }

  .order-item-meta {
    font-size: 13px;
    color: var(--white-color);
  }

  .order-item-price {
    font-weight: 700;
    color: var(--third-color);
    flex-shrink: 0;
  }

  .order-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 15px;
    color: var(--third-color);

    &.order-summary-total {
      border-top: 2px solid var(--second-color);
      margin-top: 0.5rem;
      padding-top: 1rem;
      font-weight: 700;
      font-size: 1rem;

      &:last-child {
        color: var(--white-color);
      }
    }
  }

  .order-address-block,
  .order-shipping-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .order-address-icon,
  .order-shipping-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-0);
    background: rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .order-address-icon-billing {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white-color);
  }

  .order-address-label {
    font-size: 14px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--third-color);
    margin: 0 0 0.35rem 0;
  }

  .order-address-text {
    font-size: 14px !important;
    color: var(--white-color);
    margin: 0;
    line-height: 1.6;
  }

  .order-tracking-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .order-tracking-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-0);
    background: rgba(13, 202, 240, 0.12);
    color: #0aa2c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .order-tracking-number {
    font-size: 0.9rem !important;
    font-weight: 700;
    color: var(--third-color);
    margin: 0 0 0.25rem 0;
  }

  .order-tracking-link {
    font-size: 14px;
    color: var(--third-color);
    font-weight: 600;
    text-decoration: none;
  }

  .order-tracking-link:hover {
    text-decoration: underline;
    color: var(--third-color);
  }
}

[dir="rtl"] .account-order-details-section .order-hero-card {
  border-left: none;
  border-right: 4px solid var(--second-color);
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 24 — ACCOUNT ORDER DETAILS
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 25 — CART PAGE
 *   (cart-table, cart-summary-card, stepper)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.cart-section {
  .cart-table-wrap {
    background: var(--gray-800);
    border-radius: var(--radius-0);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--white-color);
  }

  .cart-table-scroll {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .cart-table {
    width: 100%;
    min-width: 580px;
    margin: 0;
    border-collapse: collapse;
    font-size: 15px;

    thead {
      tr {
        background: var(--main-color);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      }

      th {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--third-color);
        padding: 18px 20px;
        text-align: left;
        border: none;
      }
    }

    tbody {
      tr {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        transition: background 0.2s ease;

        &:last-child {
          border-bottom: none;
        }

        &:hover {
          background: rgba(248, 247, 245, 0.5);
        }
      }

      td {
        padding: 20px;
        vertical-align: middle;
        color: var(--third-color);
      }
    }
  }

  .cart-product-cell {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .cart-product-img {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: var(--radius-0);
    overflow: hidden;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);

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

  .cart-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .cart-product-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--third-color);
    line-height: 1.3;
  }

  .cart-product-meta {
    font-size: 13px;
    color: #6b6b6b;
    font-weight: 500;
  }

  .cart-price-cell {
    font-weight: 600;
    color: var(--main-color);
  }

  .cart-total-cell {
    font-weight: 700;
    font-size: 15px;
    color: var(--main-color);
  }

  .cart-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--gray-50);
    border-radius: var(--radius-0);
    padding: 4px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease;

    &:focus-within {
      border-color: rgba(223, 31, 46, 0.3);
      box-shadow: 0 0 0 3px rgba(223, 31, 46, 0.08);
    }
  }

  .cart-stepper-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--second-color);
    background: var(--gray-250);
    border: none;
    border-radius: var(--radius-0);
    cursor: pointer;
    transition:
      color 0.2s ease,
      background 0.2s ease,
      transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);

    &:hover {
      background: var(--second-color);
      color: var(--white-color);
      transform: scale(1.05);
    }

    &:active {
      transform: scale(0.98);
    }
  }

  .cart-qty-value {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--main-color);
    user-select: none;
  }

  .cart-remove-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9a9a9a;
    background: transparent;
    border: none;
    border-radius: var(--radius-0);
    font-size: 15px;
    cursor: pointer;
    transition:
      color 0.2s ease,
      background 0.2s ease,
      transform 0.2s ease;

    &:hover {
      color: var(--second-color);
      background: rgba(223, 31, 46, 0.08);
      transform: scale(1.08);
    }
  }

  .cart-summary-card {
    border-radius: var(--radius-0);
    padding: 28px 24px;
    position: sticky;
    top: 100px;
    background-color: var(--main-color);
    border: 1px solid var(--second-color);
  }

  .cart-summary-title {
    font-size: 18px !important;
    font-weight: 700;
    color: var(--third-color);
    margin-bottom: 22px;
    letter-spacing: -0.3px;
  }

  .cart-summary-rows {
    display: flex;
    flex-direction: column;
  }

  .cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: var(--white-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);

    &:last-of-type {
      border-bottom: none;
    }
  }

  .cart-summary-shipping {
    .text-muted {
      font-size: 13px;
      color: var(--gray-400);
    }
  }

  .cart-summary-total {
    margin-top: 8px;
    padding-top: 16px;
    font-size: 16px;
    font-weight: 700;

    strong {
      font-size: 18px;
      color: var(--second-color);
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 25 — CART PAGE
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   COMPARE PAGE — Point Carpet (dark theme, 2 products)
 * ═══════════════════════════════════════════════════════════════════════════
 */
.compare-section {
  background: var(--main-color) !important;
  color: var(--white-color);

  .compare-table-wrap {
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
  }

  .compare-table {
    color: var(--white-color);

    thead tr {
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    thead th {
      padding: 1rem 1.25rem;
      font-size: 0.9rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--white-color);
      background: rgba(255, 255, 255, 0.06);
    }

    tbody tr {
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);

      &:last-child {
        border-bottom: none;
      }
    }

    tbody td {
      padding: 0.85rem 1.25rem;
      color: var(--third-color);
      background-color: var(--main-color) !important;
      font-size: 0.9rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      vertical-align: middle;
    }
  }

  .compare-label-col {
    width: 160px;
    min-width: 140px;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    color: var(--third-color);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
  }

  .compare-actions-row td {
    border-bottom: none;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .compare-product-img {
    max-height: 140px;
    width: auto;
    object-fit: cover;
    border-radius: var(--radius-0);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }

  .compare-product-link:hover .compare-product-img {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .compare-footer-text {
    color: var(--third-color);
    font-size: 0.9rem;
  }

  .compare-add-link {
    color: var(--second-color);
    font-weight: 600;
    text-decoration: none;

    &:hover {
      color: var(--white-color);
      text-decoration: underline;
    }
  }
}

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 27 — PRODUCT DETAILS
 *   (gallery, breadcrumbs, price, options, tabs, reviews)
 * ═══════════════════════════════════════════════════════════════════════════
 */
/*
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 *   Product Details — card, gallery, thumbnails
 * · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 */
.product-details-card {
  border-radius: var(--radius-0);
  overflow: hidden;

  .product-main-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-0);
    overflow: hidden;
    margin-bottom: 16px;
  }

  .product-main-swiper {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-0);
    position: relative;

    .swiper-slide {
      width: 100%;
      height: 100%;
    }

    .swiper-button-next,
    .swiper-button-prev {
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: var(--radius-0);
      color: var(--main-color);
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
      margin-top: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;

      & svg {
        display: none;
      }

      i {
        font-size: 16px;
        font-weight: 600;
      }

      &:hover {
        background: var(--white-color);
        color: var(--second-color);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        transform: translateY(-50%) scale(1.1);
      }

      &:active {
        transform: translateY(-50%) scale(0.95);
      }
    }

    .swiper-button-next {
      right: 16px;
    }

    .swiper-button-prev {
      left: 16px;
    }

    .swiper-button-disabled {
      opacity: 0.35;
      cursor: not-allowed;

      &:hover {
        transform: translateY(-50%) scale(1);
        background: rgba(255, 255, 255, 0.95);
        color: var(--main-color);
      }
    }
  }

  .product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .product-badge {
    top: 0;
    left: 0;
    border-radius: var(--radius-0);
    padding: 16px 12px;
    font-size: 16px;
    font-weight: 600;
    background: var(--second-color);
    color: var(--white-color);
  }

  .product-thumbnails-wrapper {
    width: 100%;
  }

  .product-thumb {
    width: 100%;
    height: 100px;
    max-width: 100%;
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-0);
    /* overflow: hidden; */
    transition:
      border-color 0.2s ease,
      transform 0.2s ease;
    cursor: pointer;
    display: block;
    flex-shrink: 0;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    &.active {
      border-color: var(--second-color);
      border-width: 2px;
    }

    &:hover {
      border-color: var(--second-color);
    }
  }

  .product-breadcrumbs {
    margin-bottom: 16px;

    .breadcrumb {
      background: transparent;
      padding: 0;
      margin: 0;
      font-size: 12px;

      .breadcrumb-item {
        a {
          color: var(--gray-300);
          text-decoration: none;
          transition: color 0.2s ease;

          &:hover {
            color: var(--second-color);
          }
        }

        &.active {
          color: var(--main-color);
        }
      }
    }
  }

  .product-brand-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .product-brand-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-0);
    background: var(--main-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
  }

  .product-brand-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--second-color);
    background: var(--white-color);
    padding: 4px 10px;
    border-radius: var(--radius-0);
  }

  .product-sku {
    margin-left: auto;
    color: var(--gray-300);
    font-size: 12px;
  }

  .product-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
  }

  .product-title {
    font-size: 1.75rem !important;
    font-weight: 700;
    color: var(--third-color);
    line-height: 1.3;
    margin: 0;
    flex: 1;
  }

  .product-share-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-0);
    border: 1px solid var(--gray-200);
    background: var(--white-color);
    color: var(--main-color);
    transition: all 0.3s ease;
    cursor: pointer;

    i {
      font-size: 16px;
      transition: transform 0.3s ease;
    }

    &:hover {
      background: var(--second-color);
      border-color: var(--second-color);
      color: var(--white-color);
      transform: translateY(-2px);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    &:active {
      transform: translateY(0);
    }
  }

  .product-reviews {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }

  .product-stars {
    display: flex;
    align-items: center;
    gap: 2px;

    i {
      color: var(--warning-color);
      font-size: 14px;
    }
  }

  .product-reviews-count {
    color: var(--gray-300);
    font-size: 13px;
  }

  .product-price-wrapper {
    margin-bottom: 24px;
  }

  .product-price {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--third-color);
  }

  .product-price-unit {
    color: var(--white-color);
    font-size: 14px;
    margin-left: 8px;
  }

  /* Product Details — color picker */
  .product-color-selection {
    margin-bottom: 24px;
  }

  .product-color-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;

    .label-text {
      font-weight: 600;
      font-size: 14px;
      color: var(--main-color);
    }

    .label-value {
      font-weight: 700;
      font-size: 14px;
      color: var(--main-color);
    }
  }

  .product-color-swatches {
    display: flex;
    gap: 8px;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-0);
  }

  &.active {
    border-color: var(--main-color);
  }

  &:hover {
    border-color: var(--main-color);
    /* transform: scale(1.1); */
  }
}

/* Product Details — size selector */
.product-size-selection {
  margin-bottom: 24px;
}

.product-size-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;

  .label-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--third-color);
  }

  .label-value {
    color: var(--gray-200);
    font-size: 12px;
  }
}

.product-size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.size-btn {
  min-width: 60px;
  height: 44px;
  border-radius: var(--radius-0);
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  color: var(--main-color);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 0 16px;

  &:hover {
    border-color: var(--second-color);
    background: var(--white-color);
  }

  &.active {
    background: var(--second-color);
    color: var(--white-color);
    border-color: var(--second-color);
  }
}

.product-size-guide {
  color: var(--gray-300);
  font-size: 12px;
  text-decoration: underline;
  transition: color 0.2s ease;

  &:hover {
    color: var(--second-color);
  }
}

/* Product detail — info panel, variants, quantity (dark storefront) */
.product-details-section .product-info-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-0);
  padding: 1.5rem 1.35rem;
}

.product-details-section .product-brand-info {
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

.product-details-section .product-sku {
  color: rgba(255, 255, 255, 0.55) !important;
}

.product-details-section .product-title {
  color: var(--white-color) !important;
}

.product-details-section .product-price {
  color: var(--third-color) !important;
}

.product-details-section .product-short-desc {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 15px;
  line-height: 1.65;
}

.product-details-section .product-variant-pickers {
  padding-top: 0.25rem;
}

.product-details-section .product-variant-option-group .form-label,
.product-details-section .product-qty-picker .form-label {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-details-section .product-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-details-section .product-variant-chip {
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  position: relative;
}

.product-details-section .product-variant-chip .product-variant-input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none;
}

.product-details-section .product-variant-chip-label {
  display: inline-block;
  padding: 10px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.07);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  user-select: none;
}

.product-details-section .product-variant-chip:hover .product-variant-chip-label {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.product-details-section
  .product-variant-chip
  .product-variant-input:checked
  + .product-variant-chip-label {
  border-color: var(--second-color);
  background: var(--second-color);
  color: var(--white-color);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.35);
}

.product-details-section
  .product-variant-chip
  .product-variant-input:focus-visible
  + .product-variant-chip-label {
  outline: 2px solid var(--white-color);
  outline-offset: 2px;
}

.product-details-section .product-variant-chip.is-disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.product-details-section .product-variant-chip.is-disabled .product-variant-chip-label {
  pointer-events: none;
  color: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.15);
}

.product-details-section .product-variant-stock-msg {
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 6px;
}

.product-details-section .product-variant-stock-msg.is-ok {
  color: #b8f5c8;
  background: rgba(40, 167, 69, 0.15);
  border: 1px solid rgba(40, 167, 69, 0.35);
}

.product-details-section .product-variant-stock-msg.is-error {
  color: #ffc9c9;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.35);
}

/* Variant picker in add-to-cart modal (light modal surface) */
#productVariantCartModal .product-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#productVariantCartModal .product-variant-chip {
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  position: relative;
}

#productVariantCartModal .product-variant-chip .product-variant-input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none;
}

#productVariantCartModal .product-variant-chip-label {
  display: inline-block;
  padding: 8px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--main-color, #1a1a1a);
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  user-select: none;
}

#productVariantCartModal .product-variant-chip:hover .product-variant-chip-label {
  border-color: var(--second-color, #c41e3a);
}

#productVariantCartModal
  .product-variant-chip
  .product-variant-input:checked
  + .product-variant-chip-label {
  border-color: var(--second-color, #c41e3a);
  background: var(--second-color, #c41e3a);
  color: #fff;
}

#productVariantCartModal .product-variant-chip.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

#productVariantCartModal .product-variant-stock-msg {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
}

#productVariantCartModal .product-variant-stock-msg.is-ok {
  color: #155724;
  background: rgba(40, 167, 69, 0.12);
  border: 1px solid rgba(40, 167, 69, 0.3);
}

#productVariantCartModal .product-variant-stock-msg.is-error {
  color: #721c24;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.25);
}

#productVariantCartModal .product-qty-controls {
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  overflow: hidden;
}

#productVariantCartModal .product-qty-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  color: var(--main-color, #1a1a1a);
}

#productVariantCartModal .product-qty-input {
  width: 52px;
  border: none;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.product-details-section .product-qty-controls {
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.product-details-section .product-qty-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--white-color);
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.product-details-section .product-qty-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.product-details-section .product-qty-input {
  width: 56px;
  min-height: 42px;
  border: none !important;
  background: transparent !important;
  color: var(--white-color) !important;
  font-weight: 600;
  font-size: 16px;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.product-details-section .product-qty-input::-webkit-outer-spin-button,
.product-details-section .product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-details-section .product-actions .btn-send {
  min-height: 52px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Product Details — action buttons (add to cart, wishlist, share) */
.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-wishlist,
.btn-share {
  width: 48px;
  min-height: 48px;
  border-radius: var(--radius-0);
  border: 1px solid var(--gray-200);
  background: var(--white-color);
  color: var(--main-color);
  transition: all 0.3s ease;

  &:hover {
    border-color: var(--white-color);
    color: var(--white-color);
    background: var(--second-color);
  }
}

.btn-wishlist.active {
  background: var(--second-color);
  border-color: var(--second-color);
  color: var(--white-color);
  transform: scale(1.05);

  i {
    color: var(--white-color);
  }

  &:hover {
    background: var(--second-color);
    border-color: var(--white-color);
    color: var(--white-color);
    transform: scale(1.1);
  }
}

/* Product Details — delivery info */
.product-delivery-info {
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
  font-size: 13px;

  i {
    color: var(--second-color);
  }
}

.product-details-card .product-delivery-info {
  margin-top: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-0);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;

  .product-delivery-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .product-delivery-label {
    color: var(--white-color);
    font-weight: 700;
  }

  .product-delivery-value {
    color: rgba(255, 255, 255, 0.76);
  }

  i {
    color: var(--second-color);
    width: 16px;
    flex-shrink: 0;
  }
}

/* Product Details — accepted payment method icons */
.product-payment-methods {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.payment-methods-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;

  i {
    color: var(--white-color);
    font-size: 14px;
  }
}

.payment-methods-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.payment-method-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-0);
  background: var(--white-color);
  transition: all 0.3s ease;
  cursor: pointer;

  i {
    font-size: 28px;
    color: var(--main-color);
    transition: all 0.3s ease;
  }

  .payment-method-name {
    font-size: 11px;
    color: var(--gray-300);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
  }
}

.payment-visa i {
  color: #1434cb;
}

.payment-mastercard i {
  color: #eb001b;
}

.payment-amex i {
  color: #006fcf;
}

.payment-paypal i {
  color: #003087;
}

.payment-cash i {
  color: var(--main-color);
}

.payment-meeza i {
  color: #ff6b35;
}

/* Product Details — description, reviews and policy tabs */
.product-tabs-section {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--gray-800);
  color: var(--white-color);
  .featured-products-tabs-wrap {
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-0);
    padding: 6px;
    width: fit-content;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .featured-products-tabs {
    border-bottom: none;
    margin: 0;
    gap: 4px;
    flex-wrap: nowrap;

    .nav-item {
      margin: 0;
    }

    .nav-link {
      border: none;
      border-radius: var(--radius-0);
      background: transparent;
      color: var(--white-color);
      border: 1px solid var(--gray-300);
      font-weight: 600;
      font-size: 15px;
      padding: 10px 24px;
      transition: all 0.25s ease;
      position: relative;
      margin-bottom: 0;
      display: flex;
      align-items: center;
      width: fit-content !important;

      i {
        font-size: 14px;
        transition: transform 0.2s ease;
      }

      &:hover {
        color: var(--second-color);
        background: rgba(255, 255, 255, 0.9);

        i {
          transform: scale(1.05);
        }
      }

      &.active {
        color: var(--second-color);
        background: var(--gray-900);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

        i {
          color: var(--second-color);
        }
      }
    }
  }
}

/* Product Details — tab content (description, reviews, policy) */
.widget-tab-content {
  padding: 0 24px;
}

.product-description-content,
.product-reviews-content,
.policy-content {
  h4 {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 20px;
  }

  h5 {
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--white-color);
    margin-top: 24px;
    margin-bottom: 12px;
  }

  p {
    color: var(--gray-200);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px !important;
  }
}

.product-description-text {
  color: var(--gray-900);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 15px !important;
}

.product-features-list {
  list-style: none;
  padding: 0;

  li {
    font-size: 15px !important;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-400);

    &:before {
      content: "\f00c";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      left: 0;
      color: var(--second-color);
    }
  }
}

/* Product Details — reviews summary and list */
.reviews-summary {
  background: var(--gray-400);
  border-radius: var(--radius-0);
}

.rating-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white-color);
  display: block;
  margin-bottom: 8px;
}

.reviews-count {
  color: var(--third-color);
  font-size: 14px;
  display: block;
  margin-top: 8px;
}

.review-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);

  &:last-child {
    border-bottom: none;
  }
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;

  strong {
    color: var(--white-color);
    font-size: 16px;
  }
}

.review-text {
  color: var(--gray-300);
  line-height: 1.6;
  margin: 8px 0;
}

.review-date {
  color: var(--gray-500);
  font-size: 13px;
}

.product-specs-table {
  margin: 0;

  .spec-label {
    width: 36%;
    font-weight: 600;
    font-size: 15px !important;
    color: var(--white-color);
    background-color: var(--gray-900) !important;
  }

  .spec-value {
    font-weight: 600;
    font-size: 15px !important;
    color: var(--white-color);
    background-color: var(--gray-900) !important;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 27 — PRODUCT DETAILS
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 28 — SHARE MODAL
 * ═══════════════════════════════════════════════════════════════════════════
 */
.share-modal-content {
  border-radius: var(--radius-0);
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

  .share-modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 24px;

    h3 {
      margin: 0;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--main-color);
    }

    .btn-close {
      padding: 0;
      margin: 0;
      opacity: 0.7;
      transition: all 0.2s ease;

      &:hover {
        opacity: 1;
        transform: rotate(90deg);
      }
    }
  }

  .share-modal-body {
    padding: 24px;

    .share-social-btn {
      width: 48px;
      height: 48px;
      padding: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: var(--radius-0);
      text-decoration: none;
      color: var(--white-color);
      font-weight: 600;
      transition: all 0.3s ease;

      i {
        font-size: 20px;
      }

      span {
        font-size: 14px;
      }

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        text-decoration: none;
        color: var(--white-color);
      }

      &.share-facebook {
        background: #1877f2;
      }

      &.share-twitter {
        background: #1da1f2;
      }

      &.share-whatsapp {
        background: #25d366;
      }

      &.share-linkedin {
        background: #0077b5;
      }
    }

    .share-link-section {
      margin-top: 24px;
      padding-top: 24px;
      border-top: 1px solid var(--gray-200);

      label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--main-color);
        font-size: 14px;
      }
    }

    .share-link-input-group {
      display: flex;
      gap: 8px;
    }

    .share-link-input {
      flex: 1;
      padding: 12px 16px;
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-0);
      font-size: 14px;
      color: var(--main-color);
      background: var(--gray-25);

      &:focus {
        outline: none;
        border-color: var(--second-color);
        background: var(--white-color);
      }
    }

    .share-copy-btn {
      padding: 12px 20px;
      background: var(--main-color);
      color: var(--white-color);
      border: none;
      border-radius: var(--radius-0);
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s ease;
      white-space: nowrap;

      i {
        font-size: 14px;
      }

      span {
        font-size: 14px;
      }

      &:hover {
        background: var(--second-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      }

      &:active {
        transform: translateY(0);
      }

      &.copied {
        background: var(--success-light);

        span::before {
          content: "Copied!";
        }

        i {
          display: none;
        }
      }
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 28 — SHARE MODAL
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 29 — PRODUCT QUICK VIEW MODAL
 * ═══════════════════════════════════════════════════════════════════════════
 */
#productQuickViewModal {
  .modal-content {
    border-radius: var(--radius-0);
    border: none;
    overflow: hidden;
    background-color: var(--main-color);
  }

  .modal-header {
    padding: 1.5rem 1.5rem 0;
    border-bottom: none;
  }

  .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--third-color);
  }

  .modal-body {
    padding: 1.5rem;
    color: var(--white-color);
  }

  .product-details-card {
    border-radius: var(--radius-0);
    overflow: hidden;
  }

  .product-gallery-wrapper {
    position: relative;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 29 — PRODUCT QUICK VIEW MODAL
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 30 — PAYMENT FAILURE
 * ═══════════════════════════════════════════════════════════════════════════
 */
.payment-failure-section {
  display: flex;
  align-items: center;

  .payment-failure-card {
    background: var(--main-color);
    border-radius: var(--radius-0);
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--second-color);

    &:hover {
      box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
      transform: translateY(-5px);
    }
  }

  .payment-failure-icon-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    animation: shake 0.5s ease-in-out;
  }

  .payment-failure-icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-0);
    background: linear-gradient(
      135deg,
      var(--danger-color) 0%,
      var(--danger-light) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.3);
    position: relative;

    &::after {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: var(--radius-0);
      background: rgba(220, 53, 69, 0.1);
      animation: paymentFailurePulse 2s ease-in-out infinite;
    }

    i {
      font-size: 48px;
      color: var(--white-color);
      font-weight: 700;
      z-index: 1;
      position: relative;
    }
  }

  .payment-failure-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--third-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
  }

  .payment-failure-message {
    font-size: 1.1rem;
    color: var(--white-color);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .payment-failure-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .payment-failure-btn-primary {
    min-width: 160px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-0);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }
  }

  .payment-failure-btn-secondary {
    min-width: 160px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-0);
    border-width: 2px;
    transition: all 0.3s ease;

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
  }

  .payment-failure-help {
    padding-top: 30px;
    border-top: 1px solid var(--gray-border);
    margin-top: 30px;

    p {
      color: var(--gray-300);
      font-size: 14px;
      margin: 0;
    }

    i {
      color: var(--second-color);
    }
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-10px);
  }

  75% {
    transform: translateX(10px);
  }
}

@keyframes paymentFailurePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 30 — PAYMENT FAILURE
 * ───────────────────────────────────────────────────────────────────────────
 */

/*
 * ═══════════════════════════════════════════════════════════════════════════
 *   SECTION 26 — FOOTER
 *   (footer-title, footer-link, copyright, footer-social)
 * ═══════════════════════════════════════════════════════════════════════════
 */
footer {
  position: relative;
  z-index: 1 !important;
  .footer-bg {
    position: relative;
    z-index: 1;
    &::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background-color: rgba(0, 0, 0, 0.7);
    }
  }
  .footer-title {
    color: var(--third-color) !important;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1px;
  }

  .footer-text {
    line-height: 1.8;
    font-size: 16px !important;
    color: var(--third-color);
  }

  .footer-list,
  .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-list {
    li {
      margin-bottom: 12px;
    }
  }

  .footer-link {
    color: var(--third-color);
    text-decoration: none;
    position: relative;
    padding-left: 0;
    font-size: 16px;
    transition: all 0.3s ease;

    &:hover {
      color: var(--second-color);
      padding-left: 6px;
    }
  }

  .footer-contact {
    li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      margin-bottom: 14px;
      color: var(--third-color);
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.3s ease;

      &:hover {
        color: var(--second-color);
      }
    }
  }

  .footer-divider {
    border-color: rgba(255, 255, 255, 0.4);
    margin: 40px 0 20px;
  }

  .copyright-row {
    padding-bottom: 8px;
  }

  .copyright {
    p {
      margin: 0;
      font-size: 16px;
      color: var(--white-color) !important;
    }
strong {
  color: var(--white-color) !important;
  font-weight: 700 !important;
}
    a {
      color: var(--second-color) !important;
      font-weight: 700 !important;
      text-decoration: none;

      &:hover {
        color: var(--third-color);
      }
    }
  }

  .footer-payment-icons {
    font-size: 28px;
    color: var(--third-color);
  }

  .footer-payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
      color 0.25s ease,
      transform 0.25s ease;

    &:hover {
      transform: scale(1.1);
    }
  }

  .footer-social {
    margin-top: 16px;
    display: flex;
    gap: 12px;

    a {
      width: 38px;
      height: 38px;
      border-radius: var(--radius-0);
      background: rgba(255, 255, 255, 0.3);
      color: var(--white-color);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;

      &:hover {
        background: var(--second-color);
        color: var(--white-color);
        transform: translateY(-3px);
      }
    }
  }
}

/*
 * ───────────────────────────────────────────────────────────────────────────
 *   END SECTION 26 — FOOTER
 * ───────────────────────────────────────────────────────────────────────────
 */
