/* ==========================================================
   MINIKO — GLOBAL STYLESHEET (cleaned & deduplicated)
   ----------------------------------------------------------
   Table of Contents
   1.  Root Variables
   2.  Reset
   3.  Typography
   4.  Layout (Container / Section)
   5.  Buttons
   6.  Forms (base inputs, checkbox/radio UI, validation)
   7.  Section Title
   8.  Cards
   9.  Utilities
   10. Bootstrap Overrides
   11. Responsive Base
   12. Header / Navbar / Offcanvas
   13. Hero Slider
   14. Service Bar
   15. Header + Hero Responsive
   16. Footer CTA
   17. Footer Features
   18. Newsletter
   19. Footer Kid Image
   20. Main Footer
   21. Footer Responsive
   22. Product Card (Best Sellers) + Responsive
   23. Shop Page (Header, Pills, Sidebar, Toolbar, Grid,
       Pagination, Feature Strip, Responsive)
   24. Mobile Bottom Toolbar (fixed)
   25. Product Gallery
   26. Product Detail Info
   27. Product Actions & Quantity
   28. Product Accordion / FAQ
   29. Cart Page
   30. Checkout Forms & Inputs
   31. Checkout Summary / Payment / Success / Mobile Header
   32. Account Pages (Sidebar, Addresses, Orders)

   NOTE ON UNRESOLVED NAMING COLLISIONS
   ----------------------------------------------------------
   A few class names are reused for genuinely different
   components. Because they aren't scoped under a distinct
   parent class, whichever rule appears later in the cascade
   wins wherever both components share a page. These are left
   as-is (fixing them safely requires seeing the HTML), but
   are flagged inline with a "COLLISION" comment:
     - .feature-item   (footer "why choose us" row vs. product
                         detail trust-feature chip)
     - .product-rating / .product-price
                       (product card vs. product detail page)
     - .qty-btn / .qty-input
                       (product detail quantity box vs. cart
                        quantity stepper)
   Consider scoping these, e.g. ".site-footer .feature-item"
   and ".product-detail .feature-item", so they can't collide.
========================================================== */

/* ==========================================================
   1. ROOT VARIABLES
   (merged from the two separate :root blocks in the source;
   where a variable name was declared twice with different
   values, the later/final cascade value is kept)
========================================================== */

:root {
  /* brand palette */
  --primary: #6b8e5a;
  --primary-dark: #567447;
  --secondary: #f6c85f;
  --accent: #eb5b1c;
  --accent-dark: #d9693b;
  --white: #ffffff;
  --light: #f8f9fa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #dddddd;
  --gray-500: #888888;
  --gray-700: #555555;
  --gray-900: #222222;
  --border-color: #ececec;
  --body-bg: #ffffff;
  --body-color: #11100e;

  /* radii / shadows / motion (legacy names) */
  --radius-sm: 10px; /* was 6px; overridden by later :root block */
  --radius: 12px;
  --radius-lg: 18px; /* was 20px; overridden by later :root block */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
  --container: 1320px;

  /* surface / text tokens (cart, checkout, account pages) */
  --color-bg: #f7f8fc;
  --color-surface: #ffffff;
  --color-border: #edf0f5;
  --color-text: #212529;
  --color-text-muted: #6c757d;
  --color-text-faint: #9aa1ab;
  --color-primary: #6b8e5a;
  --color-primary-hover: #6b8e5a;
  --color-primary-tint: #edf3ff;
  --color-danger: #dc3545;
  --color-success: #1e8e3e;
  --color-success-tint: #e6f7ea;

  /* radii / shadows / motion (newer names) */
  --radius-md: 14px;
  --shadow-rest: 0 8px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.08);
  --transition-fast: 0.2s ease;
  --transition-base: 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================
   2. RESET
========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-color);
  background: var(--body-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==========================================================
   3. TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* ==========================================================
   4. LAYOUT — CONTAINER / SECTION
========================================================== */

.container {
  max-width: var(--container);
}

section {
  position: relative;
  padding: 80px 0;
}

.section-p {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ==========================================================
   5. BUTTONS
========================================================== */

.btn {
  border-radius: 10px;
  padding: 12px 30px;
  font-weight: 700;
  transition: var(--transition);
  font-size: 14px;
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:active {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark);
}

.btn-accent {
  background-color: var(--accent) !important;
  border-color: var(--accent);
  color: #fff !important;
}

.btn-accent:hover,
.btn-accent:active {
  background-color: var(--accent-dark) !important;
  border-color: var(--accent-dark);
  color: #fff !important;
}

.btn-outline-accent {
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline-accent:hover,
.btn-outline-accent:active {
  background-color: var(--accent) !important;
  color: #fff;
}

.btn-check {
  display: none;
}

/* ==========================================================
   6. FORMS
========================================================== */

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}

.form-control,
.form-select {
  width: 100%;
  min-height: 45px;
  height: 45px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  background: #fff;
  border: 1px solid #dcdfe4;
  border-radius: 8px;
  box-shadow: none !important;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Larger variant used on hero/newsletter forms */
.hero-slider .form-control,
.newsletter-form .form-control {
  min-height: 52px;
  border-radius: 12px;
  border-color: var(--border-color);
}

.form-control::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.form-control:hover,
.form-select:hover {
  border-color: #c7ccd4;
}

.form-control:focus,
.form-select:focus {
  border-color: #b8bec7;
  background: #fff;
  box-shadow: none !important;
  outline: none;
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}

.input-group {
  flex-wrap: nowrap;
}

.input-group-text {
  height: 45px;
  padding: 0 12px;
  background: #f8f9fa;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #dcdfe4;
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.input-group > .form-control {
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.input-group:focus-within .input-group-text {
  border-color: #b8bec7;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-input {
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #cfd4da;
  border-radius: 4px;
  box-shadow: none !important;
}

.form-check-input:focus {
  box-shadow: none !important;
}

.form-check-input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.form-check-input[type="radio"] {
  border-radius: 50%;
}

.form-check-label {
  font-size: 13px;
  color: var(--color-text);
}

.form-control[type="file"] {
  padding: 8px 12px;
  height: auto;
}

.form-select {
  padding-right: 36px;
}

.form-text {
  margin-top: 5px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.invalid-feedback,
.valid-feedback {
  margin-top: 5px;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Remove Bootstrap success/error colors */
.is-valid,
.is-invalid {
  border-color: #dcdfe4 !important;
  background-image: none !important;
}

.form-control.is-valid,
.form-control.is-invalid,
.form-select.is-valid,
.form-select.is-invalid {
  box-shadow: none !important;
}

/* ----------------------------------------------------------
   6.1 Custom Checkbox UI
   Markup:
   <label class="custom-checkbox">
     <input type="checkbox">
     <span class="checkbox-box"><i class="fa-solid fa-check"></i></span>
     <span class="checkbox-label">Label text</span>
   </label>
---------------------------------------------------------- */

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.custom-checkbox .checkbox-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid #d5d0c5;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.custom-checkbox .checkbox-box i {
  font-size: 11px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: 0.15s ease;
}

.custom-checkbox .checkbox-label {
  font-size: 0.92rem;
  color: #333;
  transition: 0.2s ease;
}

.custom-checkbox:hover .checkbox-box {
  border-color: var(--primary);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-box {
  background: var(--primary);
  border-color: var(--primary);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-box i {
  opacity: 1;
  transform: scale(1);
}

.custom-checkbox input[type="checkbox"]:focus-visible + .checkbox-box {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.custom-checkbox input[type="checkbox"]:disabled ~ * {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ----------------------------------------------------------
   6.2 Custom Radio UI (same pattern, round variant)
---------------------------------------------------------- */

.custom-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.custom-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.custom-radio .radio-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid #d5d0c5;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.custom-radio .radio-box::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  transform: scale(0);
  transition: 0.15s ease;
}

.custom-radio:hover .radio-box {
  border-color: var(--primary);
}

.custom-radio input[type="radio"]:checked + .radio-box {
  border-color: var(--primary);
}

.custom-radio input[type="radio"]:checked + .radio-box::after {
  transform: scale(1);
}

.custom-radio input[type="radio"]:focus-visible + .radio-box {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ----------------------------------------------------------
   6.3 Pill-style toggle (address type, filter chips)
   Markup: <input class="btn-check"> + <label class="address-type">
---------------------------------------------------------- */

.address-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: 0.2s ease;
}

.address-type i {
  font-size: 14px;
}

.address-type:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-check:checked + .address-type {
  border-color: var(--accent);
  background: rgba(235, 91, 28, 0.08);
  color: var(--accent);
}

/* ==========================================================
   7. SECTION TITLE
========================================================== */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title p {
  max-width: 650px;
  margin: auto;
}

/* ==========================================================
   8. CARDS
========================================================== */

.card {
  border: none;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* ==========================================================
   9. UTILITIES
========================================================== */

.rounded-xl {
  border-radius: 20px;
}

.shadow-custom {
  box-shadow: var(--shadow);
}

.bg-light-custom {
  background: var(--gray-100);
}

/* ==========================================================
   10. BOOTSTRAP OVERRIDES
========================================================== */

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background: var(--primary) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

/* ==========================================================
   11. RESPONSIVE BASE
========================================================== */

@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }
  .section-p {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  h1 {
    font-size: 2.3rem;
  }
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  section {
    padding: 50px 0;
  }
  .section-p {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

/* ==========================================================
   12. HEADER / NAVBAR / OFFCANVAS
========================================================== */

.site-header {
  background: #fff;
}

.top-bar {
  background: #faefe6;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  padding: 8px 0;
}

.top-bar small {
  font-size: 13px;
  font-weight: 600;
}

.navbar {
  height: 82px;
  background: #fff;
  padding: 0;
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img {
  height: 58px;
  width: auto;
}

.navbar-nav {
  gap: 30px;
}

.navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 700;
  color: #090a0a;
  padding: 0;
  transition: 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-icon {
  position: relative;
  color: #090a0a;
}

.header-icon i {
  font-size: 22px;
}

.header-icon:hover {
  color: var(--accent);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-toggler {
  border: none;
  padding: 0;
  box-shadow: none !important;
}

.navbar-toggler i {
  font-size: 30px;
  color: #111;
}

.offcanvas {
  width: 320px;
}

.offcanvas-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.offcanvas-header h5 {
  margin: 0;
  font-size: 22px;
}

.offcanvas-body {
  padding: 0 24px;
}

.mobile-menu-group {
  display: flex;
  flex-direction: column;
}

.mobile-menu-group a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  color: #222;
  font-size: 16px;
  font-weight: 600;
}

.mobile-menu-group i {
  width: 22px;
}

.mobile-menu-divider {
  height: 1px;
  background: #eee;
  margin: 15px 0;
}

.offcanvas-footer {
  padding: 24px;
  border-top: 1px solid #eee;
}

#filterOffcanvas .offcanvas-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 10;
}

/* ==========================================================
   13. HERO SLIDER
========================================================== */

.hero-slider {
  background: #fff;
}

.hero-slide {
  min-height: 650px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(250, 248, 243, 1) 0%,
    rgba(250, 248, 243, 0.95) 38%,
    rgba(250, 248, 243, 0.45) 30%,
    rgba(250, 248, 243, 0) 80%
  );
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-tag {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.hero-slide h1 {
  font-size: 55px;
  line-height: 1.1;
  font-weight: 700;
  color: #111;
  max-width: 650px;
}

.hero-slide h1 span {
  display: block;
  color: var(--primary-dark);
}

.hero-desc {
  font-size: 18px;
  max-width: 450px;
  color: #444;
  margin: 25px 0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-buttons .btn-accent {
  padding: 14px 28px;
  border-radius: 8px;
}

.hero-features {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.feature h6 {
  margin: 0;
  font-size: 15px;
}

.feature p {
  margin: 2px 0;
  font-size: 13px;
  color: #555;
}

.icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.icon.green {
  background: #658d3c;
}

.icon.orange {
  background: #f45b20;
}

.icon.yellow {
  background: #ffbf00;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ==========================================================
   14. SERVICE BAR
========================================================== */

.service-box {
  margin-top: 25px;
  padding: 25px;
  background: #f3f3e9;
  border-radius: 18px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.service-box div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-box i {
  width: 55px;
  height: 55px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.service-box b {
  display: block;
}

.service-box small {
  color: #555;
}

/* ==========================================================
   15. HEADER + HERO RESPONSIVE
========================================================== */

@media (max-width: 991px) {
  .navbar {
    height: 72px;
  }
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .navbar-brand img {
    height: 46px;
  }
  .header-icons {
    margin-left: auto;
    gap: 20px;
  }
  .hero-slide {
    min-height: auto;
    padding: 70px 0;
  }
  .hero-slide .container {
    text-align: center;
  }
  .hero-slide h1 {
    font-size: 42px;
    margin: auto;
  }
  .hero-desc {
    margin: 20px auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
  }
  .feature {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
  }
  .service-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .navbar {
    height: 68px;
  }
  .navbar-brand img {
    height: 58px;
  }
  .offcanvas {
    width: 280px;
  }
  .carousel-indicators {
    display: none;
  }
  .hero-slide {
    padding: 45px 0;
    border-radius: 0 0 25px 25px;
  }
  .hero-slide::before {
    background: rgba(250, 248, 243, 0.88);
  }
  .hero-slide h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  .hero-tag {
    font-size: 15px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-features {
    flex-direction: column;
    gap: 15px;
  }
  .feature {
    width: 100%;
    justify-content: flex-start;
  }
  .service-box {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .service-box div {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
  }
  .service-box i {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/* ==========================================================
   16. FOOTER CTA
========================================================== */

.footer-cta {
  background: #f8f6f2;
}

.footer-cta-box {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.footer-cta-box > .row {
  padding: 60px;
}

.footer-cta .badge {
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 50px;
}

.footer-cta h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  color: #2b2b2b;
}

.footer-cta p {
  color: #6c757d;
  line-height: 1.8;
}

.footer-cta .btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
}

/* ==========================================================
   17. FOOTER FEATURES
========================================================== */

/* COLLISION: .feature-item is redefined in section 26
   (Product Detail Info) for a different component. Consider
   scoping this one as ".site-footer .feature-item". */
.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #eef7eb;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-item h6 {
  margin-bottom: 4px;
  font-weight: 600;
}

.feature-item small {
  color: #777;
  line-height: 1.6;
}

/* ==========================================================
   18. NEWSLETTER
========================================================== */

.footer-subscribe {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7f68d8, #9b7cf0);
  padding: 40px 60px;
}

.footer-subscribe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='250' viewBox='0 0 1200 250'%3E%3Cpath fill='%23ffffff' fill-opacity='.08' d='M0 120C120 70 240 180 360 150C480 120 600 20 720 70C840 120 960 230 1080 170C1140 140 1170 130 1200 120V250H0Z'/%3E%3C/svg%3E")
    center/cover no-repeat;
  pointer-events: none;
}

.footer-subscribe > * {
  position: relative;
  z-index: 2;
}

.footer-subscribe h5 {
  color: #fff;
}

.footer-subscribe p {
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 6px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.newsletter-form .form-control {
  height: 50px;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0 20px;
}

.newsletter-form .btn {
  border-radius: 40px;
  padding: 12px 26px;
  white-space: nowrap;
}

/* ==========================================================
   19. FOOTER KID IMAGE
========================================================== */

.footer-kid-image {
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: 50% 50% 20% 50%;
  transform: rotate(-2deg);
}

.footer-kid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: rotate(2deg) scale(1.05);
}

/* ==========================================================
   20. MAIN FOOTER
========================================================== */

.site-footer {
  background: #fff;
  border-top: 1px solid #ece7de;
}

.footer-main {
  padding: 70px 0 50px;
}

.footer-logo img {
  height: 50px;
}

.footer-text {
  color: #6c757d;
  line-height: 1.8;
  max-width: 330px;
  margin: 25px 0;
}

.site-footer h5 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 22px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 14px;
}

.site-footer ul li a {
  color: #666;
  font-size: 15px;
  transition: 0.3s;
}

.site-footer ul li a:hover {
  color: var(--accent);
}

.footer-contact div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #555;
}

.footer-contact i {
  color: var(--accent);
  font-size: 18px;
}

.footer-contact a {
  color: #555;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #555;
  font-size: 15px;
}

.footer-features i {
  width: 22px;
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f3f3f3;
  color: #555;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #ececec;
  padding: 22px 0;
  color: #777;
  font-size: 14px;
}

.footer-bottom img {
  max-height: 32px;
}

/* ==========================================================
   21. FOOTER RESPONSIVE
========================================================== */

@media (max-width: 991px) {
  .footer-cta-box > .row {
    padding: 35px;
  }
  .footer-main {
    padding: 50px 0;
  }
  .footer-subscribe {
    padding: 30px;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .footer-cta-box > .row {
    padding: 25px;
  }
  .footer-cta h2 {
    font-size: 1.8rem;
  }
  .footer-subscribe {
    padding: 25px 20px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
    padding: 15px;
  }
  .newsletter-form .form-control {
    width: 100%;
    text-align: center;
  }
  .newsletter-form .btn {
    width: 100%;
  }
  .footer-kid-image {
    height: 280px;
    border-radius: 40px 90px 50px 100px;
    transform: none;
  }
  .footer-kid-image img {
    transform: scale(1.05);
  }
  .feature-item i {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .footer-bottom {
    text-align: center;
  }
}

/* ==========================================================
   22. PRODUCT CARD (BEST SELLERS) + RESPONSIVE
========================================================== */

.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid #ece7df;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #faf8f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: 0.25s;
  z-index: 2;
}

.wishlist-btn:hover {
  background: #fff5f5;
  color: #dc3545;
}

.badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #edf8ef;
  color: #2e7d32;
  padding: 6px 10px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.product-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: #222;
  text-decoration: none;
  transition: 0.25s;
}

.product-title a:hover {
  color: #9b6a3f;
}

.product-desc {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* COLLISION: .product-rating / .product-price are extended
   again in section 26 (Product Detail Info) for the PDP
   layout. Rules below are the union of both; harmless since
   the added properties don't conflict, but consider scoping
   e.g. ".product-detail .product-price" if that ever changes. */
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.stars {
  display: flex;
  gap: 2px;
  color: #f4b400;
  font-size: 13px;
}

.review-count {
  color: #888;
  font-size: 13px;
}

.product-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.cart-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

@media (max-width: 1199px) {
  .product-body {
    padding: 15px;
  }
}

@media (max-width: 991px) {
  .product-title {
    font-size: 15px;
  }
  .product-price {
    font-size: 16px;
  }
  .product-detail-title {
    font-size: 1.5rem;
  }
  .current-price {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .product-body {
    padding: 12px;
  }
  .product-title {
    font-size: 14px;
  }
  .product-desc {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .stars {
    font-size: 12px;
  }
  .review-count {
    font-size: 12px;
  }
  .product-price {
    font-size: 14px;
  }
  .wishlist-btn,
  .cart-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 575px) {
  .product-body {
    padding: 10px;
  }
  .product-title {
    font-size: 16px;
  }
  .product-desc {
    font-size: 13px;
  }
  .product-price {
    font-size: 14px;
  }
  .wishlist-btn,
  .cart-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

/* ==========================================================
   23. SHOP PAGE
========================================================== */

/* -- 23.1 Header -- */
.shop-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2f3a28;
  margin-bottom: 12px;
}

.shop-description {
  color: #6c757d;
  max-width: 520px;
  line-height: 1.8;
}

/* -- 23.2 Feature Pills -- */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e8e3d9;
  border-radius: 50px;
  padding: 14px 18px;
  font-size: 0.9rem;
  transition: 0.25s;
}

.feature-pill i {
  color: var(--bs-primary);
}

/* -- 23.3 Sidebar / Filters -- */
.shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.filter-card {
  background: #fff;
  padding: 22px;
  border-top: 1px solid #ece7dd;
}

.filter-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.filter-list li:last-child {
  margin-bottom: 0;
}

/* filter-list label uses the .custom-checkbox pattern
   (see section 6.1) for its checkbox UI */
.filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.92rem;
}

.filter-list span {
  color: #999;
  font-size: 0.8rem;
}

.form-range {
  margin-top: 20px;
}

/* -- 23.4 Toolbar (Desktop) -- */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-actions .form-select {
  width: 190px;
  border-radius: 10px;
}

.toolbar-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 10px;
  transition: 0.25s;
}

.toolbar-icon:hover {
  background: #f3f3f3;
}

.toolbar-icon.active {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

/* -- 23.5 Toolbar (Mobile) -- */
.mobile-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.mobile-toolbar .btn {
  flex: 1;
  height: 48px;
  border-radius: 12px;
  font-weight: 600;
}

.mobile-action-btn {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #212529;
  transition: 0.2s ease;
}

.mobile-action-btn i {
  font-size: 1rem;
  color: var(--bs-primary);
}

.mobile-action-btn:hover {
  background: #f8f9fa;
  border-color: #ced4da;
}

.mobile-filter-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  color: var(--primary);
  text-decoration: none;
  transition: 0.2s ease;
}

.mobile-filter-btn:hover {
  background: #f8f9fa;
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-filter-btn i {
  font-size: 1.1rem;
}

.mobile-sort-select {
  width: auto;
  height: 48px;
  border-radius: 12px;
}

/* -- 23.6 Product Grid -- */
.shop-page .row > .col {
  display: flex;
}

.shop-page .product-card {
  width: 100%;
}

/* -- 23.7 Pagination -- */
.shop-pagination {
  margin-top: 55px;
}

.shop-pagination .pagination {
  gap: 10px;
}

.shop-pagination .page-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #ddd;
  color: #444;
}

.shop-pagination .page-item.active .page-link {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* -- 23.8 Bottom Features Strip -- */
.shop-features-strip {
  border-top: 1px solid #ece7dd;
  background: #fff;
}

.shop-features-strip .feature-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.shop-features-strip i {
  font-size: 28px;
  color: var(--bs-primary);
}

.shop-features-strip h6 {
  margin: 0;
  font-size: 15px;
}

.shop-features-strip p {
  margin: 0;
  color: #777;
  font-size: 13px;
}

/* -- 23.9 Responsive -- */
@media (max-width: 991.98px) {
  .shop-title {
    font-size: 2rem;
  }
  .feature-pills {
    justify-content: flex-start;
    margin-top: 25px;
  }
  .shop-toolbar {
    display: none;
  }
  .mobile-toolbar {
    display: flex;
  }
  .filter-card {
    border: 0px;
  }
}

@media (max-width: 767.98px) {
  .shop-title {
    font-size: 1.8rem;
  }
  .shop-description {
    font-size: 14px;
  }
  .feature-pill {
    width: calc(50% - 8px);
    justify-content: center;
    padding: 12px;
    font-size: 13px;
  }
  .mobile-toolbar .btn {
    font-size: 14px;
  }
  .shop-pagination {
    margin-top: 35px;
  }
}

@media (max-width: 575.98px) {
  .feature-pill {
    width: 100%;
  }
}

/* ==========================================================
   24. MOBILE BOTTOM TOOLBAR (fixed)
========================================================== */

.mobile-bottom-toolbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55px;
  background: #fff;
  border-top: 1px solid #e9e9e9;
  display: flex;
  align-items: center;
  z-index: 9;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.toolbar-action {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: #343a40;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  position: relative;
}

.toolbar-action i {
  font-size: 18px;
  color: #6c757d;
}

.toolbar-divider {
  width: 1px;
  height: 24px;
  background: #dcdcdc;
}

.sort-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ==========================================================
   25. PRODUCT GALLERY
========================================================== */

.product-gallery-main {
  position: relative;
  overflow: hidden;
  border: 1px solid #ece7df;
  border-radius: 5px;
  background: #faf8f3;
}

.product-gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: 0.35s;
  padding: 1rem;
}

.product-gallery-main:hover img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #fff;
  color: #d17b00;
  border-radius: 30px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.thumbnail-btn {
  width: 100%;
  border: 2px solid transparent;
  background: #fff;
  border-radius: 10px;
  padding: 2px;
  transition: 0.25s;
}

.thumbnail-btn img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.thumbnail-btn.active,
.thumbnail-btn:hover {
  border-color: var(--bs-secondary);
}

@media (max-width: 991px) {
  .product-thumbnails .col-2 {
    width: 20%;
  }
}

/* ==========================================================
   26. PRODUCT DETAIL INFO
========================================================== */

.product-detail-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 1rem;
}

.product-short-desc {
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.current-price {
  font-size: 1.75rem;
  font-weight: 700;
}

.old-price {
  color: #999;
  text-decoration: line-through;
  font-size: 1rem;
}

.discount-badge {
  background: #e8f7ee;
  color: #198754;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #ece7df;
  border-radius: 12px;
  background: #faf8f3;
  font-size: 0.95rem;
}

.trust-item i {
  color: var(--bs-primary);
}

/* ==========================================================
   27. PRODUCT ACTIONS & QUANTITY
========================================================== */

.product-actions {
  display: flex;
  gap: 12px;
}

.product-actions .btn {
  height: 56px;
  border-radius: 14px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .product-actions {
    gap: 10px;
  }
}

/* COLLISION: .qty-btn / .qty-input here (product detail
   quantity box) are redefined again in section 29 (Cart Page)
   for the cart's quantity stepper, with different sizing and
   color. The cart version, appearing later, wins the cascade
   wherever both are on the same page. Recommend scoping, e.g.
   ".quantity-box .qty-btn" vs ".qty-stepper .qty-btn". */
.quantity-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  width: 42px;
  height: 42px;
  border: none;
  background: #fff;
  color: #444;
  transition: 0.2s;
}

.qty-btn:hover {
  background: #f5f5f5;
}

.qty-input {
  width: 50px;
  height: 42px;
  border: none;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  text-align: center;
  font-weight: 600;
  outline: none;
  background: #fff;
}

/* ==========================================================
   28. PRODUCT ACCORDION / FAQ
========================================================== */

.product-accordion .accordion,
.product-faq .accordion {
  border: 1px solid #ece7df;
  border-radius: 14px;
  overflow: hidden;
}

.product-accordion .accordion-item,
.product-faq .accordion-item {
  border: 0;
  border-bottom: 1px solid #ece7df;
}

.product-accordion .accordion-item:last-child,
.product-faq .accordion-item:last-child {
  border-bottom: none;
}

.product-accordion .accordion-button,
.product-faq .accordion-button {
  background: #fff;
  color: #2d2d2d;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px;
  box-shadow: none;
}

.product-accordion .accordion-button:not(.collapsed),
.product-faq .accordion-button:not(.collapsed) {
  background: #fff;
  color: #2f5d3a;
  box-shadow: none;
}

.product-faq .accordion-button:hover {
  color: #2f5d3a;
}

.product-accordion .accordion-button:focus,
.product-faq .accordion-button:focus {
  box-shadow: none;
  border: none;
}

.product-accordion .accordion-button::after,
.product-faq .accordion-button::after {
  background-size: 16px;
}

.product-accordion .accordion-body,
.product-faq .accordion-body {
  padding: 15px;
  padding-top: 0px;
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

.product-accordion table th {
  width: 160px;
  color: #2d2d2d;
  font-weight: 600;
}

.product-accordion table td {
  color: #666;
}

.product-faq .accordion-body p:last-child {
  margin-bottom: 0;
}

.product-faq .accordion-body ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.product-faq .accordion-body li {
  margin-bottom: 0.5rem;
}

.product-faq .accordion-body li:last-child {
  margin-bottom: 0;
}

.product-tax-shipping{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    font-size:14px;
    color:#6c757d;
    line-height:1.6;
}

.product-tax-shipping .dot{
    color:#c5c5c5;
}

.product-tax-shipping .shipping-text{
    display:flex;
    align-items:center;
    gap:6px;
    color:var(--primary);
    font-weight:500;
}

.product-tax-shipping .shipping-text i{
    font-size:15px;
}

@media (max-width:576px){
    .product-tax-shipping{
        font-size:13px;
        gap:6px;
    }
}
/* ==========================================================
   29. CART PAGE
   (merged from two near-duplicate blocks in the source; the
   later block's values are treated as authoritative wherever
   the two conflicted, since that's what the cascade renders)
========================================================== */

.cart-page {
  background: var(--color-bg);
  min-height: 100vh;
}

.cart-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.cart-subtitle {
  color: var(--color-text-muted);
  margin: 0;
}

.continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.continue-shopping:hover,
.continue-shopping:focus-visible {
  color: var(--color-primary-hover);
}

.cart-products {
  display: flex;
  flex-direction: column;
}

.cart-item {
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.cart-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 120px;
  min-width: 120px;
  flex-shrink: 0;
}

.cart-thumb .thumb-img {
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #f5f5f5;
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qty-stepper {
  display: flex;
  align-items: center;
  width: 120px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg);
}

.qty-stepper .qty-btn {
  flex: 1;
  width: 35px;
  height: 38px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.qty-stepper .qty-btn:hover,
.qty-stepper .qty-btn:focus-visible {
  background: var(--color-primary-tint);
}

.qty-stepper .qty-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.qty-stepper .qty-input {
  width: 45px;
  height: 38px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.cart-content {
  flex: 1;
  height: stretch;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.product-name a {
  color: var(--color-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  transition: color var(--transition-fast);
}

.product-name a:hover,
.product-name a:focus-visible {
  color: var(--color-primary);
}

.cart-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.price-original {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: line-through;
  white-space: nowrap;
  flex-shrink: 0;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-item .discount-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-success);
  background: var(--color-success-tint);
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-content-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.remove-item {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.remove-item:focus-visible {
  outline: 2px solid var(--color-danger);
  outline-offset: 2px;
}

.order-summary {
  background: var(--color-surface);
  /* border-radius: var(--radius-lg); */
  padding: 25px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-rest);
}

.summary-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: var(--color-text-muted);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  font-size: 22px;
  font-weight: 700;
}

.order-summary .btn {
  width: 100%;
  border-radius: 10px;
  padding: 13px;
  font-weight: 600;
}

.secure-text {
  margin-top: 15px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
}

.help-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-rest);
}

.help-card h5 {
  font-weight: 700;
}

.help-card p {
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.help-card a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.empty-cart {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: var(--color-bg);
}

.empty-cart img {
  max-width: 300px;
}

.empty-cart h2 {
  font-weight: 700;
}

.empty-cart p {
  max-width: 520px;
  margin: auto;
}

/* Text-overflow safety for long/dynamic content */
.product-name,
.product-name a,
.cart-content,
.summary-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* -- 29.1 Tablet (<=991px) -- */
@media (max-width: 991px) {
  .order-summary {
    position: static;
    margin-top: 10px;
  }
  .cart-title {
    font-size: 24px;
  }
  .cart-item-top {
    gap: 16px;
  }
  .cart-thumb,
  .cart-thumb .thumb-img {
    width: 100px;
    min-width: 100px;
  }
  .cart-thumb .thumb-img {
    height: 100px;
  }
  .product-name {
    font-size: 17px;
  }
  .price {
    font-size: 22px;
  }
  .price-original {
    font-size: 15px;
  }
}

/* -- 29.2 Mobile (<=767px) -- */
@media (max-width: 767px) {
  .cart-page {
    padding-top: 20px !important;
  }
  .cart-header {
    gap: 15px;
  }
  .cart-title {
    font-size: 20px;
  }
  .cart-subtitle {
    font-size: 14px;
  }
  .continue-shopping {
    font-size: 14px;
  }
  .cart-item {
    padding: 14px;
  }
  .cart-item-top {
    gap: 14px;
    align-items: flex-start;
  }
  .cart-thumb,
  .cart-thumb .thumb-img {
    width: 90px;
    min-width: 90px;
  }
  .cart-thumb .thumb-img {
    height: 90px;
  }
  .product-name {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .cart-bottom {
    gap: 10px;
  }
  .price {
    font-size: 18px;
  }
  .price-original {
    font-size: 14px;
  }
  .cart-item .discount-badge {
    font-size: 13px;
    padding: 2px 8px;
  }
  .qty-stepper .qty-btn {
    height: 34px;
    font-size: 15px;
  }
  .qty-stepper .qty-input {
    height: 34px;
  }
  .remove-item {
    width: 34px;
    height: 34px;
  }
  .order-summary {
    padding: 20px;
  }
  .summary-title {
    font-size: 20px;
  }
  .summary-total {
    font-size: 20px;
  }
}

/* -- 29.3 Small mobile (<=480px) -- */
@media (max-width: 480px) {
  .cart-item {
    padding: 12px;
  }
  .cart-item-top {
    gap: 12px;
  }
  .cart-thumb,
  .cart-thumb .thumb-img {
    width: 100px;
    min-width: 100px;
  }
  .cart-thumb .thumb-img {
    height: 100px;
    border-radius: 12px;
  }
  .product-name {
    font-size: 14px;
  }
  .price {
    font-size: 18px;
  }
  .price-original {
    font-size: 13px;
  }
  .cart-item .discount-badge {
    font-size: 12px;
    padding: 2px 7px;
  }
  .qty-stepper {
    width: 100px;
  }
  .qty-stepper .qty-btn,
  .qty-stepper .qty-input {
    height: 32px;
  }
  .qty-stepper .qty-input {
    font-size: 13px;
  }
  .remove-item {
    width: 32px;
    height: 32px;
  }
  .summary-row {
    font-size: 14px;
  }
  .summary-total {
    font-size: 18px;
  }
  .secure-text {
    font-size: 13px;
  }
  .empty-cart img {
    max-width: 220px;
  }
  .product-detail-title {
    font-size: 1.35rem;
  }
}

/* ==========================================================
   30. CHECKOUT FORMS & INPUTS
========================================================== */

.checkout-summary {
  display: flex;
  flex-direction: column;
}

.summary-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.summary-card .card-body {
  padding: 16px;
}

.summary-card h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.summary-card p {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.change-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.change-link:hover {
  text-decoration: underline;
}

.summary-address {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text);
}

.summary-address strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.summary-card .accordion-item {
  border: 0;
}

.summary-card .accordion-button {
  padding: 14px 16px;
  background: #fff;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.summary-card .accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--color-text);
}

.summary-card .accordion-button:focus {
  box-shadow: none !important;
}

.summary-card .accordion-button::after {
  width: 16px;
  height: 16px;
  background-size: 16px;
}

.summary-card .accordion-body {
  padding: 16px;
  border-top: 1px solid var(--color-border);
}

.order-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}

.order-item + .order-item {
  border-top: 1px solid var(--color-border);
}

.order-item-image {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  object-fit: cover;
  flex-shrink: 0;
}

.order-item-info {
  flex: 1;
}

.order-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 3px;
}

.order-item-meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

.order-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.price-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text);
}

.price-row span:last-child {
  font-weight: 500;
}

.price-row.discount span:last-child,
.price-row.shipping span:last-child {
  color: #22c55e;
}

.price-row.total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
  font-size: 15px;
  font-weight: 700;
}

.price-row.total span {
  font-weight: 700;
}

.checkout-footer {
  position: sticky;
  bottom: 0;
  padding: 16px;
  background: #fff;
  border-top: 1px solid var(--color-border);
  z-index: 10;
}

.checkout-footer .btn {
  height: 44px;
}

@media (max-width: 576px) {
  .summary-card .card-body,
  .summary-card .accordion-button,
  .summary-card .accordion-body {
    padding: 14px;
  }
  .order-item-image {
    width: 56px;
    height: 56px;
  }
  .order-item-title {
    font-size: 13px;
  }
  .order-item-meta {
    font-size: 11px;
  }
  .order-item-price {
    font-size: 13px;
  }
  .price-row {
    font-size: 13px;
  }
  .price-row.total {
    font-size: 14px;
  }
}

/* ==========================================================
   31. PAYMENT / SUCCESS / CHECKOUT MOBILE HEADER
========================================================== */

.payment-option {
  display: block;
  cursor: pointer;
  margin-bottom: 12px;
}

.payment-option input {
  display: none;
}

.payment-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  transition: 0.2s;
}

.payment-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.payment-subtitle {
  font-size: 12px;
  color: var(--color-text-muted);
}

.payment-content i {
  font-size: 22px;
  color: var(--color-text-muted);
}

.payment-option input:checked + .payment-content {
  border-color: var(--accent);
  background: rgba(235, 91, 28, 0.05);
}

.payment-option input:checked + .payment-content i {
  color: var(--accent);
}

.success-icon {
  font-size: 72px;
  color: #22c55e;
}

.order-success-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  text-align: left;
}

.success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
}

.success-row + .success-row {
  border-top: 1px solid var(--color-border);
}

.success-row span {
  color: var(--color-text-muted);
}

.success-row strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Merged from two near-duplicate blocks in the source */
.checkout-mobile-header {
  position: relative;
  height: 56px;
  padding: 0 16px;
  background: #fff;
  display: flex;
  align-items: center;
}

.checkout-back {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  color: var(--color-text);
  font-size: 22px;
  text-decoration: none;
  cursor: pointer;
}

.checkout-back:hover,
.checkout-back:focus {
  color: var(--color-text);
  outline: none;
  box-shadow: none;
}

.checkout-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.checkout-logo img {
  display: block;
  height: 28px;
}

.checkout-mobile-header .btn-close {
  margin: 0;
}

/* ==========================================================
   32. ACCOUNT PAGES (Sidebar, Addresses, Orders)
========================================================== */

.account-sidebar {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.account-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
}

.account-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  flex-shrink: 0;
}

.account-user-info small {
  display: block;
  margin-bottom: 2px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.account-user-info h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.account-menu {
  padding: 10px 0;
}

.account-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: none;
  border: 0;
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s ease;
}

.account-link i {
  width: 20px;
  font-size: 17px;
  text-align: center;
  color: var(--color-text-muted);
  transition: 0.2s;
}

.account-link span {
  flex: 1;
}

.account-link:hover {
  background: #fafafa;
  color: var(--accent);
}

.account-link:hover i {
  color: var(--accent);
}

.account-link.active {
  background: rgba(235, 91, 28, 0.08);
  color: var(--accent);
  font-weight: 600;
  border-right: 3px solid var(--accent);
}

.account-link.active i {
  color: var(--accent);
}

.account-menu hr {
  margin: 10px 20px;
  border-color: var(--color-border);
}

.account-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

@media (max-width: 991.98px) {
  .account-sidebar {
    position: static;
    margin-bottom: 20px;
  }
  .account-user {
    padding: 16px;
  }
  .account-link {
    padding: 14px 16px;
  }
}

/* -- Saved Addresses -- */
.address-card {
  height: 100%;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: 0.2s;
}

.address-card:hover,
.address-card.active {
  border-color: var(--accent);
}

.address-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(235, 91, 28, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.address-badge.work {
  background: #f5f5f5;
  color: var(--color-text);
}

.address-phone {
  margin: 8px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}

.address-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.address-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}

.address-actions a {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.address-actions a:hover {
  text-decoration: underline;
}

.address-actions span {
  color: #cfcfcf;
}

/* -- Orders -- */
.order-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.order-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px;
  transition: 0.2s;
}

.order-thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.order-info small {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.order-info strong {
  font-size: 18px;
  font-weight: 700;
}

.order-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.order-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  transition: 0.2s ease;
}

.order-actions a i {
  font-size: 15px;
  color: var(--accent);
}

.order-actions a:hover {
  color: var(--accent);
}

.order-action-buy {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff !important;
}

.order-action-buy i {
  color: #fff !important;
}

.order-action-buy:hover {
  background: var(--accent-dark);
}

@media (max-width: 991px) {
  .order-thumb {
    width: 72px;
    height: 72px;
  }
  .order-card {
    padding: 16px;
  }
  .order-card .btn {
    flex: 1;
  }
  .order-actions {
    justify-content: flex-start;
    margin-top: 14px;
  }
}
.fixed-cart-btn {
    position: fixed;
    right: 20px;
    bottom: 60px;
    z-index: 1050;
}


.floating-cart-btn {

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--accent);
    color: #fff;

    border-radius: 50%;

    font-size: 24px;

    text-decoration: none;

    box-shadow: 0 6px 20px rgba(0,0,0,.25);

    transition: all .3s ease;

}


.floating-cart-btn:hover {

    color:#fff;
    transform: translateY(-4px);

}



.cart-badge {

    position: absolute;

    top: -5px;
    right: -5px;

    min-width: 22px;
    height: 22px;

    padding: 0 5px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff;
    color:var(--accent);

    border-radius:50%;

    font-size:12px;
    font-weight:700;

    border:2px solid var(--accent);

}