/* Sodaiora additions on top of the Hatbazar template CSS. Keep this small. */

/* Brand logo (3:1) inside the template's logo slots */
.main-header .logo-box img,
.mobile-menu .nav-logo img,
.category-menu .nav-logo img,
.main-footer .footer-logo img {
  height: 48px;
  width: auto;
  max-width: 100%;
}

/* Bangla option in the language picker (template only ships DE/EN/FR/IT flags) */
.language-picker__flag--bangla::before {
  background-image: radial-gradient(circle at 45% 50%, #f42a41 0 32%, transparent 33%);
  background-color: #006a4e;
}

/* Lightbox used for .lightbox-image links (replaces fancybox) */
.sodaiora-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sodaiora-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  background: #fff;
  border-radius: 6px;
}
.sodaiora-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 14px;
}

/* Small "added to cart" message */
.sodaiora-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 99999;
  background: var(--title-color, #111);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: sodaiora-toast-in 0.25s ease-out;
}
@keyframes sodaiora-toast-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Product image placeholder keeps the card height when a product has no photo yet */
.sodaiora-noimg {
  background: #f4f6f4;
  object-fit: contain;
}
.shop-block-one .option-list button:disabled,
.shop-block-three .cart-btn button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.product-stock.out-of-stock {
  color: #d9534f;
}
.shop-details .product-info li a,
.shop-details .bread-crumb a {
  color: inherit;
}
.shop-details .product-info li a:hover {
  color: var(--theme-color);
}

/* Shop forms, alerts and summaries (cart, checkout, account) */
.sodaiora-error {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #d93025;
}
.sodaiora-success {
  color: var(--theme-color);
  font-weight: 600;
}
.sodaiora-muted {
  color: var(--text-color);
  font-size: 14px;
}
.sodaiora-alert {
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff4e5;
  border: 1px solid #ffcf8a;
  color: #7a4a00;
  font-size: 15px;
}
.sodaiora-success-box {
  padding: 20px 24px;
  border-radius: 10px;
  background: rgba(38, 156, 83, 0.08);
  border: 1px solid rgba(38, 156, 83, 0.3);
}
.sodaiora-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--theme-color);
  text-decoration: underline;
  cursor: pointer;
}
.sodaiora-summary li,
.sodaiora-timeline li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e5e5;
}
.sodaiora-timeline li span {
  color: var(--text-color);
  font-size: 13px;
}
.sodaiora-form .form-group {
  margin-bottom: 18px;
}
.sodaiora-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.sodaiora-form input,
.sodaiora-form select {
  width: 100%;
  background: #fff;
  height: 50px;
  padding: 10px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}
.checkout-section textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}
button.theme-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Home hero: real photos instead of cut-out PNGs — photo fills the right side and fades into the colour so the text stays readable. */
.banner-content-one .inner-box .image-box {
  top: 0;
  bottom: 0 !important;
  right: 0;
  width: 55%;
  margin: 0;
}
.banner-content-one .inner-box .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%);
  mask-image: linear-gradient(to right, transparent 0, #000 45%);
}
.banner-content-one .inner-box > *:not(.image-box):not(.parallax-scene) {
  position: relative;
  z-index: 1;
}
@media (max-width: 1199px) {
  .banner-content-one .inner-box .image-box { width: 70%; opacity: 0.35; }
}

/* Home feature boxes: same photo-fade as the hero. */
.ads-block-one .inner-box { overflow: hidden; }
.ads-block-one .inner-box .image {
  top: 0;
  bottom: 0 !important;
  right: 0;
  width: 55%;
  margin: 0;
}
.ads-block-one .inner-box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 50%);
  mask-image: linear-gradient(to right, transparent 0, #000 50%);
}
.ads-block-one .inner-box > span,
.ads-block-one .inner-box > h2,
.ads-block-one .inner-box > h4,
.ads-block-one .inner-box > a { position: relative; z-index: 1; }

/* Free-delivery strip and "Super discount" strip: photos sit at both ends and fade towards the text. */
.cta-section .inner-container,
.cta-style-two .inner-container { overflow: hidden; }
.cta-section .image-layer .image,
.cta-style-two .image-layer .image {
  top: 0 !important;
  bottom: 0 !important;
  width: 30%;
  margin: 0;
}
.cta-section .image-layer .image:first-child,
.cta-style-two .image-layer .image:first-child { left: 0 !important; right: auto !important; }
.cta-section .image-layer .image:last-child,
.cta-style-two .image-layer .image:last-child { right: 0 !important; left: auto !important; }
.cta-section .image-layer .image img,
.cta-style-two .image-layer .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-section .image-layer .image:first-child img,
.cta-style-two .image-layer .image:first-child img {
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 55%);
  mask-image: linear-gradient(to left, transparent 0, #000 55%);
}
.cta-section .image-layer .image:last-child img,
.cta-style-two .image-layer .image:last-child img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 55%);
  mask-image: linear-gradient(to right, transparent 0, #000 55%);
}
.cta-section .content-box,
.cta-style-two .content-box { position: relative; z-index: 2; }

/* Category promo boxes next to the product rows: photo fills the bottom and fades up into the colour. */
.shop-style-three .ads-column figure.image {
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  margin: 0;
}
.shop-style-three .ads-column figure.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
}

/* Category row banner: as tall as the product row, with a dark fade so the white title reads on any photo. */
@media (min-width: 992px) {
  .shop-style-four .ads-block { height: auto; bottom: 0; }
}
@media (max-width: 991px) {
  .shop-style-four .ads-block { height: 260px; }
}
.shop-style-four .ads-block .bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1) 70%);
}
.shop-style-four .ads-block h2 { position: relative; z-index: 1; }

/* Checkout: Bangla QR box */
.sodaiora-qr {
  margin: 6px 0 14px;
  padding: 18px;
  border: 1px dashed var(--theme-color, #269c53);
  border-radius: 10px;
  text-align: center;
  background: #fff;
}
.sodaiora-qr img {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
}
.sodaiora-qr-name { margin: 10px 0 0; font-weight: 600; color: #222; }
.sodaiora-qr-amount { margin: 6px 0; font-size: 18px; }
.sodaiora-qr-amount strong { color: var(--theme-color, #269c53); }
.sodaiora-qr-note { font-size: 13px; line-height: 20px; color: #666; margin-bottom: 14px; }
.sodaiora-qr .form-group { text-align: left; margin-bottom: 12px; }
.sodaiora-qr .form-group label { display: block; font-size: 14px; margin-bottom: 4px; color: #222; }
.sodaiora-qr .form-group input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 15px;
}
.sodaiora-qr .form-group input:focus { border-color: var(--theme-color, #269c53); outline: none; }

/* Wishlist: header count (same look as the cart count) and the heart on product cards */
.main-header .menu-right-content .info-list li.sodaiora-wish-link a { position: relative; }
.sodaiora-count {
  position: absolute;
  display: inline-block;
  min-width: 19px;
  height: 19px;
  line-height: 19px;
  padding: 0 4px;
  background: var(--secondary-color);
  text-align: center;
  border-radius: 10px;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
  top: -5px;
  right: -8px;
}
.sodaiora-wish {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.shop-block-one .inner-box .image-box .option-list li button.sodaiora-wish.is-saved { color: #e53935; }
.shop-block-one .inner-box .image-box .option-list li button.sodaiora-wish.is-saved:hover { color: #fff; }
.sodaiora-wish-big {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #e5e5e5;
  border-radius: 30px;
  width: auto;
  height: auto;
  font-size: 15px;
}
.sodaiora-wish-big.is-saved { border-color: #e53935; color: #e53935; }
.product-details-content .addto-cart-box ul li.like-btn button.sodaiora-wish { width: 50px; height: 50px; }
.product-details-content .addto-cart-box ul li.like-btn button.sodaiora-wish.is-saved { color: #e53935; border-color: #e53935; }
.product-details-content .addto-cart-box ul li.like-btn button.sodaiora-wish.is-saved:hover { color: #fff; }

/* Footer newsletter result */
.sodaiora-newsletter-ok,
.sodaiora-newsletter-err { margin: 8px 0 0; font-size: 14px; line-height: 20px; }
.sodaiora-newsletter-ok { color: var(--theme-color, #269c53); }
.sodaiora-newsletter-err { color: #e53935; }
.main-footer .sodaiora-newsletter-ok { color: #9be3b4; }

/* Blog article */
.sodaiora-post-body h3 { margin: 30px 0 14px; font-size: 24px; line-height: 34px; }
.sodaiora-post-body p { margin-bottom: 20px; }
.sodaiora-post-body .list-style-one { margin-bottom: 24px; }
.sodaiora-post-body .list-style-one li { margin-bottom: 8px; }
.sodaiora-post-body figure img { width: 100%; border-radius: 10px; }
.sodaiora-post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid #e5e5e5; }
.sodaiora-post-nav a { max-width: 48%; color: var(--title-color); font-weight: 600; line-height: 24px; }
.sodaiora-post-nav a span { display: block; font-weight: 400; font-size: 14px; color: var(--text-color); }
.sodaiora-post-nav a:hover { color: var(--theme-color); }

/* About: review without a photo */
.sodaiora-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--theme-color, #269c53);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

/* ---------- Shop popup (Admin → Popups) ---------- */
.sd-pop-backdrop {
  position: fixed; inset: 0; z-index: 99990;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(17, 24, 20, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: sd-pop-fade 0.3s ease;
}
.sd-pop, .sd-pop *, .sd-pop *::before, .sd-pop *::after { box-sizing: border-box; }
.sd-pop {
  --sd-pop-accent: var(--theme-color, #269c53);
  position: relative; display: flex; width: 100%; max-width: 440px; max-height: calc(100vh - 40px);
  overflow: hidden; background: #fff; border-radius: 24px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.04);
  animation: sd-pop-in 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.15);
}
.sd-pop--side.has-image { max-width: 780px; }
.sd-pop--top { flex-direction: column; max-width: 460px; }
.sd-pop--banner { max-width: 440px; border-radius: 20px; background: transparent; }

/* picture */
.sd-pop-media { position: relative; flex: 0 0 46%; min-height: 320px; background: #f2f7f3; }
.sd-pop-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sd-pop--side .sd-pop-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.9));
}
.sd-pop--top .sd-pop-media { flex: none; min-height: 0; aspect-ratio: 2 / 1; }
.sd-pop--top .sd-pop-media::after {
  content: ''; position: absolute; inset: auto 0 0; height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
.sd-pop-banner { display: block; line-height: 0; }
.sd-pop-banner img { width: 100%; max-height: calc(100vh - 40px); object-fit: contain; border-radius: 20px; }

/* text side */
.sd-pop-body {
  position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 44px 36px 28px; overflow: auto; isolation: isolate;
}
.sd-pop--top .sd-pop-body { padding: 8px 32px 26px; text-align: center; align-items: center; }
.sd-pop:not(.has-image) .sd-pop-body { text-align: center; align-items: center; padding-top: 48px; }
.sd-pop-blob {
  position: absolute; z-index: -1; width: 220px; height: 220px; right: -70px; top: -70px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sd-pop-accent) 18%, transparent), transparent 70%);
}
.sd-pop-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--sd-pop-accent) 12%, #fff); color: var(--sd-pop-accent);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.sd-pop-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: sd-pop-pulse 1.6s infinite; }
.sd-pop--top .sd-pop-tag, .sd-pop:not(.has-image) .sd-pop-tag { align-self: center; }
.sd-pop-body h3 { margin: 0 0 10px; font-size: 30px; line-height: 1.2; font-weight: 800; color: var(--title-color, #1c2a22); letter-spacing: -0.01em; }
.sd-pop-body p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--text-color, #5f6b64); white-space: pre-line; }

/* coupon */
.sd-pop-coupon {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  margin: 0 0 18px; padding: 10px 10px 10px 16px; border-radius: 14px;
  border: 2px dashed color-mix(in srgb, var(--sd-pop-accent) 55%, transparent);
  background: color-mix(in srgb, var(--sd-pop-accent) 6%, #fff); text-align: left;
}
.sd-pop-coupon small { display: block; font-size: 11px; color: var(--text-color, #6b766f); text-transform: uppercase; letter-spacing: 0.06em; }
.sd-pop-coupon strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: 0.12em; color: var(--title-color, #1c2a22); }
.sd-pop-coupon button {
  flex: none; border: 0; border-radius: 10px; padding: 9px 16px; font-weight: 700; font-size: 14px;
  background: var(--title-color, #1c2a22); color: #fff; cursor: pointer; transition: background 0.2s, transform 0.1s;
}
.sd-pop-coupon button:active { transform: scale(0.96); }
.sd-pop-coupon button.is-done { background: var(--sd-pop-accent); }

/* countdown */
.sd-pop-timer { width: 100%; margin: 0 0 20px; }
.sd-pop-timer small { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--text-color, #6b766f); text-transform: uppercase; letter-spacing: 0.06em; }
.sd-pop-timer > div { display: flex; gap: 8px; }
.sd-pop--top .sd-pop-timer > div, .sd-pop:not(.has-image) .sd-pop-timer > div { justify-content: center; }
.sd-pop-timer span {
  display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 8px 6px 6px;
  border-radius: 12px; background: #f3f5f4; font-size: 11px; color: var(--text-color, #6b766f);
}
.sd-pop-timer b { font-size: 22px; line-height: 1.1; font-weight: 800; color: var(--title-color, #1c2a22); font-variant-numeric: tabular-nums; }

/* buttons */
.sd-pop-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 15px 24px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--sd-pop-accent); color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--sd-pop-accent) 70%, transparent);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s;
}
.sd-pop-cta:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--sd-pop-accent) 75%, transparent); }
.sd-pop-cta i { font-size: 12px; transition: transform 0.2s; }
.sd-pop-cta:hover i { transform: translateX(3px); }
.sd-pop-skip { align-self: center; margin-top: 12px; padding: 4px 8px; border: 0; background: none; color: var(--text-color, #8a948e); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sd-pop-skip:hover { color: var(--title-color, #1c2a22); }
.sd-pop-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #1c2a22;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); font-size: 13px; cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.sd-pop-close:hover { transform: rotate(90deg); background: var(--sd-pop-accent, #269c53); color: #fff; }

/* phones: a sheet that slides up from the bottom */
@media (max-width: 640px) {
  .sd-pop-backdrop { align-items: flex-end; padding: 0; }
  .sd-pop, .sd-pop--side.has-image, .sd-pop--top { flex-direction: column; max-width: none; max-height: 92vh; border-radius: 24px 24px 0 0; animation: sd-pop-up 0.4s cubic-bezier(0.2, 0.9, 0.25, 1); }
  .sd-pop--banner { align-self: center; margin: auto 16px; max-width: 420px; border-radius: 20px; animation: sd-pop-in 0.4s ease; }
  .sd-pop-media { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .sd-pop--side .sd-pop-media::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, #fff); }
  .sd-pop-body { padding: 18px 22px 22px; text-align: center; align-items: center; }
  .sd-pop-body::before { content: ''; position: absolute; top: -10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(0, 0, 0, 0.15); }
  .sd-pop.has-image .sd-pop-body::before { display: none; }
  .sd-pop-tag { align-self: center; }
  .sd-pop-body h3 { font-size: 24px; }
  .sd-pop-timer > div { justify-content: center; }
  .sd-pop-timer span { min-width: 54px; }
}

@keyframes sd-pop-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sd-pop-in { from { opacity: 0; transform: translateY(24px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes sd-pop-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sd-pop-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  .sd-pop-backdrop, .sd-pop, .sd-pop-tag::before { animation: none; }
  .sd-pop-cta, .sd-pop-close { transition: none; }
}

/* ---------- Cookie banner ---------- */
.sd-cookie, .sd-cookie * { box-sizing: border-box; }
.sd-cookie {
  --sd-ck: var(--theme-color, #269c53);
  position: fixed; left: 24px; bottom: 24px; z-index: 9990; width: 420px; max-width: calc(100vw - 32px);
  padding: 22px 22px 18px; border-radius: 20px; background: #fff; color: var(--text-color, #5f6b64);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: sd-ck-in 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.1);
}
.sd-cookie-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sd-cookie-icon {
  flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  background: color-mix(in srgb, var(--sd-ck) 12%, #fff); color: var(--sd-ck);
}
.sd-cookie h4 { margin: 0; font-size: 18px; font-weight: 800; color: var(--title-color, #1c2a22); }
.sd-cookie p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; }
.sd-cookie p a { color: var(--sd-ck); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sd-cookie-list { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid #eef1ef; border-radius: 14px; overflow: hidden; }
.sd-cookie-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; }
.sd-cookie-list li + li { border-top: 1px solid #eef1ef; }
.sd-cookie-list label, .sd-cookie-list li > div { cursor: pointer; margin: 0; }
.sd-cookie-list strong { display: block; font-size: 14px; color: var(--title-color, #1c2a22); }
.sd-cookie-list small { display: block; font-size: 12px; line-height: 1.45; }
.sd-cookie-switch { position: relative; flex: none; width: 44px; height: 26px; }
.sd-cookie-switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sd-cookie-switch i { position: absolute; inset: 0; border-radius: 999px; background: #d5dbd7; transition: background 0.2s; }
.sd-cookie-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.2s; }
.sd-cookie-switch input:checked + i { background: var(--sd-ck); }
.sd-cookie-switch input:checked + i::after { transform: translateX(18px); }
.sd-cookie-switch input:focus-visible + i { outline: 2px solid var(--sd-ck); outline-offset: 2px; }
.sd-cookie-switch.is-locked { opacity: 0.55; }
.sd-cookie-switch.is-locked input { cursor: not-allowed; }
.sd-cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sd-cookie-btn {
  flex: 1 1 auto; padding: 11px 16px; border-radius: 12px; border: 1px solid #dfe5e1; background: #fff;
  font-size: 14px; font-weight: 700; color: var(--title-color, #1c2a22); cursor: pointer; transition: background 0.2s, transform 0.1s;
}
.sd-cookie-btn:hover { background: #f3f6f4; }
.sd-cookie-btn:active { transform: scale(0.98); }
.sd-cookie-btn.is-primary { border-color: var(--sd-ck); background: var(--sd-ck); color: #fff; }
.sd-cookie-btn.is-primary:hover { filter: brightness(1.06); background: var(--sd-ck); }
.sd-cookie-link { flex: none; padding: 8px 6px; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--text-color, #5f6b64); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sd-cookie-link:hover { color: var(--title-color, #1c2a22); }
@media (max-width: 640px) {
  .sd-cookie { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 18px; }
  .sd-cookie-actions .sd-cookie-btn { flex: 1 1 45%; }
}
@keyframes sd-ck-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sd-cookie { animation: none; } .sd-cookie-switch i, .sd-cookie-switch i::after { transition: none; } }

/* ---------- Footer: ways to pay ---------- */
.main-footer .footer-card.sd-pay-list { flex-wrap: wrap; gap: 8px; }
.main-footer .footer-card.sd-pay-list li { margin: 0; }
.main-footer .footer-card li a.sd-pay {
  width: auto; min-width: 64px; height: 40px; line-height: 38px; padding: 0 14px;
  font-size: 14px; font-weight: 800; letter-spacing: 0.01em; color: var(--title-color, #1c2a22);
  background: #fff; transition: border-color 0.2s, color 0.2s;
}
.main-footer .footer-card li a.sd-pay:hover { border-color: var(--theme-color, #269c53); color: var(--theme-color, #269c53); }
.main-footer .footer-card li a.sd-pay { display: inline-flex; align-items: center; justify-content: center; width: 74px; padding: 0 8px; }
.main-footer .footer-card li a.sd-pay img { display: block; max-width: 100%; max-height: 26px; width: auto; height: auto; object-fit: contain; }
/* Phones: one neat row of five equal tiles, centred above the copyright. */
@media (max-width: 575px) {
  .main-footer .footer-bottom .bottom-inner { text-align: center; }
  .main-footer .footer-card.sd-pay-list {
    display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px;
    width: 100%; max-width: 360px; margin: 0 auto 14px !important; padding: 0; float: none;
  }
  .main-footer .footer-card.sd-pay-list li { margin: 0 !important; padding: 0; float: none; width: auto; display: block; }
  .main-footer .footer-card.sd-pay-list li a.sd-pay {
    display: flex; width: 100% !important; min-width: 0; height: 34px; line-height: 1; padding: 0 6px;
    border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  }
  .main-footer .footer-card.sd-pay-list li a.sd-pay img { max-height: 20px; }
}

/* ---------- Product colours ---------- */
.sodaiora-colors h6 { font-size: 16px; margin-bottom: 12px; }
.sodaiora-colors h6 span { font-weight: 400; color: var(--text-color, #666); }
.sodaiora-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sodaiora-swatch {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 6px 14px 6px 8px;
  border: 1px solid #e3e3e3; border-radius: 40px; background: #fff;
  font-size: 14px; color: #222; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.sodaiora-swatch:not(:has(.dot)) { padding-left: 14px; }
.sodaiora-swatch .dot { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); flex: none; }
.sodaiora-swatch:hover { border-color: var(--theme-color, #269c53); }
.sodaiora-swatch.is-active { border-color: var(--theme-color, #269c53); box-shadow: 0 0 0 2px var(--theme-color, #269c53) inset; font-weight: 600; }
.sodaiora-swatch:focus-visible { outline: 2px solid var(--theme-color, #269c53); outline-offset: 2px; }
.sodaiora-line-color { color: var(--theme-color, #269c53); }

/* ---------- Product page: variant picker ---------- */
.sd-variants { margin: 0 0 28px; padding: 18px 0 4px; border-top: 1px solid #eee; }
.sd-variant-group + .sd-variant-group { margin-top: 18px; }
.sd-variant-label { margin-bottom: 10px; font-size: 14px; color: var(--text-color, #777); letter-spacing: .01em; }
.sd-variant-label strong { color: var(--title-color, #222); font-weight: 600; }
.sd-variant-options { display: flex; flex-wrap: wrap; gap: 10px; }

.sd-swatch, .sd-chip {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #e1e4e2; background: #fff; color: #222; text-decoration: none; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sd-swatch:hover, .sd-chip:hover { border-color: var(--theme-color, #269c53); }
.sd-swatch:focus-visible, .sd-chip:focus-visible { outline: 2px solid var(--theme-color, #269c53); outline-offset: 2px; }
.sd-swatch.is-active, .sd-chip.is-active { border-color: var(--theme-color, #269c53); box-shadow: 0 0 0 1px var(--theme-color, #269c53); }

/* colour dot */
.sd-swatch { width: 40px; height: 40px; padding: 3px; border-radius: 50%; }
.sd-swatch-color {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12); font-size: 13px; font-weight: 600; color: #555;
}
/* colour with picture */
.sd-swatch--image { flex-direction: column; width: 84px; height: auto; padding: 6px 6px 7px; border-radius: 10px; gap: 5px; }
.sd-swatch-img { position: relative; display: block; width: 70px; height: 70px; border-radius: 6px; background: #f6f7f6; overflow: hidden; }
.sd-swatch-img img { width: 100%; height: 100%; object-fit: contain; }
.sd-swatch-dot { position: absolute; right: 4px; bottom: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.sd-swatch-name { max-width: 100%; font-size: 12px; line-height: 1.25; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-swatch--image.is-active .sd-swatch-name { font-weight: 600; }

/* size chip */
.sd-chip { flex-direction: column; min-width: 64px; min-height: 42px; padding: 7px 16px; border-radius: 8px; line-height: 1.2; }
.sd-chip-label { font-size: 14px; font-weight: 500; }
.sd-chip-price { margin-top: 2px; font-size: 12px; color: var(--text-color, #777); }
.sd-chip.is-active .sd-chip-label { font-weight: 700; }
.sd-chip.is-active .sd-chip-price { color: var(--theme-color, #269c53); }

/* sold out: crossed out, still clickable */
.sd-swatch.is-soldout, .sd-chip.is-soldout { color: #9aa09c; background-color: #fafafa; }
.sd-swatch.is-soldout:not(.is-active) .sd-swatch-color, .sd-swatch.is-soldout:not(.is-active) .sd-swatch-img { opacity: .45; }
.sd-chip.is-soldout .sd-chip-label { text-decoration: line-through; }
.sd-swatch.is-soldout::after {
  content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1.5px; background: #b5bab7;
  transform: translateX(-50%) rotate(45deg); pointer-events: none;
}
/* size not made in the chosen colour: opens another colour */
.sd-chip.is-unavailable { border-style: dashed; color: #8a908c; }

@media (max-width: 575px) {
  .sd-swatch--image { width: 74px; }
  .sd-swatch-img { width: 60px; height: 60px; }
}

/* ---------- Checkout: delivery area ---------- */
.sodaiora-select {
  display: block !important; width: 100%; height: 50px; padding: 0 44px 0 20px;
  border: 1px solid #e5e5e5; border-radius: 30px; font-size: 15px; color: #222; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 20px center;
}
.sodaiora-select:focus { border-color: var(--theme-color, #269c53); outline: none; }
.sodaiora-hint { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--text-color, #777); }

/* My account: profile photo picker and address rows */
.sodaiora-form .sd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sodaiora-form .sd-row .sd-wide { grid-column: 1 / -1; }
@media (max-width: 575px) { .sodaiora-form .sd-row { grid-template-columns: 1fr; } }
.sodaiora-form h4.sd-sub { font-size: 18px; margin: 10px 0 14px; }
.sd-photo { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.sd-photo img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 1px solid #e5e5e5; background: #f6f6f6; }
.sd-photo .sd-photo-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-photo button { border: 1px solid #e5e5e5; background: #fff; border-radius: 6px; padding: 6px 12px; font-size: 14px; }
.sd-photo button.sd-danger { color: #c62828; }
.sd-photo small { display: block; color: #777; margin-top: 4px; }
.account-info .author-box .thumb-box img { width: 140px; height: 140px; max-width: 100%; border-radius: 50%; object-fit: cover; margin: 0 auto; }

/* Bangla: Lato / Quicksand have no Bangla letters, so those fall back to Hind Siliguri. */
:root {
  --text-font: "Lato", "Hind Siliguri", sans-serif;
  --title-font: "Quicksand", "Hind Siliguri", sans-serif;
}
html[lang="bn"] body { line-height: 1.75; }
/* Language switch in the phone menu */
.sd-lang-switch { display: flex; gap: 6px; padding: 16px 25px 0; }
.sd-lang-switch button { flex: 1; height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-weight: 600; }
.sd-lang-switch button.is-active { background: var(--theme-color); border-color: var(--theme-color); }

/* ---- Location: nearest branch ---------------------------------------- */
.sd-locate-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #e5e7eb; background: #fff; color: var(--theme-color); border-radius: 50px; height: 38px; min-width: 38px; padding: 0 10px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.sd-locate-btn:hover:not(:disabled) { background: var(--theme-color); color: #fff; border-color: var(--theme-color); }
.sd-locate-btn:disabled { opacity: .7; cursor: progress; }
.sd-locate-btn span { font-size: 14px; }
.menu-right-content .currency-box { display: flex; align-items: center; gap: 8px; }
.sd-locate-header { margin-left: 2px; }
.sd-spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: sd-spin .7s linear infinite; }
@keyframes sd-spin { to { transform: rotate(360deg); } }
.sd-phone-branch { padding: 16px 25px 0; }
.sd-phone-branch label { display: block; color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 6px; }
.sd-phone-branch-row { display: flex; gap: 8px; }
.sd-phone-branch select { flex: 1; min-width: 0; height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; padding: 0 10px; font-weight: 600; }
.sd-phone-branch select option { color: #111; }
.sd-phone-branch .sd-locate-btn { height: 40px; border-radius: 8px; background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.sd-nearest-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 18px; border-radius: 10px; background: #fff7e6; border: 1px solid #ffd591; }
.sd-nearest-note p { margin: 0; flex: 1 1 260px; color: #5c3d00; }
.sd-nearest-note .theme-btn { padding: 8px 18px; }
.sd-nearest-note.is-quiet { background: #f3faf6; border-color: #cfe9d9; }
.sd-nearest-note.is-quiet p { color: #1f4d33; }
.sd-loc-toast { cursor: pointer; width: max-content; max-width: min(92vw, 520px); bottom: 84px; border-radius: 14px; text-align: center; line-height: 1.5; }
.sd-loc-toast i { margin-right: 4px; }

/* ---------- Shop page (/shop, category, offers…) ---------- */
.sd-shop-title h1 { font-size: 32px; line-height: 1.25; margin: 14px 0 0; }

/* Product grid: real CSS grid, lines between cards, 4 → 3 → 2 columns. */
.sd-shop .wrapper .inner-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
.sd-shop .wrapper .inner-container::after { display: none; }
.sd-shop .wrapper .inner-container .shop-block-one { float: none; width: auto; min-width: 0; }
.sd-shop .wrapper .inner-container .shop-block-one .inner-box { height: 100%; box-shadow: 1px 0 0 #E5E5E5, 0 1px 0 #E5E5E5; }
.sd-shop .shop-block-one .inner-box .image-box .image { max-width: none; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.sd-shop .shop-block-one .inner-box .image-box .image a { display: block; width: 100%; height: 100%; }
.sd-shop .shop-block-one .inner-box .image-box .image img { width: 100%; height: 100%; object-fit: contain; }
.sd-shop .shop-block-one .inner-box .lower-content h4 { overflow-wrap: anywhere; }

/* Page numbers */
.sd-shop .pagination { flex-wrap: wrap; row-gap: 8px; }
.sd-shop .pagination li a.current { background: var(--theme-color); border-color: var(--theme-color); }
.sd-shop .pagination li a[aria-disabled='true'] { opacity: .4; pointer-events: none; }
.sd-shop .pagination li.sd-gap::before { content: '…'; margin-right: 10px; color: #7c7c7c; }

/* Filters: sidebar on big screens, drawer below 992px */
.sd-filter-btn, .sd-filter-head, .sd-filter-foot { display: none; }
@media (max-width: 1199px) {
  .sd-shop .wrapper .inner-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .sd-shop .row > .sidebar-side { order: -1; }
  .sd-shop .row > .sidebar-side, .sd-shop .row > .content-side { width: 100%; }
  .sd-filter-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 9px 18px;
    border: 1px solid #E5E5E5; border-radius: 30px; background: #fff; font-weight: 600; color: var(--title-color);
  }
  .sd-filter-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--theme-color); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
  .sd-filter-drawer {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 1050; width: min(360px, 88vw);
    display: flex; flex-direction: column; background: #fff; box-shadow: 0 0 40px rgba(0,0,0,.2);
    transform: translateX(-105%); transition: transform .3s ease; visibility: hidden;
  }
  .sd-filter-drawer.open { transform: none; visibility: visible; }
  .sd-filter-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #E5E5E5; font-size: 18px; }
  .sd-filter-head button { border: 0; background: none; font-size: 28px; line-height: 1; color: var(--title-color); }
  .sd-filter-body { flex: 1; overflow-y: auto; padding: 18px; }
  .sd-filter-body .shop-sidebar { margin: 0 !important; }
  .sd-filter-foot { display: block; padding: 12px 18px; border-top: 1px solid #E5E5E5; }
  .sd-filter-foot .theme-btn { width: 100%; justify-content: center; }
  .sd-filter-backdrop { position: fixed; inset: 0; z-index: 1049; background: rgba(0,0,0,.45); }
}
@media (max-width: 767px) {
  .sd-shop-title h1 { font-size: 24px; }
  .sd-shop .wrapper .inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-shop .item-shorting { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; text-align: left; padding: 10px 14px; margin-bottom: 20px !important; }
  .sd-shop .item-shorting .right-column { display: flex; }
  .sd-shop .item-shorting .right-column .short-box { margin-right: 12px !important; }
  .sd-shop .item-shorting .right-column .menu-box p { display: none; }
  .sd-shop .shop-block-one .inner-box .lower-content { padding: 0 12px 54px !important; }
  .sd-shop .shop-block-one .inner-box .lower-content .text { margin-bottom: 6px; font-size: 12px; }
  .sd-shop .shop-block-one .inner-box .lower-content h4 { font-size: 15px; line-height: 20px; margin-bottom: 4px; }
  .sd-shop .shop-block-one .inner-box .lower-content h5 { font-size: 15px; }
  .sd-shop .shop-block-one .inner-box .lower-content h5 del { margin-right: 6px !important; }
  .sd-shop .shop-block-one .inner-box .lower-content h5 small { display: block; font-size: 12px; }
  .sd-shop .shop-block-one .inner-box .lower-content .product-stock { position: absolute; left: 12px; bottom: 18px; font-size: 12px; }
  .sd-shop .shop-block-one .inner-box .decore { right: 10px !important; bottom: 10px !important; width: 34px; height: 34px; line-height: 38px; }
  .sd-shop .shop-block-one .inner-box .item-quantity-selector { display: none; }
  .sd-shop .shop-block-one .inner-box .image-box .option-list { top: 8px; right: 8px; }
  .sd-shop .shop-block-one .inner-box .image-box .option-list li a,
  .sd-shop .shop-block-one .inner-box .image-box .option-list li button { width: 34px; height: 34px; line-height: 34px; font-size: 13px; }
  .sd-shop .shop-block-one .inner-box .image-box .discount-product,
  .sd-shop .shop-block-one .inner-box .image-box .hot-product { top: 8px !important; font-size: 11px; padding: 0 8px; }
}
/* The green "+" on product cards adds one to the cart (phones have no hover). */
.shop-block-one .inner-box button.decore { border: 0; padding: 0; cursor: pointer; }
.shop-block-one .inner-box button.decore:disabled { opacity: .35; cursor: not-allowed; }
@media (max-width: 767px) {
  .sd-shop .shop-block-one .inner-box:hover .decore { opacity: 1; transform: none; }
  .sd-shop .shop-block-one .inner-box:hover .image-box .image img { transform: none; }
}
.sd-shop .item-shorting { margin-bottom: 24px !important; }
.sd-shop .wrapper .inner-container .shop-block-one .inner-box .image-box { border-radius: 0; }

/* ---------- Category lists (header dropdown + phone drawer) ----------
   Category pictures are shown as a small thumbnail next to the name, never behind the text. */
.main-header .outer-box .category-box .category-list > li .icon,
.category-menu .category-list li .icon {
  width: 28px; height: 28px; overflow: hidden; border-radius: 6px; background: #f3f5f4;
  top: 50%; transform: translateY(-50%); pointer-events: none;
}
.main-header .outer-box .category-box .category-list > li .icon img,
.category-menu .category-list li .icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.main-header .outer-box .category-box .category-list > li > a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-header .outer-box .category-box .category-list > li > .icon { z-index: 2; }
/* phone drawer: the icon sits on the first line (sub-lists open below it) */
.category-menu .category-list li .icon { left: 18px; top: 6px; transform: none; }
.category-menu .category-list.product-category li > a { padding-left: 56px; line-height: 28px; }

/* ---------- Dark mode switch (header) ---------- */
.sd-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--title-color); vertical-align: middle; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.sd-theme-toggle:hover { background: rgba(38, 156, 83, .12); color: var(--theme-color); }
.sd-theme-toggle .sd-sun { display: none; }
html[data-theme="dark"] .sd-theme-toggle .sd-sun { display: inline-flex; }
html[data-theme="dark"] .sd-theme-toggle .sd-moon { display: none; }
.sd-theme-toggle span { display: inline-flex; }
.main-header .menu-right-content .info-list li.sd-theme-li { margin-right: 12px; }
.sd-theme-switch { margin-top: 10px; }

/* Featured category names on the home page (template left them as plain blue links). */
.single-featured a { color: var(--title-color); }
.single-featured a:hover { color: var(--theme-color); }

/* ---------- Customer order updates (shop header bell + account tab) ---------- */
.sd-cbell { position: relative; }
.main-header .menu-right-content .info-list li.sd-cbell { margin-right: 14px; }
.sd-cbell-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--title-color); vertical-align: middle; cursor: pointer; }
.sd-cbell-btn:hover { background: rgba(38, 156, 83, .12); color: var(--theme-color); }
.sd-cbell-count { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e53935; color: #fff; font-size: 11px; line-height: 18px; font-weight: 700; text-align: center; }
.sd-cbell-panel {
  position: absolute; top: calc(100% + 12px); right: -60px; z-index: 1100; width: 360px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid #e5e5e5; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.16); overflow: hidden; text-align: left;
}
.sd-cbell-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #e5e5e5; font-size: 15px; line-height: 1.3; color: var(--title-color); }
.sd-cbell-head button, .sd-link-btn { border: 0; background: none; padding: 0; color: var(--theme-color); font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.sd-cbell-list { max-height: min(60vh, 420px); overflow-y: auto; }
.sd-cbell-empty { margin: 0; padding: 22px 18px; font-size: 14px; line-height: 1.5; color: var(--text-color); }
.sd-cbell-all { display: block; padding: 10px 16px; border-top: 1px solid #e5e5e5; text-align: center; font-size: 14px; font-weight: 600; color: var(--theme-color) !important; }
.sd-calert { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px 16px; border: 0; border-bottom: 1px solid #f0f0f0; background: none; text-align: left; color: inherit; cursor: pointer; }
.sd-calert:last-child { border-bottom: 0; }
.sd-calert:hover { background: rgba(38, 156, 83, .06); }
.sd-calert.is-new { background: rgba(38, 156, 83, .07); }
.sd-calert-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(38, 156, 83, .12); color: var(--theme-color); }
.sd-calert-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.sd-calert-text strong { font-size: 14px; color: var(--title-color); font-weight: 600; }
.sd-calert.is-new .sd-calert-text strong { font-weight: 700; }
.sd-calert-text span { font-size: 13px; color: var(--text-color); }
.sd-calert-text small { font-size: 12px; color: #9a9a9a; }
.sd-calert-dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--theme-color); }
.sd-updates-list { border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden; }
.sd-updates-list:empty { display: none; }
.sd-tab-count { display: inline-block; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 10px; background: #e53935; color: #fff; font-size: 12px; line-height: 20px; text-align: center; vertical-align: 2px; }
@media (max-width: 767px) {
  .sd-cbell-panel { position: fixed; top: 76px; left: 12px; right: 12px; width: auto; max-width: none; }
  .main-header .menu-right-content .info-list li.sd-cbell { margin-right: 8px; }
}
/* The bell sits in the header icon list: keep the template's icon-link styles off the panel. */
.main-header .menu-right-content .info-list li .sd-cbell-panel a.sd-cbell-all { display: block; font-size: 14px; line-height: 1.4; padding: 11px 16px; }
.main-header .menu-right-content .info-list li .sd-cbell-panel a.sd-cbell-all::before,
.main-header .menu-right-content .info-list li .sd-cbell-panel a.sd-cbell-all::after { display: none; }
.sd-cbell-panel .sd-cbell-list .sd-calert:last-child { border-bottom: 0; }

/* Home header (style five): last row of the open category list opens the full drawer. */
.main-header .outer-box .category-box .category-list > li.sd-more-categories .icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; top: 13px; font-size: 16px; color: var(--theme-color, #269c53); }
.main-header .outer-box .category-box .category-list > li.sd-more-categories > a { color: var(--theme-color, #269c53); font-weight: 600; }

/* ---------- Home banner (banner-style-five): picture slots at the template's sizes ---------- */
.banner-style-five .image-layer .image { overflow: hidden; }
.banner-style-five .image-layer .sd-hero-left { width: min(374px, 27%); aspect-ratio: 374 / 452; }
.banner-style-five .image-layer .sd-hero-right { width: min(360px, 26%); aspect-ratio: 360 / 446; }
.banner-style-five .image-layer .sd-hero-left img,
.banner-style-five .image-layer .sd-hero-right img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
/* A full photo (not a cut-out PNG): fill the whole height and fade its inner edge into the grey card. */
.banner-style-five .image-layer .sd-hero-photo { top: 0; height: 100%; aspect-ratio: auto; }
.banner-style-five .image-layer .sd-hero-left.sd-hero-photo img { object-position: center; -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%); mask-image: linear-gradient(to right, #000 55%, transparent 100%); }
.banner-style-five .image-layer .sd-hero-right.sd-hero-photo img { object-position: center; -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%); mask-image: linear-gradient(to left, #000 55%, transparent 100%); }
/* Keep the text readable on the narrower desktop widths. */
.banner-style-five .content-box { position: relative; z-index: 2; max-width: 46%; margin: 0 auto; }
@media (max-width: 991px) { .banner-style-five .content-box { max-width: none; } }

/* ---------- App store badges (footer, About page) ---------- */
.sd-app-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.sd-app-badge {
  display: inline-flex; align-items: center; gap: 10px; min-width: 168px; height: 56px; padding: 0 18px 0 14px;
  border-radius: 12px; background: #111; color: #fff !important; border: 1px solid #111; text-decoration: none;
  transition: transform .15s, background-color .15s, border-color .15s;
}
.sd-app-badge:hover { transform: translateY(-2px); background: var(--theme-color, #269c53); border-color: var(--theme-color, #269c53); }
.sd-app-badge:focus-visible { outline: 2px solid var(--theme-color, #269c53); outline-offset: 2px; }
.sd-app-icon { width: 28px; height: 30px; object-fit: contain; flex: none; }
.sd-app-icon--apple { filter: brightness(0) invert(1); }
.sd-app-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.sd-app-text small { font-size: 11px; letter-spacing: .02em; opacity: .8; text-transform: none; }
.sd-app-text strong { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
/* Dark site theme: lighter pill so it stands out from the dark footer. */
:where(html[data-theme="dark"]) .sd-app-badge { background: var(--sd-surface, #18201b); border-color: var(--sd-border, #2c3830); }
:where(html[data-theme="dark"]) .sd-app-badge:hover { background: var(--theme-color, #269c53); border-color: var(--theme-color, #269c53); }

/* ---------- Policy / FAQ pages ---------- */
.sd-policy-inner { max-width: 820px; margin: 0 auto; }
.sd-policy-inner h1 { font-size: 40px; line-height: 1.2; margin-bottom: 26px; }
.sd-policy-inner h4 { font-size: 22px; margin: 30px 0 12px; }
.sd-policy-inner p, .sd-policy-inner li { font-size: 16px; line-height: 1.75; }
.sd-policy-inner ul, .sd-policy-inner ol { padding-left: 22px; margin-bottom: 16px; }
.sd-policy-inner ul li { list-style: disc; }
.sd-policy-inner ol li { list-style: decimal; }
.sd-policy-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 24px; border-top: 1px solid #eee; }
.sd-policy-more a { padding: 7px 16px; border: 1px solid #e3e3e3; border-radius: 30px; font-size: 14px; color: var(--title-color, #222); }
.sd-policy-more a:hover { border-color: var(--theme-color, #269c53); color: var(--theme-color, #269c53); }
.sd-faq details { border: 1px solid #e8e8e8; border-radius: 10px; padding: 0 20px; margin-bottom: 12px; background: #fff; }
.sd-faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; font-size: 17px; color: var(--title-color, #222); list-style: none; position: relative; }
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--theme-color, #269c53); }
.sd-faq details[open] summary::after { content: "−"; }
.sd-faq details p { margin-bottom: 16px; }
:where(html[data-theme="dark"]) .sd-faq details { background: var(--sd-surface); border-color: var(--sd-border); }
:where(html[data-theme="dark"]) .sd-policy-more { border-top-color: var(--sd-border); }
:where(html[data-theme="dark"]) .sd-policy-more a { border-color: var(--sd-border); color: var(--title-color); }

/* ---------- Header: header-style-four & mobile toggler ---------- */
.main-header .menu-right-content .info-list li.sd-search-li { display: none; }
.sd-search-li button { display: inline-flex; align-items: center; border: 0; background: none; padding: 0; color: inherit; font-size: 20px; line-height: 1; vertical-align: middle; cursor: pointer; }

/* Desktop header-style-four refinement */
.header-style-four .outer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-style-four .logo-box {
  margin-right: 30px;
  flex: none;
}
.header-style-four .logo-box img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
.header-style-four .menu-area {
  display: flex;
  align-items: center;
}
.header-style-four .menu-right-content {
  display: flex;
  align-items: center;
  flex: none;
}
.header-style-four .menu-right-content .info-list {
  display: flex;
  align-items: center;
}
.header-style-four .menu-right-content .info-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (min-width: 1201px) and (max-width: 1400px) {
  .header-style-four .menu-right-content .search-box .form-group {
    width: 250px;
  }
}

@media only screen and (max-width: 1200px) {
  .header-style-four .main-menu {
    display: none !important;
  }
  .header-style-four .menu-area {
    order: 3;
    margin-left: 8px;
  }
  .header-style-four .menu-area .mobile-nav-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    background: var(--theme-color, #269c53);
    cursor: pointer;
    flex: none;
  }
  .header-style-four .menu-area .mobile-nav-toggler .icon-bar {
    width: 20px;
    height: 2px;
    background-color: #fff;
    margin: 0;
    border-radius: 2px;
  }
  .header-style-four .outer-box {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .header-style-four .logo-box {
    order: 1;
    margin-right: 0;
    flex: none;
  }
  .header-style-four .logo-box img {
    max-height: 38px;
    width: auto;
  }
  .header-style-four .menu-right-content {
    display: flex !important;
    align-items: center;
    order: 2;
    margin-left: auto;
  }
  .header-style-four .menu-right-content .search-box,
  .header-style-four .menu-right-content .language-picker,
  .header-style-four .menu-right-content .currency-box {
    display: none !important;
  }
  .header-style-four .menu-right-content .info-list {
    display: flex !important;
    align-items: center;
    gap: 12px;
  }
  .header-style-four .menu-right-content .info-list li {
    margin-right: 0 !important;
  }
  .header-style-four .menu-right-content .info-list li.sd-search-li {
    display: inline-flex !important;
  }
}

@media only screen and (max-width: 576px) {
  .header-style-four .logo-box img {
    max-height: 32px;
  }
  .header-style-four .menu-right-content .info-list {
    gap: 8px;
  }
  .header-style-four .menu-area .mobile-nav-toggler {
    width: 36px;
    height: 36px;
  }
  .header-top {
    padding: 6px 0;
  }
  .header-top .info-list:first-child {
    display: none;
  }
  .header-top .top-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
  .header-top .text p {
    font-size: 12px;
    line-height: 1.3;
  }
  .header-top .info-list:last-child li {
    font-size: 12px;
    padding-left: 20px;
  }
  .header-top .info-list:last-child li i {
    font-size: 16px;
  }
}

/* Dark mode for header-style-four */
:where(html[data-theme="dark"]) .header-style-four .header-top {
  background: var(--sd-surface-2, #18201a);
  border-bottom: 1px solid var(--sd-border, rgba(255, 255, 255, 0.08));
}
:where(html[data-theme="dark"]) .header-style-four .header-lower {
  background: var(--sd-surface, #141715);
  border-bottom: 1px solid var(--sd-border, rgba(255, 255, 255, 0.08));
}
:where(html[data-theme="dark"]) .header-style-four.fixed-header .sticky-header {
  background: var(--sd-surface, #141715);
  border-bottom: 1px solid var(--sd-border, rgba(255, 255, 255, 0.08));
}
:where(html[data-theme="dark"]) .header-style-four .menu-right-content .search-box .form-group input[type='search'] {
  background: var(--sd-surface-2, #1f2420);
  border-color: var(--sd-border, rgba(255, 255, 255, 0.15));
  color: var(--title-color, #fff);
}
:where(html[data-theme="dark"]) .header-style-four .menu-right-content .search-box .form-group input[type='search']::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
:where(html[data-theme="dark"]) .header-style-four .main-menu .navigation > li > a {
  color: var(--title-color, #e4e7e4);
}


.sd-search-pop { position: fixed; inset: 0; z-index: 10000; visibility: hidden; pointer-events: none; }
.sd-search-pop.is-open { visibility: visible; pointer-events: auto; }
.sd-search-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; backdrop-filter: blur(2px); }
.sd-search-pop.is-open .sd-search-backdrop { opacity: 1; }
.sd-search-panel {
  position: absolute; left: 0; right: 0; top: 0; padding: 18px 16px 22px; background: #fff;
  border-radius: 0 0 20px 20px; box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  transform: translateY(-105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.sd-search-pop.is-open .sd-search-panel { transform: none; }
.sd-search-form { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 18px; border: 2px solid var(--theme-color, #269c53); border-radius: 30px; background: #fff; }
.sd-search-lead { font-size: 20px; color: var(--theme-color, #269c53); }
.sd-search-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; color: #222; }
.sd-search-close { width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: #f2f2f2; color: #333; font-size: 16px; }
.sd-search-cats { display: flex; gap: 10px; margin-top: 12px; }
.sd-search-cats select { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #e3e3e3; border-radius: 30px; background: #fff; color: #222; font-size: 15px; }
.sd-search-go { height: 46px; padding: 0 24px; border: 0; border-radius: 30px; background: var(--theme-color, #269c53); color: #fff; font-weight: 600; }
.sd-search-quick { margin-top: 16px; }
.sd-search-quick p { margin: 0 0 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #888; }
.sd-search-quick div { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-search-quick a { padding: 7px 14px; border-radius: 20px; background: #f3f7f4; color: #222; font-size: 14px; line-height: 1.2; }
.sd-search-quick a:hover { background: var(--theme-color, #269c53); color: #fff; }
body.sd-search-open { overflow: hidden; }
@media (min-width: 768px) { .sd-search-panel { max-width: 720px; margin: 0 auto; border-radius: 0 0 24px 24px; } }

:where(html[data-theme="dark"]) .sd-search-panel { background: var(--sd-surface); }
:where(html[data-theme="dark"]) .sd-search-form { background: var(--sd-surface-2); }
:where(html[data-theme="dark"]) .sd-search-form input { color: var(--title-color); }
:where(html[data-theme="dark"]) .sd-search-close { background: var(--sd-surface-2); color: var(--title-color); }
:where(html[data-theme="dark"]) .sd-search-cats select { background: var(--sd-surface-2); border-color: var(--sd-border); color: var(--title-color); }
:where(html[data-theme="dark"]) .sd-search-quick a { background: var(--sd-surface-2); color: var(--title-color); }

/* Categories inside the phone menu */
.sd-phone-cats { margin: 10px 25px 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sd-phone-cats-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; border: 0; background: none; color: #fff; font-size: 16px; font-weight: 600; }
.sd-phone-cats-head i.fa-th-large { margin-right: 8px; color: var(--theme-color, #4caf50); }
.sd-phone-cats-head .fa-angle-down { transition: transform .2s; }
.sd-phone-cats-head.open .fa-angle-down { transform: rotate(180deg); }
.sd-phone-cats ul { padding: 0 0 12px; margin: 0; }
.sd-phone-cats li a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: rgba(255, 255, 255, .85); font-size: 15px; }
.sd-phone-cats li a img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; }
.sd-phone-cats li a:hover { color: #fff; }

/* ---------- bKash (checkout + order page) ---------- */
.sd-bkash-mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: #e2136e; color: #fff; font-weight: 800; font-size: 16px; font-family: Arial, sans-serif; flex: none; }
.sd-bkash-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.sd-bkash-label small { font-weight: 400; color: var(--text-color, #777); }
.sd-bkash-note { margin: 4px 0 14px; padding: 10px 14px; border-radius: 8px; background: #fdf0f6; color: #8a0f47; font-size: 14px; line-height: 1.5; }
.sd-bkash-box { padding: 18px 20px; border-radius: 12px; border: 1px solid #f3c6dc; background: #fff6fa; }
.sd-bkash-box.is-ok { border-color: #bfe5cc; background: #f1fbf4; }
.sd-bkash-box.is-bad { border-color: #f5c2c2; background: #fff5f5; }
.sd-bkash-head { display: flex; align-items: flex-start; gap: 12px; }
.sd-bkash-head p { margin: 2px 0 0; color: #333; }
.sd-bkash-btn { margin-top: 14px; padding: 12px 26px; border: 0; border-radius: 30px; background: #e2136e; color: #fff; font-weight: 700; font-size: 16px; }
.sd-bkash-btn:hover { background: #c40f5f; }
.sd-bkash-btn:disabled { opacity: .7; }
:where(html[data-theme="dark"]) .sd-bkash-note { background: rgba(226, 19, 110, .12); color: #f6a6c9; }
:where(html[data-theme="dark"]) .sd-bkash-box { background: rgba(226, 19, 110, .08); border-color: rgba(226, 19, 110, .35); }
:where(html[data-theme="dark"]) .sd-bkash-box.is-ok { background: rgba(38, 156, 83, .1); border-color: rgba(38, 156, 83, .4); }
:where(html[data-theme="dark"]) .sd-bkash-box.is-bad { background: rgba(229, 62, 62, .08); border-color: rgba(229, 62, 62, .35); }
:where(html[data-theme="dark"]) .sd-bkash-head p { color: var(--title-color); }
.sd-bkash-busy { opacity: .55; }
.sd-bkash-busy label { cursor: not-allowed; }

/* ---------- Home hero: warm backdrop like the free-delivery strip (light and dark mode) ---------- */
.banner-style-five .inner-container.sd-hero-warm {
  background: linear-gradient(120deg, #ffcf7a 0%, #ffc064 55%, #ffb547 100%);
  --title-color: #111; --text-color: #444; color: #444;
}
.banner-style-five .sd-hero-warm .shape {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: no-repeat; background-position: center; background-size: auto 100%;
}
.banner-style-five .sd-hero-warm .parallax-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.banner-style-five .sd-hero-warm .parallax-scene .parallax-layer { background-repeat: no-repeat; background-position: center; background-size: cover; opacity: .9; }
.banner-style-five .sd-hero-warm .image-layer { position: absolute; inset: 0; z-index: 1; }
.banner-style-five .sd-hero-warm .content-box h2,
.banner-style-five .sd-hero-warm .content-box h2 span { color: #111; }
.banner-style-five .sd-hero-warm .content-box .theme-btn.btn-two { background: #111; color: #fff; }

/* Quick Demo Role Pills */
.sd-quick-roles {
  margin-top: 15px;
  text-align: left;
}
.sd-quick-roles-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #646b60;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sd-quick-roles-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sd-role-pill {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  color: #111;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sd-role-pill:hover,
.sd-role-pill.active {
  background: var(--theme-color, #269c53);
  color: #fff;
  border-color: var(--theme-color, #269c53);
}
:where(html[data-theme="dark"]) .sd-role-pill {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ddd;
}
:where(html[data-theme="dark"]) .sd-role-pill:hover,
:where(html[data-theme="dark"]) .sd-role-pill.active {
  background: var(--theme-color, #269c53);
  color: #fff;
}

/* ---------- Overlay & Click-Blocking Protections ---------- */
.category-menu {
  display: none !important;
  pointer-events: none !important;
}
body.category-visible .category-menu {
  display: block !important;
  pointer-events: auto !important;
}

.mobile-menu {
  pointer-events: none;
}
body.mobile-menu-visible .mobile-menu {
  pointer-events: auto;
}

/* ---------- Sticky Header: Global Desktop + Mobile Fix ---------- */
.sticky-header {
  display: none !important;
}

.main-header.fixed-header .sticky-header {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  padding: 8px 0 !important;
  animation: fadeInDown 0.3s ease-in-out !important;
}

:where(html[data-theme="dark"]) .main-header.fixed-header .sticky-header {
  background-color: var(--sd-surface, #141715) !important;
  border-bottom: 1px solid var(--sd-border, rgba(255, 255, 255, 0.1)) !important;
}

.main-header.fixed-header .sticky-header .outer-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  width: 100% !important;
}

.main-header.fixed-header .sticky-header .logo-box {
  flex: none;
  margin-right: 30px;
}

.main-header.fixed-header .sticky-header .logo-box img {
  height: 42px;
  width: auto;
}

.main-header.fixed-header .sticky-header .menu-area {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto;
}

.main-header.fixed-header .sticky-header .menu-right-content {
  display: flex !important;
  align-items: center !important;
  flex: none;
  margin-left: auto;
}

.main-header .cart-menu {
  z-index: 9999 !important;
}

@media only screen and (max-width: 1200px) {
  .main-header.fixed-header .sticky-header .main-menu {
    display: none !important;
  }
  .main-header.fixed-header .sticky-header .menu-area {
    order: 3;
    margin-left: 8px;
    flex: none;
  }
  .main-header.fixed-header .sticky-header .logo-box {
    order: 1;
    margin-right: 0;
  }
  .main-header.fixed-header .sticky-header .logo-box img {
    height: 34px;
    width: auto;
  }
  .main-header.fixed-header .sticky-header .menu-right-content {
    order: 2;
    margin-left: auto;
    display: flex !important;
  }
  .main-header.fixed-header .sticky-header .menu-right-content .search-box,
  .main-header.fixed-header .sticky-header .menu-right-content .language-picker,
  .main-header.fixed-header .sticky-header .menu-right-content .currency-box {
    display: none !important;
  }
  .main-header.fixed-header .sticky-header .menu-right-content .info-list {
    display: flex !important;
    align-items: center;
    gap: 12px;
  }
  .main-header.fixed-header .sticky-header .menu-right-content .info-list li.sd-search-li {
    display: inline-flex !important;
  }
  .main-header.fixed-header .sticky-header .menu-area .mobile-nav-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    background: var(--theme-color, #269c53);
    cursor: pointer;
    flex: none;
  }
  .main-header.fixed-header .sticky-header .menu-area .mobile-nav-toggler .icon-bar {
    width: 20px;
    height: 2px;
    background-color: #fff;
    margin: 0;
    border-radius: 2px;
  }
}

@media only screen and (max-width: 576px) {
  .main-header.fixed-header .sticky-header .logo-box img {
    height: 30px;
  }
  .main-header.fixed-header .sticky-header .menu-right-content .info-list {
    gap: 8px;
  }
  .main-header.fixed-header .sticky-header .menu-area .mobile-nav-toggler {
    width: 36px;
    height: 36px;
  }
}

/* ---------- Home Hero: Category Sidebar + Hero Alignment (Desktop) ---------- */
.banner-style-five .sd-hero-wrapper {
  display: flex !important;
  align-items: flex-start !important;
  gap: 30px !important;
  position: relative !important;
  width: 100% !important;
}

@media (max-width: 1200px) {
  .banner-style-five .sd-hero-wrapper {
    display: block !important;
  }
}

.banner-style-five .sd-hero-wrapper .inner-container {
  margin-left: 0 !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 100% !important;
}

.sd-hero-sidebar {
  width: 300px !important;
  flex: 0 0 300px !important;
  max-width: 300px !important;
  text-align: left;
  position: relative;
  z-index: 20;
}

@media (max-width: 1200px) {
  .sd-hero-sidebar {
    display: none !important;
  }
}

.sd-hero-sidebar .category-box {
  width: 100%;
  display: block;
  position: relative;
}

.sd-hero-sidebar .category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--theme-color, #269c53);
  padding: 14px 20px;
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--theme-color, #269c53);
  border-bottom: none;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 20px;
}

.sd-hero-sidebar .category-head .text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.sd-hero-sidebar .category-head .text i {
  font-size: 16px;
  color: #ffffff;
}

.sd-hero-sidebar .category-head .head-arrow {
  font-size: 14px;
  color: #ffffff;
}

.sd-hero-sidebar .category-box .category-list {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  width: 100% !important;
  background: #fff;
  border: 1px solid #E6E6E6;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin: 0;
  padding: 6px 0;
  display: block;
}

.sd-hero-sidebar .category-list > li {
  position: relative;
  display: block;
}

.sd-hero-sidebar .category-list > li > a {
  position: relative;
  display: block;
  font-size: 15px;
  line-height: 20px;
  color: var(--title-color, #111);
  padding: 11px 20px 11px 54px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  transition: all 0.25s ease;
}

.sd-hero-sidebar .category-list > li:not(.sd-more-categories) > a::before,
.sd-hero-sidebar .category-list > li.category-dropdown > a::before {
  position: absolute;
  content: "\f105";
  font-family: 'Font Awesome 5 Pro';
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #888;
  transition: color 0.25s ease;
}

.sd-hero-sidebar .category-list > li:hover > a {
  color: var(--theme-color, #269c53);
  background-color: #f6fbf8;
}

.sd-hero-sidebar .category-list > li:hover > a::before {
  color: var(--theme-color, #269c53);
}

.sd-hero-sidebar .category-list > li .icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  overflow: hidden;
  border-radius: 6px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.sd-hero-sidebar .category-list > li .icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.sd-hero-sidebar .category-list > li.sd-more-categories .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 15px;
  color: var(--theme-color, #269c53);
}

.sd-hero-sidebar .category-list > li.sd-more-categories > a {
  color: var(--theme-color, #269c53);
  font-weight: 600;
}

/* Mega menu dropdown on hover over hero sidebar */
.sd-hero-sidebar .category-list .list-inner {
  position: absolute;
  left: 100%;
  top: 0;
  width: 780px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #E6E6E6;
  border-radius: 10px;
  padding-right: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
  z-index: 99999;
  overflow: hidden;
}

.sd-hero-sidebar .category-list .category-dropdown:hover .list-inner {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sd-hero-sidebar .category-list .list-inner .inner-box {
  position: relative;
  padding: 30px 35px;
  max-height: 400px;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sd-hero-sidebar .category-list .list-inner .inner-box .single-column {
  flex: 1 1 180px;
  min-width: 140px;
}

.sd-hero-sidebar .category-list .list-inner .inner-box p {
  display: block;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  color: var(--title-color, #111);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.sd-hero-sidebar .category-list .list-inner .inner-box .single-column ul li {
  display: block;
  font-size: 14px;
  line-height: 32px;
}

.sd-hero-sidebar .category-list .list-inner .inner-box .single-column ul li a {
  display: inline-block;
  font-size: 14px;
  line-height: 32px;
  color: #555;
  transition: color 0.2s ease;
}

.sd-hero-sidebar .category-list .list-inner .inner-box .single-column ul li a:hover {
  color: var(--theme-color, #269c53);
}

.sd-hero-sidebar .category-list .list-inner .shop-block {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: #E2EFEA;
  padding: 30px 20px 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.sd-hero-sidebar .category-list .list-inner .shop-block .title {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--title-color, #111);
  margin-bottom: 6px;
}

.sd-hero-sidebar .category-list .list-inner .shop-block h2 {
  display: block;
  font-size: 22px;
  line-height: 28px;
  margin-bottom: 8px;
  font-weight: 700;
}

.sd-hero-sidebar .category-list .list-inner .shop-block h2 a {
  color: var(--title-color, #111);
}

.sd-hero-sidebar .category-list .list-inner .shop-block h4 {
  display: block;
  font-size: 18px;
  line-height: 24px;
  color: #E92530;
  margin-bottom: 16px;
  font-weight: 600;
}

.sd-hero-sidebar .category-list .list-inner .shop-block .link {
  display: inline-block;
  align-self: flex-start;
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  color: var(--title-color, #111);
  background: #fff;
  border-radius: 5px;
  padding: 5px 18px;
  transition: all 0.3s ease;
  z-index: 2;
}

.sd-hero-sidebar .category-list .list-inner .shop-block .link:hover {
  background: var(--theme-color, #269c53);
  color: #fff;
}

.sd-hero-sidebar .category-list .list-inner .shop-block figure {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 160px;
  height: 160px;
  margin: 0;
  pointer-events: none;
}

.sd-hero-sidebar .category-list .list-inner .shop-block figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Category promotion photos fill the card behind its readable content. */
.category-list .list-inner .shop-block.sd-category-promo {
  overflow: hidden;
  isolation: isolate;
}
.category-list .list-inner .shop-block.sd-category-promo figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: -2;
  pointer-events: none;
}
.category-list .list-inner .shop-block.sd-category-promo figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.category-list .list-inner .shop-block.sd-category-promo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.78) 42%, rgba(255,255,255,.08) 100%);
}
.category-list .list-inner .shop-block.sd-category-promo .title,
.category-list .list-inner .shop-block.sd-category-promo h2 a {
  color: #111;
}

/* Dark mode for hero category sidebar */
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-head {
  background-color: var(--theme-color, #269c53) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-head .text i,
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-head .head-arrow {
  color: #fff !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-box .category-list {
  background-color: var(--sd-surface, #141715) !important;
  border-color: var(--sd-border, rgba(255, 255, 255, 0.1)) !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list > li > a {
  color: var(--title-color, #e4e7e4) !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list > li:hover > a {
  color: var(--theme-color, #269c53) !important;
  background-color: rgba(38, 156, 83, 0.1) !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list > li .icon {
  background-color: transparent;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list .list-inner {
  background-color: var(--sd-surface, #141715) !important;
  border-color: var(--sd-border, rgba(255, 255, 255, 0.1)) !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list .list-inner .inner-box p {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list .list-inner .inner-box .single-column ul li a {
  color: #bbb !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list .list-inner .inner-box .single-column ul li a:hover {
  color: var(--theme-color, #269c53) !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list .list-inner .shop-block {
  background-color: #1a2c22 !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list .list-inner .shop-block .title,
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list .list-inner .shop-block h2 a {
  color: #fff !important;
}
:where(html[data-theme="dark"]) .sd-hero-sidebar .category-list .list-inner .shop-block .link {
  background-color: #24352b !important;
  color: #fff !important;
}

/* ---------- Featured Categories: Mobile Ticker (above hero on mobile) ---------- */
.sd-featured-mobile {
  padding: 16px 0 8px 0;
  background: transparent;
  overflow: hidden;
}

.featured-section.alternat-2 .featured-list {
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-left 45s linear infinite;
}

.featured-section.alternat-2 .featured-list:hover {
  animation-play-state: paused;
}

.featured-section.alternat-2 .single-featured {
  display: flex;
  align-items: center;
  padding: 6px 18px 6px 48px;
  margin-right: 20px;
  position: relative;
  flex-shrink: 0;
}

.featured-section.alternat-2 .single-featured .image-box {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #EDEDED;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-section.alternat-2 .single-featured .image-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.featured-section.alternat-2 .single-featured h4 {
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.featured-section.alternat-2 .single-featured h4 a {
  color: var(--title-color, #111);
  transition: color 0.3s;
}

.featured-section.alternat-2 .single-featured h4 a:hover {
  color: var(--theme-color, #269c53);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Auto-dismiss preloader smoothly after brief intro */
@keyframes sd-preloader-fadeout {
  0% { opacity: 1; visibility: visible; }
  60% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader-wrap {
  animation: sd-preloader-fadeout 1s ease 0.5s forwards !important;
}
.loader-wrap.is-dismissed {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hide preloader overlay completely in static demo preview */
.loader-wrap, .handle-preloader, #handle-preloader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
