/* =========================================================
   Sanjhari – Home page UI enhancement
   Sirf CSS hai: PHP / JS / image paths me koi change nahi.
   Is file ko web/css/home-enhance.css me rakhein aur
   index.php ke <head> me sabse last me link karein.
   ========================================================= */

:root {
  --sj-navy: #0b2355;
  --sj-navy-soft: #1a3470;
  --sj-gold: #b8893b;
  --sj-gold-soft: #f6efe0;
  --sj-ink: #1d2433;
  --sj-muted: #6b7385;
  --sj-line: #e8e3d8;
  --sj-card: #ffffff;
  --sj-radius: 12px;
  --sj-shadow: 0 6px 22px rgba(11, 35, 85, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--sj-ink);
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--sj-gold);
  outline-offset: 2px;
}

/* ---------- Banner carousel ---------- */
.bri_banner .carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-indicators.bri_indicator {
  margin-bottom: 14px;
  gap: 8px;
}

.carousel-indicators.bri_indicator [data-bs-target] {
  width: 10px;
  height: 10px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.65;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: width 0.3s ease, opacity 0.3s ease;
}

.carousel-indicators.bri_indicator [data-bs-target].active {
  width: 30px;
  border-radius: 6px;
  background-color: var(--sj-gold);
  opacity: 1;
}

/* ---------- Trust bar (7-Days Returns | COD | ...) ---------- */
.bannerbottom {
  background: var(--sj-gold-soft);
  border-bottom: 1px solid var(--sj-line);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sj-navy);
}

.bannerbottom .d-flex > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bannerbottom .d-flex > span {
  color: var(--sj-gold);
  opacity: 0.55;
}

/* ---------- Section headings ---------- */
.section-title {
  margin-bottom: 1.5rem;
}

.section-title h2,
.section-title .section-heading {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--sj-navy);
  margin: 0;
  letter-spacing: 0.2px;
}

.section-title p {
  margin: 6px auto 0;
  max-width: 520px;
  color: var(--sj-muted);
  font-size: 0.95rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--sj-gold), transparent);
}

/* ---------- Category strip ---------- */
.ctglistonhome {
  margin-top: 1.5rem;
}

.ctglistonhome img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--sj-gold-soft), var(--sj-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ctglistonhome a:hover img,
.ctglistonhome img:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--sj-gold), var(--sj-shadow);
}

.ctglistonhome a {
  text-decoration: none;
  color: var(--sj-navy);
  font-weight: 500;
}

.ctglistonhome p,
.ctglistonhome h5,
.ctglistonhome h6 {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sj-navy);
  text-align: center;
}

/* ---------- Filter panel (desktop sidebar + mobile drawer) ---------- */
.prod_left {
  background: var(--sj-card);
  border: 1px solid var(--sj-line);
  border-radius: var(--sj-radius);
  box-shadow: 0 2px 10px rgba(11, 35, 85, 0.05);
}

.prod_left > h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--sj-navy);
  padding-bottom: 10px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--sj-line);
}

.maindropdownlist .maindropdown {
  color: var(--sj-navy);
  font-weight: 600;
  letter-spacing: 0.6px;
}

.maindropdownlist .sort-option label {
  cursor: pointer;
  color: var(--sj-ink);
  transition: color 0.2s ease;
}

.maindropdownlist .sort-option label:hover {
  color: var(--sj-gold);
}

.maindropdownlist input[type="checkbox"],
.maindropdownlist input[type="radio"],
.filter_div input[type="radio"] {
  accent-color: var(--sj-navy);
}

.price-range .slider-track {
  height: 5px;
  border-radius: 5px;
}

.price-range .price-values {
  font-weight: 600;
  color: var(--sj-navy);
}

.btnforfilter,
.btnclearfilter {
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.btnforfilter {
  background: var(--sj-navy);
  color: #fff;
  border: 1px solid var(--sj-navy);
}

.btnforfilter:hover {
  background: var(--sj-gold);
  border-color: var(--sj-gold);
}

.btnclearfilter {
  background: transparent;
  color: var(--sj-navy);
  border: 1px solid var(--sj-navy);
  margin-left: 6px;
}

.btnclearfilter:hover {
  background: var(--sj-navy);
  color: #fff;
}

.filteratmobile_filter {
  background: var(--sj-card);
  border: 1px solid var(--sj-line);
  border-radius: 999px;
  padding: 10px 0;
  color: var(--sj-navy);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(11, 35, 85, 0.06);
}

.filteratmobile_filter p {
  margin: 0;
}

/* ---------- Product cards (rendered by indexjs.js) ---------- */
.indexproduct > *,
.productpage > * {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.indexproduct > * > div,
.productpage > * > div,
.indexproduct .card,
.productpage .card,
.indexproduct .product-card,
.productpage .product-card {
  border-radius: var(--sj-radius);
  overflow: hidden;
  background: var(--sj-card);
}

.indexproduct > *:hover,
.productpage > *:hover {
  transform: translateY(-4px);
}

.indexproduct > *:hover > div,
.productpage > *:hover > div,
.indexproduct > *:hover .card,
.productpage > *:hover .card,
.indexproduct > *:hover .product-card,
.productpage > *:hover .product-card {
  box-shadow: var(--sj-shadow);
}

.indexproduct img,
.productpage img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.indexproduct > *:hover img,
.productpage > *:hover img {
  transform: scale(1.04);
}

.indexproduct a,
.productpage a {
  text-decoration: none;
  color: var(--sj-ink);
}

/* ---------- "View all" button ---------- */
.productsec .button {
  display: inline-block;
  padding: 11px 38px;
  border: 1.5px solid var(--sj-navy);
  border-radius: 999px;
  background: transparent;
  color: var(--sj-navy);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.productsec .button span {
  color: inherit;
  text-transform: capitalize;
}

.productsec .button:hover {
  background: var(--sj-navy);
  color: #fff;
}

/* ---------- Banner between product rows ---------- */
.newbanner {
  padding: 0 12px;
}

.newbanner img {
  border-radius: var(--sj-radius);
  box-shadow: var(--sj-shadow);
}

/* ---------- Small screens ---------- */
@media (max-width: 767.98px) {
  .section-title {
    margin-bottom: 1rem;
  }

  .carousel-indicators.bri_indicator {
    margin-bottom: 8px;
  }

  .ctglistonhome img {
    border-width: 2px;
  }

  .newbanner {
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}


/* =========================================================
   FILTER SECTION – premium look (desktop sidebar + mobile)
   Sirf CSS: input/label/class/id wahi hain, JS filter pehle jaisa chalega.
   ========================================================= */

/* ---- Sidebar card (position/top/height style.css wale hi rahenge) ---- */
body .prod_left {
  background: #fff !important;
  border-right: 1px solid var(--sj-line) !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--sj-gold) transparent !important;
  padding-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: 6px 0 24px rgba(11, 35, 85, 0.06) !important;
}

body .filter_div {
  background: #fff !important;
}

body .prod_left > h3 {
  margin: 0 !important;
  padding: 16px 18px 12px !important;
  font-size: 1.1rem !important;
  letter-spacing: 1px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  background: #fff !important;
  border-radius: 0 !important;
}

body .prod_left > h3::before {
  content: "" !important;
  display: inline-block !important;
  width: 4px !important;
  height: 18px !important;
  margin-right: 10px !important;
  border-radius: 2px !important;
  background: var(--sj-gold) !important;
  vertical-align: -3px !important;
}

/* ---- Each filter group becomes a wrapping chip area ---- */
body .prod_left .maindropdownlist,
body .filter_div .maindropdownlist {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid var(--sj-line) !important;
}

body .prod_left .maindropdownlist:last-of-type,
body .filter_div .maindropdownlist:last-of-type {
  border-bottom: 0 !important;
}

/* group heading */
body .prod_left .maindropdown,
body .filter_div .maindropdown,
body .filter_div form .maindropdown {
  flex: 0 0 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  cursor: pointer !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  color: var(--sj-navy) !important;
}

body .prod_left .maindropdown i,
body .filter_div .maindropdown i {
  font-size: 0.8rem !important;
  color: var(--sj-gold) !important;
  transition: transform 0.25s ease !important;
}

body .filter_div form.p-3 {
  padding-bottom: 0 !important;
}

body .filter_div form .maindropdown {
  padding: 0 0 8px !important;
  border-bottom: 0 !important;
}

/* ---- Chip look for every option ---- */
body .sort-option {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body .sort-option label,
body .filter_div form label {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 7px 14px !important;
  border: 1.5px solid var(--sj-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  font-size: 0.86rem !important;
  line-height: 1.2 !important;
  color: var(--sj-ink) !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease,
    color 0.2s ease, transform 0.15s ease !important;
}

body .sort-option label:hover,
body .filter_div form label:hover {
  border-color: var(--sj-gold) !important;
  color: var(--sj-navy) !important;
}

body .sort-option label:active,
body .filter_div form label:active {
  transform: scale(0.97) !important;
}

/* Fabric, discount, sort: hide native box, whole chip turns navy when selected */
body .filter-fabric,
body .filter-discount,
body .prod_left input[type="radio"],
body .filter_div input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
}

body .sort-option label:has(.filter-fabric:checked),
body .sort-option label:has(.filter-discount:checked),
body .sort-option label:has(input[type="radio"]:checked),
body .filter_div form label:has(input[type="radio"]:checked) {
  background: var(--sj-navy) !important;
  border-color: var(--sj-navy) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(11, 35, 85, 0.25) !important;
}

body .sort-option label:has(.filter-fabric:checked)::before,
body .sort-option label:has(.filter-discount:checked)::before,
body .sort-option label:has(input[type="radio"]:checked)::before,
body .filter_div form label:has(input[type="radio"]:checked)::before {
  content: "\2713" !important;
  font-size: 0.75rem !important;
  color: var(--sj-gold-soft) !important;
}

/* Sort options = full-width rows */
body .prod_left .maindropdownlist:first-of-type .sort-option,
body .filter_div form > div {
  flex: 0 0 100% !important;
}

body .prod_left .maindropdownlist:first-of-type .sort-option label {
  width: 100% !important;
  border-radius: 10px !important;
}

body .filter_div form > div.d-flex {
  padding: 4px 0 !important;
}

body .filter_div form > div label {
  width: 100% !important;
  border-radius: 10px !important;
}

/* ---- COLOR: real colour dots ---- */
body .filter-color {
  -webkit-appearance: none !important;
  appearance: none !important;
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) !important;
  background: #ccc !important;
  cursor: pointer !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

body .filter-color[value="Pink"] { background: #f2a0bd !important; }
body .filter-color[value="Multicolor"] {
  background: conic-gradient(#e63946, #f4c430, #2e8b57, #2f5fd0, #7b3fa0, #e63946) !important;
}
body .filter-color[value="Red"] { background: #d62839 !important; }
body .filter-color[value="Green"] { background: #2e8b57 !important; }
body .filter-color[value="Yellow"] { background: #f4c430 !important; }
body .filter-color[value="Blue"] { background: #2f5fd0 !important; }
body .filter-color[value="Purple"] { background: #7b3fa0 !important; }
body .filter-color[value="Orange"] { background: #f28c28 !important; }
body .filter-color[value="Grey"] { background: #8a8f98 !important; }
body .filter-color[value="Brown"] { background: #7a4a2b !important; }
body .filter-color[value="Beige"] { background: #e3d3b5 !important; }
body .filter-color[value="Gold"] { background: #c9a24b !important; }

body .filter-color:checked {
  box-shadow: 0 0 0 2px var(--sj-navy) !important;
  transform: scale(1.1) !important;
}

body .sort-option label:has(.filter-color:checked) {
  border-color: var(--sj-navy) !important;
  background: var(--sj-gold-soft) !important;
  color: var(--sj-navy) !important;
  font-weight: 600 !important;
}

/* ---- PRICE ---- */
body .prod_left .price-range,
body .filter_div .price-range {
  width: 100% !important;
  margin-top: 6px !important;
}

body .price-range .price-values {
  margin-bottom: 14px !important;
}

body .price-range .price-values > span {
  padding: 5px 14px !important;
  border: 1.5px solid var(--sj-line) !important;
  border-radius: 999px !important;
  background: var(--sj-gold-soft) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--sj-navy) !important;
}

body .price-range input[type="range"]::-webkit-slider-thumb {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: var(--sj-navy) !important;
  border: 3px solid #fff !important;
  box-shadow: 0 0 0 2px var(--sj-gold), 0 3px 8px rgba(11, 35, 85, 0.3) !important;
  cursor: grab !important;
  pointer-events: auto !important;
}

body .price-range input[type="range"]::-moz-range-thumb {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: var(--sj-navy) !important;
  border: 3px solid #fff !important;
  box-shadow: 0 0 0 2px var(--sj-gold), 0 3px 8px rgba(11, 35, 85, 0.3) !important;
  cursor: grab !important;
  pointer-events: auto !important;
}

/* ---- Apply / Clear row ---- */
body .prod_left > .p-3,
body .filter_div > .p-3:last-child {
  display: flex !important;
  gap: 10px !important;
  padding: 14px 18px !important;
}

body .prod_left > .p-3 {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 2 !important;
  background: #fff !important;
  border-top: 1px solid var(--sj-line) !important;
  border-radius: 0 !important;
}

body .filter_div > .p-3:last-child {
  position: sticky !important;
  bottom: 0 !important;
  background: #fff !important;
  border-top: 1px solid var(--sj-line) !important;
}

body .prod_left > .p-3 .btnforfilter,
body .prod_left > .p-3 .btnclearfilter,
body .filter_div > .p-3 .btnforfilter,
body .filter_div > .p-3 .btnclearfilter {
  flex: 1 1 0 !important;
  margin: 0 !important;
  padding: 11px 0 !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
}

body .btnforfilter {
  box-shadow: 0 6px 16px rgba(11, 35, 85, 0.25) !important;
}

/* ---- Mobile drawer extras ---- */
body .filter_div {
  box-shadow: 0 0 40px rgba(11, 35, 85, 0.25) !important;
}

body .filter_div > .p-3.text-end {
  position: sticky !important;
  top: 0 !important;
  z-index: 3 !important;
  background: #fff !important;
  border-bottom: 1px solid var(--sj-line) !important;
}

body .filter_div > .p-3.text-end .bi-x-lg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: var(--sj-gold-soft) !important;
  color: var(--sj-navy) !important;
  cursor: pointer !important;
}

/* Mobile "FILTER" trigger */
body .filteratmobile_filter {
  background: var(--sj-navy) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 8px 20px rgba(11, 35, 85, 0.25) !important;
}

body .filteratmobile_filter i,
body .filteratmobile_filter p {
  color: #fff !important;
  letter-spacing: 1px !important;
}


/* =========================================================
   FOOTER – premium, user-friendly look (sirf CSS)
   ========================================================= */

body footer {
  background: #081a40 !important;
  color: #cfd6e6 !important;
  border-top: 4px solid #b8893b !important;
  margin-top: 3rem !important;
}

/* purani decorative wave image ab naye background par mismatch karti hai */
body footer > img.position-absolute {
  display: none !important;
}

body footer .container {
  position: relative !important;
}

/* ---- Logo column ---- */
body footer .header_logo_preview {
  display: inline-block !important;
  max-width: 150px !important;
  height: auto !important;
  background: #fff !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

body footer .footer_text {
  color: #aab4cc !important;
  line-height: 1.7 !important;
}

/* ---- Column headings ---- */
body footer h2 {
  position: relative !important;
  margin: 0 0 18px !important;
  padding-bottom: 12px !important;
  font-family: "Playfair Display", serif !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  color: #fff !important;
}

body footer h2::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 42px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: #b8893b !important;
}

/* ---- Link lists ---- */
body footer ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body footer ul li {
  margin: 0 0 10px !important;
}

body footer ul li a {
  display: inline-block !important;
  color: #cfd6e6 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

body footer ul li a:hover,
body footer ul li a:focus-visible {
  color: #e6c27a !important;
  transform: translateX(4px) !important;
}

body footer .phonee {
  color: #fff !important;
  word-break: break-word !important;
}

/* ---- Social icons ---- */
body footer .footer-social {
  display: flex !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

body footer .footer-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease !important;
}

body footer .footer-social a:hover {
  transform: translateY(-3px) !important;
  border-color: transparent !important;
}

body footer .footer-social a.facebook:hover { background: #1877f2 !important; }
body footer .footer-social a.instagram:hover { background: #c13584 !important; }
body footer .footer-social a.whatsapp:hover { background: #25d366 !important; }

/* ---- Payment icons ---- */
body footer img[src*="online"] {
  width: 44px !important;
  height: 30px !important;
  object-fit: contain !important;
  padding: 3px 5px !important;
  background: #fff !important;
  border-radius: 6px !important;
}

/* ---- Dividers ---- */
body footer hr {
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  opacity: 1 !important;
  margin: 1.5rem 0 !important;
}

/* ---- SEO / about text ---- */
body footer .footer_desc {
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #aab4cc !important;
  font-size: 0.9rem !important;
  line-height: 1.85 !important;
}

body footer .footer_desc h5 {
  margin: 0 0 8px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  color: #e6c27a !important;
}

body footer .footer_desc p {
  margin-bottom: 0.9rem !important;
}

body footer .footer_desc ol {
  padding-left: 1.2rem !important;
}

body footer .footer_desc li {
  margin-bottom: 8px !important;
}

body footer .footer_desc hr {
  margin: 1rem 0 !important;
}

/* ---- Categories as chips ---- */
body footer .category-footer h5 {
  margin-bottom: 14px !important;
  font-family: "Playfair Display", serif !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: #fff !important;
}

body footer .footer-cat {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

body footer .footer-cat li {
  margin: 0 !important;
}

body footer .footer-cat li a,
body footer .footer-cat li:not(:has(a)) {
  display: inline-block !important;
  padding: 7px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #dfe5f2 !important;
  font-size: 0.88rem !important;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease !important;
}

body footer .footer-cat li a:hover {
  background: #b8893b !important;
  border-color: #b8893b !important;
  color: #081a40 !important;
  transform: none !important;
}

/* ---- Bottom copyright bar ---- */
body .footer-bottom {
  background: #051230 !important;
  color: #9aa6c2 !important;
  font-size: 0.85rem !important;
  padding: 16px 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body .footer-bottom p {
  margin: 0 !important;
}

/* ---- Mobile: compact, easy to tap ---- */
@media (max-width: 767.98px) {
  body footer .container {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  body footer .row.g-4 > div:nth-child(2) ul,
body footer .row.g-4 > div:nth-child(3) ul {
    column-count: 2 !important;
    column-gap: 16px !important;
  }

  body footer ul li a {
    padding: 4px 0 !important;
  }

  body footer .footer-social {
    justify-content: flex-start !important;
  }

  body footer .footer_desc {
    font-size: 0.85rem !important;
  }
}


/* ===== FOOTER add-ons: trust strip, read more, floating buttons ===== */

body footer .footer-trust {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 2.2rem !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

body footer .footer-trust__item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body footer .footer-trust__item i {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(184, 137, 59, 0.18) !important;
  color: #e6c27a !important;
  font-size: 1.25rem !important;
}

body footer .footer-trust__item strong {
  display: block !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
}

body footer .footer-trust__item span {
  display: block !important;
  color: #aab4cc !important;
  font-size: 0.8rem !important;
}

body footer .footer-secure {
  margin: 14px 0 0 !important;
  color: #cfd6e6 !important;
  font-size: 0.85rem !important;
}

body footer .footer-secure i {
  color: #e6c27a !important;
  margin-right: 4px !important;
}

/* read more / less */
body footer .footer_desc.is-collapsed {
  position: relative !important;
  max-height: 120px !important;
  overflow: hidden !important;
}

body footer .footer_desc.is-collapsed::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 70px !important;
  background: linear-gradient(to bottom, rgba(8, 26, 64, 0), #081a40) !important;
  pointer-events: none !important;
}

body footer .footer-readmore-wrap {
  text-align: center !important;
  margin-top: 10px !important;
}

body footer .footer-readmore {
  padding: 8px 26px !important;
  border: 1.5px solid #b8893b !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #e6c27a !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

body footer .footer-readmore:hover {
  background: #b8893b !important;
  color: #081a40 !important;
}

/* floating buttons */
body .footer-float {
  position: fixed !important;
  right: 16px !important;
  bottom: 18px !important;
  z-index: 1030 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}

body .footer-float button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28) !important;
  transition: transform 0.2s ease, opacity 0.25s ease !important;
}

body .footer-float button:hover {
  transform: translateY(-3px) !important;
}

body .footer-float__wa {
  width: 54px !important;
  height: 54px !important;
  background: #25d366 !important;
  color: #fff !important;
  font-size: 1.7rem !important;
}

body .footer-float__top {
  width: 42px !important;
  height: 42px !important;
  background: #0b2355 !important;
  color: #fff !important;
  border: 2px solid #b8893b !important;
  font-size: 1.1rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body .footer-float__top.show {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 991.98px) {
  body footer .footer-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575.98px) {
  body footer .footer-trust {
    padding: 14px !important;
    gap: 12px !important;
  }

  body footer .footer-trust__item i {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
  }

  body footer .footer-trust__item strong {
    font-size: 0.85rem !important;
  }

  body footer .footer-trust__item span {
    display: none !important;
  }

  body .footer-float {
    right: 12px !important;
    bottom: 14px !important;
  }

  body .footer-float__wa {
    width: 50px !important;
    height: 50px !important;
  }
}