/* K-Skin Bliss — modern slim header */

.site-header {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.menu-top-area {
  padding: 6px 0;
}

.menu-top-area .track-order-link,
.menu-top-area .t-h-dropdown .main-link,
.menu-top-area .login-register a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.site-header .topbar {
  border-bottom: none;
  background-color: #fff;
}

.site-header .site-branding {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.site-header .site-branding .site-logo {
  width: auto;
  max-width: none;
  line-height: 0;
}

.site-header .site-branding .site-logo > img {
  width: auto !important;
  max-width: 190px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.site-header .search-box-wrap {
  padding: 10px 24px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 20;
}

.site-header .search-box-wrap .search-box-inner {
  position: relative;
  flex: 1;
  min-width: 0;
}

.site-header .search-box-wrap .search-box {
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #f7f7f7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header .search-box-wrap .search-box-inner .serch-result {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1100;
  background: #fff;
  width: 100%;
  padding: 8px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.site-header .search-box-wrap .search-box-inner .serch-result .s-r-inner {
  max-height: 360px;
  height: auto !important;
  overflow-y: auto;
  padding: 2px 0;
}

.site-header .search-box-wrap .search-box-inner .serch-result .bottom-area {
  display: block;
  text-align: center;
  padding: 8px 4px 4px;
  margin-top: 4px;
  border-top: 1px solid #eee;
}

.site-header .search-box-wrap .search-box-inner .serch-result .bottom-area a {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.site-header .search-box-wrap .search-box-inner .serch-result .bottom-area a:hover {
  color: #000;
}

.site-header .search-box-wrap .search-box-inner .serch-result .s-r-empty {
  padding: 16px 10px;
  text-align: center;
  color: #777;
  font-size: 13px;
}

.site-header .search-box-wrap .search-box-inner .serch-result .s-r-empty p {
  margin: 0;
}

/* Search suggestion rows */
.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  margin: 0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-row:hover {
  background-color: #f7f7f7;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-row + .search-suggest-row {
  margin-top: 2px;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid #eee;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  justify-content: center;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #222;
  margin: 0;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1;
  min-height: 14px;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-brand {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-rating {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-rating i {
  font-size: 10px;
  margin: 0;
  line-height: 1;
}

.site-header .search-box-wrap .search-box-inner .serch-result .search-suggest-price {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
  margin: 0;
}

.site-header .search-box-wrap .search-box:focus-within {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.topbar .search-box-inner .search-box select {
  border: none;
  background: transparent;
  height: 42px;
  font-size: 13px;
  color: #555;
}

.site-header .search-box-wrap .input-group .form-control {
  border: none;
  background: transparent;
  height: 42px;
  font-size: 14px;
  box-shadow: none;
}

.site-header .search-box-wrap .input-group .form-control:focus {
  box-shadow: none;
}

.site-header .search-box-wrap .input-group .input-group-btn button,
.site-header .search-box-wrap .input-group button {
  height: 42px;
  border: none;
  background: transparent;
  padding: 0 16px;
  color: #555;
}

.site-header .toolbar {
  display: flex;
  align-items: center;
}

.site-header .toolbar .toolbar-item {
  width: 72px;
  margin-left: 4px;
  border-radius: 10px;
}

.site-header .toolbar .toolbar-item > a {
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header .toolbar .toolbar-item:hover > a {
  background-color: #f5f5f5;
  color: #1a1a1a;
}

.site-header .toolbar .toolbar-item > a > div i {
  margin-bottom: 0;
  font-size: 18px;
}

.site-header .toolbar .toolbar-item > a > div > .text-label {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #666;
}

.site-header .toolbar .toolbar-item > a > div > .cart-icon > .count-label,
.site-header .toolbar .toolbar-item > a > div > .compare-icon > .count-label {
  top: -4px;
  right: -10px;
  width: 16px;
  height: 16px;
  font-size: 10px;
  line-height: 16px;
}

/* Main nav row */
.site-header .navbar {
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

.site-header .navbar .nav-inner {
  padding-left: 0;
  align-items: center;
}

.left-category-area {
  border-radius: 8px;
  overflow: visible;
}

.left-category-area .category-header h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 0;
}

.site-header .site-menu > ul > li > a {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #2a2a2a;
  border: none;
  position: relative;
}

.site-header .site-menu > ul > li > a:first-child {
  padding-left: 8px;
}

.site-header .site-menu > ul > li > a::after {
  display: block !important;
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  width: auto;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
  opacity: 0.85;
}

.site-header .site-menu > ul > li > a:first-child::after {
  left: 8px;
}

.site-header .site-menu > ul > li:hover > a::after,
.site-header .site-menu > ul > li.active > a::after {
  transform: scaleX(1);
}

.site-header .site-menu > ul > li .t-h-dropdown-menu,
.site-header .site-menu > ul > li .sub-menu {
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.navbar-stuck .topbar {
  border-radius: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .site-header .topbar .toolbar .toolbar-item.mobile-menu-toggle:not(.mm-t-two) {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .site-header.navbar-sticky {
    position: relative;
    z-index: auto;
  }

  .site-header .menu-top-area {
    position: relative;
    z-index: 1;
    background: #fafafa;
  }

  .site-header .topbar {
    position: relative;
    z-index: 1000;
    background-color: #fff;
    box-shadow: none;
  }

  .site-header .topbar.mobile-topbar-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }

  .site-header.navbar-sticky.navbar-stuck .topbar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
  }

  .site-header .site-branding {
    padding: 6px 0;
  }

  .site-header .site-branding .site-logo > img {
    height: 54px;
    max-width: 160px;
  }

  .site-header .search-box-wrap {
    padding: 8px 12px;
  }

  /* Mobile search overlay — full-width bar, no overlap with logo/icons */
  .site-header .topbar .search-box-wrap:not(.d-none) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: 100%;
    z-index: 120;
    margin: 0;
    padding: 0 12px;
    background: #fff;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: visible;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner {
    flex: 1;
    min-width: 0;
    width: 100%;
    position: relative;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box {
    flex: 1;
    min-width: 0;
    border-radius: 999px;
    overflow: hidden;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) #category_select {
    display: none;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .input-group {
    flex: 1;
    min-width: 0;
    width: 100%;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .input-group .form-control {
    width: 100%;
    min-width: 0;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .close-m-serch {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin: 0;
    font-size: 22px;
    color: #555;
    cursor: pointer;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: auto;
    max-height: calc(100vh - 120px);
    border-radius: 10px;
    z-index: 130;
    padding: 6px;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .s-r-inner {
    max-height: min(260px, calc(100vh - 160px));
    height: auto !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .search-suggest-row {
    gap: 10px;
    padding: 6px 8px;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .search-suggest-thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 6px;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .search-suggest-name {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .search-suggest-meta {
    gap: 4px;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .search-suggest-brand {
    font-size: 10px;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .search-suggest-rating {
    display: none;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .search-suggest-price {
    font-size: 12px;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .bottom-area {
    padding-top: 6px;
    margin-top: 2px;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .bottom-area a {
    font-size: 12px;
  }

  .site-header .topbar .search-box-wrap:not(.d-none) .search-box-inner .serch-result .s-r-empty {
    padding: 10px 6px;
    font-size: 12px;
  }

  body.mobile-search-open .site-header .site-branding,
  body.mobile-search-open .site-header .toolbar {
    visibility: hidden;
    pointer-events: none;
  }

  /* ---- Mobile utility / top bar ---- */
  .menu-top-area {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
  }

  .menu-top-area > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .menu-top-area .row {
    align-items: center;
    margin: 0;
    flex-wrap: nowrap;
    min-height: 40px;
  }

  .menu-top-area .col-md-4,
  .menu-top-area .col-md-8 {
    flex: 1 1 0;
    max-width: 50%;
    width: 50%;
    padding: 0;
  }

  .menu-top-area .t-m-s-a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
  }

  .menu-top-area .right-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    text-align: right !important;
    white-space: nowrap;
    margin: 0;
  }

  .menu-top-area .track-order-link,
  .menu-top-area .t-h-dropdown .main-link,
  .menu-top-area .login-register a {
    font-size: 11px;
    font-weight: 500;
    padding: 8px 6px;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .menu-top-area .track-order-link i {
    margin-right: 2px;
    right: 0;
    font-size: 12px;
  }

  .menu-top-area .compare-mobile,
  .menu-top-area .wishlist-mobile {
    margin: 0 !important;
  }

  .menu-top-area .t-h-dropdown {
    margin-right: 0 !important;
  }

  .menu-top-area .t-h-dropdown .main-link i {
    left: 1px;
    font-size: 10px;
  }

  /* Hide less-critical top links on narrow phones to reduce clutter */
  .menu-top-area .compare-mobile,
  .menu-top-area .wishlist-mobile {
    display: none !important;
  }

  /* ---- Mobile main header (logo + actions) ---- */
  .site-header .topbar {
    padding: 0;
    overflow: visible;
    position: relative;
    z-index: 10;
  }

  .site-header .topbar > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-header .topbar .row > .col-lg-12 {
    width: 100%;
    max-width: 100%;
  }

  .site-header .topbar .d-flex.justify-content-between {
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    height: 56px;
    gap: 8px;
    width: 100%;
    flex-wrap: nowrap;
    position: relative;
  }

  .site-header .site-branding {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 180px);
    padding: 0;
    height: 56px;
    display: flex;
    align-items: center;
  }

  .site-header .site-branding .site-logo {
    width: auto;
    max-width: 100%;
  }

  /* Keep mobile search overlay hidden until toggled open */
  .site-header .search-box-wrap.d-none {
    display: none !important;
  }

  .site-header .search-box-wrap:not(.d-none) {
    display: flex !important;
  }

  .site-header .toolbar {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    flex-shrink: 0;
    gap: 0;
    height: 56px;
    margin-left: auto;
    width: auto;
  }

  .site-header .toolbar .toolbar-item.hidden-on-mobile {
    display: none !important;
  }

  .site-header .toolbar .toolbar-item {
    position: relative;
    flex: 0 0 40px;
    width: 40px !important;
    height: 56px !important;
    margin-left: 0 !important;
  }

  .site-header .toolbar .toolbar-item.visible-on-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .site-header .toolbar .toolbar-item.mobile-menu-toggle:not(.mm-t-two) {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Kill theme absolute positioning that pushes icons outside the bar */
  .site-header .toolbar .toolbar-item > a {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  .site-header .toolbar .toolbar-item > a > div {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .toolbar .toolbar-item > a > div i {
    margin-bottom: 0 !important;
    font-size: 20px;
    line-height: 1;
  }

  .site-header .toolbar .toolbar-item > a > div > .cart-icon,
  .site-header .toolbar .toolbar-item > a > div > .compare-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .toolbar .toolbar-item > a > div > .text-label {
    display: none !important;
  }

  .site-header .toolbar .toolbar-item > a > div > .cart-icon > .count-label,
  .site-header .toolbar .toolbar-item > a > div > .compare-icon > .count-label {
    top: -8px;
    right: -10px;
  }

  .site-header .toolbar .toolbar-item.mobile-menu-toggle {
    order: 99;
  }

  .site-header .topbar .mobile-menu {
    position: fixed;
  }

  .slider-area-wrapper {
    margin-top: 12px;
  }

  .slider-area-wrapper > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-slider {
    border-radius: 12px;
  }
}

@media (max-width: 575px) {
  .site-header .site-branding .site-logo > img {
    height: 42px;
    max-width: 132px;
  }

  .menu-top-area .row {
    min-height: 36px;
  }

  .menu-top-area .track-order-link,
  .menu-top-area .t-h-dropdown .main-link,
  .menu-top-area .login-register a {
    font-size: 10px;
    padding: 7px 4px;
  }

  /* On phones: keep only Track + Login in the slim top strip */
  .menu-top-area .t-h-dropdown {
    display: none;
  }

  .menu-top-area .col-md-4 {
    max-width: 40%;
    width: 40%;
  }

  .menu-top-area .col-md-8 {
    max-width: 60%;
    width: 60%;
  }

  .site-header .topbar .d-flex.justify-content-between {
    min-height: 52px;
    height: 52px;
  }

  .site-header .site-branding {
    height: 52px;
    max-width: calc(100% - 128px);
  }

  .site-header .toolbar {
    height: 52px;
  }

  .site-header .toolbar .toolbar-item {
    flex: 0 0 40px;
    width: 40px !important;
    height: 52px !important;
  }

  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two) {
    min-height: 52px;
  }

  .hero-slider {
    border-radius: 10px;
  }
}

/* Hero banner — always show the full image (no crop) */
.hero-slider .item {
  position: relative;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: block !important;
  background: none !important;
  background-image: none !important;
  align-items: unset !important;
}

.hero-slider .item .hero-slide-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.body_theme2 .hero-slider .item {
  height: auto !important;
}

/* Preloader — transparent brand logo */
#preloader {
  background: #fff;
}

#preloader img {
  max-width: 180px;
  width: 55%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 575px) {
  #preloader img {
    max-width: 140px;
  }
}

/* ========== One-page Bangladesh checkout ========== */
.bd-checkout {
  padding-top: 12px;
}

.bd-checkout-alert {
  border-radius: 12px;
  border: none;
  background: #fff5f5;
  color: #9b1c1c;
}

.bd-checkout-panel,
.bd-checkout-summary {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.bd-checkout-summary {
  position: sticky;
  top: 100px;
}

.bd-checkout-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #f0f0f0;
}

.bd-checkout-section--last {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.bd-checkout-heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.bd-checkout-hint {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 18px;
}

.bd-optional {
  font-weight: 400;
  color: #999;
  font-size: 0.8rem;
}

.bd-checkout .form-group {
  margin-bottom: 16px;
}

.bd-checkout .form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.bd-checkout .form-control {
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 0.95rem;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bd-checkout textarea.form-control {
  min-height: 88px;
  resize: vertical;
}

.bd-checkout .form-control:focus {
  background: #fff;
  border-color: var(--primary-color, #c89c6b);
  box-shadow: 0 0 0 3px rgba(200, 156, 107, 0.18);
}

.bd-checkout .form-control.is-invalid {
  border-color: #dc3545;
  background: #fff;
}

.bd-free-shipping-note {
  font-size: 0.875rem;
  color: #555;
  background: #f8f6f2;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.bd-radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bd-radio-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid #e6e6e6;
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bd-radio-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.bd-radio-dot {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 2px solid #c4c4c4;
  border-radius: 50%;
  background: #fff;
  position: relative;
  transition: border-color 0.2s ease;
}

.bd-radio-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color, #c89c6b);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
}

.bd-radio-item input:checked ~ .bd-radio-dot,
.bd-radio-item:has(input:checked) .bd-radio-dot {
  border-color: var(--primary-color, #c89c6b);
}

.bd-radio-item input:checked ~ .bd-radio-dot::after,
.bd-radio-item:has(input:checked) .bd-radio-dot::after {
  transform: translate(-50%, -50%) scale(1);
}

.bd-radio-item:has(input:checked) {
  border-color: var(--primary-color, #c89c6b);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 156, 107, 0.15);
}

.bd-radio-label {
  flex: 1;
  font-weight: 560;
  color: #222;
  font-size: 0.95rem;
}

.bd-radio-price {
  font-weight: 600;
  color: #444;
  white-space: nowrap;
}

.bd-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bd-option-grid--payments {
  grid-template-columns: 1fr 1fr;
}

.bd-option-card {
  display: block;
  cursor: pointer;
  margin: 0;
}

.bd-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bd-option-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1.5px solid #e6e6e6;
  border-radius: 12px;
  background: #fafafa;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bd-option-card input:checked + .bd-option-body {
  border-color: var(--primary-color, #c89c6b);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 156, 107, 0.15);
}

.bd-option-title {
  font-weight: 560;
  color: #222;
  font-size: 0.95rem;
}

.bd-option-price {
  font-weight: 600;
  color: #444;
  white-space: nowrap;
}

.bd-payment-body {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 92px;
  gap: 8px;
}

.bd-payment-logo {
  max-height: 36px;
  max-width: 88px;
  object-fit: contain;
}

.bd-bank-box,
.bd-cod-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8f6f2;
  font-size: 0.9rem;
  color: #444;
}

.bd-bank-box .form-control {
  background: #fff;
}

.bd-summary-items {
  margin: 18px 0 8px;
  max-height: 280px;
  overflow-y: auto;
}

.bd-summary-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
}

.bd-summary-item:last-child {
  border-bottom: none;
}

.bd-summary-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.bd-summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-summary-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #333;
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.bd-summary-name {
  display: block;
  color: #222;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.35;
}

.bd-summary-name:hover {
  color: var(--primary-color, #c89c6b);
}

.bd-summary-attr {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}

.bd-summary-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.bd-totals {
  width: 100%;
  margin: 12px 0 20px;
}

.bd-totals td {
  padding: 8px 0;
  font-size: 0.925rem;
  color: #555;
  border: none;
}

.bd-totals td:last-child {
  text-align: right;
  font-weight: 500;
  color: #222;
}

.bd-totals-grand td {
  padding-top: 14px;
  border-top: 1px solid #eee !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #111 !important;
}

.bd-place-order {
  width: 100%;
  border-radius: 12px;
  min-height: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bd-place-order span {
  position: relative;
  z-index: 1;
  color: #fff !important;
}

.bd-place-order::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.18);
  transition: width 0.3s ease;
  z-index: 0;
}

.bd-place-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  color: #fff !important;
}

.bd-place-order:hover::before {
  width: 100%;
}

.bd-place-order:active {
  transform: translateY(0);
  box-shadow: none;
}

.bd-place-order:disabled,
.bd-place-order[disabled] {
  transform: none;
  box-shadow: none;
  opacity: 0.75;
  cursor: not-allowed;
}

.bd-place-order:disabled::before,
.bd-place-order[disabled]::before {
  width: 0;
}

.bd-back-cart {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: #777;
  font-size: 0.875rem;
  text-decoration: none;
}

.bd-back-cart:hover {
  color: var(--primary-color, #c89c6b);
}

@media (max-width: 991px) {
  .checkout-page-title {
    margin-bottom: 12px !important;
  }

  .bd-checkout {
    padding-top: 0;
  }

  .bd-checkout > .row {
    --bs-gutter-y: 0.75rem;
  }

  .bd-checkout-summary {
    position: static;
    margin-top: 0;
    margin-bottom: 0;
  }

  .bd-checkout-panel {
    margin-top: 0;
  }

  .bd-checkout-panel,
  .bd-checkout-summary {
    padding: 20px;
  }
}

@media (max-width: 575px) {
  .checkout-page-title {
    margin-bottom: 8px !important;
  }

  .bd-checkout > .row {
    --bs-gutter-y: 0.5rem;
  }

  .bd-option-grid,
  .bd-option-grid--payments {
    grid-template-columns: 1fr;
  }

  .bd-summary-item {
    grid-template-columns: 48px 1fr;
  }

  .bd-summary-price {
    grid-column: 2;
  }
}

/* ========== Order success / thank you ========== */
.bd-success {
  padding-top: 4px;
  padding-bottom: 40px;
}

.bd-success-hero {
  text-align: center;
  margin: 8px auto 28px;
  max-width: 560px;
}

.bd-success-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(46, 160, 67, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bdSuccessPop 0.45s ease both;
}

.bd-success-check svg {
  stroke: #2ea043;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bd-success-check circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: bdSuccessCircle 0.5s ease forwards;
}

.bd-success-check path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: bdSuccessTick 0.35s 0.35s ease forwards;
}

@keyframes bdSuccessPop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes bdSuccessCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes bdSuccessTick {
  to { stroke-dashoffset: 0; }
}

.bd-success-title {
  font-size: 1.75rem;
  font-weight: 650;
  color: #1a1a1a;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.bd-success-lead {
  color: #666;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.bd-success-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.bd-success-order-id {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.bd-success-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}

.bd-success-order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bd-success-order-row strong {
  font-size: 1.25rem;
  color: #111;
  letter-spacing: 0.01em;
}

.bd-success-copy {
  border: 1px solid #e4e4e4;
  background: #fafafa;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 560;
  color: #444;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bd-success-copy:hover,
.bd-success-copy.is-copied {
  border-color: var(--primary-color, #c89c6b);
  color: var(--primary-color, #c89c6b);
  background: #fff;
}

.bd-success-hint {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #777;
}

.bd-success-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.bd-success-meta strong {
  display: block;
  font-size: 0.95rem;
  color: #222;
}

.bd-success-total {
  color: var(--primary-color, #c89c6b) !important;
}

.bd-success-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 14px;
}

.bd-success-items {
  padding-top: 4px;
  margin-bottom: 8px;
}

.bd-success-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
}

.bd-success-item:last-child {
  border-bottom: none;
}

.bd-success-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.bd-success-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-success-thumb span {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #333;
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.bd-success-item-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #222;
  line-height: 1.35;
}

.bd-success-item-attr {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}

.bd-success-item-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.bd-success-delivery {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f0;
}

.bd-success-delivery p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.45;
}

.bd-success-delivery p span {
  color: #888;
  margin-right: 4px;
}

.bd-success-steps {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: bdstep;
}

.bd-success-steps li {
  position: relative;
  padding: 0 0 18px 40px;
  counter-increment: bdstep;
}

.bd-success-steps li:last-child {
  padding-bottom: 0;
}

.bd-success-steps li::before {
  content: counter(bdstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f8f6f2;
  color: #444;
  font-size: 0.8rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bd-success-steps li strong {
  display: block;
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 2px;
}

.bd-success-steps li span {
  display: block;
  font-size: 0.85rem;
  color: #777;
  line-height: 1.45;
}

.bd-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bd-success-btn,
.bd-success-btn-outline {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bd-success-btn span {
  position: relative;
  z-index: 1;
  color: #fff !important;
}

.bd-success-btn-outline {
  border: 1.5px solid #e4e4e4;
  background: #fff;
  color: #333;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.bd-success-btn-outline:hover {
  border-color: var(--primary-color, #c89c6b);
  color: var(--primary-color, #c89c6b);
  background: #fff;
}

.bd-success-help {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.bd-success-help p {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: #777;
}

.bd-success-help a {
  font-weight: 600;
  color: var(--primary-color, #c89c6b);
  text-decoration: none;
  font-size: 1rem;
}

@media (max-width: 767px) {
  .bd-success-title {
    font-size: 1.4rem;
  }

  .bd-success-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bd-success-card {
    padding: 18px;
  }

  .bd-success-item {
    grid-template-columns: 48px 1fr;
  }

  .bd-success-item-price {
    grid-column: 2;
  }
}

/* Mobile hamburger — inline SVG (always visible, pure black) */
@media (max-width: 991px) {
  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    height: auto !important;
    min-height: 56px;
    padding: 0 !important;
    margin: 0 0 0 2px !important;
  }

  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two) > a,
  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two).active > a,
  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two) > a:hover,
  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two) > a:focus,
  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two) > a:active {
    color: #000 !important;
    background-color: transparent !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
  }

  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two) .hamburger-icon {
    display: block;
    width: 22px;
    height: 16px;
    line-height: 0;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    pointer-events: none;
    flex-shrink: 0;
  }

  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two) .hamburger-icon svg {
    display: block;
    width: 22px;
    height: 16px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .topbar .toolbar > .toolbar-item.mobile-menu-toggle:not(.mm-t-two) .hamburger-icon svg rect {
    fill: #000 !important;
  }

  /* Close button inside slide-out mobile menu */
  .site-header .mobile-menu .mm-heading-area .toolbar-item.mobile-menu-toggle.mm-t-two {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    border: 0;
    background: transparent;
  }

  .site-header .mobile-menu .mm-heading-area .menu-close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }

  .site-header .mobile-menu .mm-heading-area .menu-close-icon svg {
    display: block;
    width: 18px;
    height: 18px;
  }
}

/* Popular brands — 5 columns x 3 rows (15 logos max) */
.brand-section .brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 8px;
}

.brand-section .brand-grid-item a {
  background: #fff;
  padding: 8px 4px;
  height: 72px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-section .brand-grid-item a:hover {
  border-color: #ddd;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.brand-section .brand-grid-item img {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 576px) {
  .brand-section .brand-grid {
    gap: 12px;
  }

  .brand-section .brand-grid-item a {
    height: 90px;
    min-height: 90px;
    padding: 10px 6px;
  }

  .brand-section .brand-grid-item img {
    height: 40px;
  }
}

@media (min-width: 992px) {
  .brand-section .brand-grid {
    gap: 15px;
  }

  .brand-section .brand-grid-item a {
    height: 120px;
    min-height: 120px;
    padding: 12px 10px;
  }

  .brand-section .brand-grid-item img {
    height: 50px;
  }
}
