/* Category search, mini-cart and a calmer product-detail presentation. */
.bd-search { position: relative; }
.bd-search { overflow: visible !important; }
.bd-search-suggestions { position: absolute; z-index: 280; top: calc(100% + 8px); right: 0; left: 0; overflow: hidden; background: #fff; border: 1px solid #ded4ea; border-radius: 12px; box-shadow: 0 18px 38px rgba(40, 20, 67, .17); }
.bd-search-suggestions a { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 45px; padding: 10px 13px; color: #312b38; font-size: 14px; font-weight: 750; text-decoration: none; }
.bd-search-suggestions a + a { border-top: 1px solid #eeeaf2; }
.bd-search-suggestions a:hover, .bd-search-suggestions a.is-active { background: #f7f1fb; color: #54208f; }
.bd-search-suggestions i { color: #54208f; }
.bd-search-suggestions small { color: #847b8d; font-size: 11px; font-weight: 750; }

.bd-cart-wrap { position: relative; }
.bd-cart-wrap .bd-cart-link { display: block; }
.bd-cart-preview { position: absolute; z-index: 290; top: calc(100% + 10px); right: 0; width: min(390px, calc(100vw - 24px)); padding: 16px; background: #fff; border: 1px solid #dfd4ea; border-radius: 14px; box-shadow: 0 20px 44px rgba(34, 17, 55, .19); color: #2b2531; }
.bd-cart-preview[hidden] { display: none; }
.bd-cart-preview-heading { margin: 0 0 12px; color: #21132e; font-size: 15px; font-weight: 900; }
.bd-cart-preview-items { display: grid; gap: 10px; }
.bd-cart-preview-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #eee9f2; }
.bd-cart-preview-item img { width: 48px; height: 42px; object-fit: contain; border-radius: 7px; background: #faf8fc; }
.bd-cart-preview-item strong { display: block; overflow: hidden; color: #54208f; font-size: 12px; font-weight: 850; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.bd-cart-preview-item span { display: block; margin-top: 2px; color: #746c7d; font-size: 12px; }
.bd-cart-preview-item b { color: #21132e; font-size: 13px; white-space: nowrap; }
.bd-cart-preview-more, .bd-cart-preview-empty { margin: 0; color: #756d7d; font-size: 13px; }
.bd-cart-preview-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 13px; border-top: 1px solid #e6dfee; color: #5f566b; font-size: 13px; }
.bd-cart-preview-total strong { color: #21132e; font-size: 18px; }
.bd-cart-preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.bd-cart-preview-actions a { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 8px 10px; border: 1px solid #d6c4e6; border-radius: 8px; color: #54208f; font-size: 12px; font-weight: 850; text-align: center; text-decoration: none; }
.bd-cart-preview-actions a:hover { border-color: #54208f; background: #faf6ff; }
.bd-cart-preview-actions .bd-cart-preview-checkout { border-color: #ec8708; background: #f29113; color: #fff; }
.bd-cart-preview-actions .bd-cart-preview-checkout:hover { background: #df7e00; color: #fff; }
.bd-cart-flyer { position: fixed; z-index: 1000; display: block; object-fit: cover; pointer-events: none; border: 2px solid #fff; border-radius: 9px; box-shadow: 0 10px 24px rgba(45, 17, 75, .26); transition: transform .58s cubic-bezier(.2,.8,.2,1), opacity .58s ease; }
.bd-cart-flyer:not(img) { background: #f29113; }

body #productInfo { max-width: 1220px; margin-top: 28px; margin-bottom: 54px; color: #27232c; }
body #productInfo-productPrevNextTop { margin-bottom: 12px; }
body #productInfo-productPrevNextTop .btn, body #productInfo-productPrevNextTop a { border: 1px solid #ded5e7; border-radius: 8px; background: #fff; color: #54208f; font-size: 13px; font-weight: 750; }
body #productInfo-productName { max-width: 1110px; margin: 12px 0 28px; color: #21132e; font-size: clamp(28px, 3vw, 42px) !important; font-weight: 830; letter-spacing: -.03em; line-height: 1.16; }
body #productInfo-productName .bd-product-heading-main { display: block; text-transform: capitalize; }
body #productInfo-productName .bd-product-heading-meta { display: block; max-width: 900px; margin-top: 8px; color: #746c7d; font-size: .42em; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
body #productInfo-displayRow { align-items: flex-start; margin-right: -12px; margin-left: -12px; }
body #productInfo-displayColLeft, body #productInfo-displayColRight { padding-right: 12px; padding-left: 12px; }
body #productInfo-productMainImage { display: grid; min-height: 400px; place-items: center; padding: 24px !important; overflow: hidden; background: linear-gradient(145deg, #faf9fc, #fff); border: 1px solid #eee9f1; border-radius: 16px; }
body #productInfo-productMainImage img { max-width: 100%; max-height: 360px; object-fit: contain; }
body #productInfo-productAdditionalImages { margin-top: 12px; }
body #productInfo-productAdditionalImages .additionalImages, body #productInfo-productAdditionalImages img { border-radius: 8px; }
body #productInfo-productDescription { max-width: 660px; margin: 22px auto 0; color: #5f5866; font-size: 15px; line-height: 1.7; }
body #productInfo-productDetailsList { overflow: hidden; border: 1px solid #e9e4ee; border-radius: 13px; box-shadow: none; }
body #productInfo-productDetailsList .list-group-item { padding: 14px 16px; border-color: #eeeaf1; color: #37313d; font-size: 14px; line-height: 1.55; }
body #productsPriceTop-card, body #productsPriceBottom-card, body #addToCart-card { overflow: hidden; border: 1px solid #e5dfea; border-radius: 13px; box-shadow: none; }
body #productsPriceTop-card .card-body, body #productsPriceBottom-card .card-body { padding: 18px 20px !important; background: #fff; }
body #productsPriceTop-productPriceTopPrice, body #productsPriceBottom-productPriceBottomPrice { margin: 0; color: #21132e; font-size: 30px; font-weight: 850; }
body #productsPriceTop-productPriceTopPrice .normalprice, body #productsPriceBottom-productPriceBottomPrice .normalprice { display: block; margin: 0 0 3px !important; padding: 0 !important; color: #817888; font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; }
body #productsPriceTop-productPriceTopPrice .productSpecialPrice, body #productsPriceBottom-productPriceBottomPrice .productSpecialPrice { display: block; margin: 0 !important; padding: 0 !important; color: #d81722; font-size: 34px; font-weight: 900; letter-spacing: -.025em; line-height: 1.05; }
body #productsPriceTop-productPriceTopPrice .productPriceDiscount, body #productsPriceBottom-productPriceBottomPrice .productPriceDiscount { display: inline-flex; align-items: center; margin: 10px 0 0 !important; padding: 5px 9px !important; border-radius: 999px; background: #fff2d9; color: #9c5500; font-size: 12px; font-weight: 900; line-height: 1; }
body #addToCart-card-header { padding: 13px 18px; background: #faf8fc; border-bottom: 1px solid #ebe5f0; color: #54208f; font-size: 14px; font-weight: 850; }
body #cartAdd { padding: 16px 18px !important; background: #fff; }
body #cartAdd .input-group { margin-bottom: 0 !important; }
body #cartAdd .input-group-append { display: flex; align-items: stretch; }
body #cartAdd .form-control { min-height: 42px; border-color: #d8d0e1; border-radius: 8px 0 0 8px; }
body #cartAdd button, body #cartAdd input[type="submit"], body #cartAdd .btn { min-height: 42px; border: 0; border-radius: 0 8px 8px 0; background: #54208f; color: #fff; font-weight: 850; }
body #cartAdd .button_in_cart { height: 42px; margin: 0 !important; }
body #cartAdd button:hover, body #cartAdd input[type="submit"]:hover, body #cartAdd .btn:hover { background: #3e126e; }
body #productAttributes { padding: 17px; background: #fbf9fd; border: 1px solid #ece7f0; border-radius: 13px; }
body #productAttributes select, body #productAttributes input { border-color: #d8d0e1; border-radius: 8px; }
body #productInfo-productQuantityDiscounts { padding: 17px; background: #fff; border: 1px solid #ebe6f0; border-radius: 13px; }

@media (max-width: 767px) {
  .bd-search-suggestions { position: fixed; top: 117px; right: 12px; left: 12px; }
  .bd-cart-preview { position: fixed; top: 116px; right: 12px; }
  body #productInfo { margin: 22px 12px 42px; }
  body #productInfo-productName { margin-bottom: 20px; font-size: 29px !important; }
  body #productInfo-productMainImage { min-height: 280px; padding: 16px !important; }
  body #productInfo-productMainImage img { max-height: 255px; }
  body #productInfo-productDescription { font-size: 14px; }
}
