body {
    background: #fff !important;
}

.breadcrumb {
    color: #565959;
    font-size: 12px;
    line-height: 14px;
    padding: 11px 25px;
    display: flex;
    align-items: center;
    margin: 15px 10px;
}

.breadcrumb i {
    font-size: 9px;
    margin: 0px 5px;
}

.breadcrumb a {
    color: #565959;
    text-decoration: none
}

.breadcrumb a:hover {
    text-decoration: underline
}

.product-detail-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    position: relative;
    align-items: flex-start;
    margin-top: 20px;
    padding: 0px 20px;
}

.product-detail-card {
    background: #fff;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 40% 59%;
    gap: 21px;
    padding: 0px;
    width: 100%;
    margin: 0px auto;
    align-items: start;
    position: relative;
}

.product-gallery {
    position: sticky;
    top: 0px !important;
    flex: 0 0 400px;
    /* fixed width for gallery */
    z-index: 10;
    overflow: hidden;
    padding-left: 55px;
}

.product-gallery.no-gallery {
    padding-left: 0px;
}

.product-gallery.no-gallery #image-container {
    display: block;
    width: 593px;
    height: 593px;
}

.product-gallery #image-container {
    position: relative;
    width: 537px;
    height: 537px;
}

.product-gallery img {
    width: auto;
    height: 100%;
    background: #fff;
    border: 0px solid #eee;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 0px;
    position: absolute;
    left: 7px;
    top: 0px;
    flex-direction: column;
}

.gallery-thumbs img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #888c8c;
    cursor: pointer;
    transition: border 0.2s;
    margin: 0px !important;
    margin-top: 10px;
}

.product-gallery #openLightbox {
    color: #2162a1;
    margin: 0 auto;
    display: table;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    margin-top: 15px;
}

.product-gallery #openLightbox:hover {
    color: #0c3353;
    text-decoration: underline;
}

.product-gallery .no-image-placeholder.main-image {
    height: 100%;
    width: calc(100% - 1px);
    background: #fff;
    text-align: center;
    align-content: center;
    font-size: 25px;
    line-height: 33px;
}

.product-gallery .review-summary-header {
    display: none;
}

.gallery-thumbs img:hover {
    border: 2px solid #007bff;
}

.gallery-thumbs img.active {
    border: 2px solid #007bff;
}

.product-content {
    flex: 1;
    padding: 0px;
}

.product-content #scroll-sentinel {
    height: 1px;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 20px 20px 20px 0px;
    width: 100%;
    padding: 20px 0;
}

.product-info h1 {
    font-size: 24px;
    margin: 0px;
    font-weight: 400;
    color: #222;
    line-height: 32px;
}

.product-sku {
    color: #2c2c2c;
    font-size: 0.95em;
    margin-bottom: 8px;
}

.product-price {
    font-size: 25px;
    color: #000;
    margin-bottom: 0px;
    font-weight: 400;
    padding-left: 0px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-top: 1px solid #d5d9d9;
    padding: 7px 0px 5px 0px;
}

/* By Cursor - 2026-09-16 - Flex product-price would ignore [hidden]; live wrapper keeps sale + strike in a row */
.pdp-live-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price[hidden],
.pdp-live-price[hidden] {
    display: none !important;
}

.strike-price {
    text-decoration: line-through;
    color: #565959;
    font-size: 13px;
}

.strike-price .currency-symbol {
    top: 0px !important;
}

.strike-price .fraction {
    top: 0px !important;
}

/*.offer-label, .discount-label {border-radius: 0px; padding: 2px 8px; font-size: 0.95em; margin-bottom: 15px; display: table; background: #3e4650; color: #fff; font-size: 13px; position:relative;}*/
.offer-label,
.discount-label {
    border-radius: 0px;
    padding: 2px 10px 2px 25px;
    font-size: 0.95em;
    margin-bottom: 15px;
    display: table;
    background: #000;
    color: #fff;
    font-size: 11px;
    position: relative;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.offer-label {}

.offer-label:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 6px;
    width: 13px;
    height: 13px;
    background: url(/assets/images/tag.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

/* Best Seller Badge for Product Detail Page */
.best-seller-badge-detail {
    display: inline-block;
    background: #ff6b35;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 5;
    top: 10px;
    left: 10px;
    display: none;
}


/* Best Seller Badge for Slider Sections (Similar Products, FBT, Recently Viewed) */
.best-seller-badge-slider {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b35;
    color: #000;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 3;
    line-height: 1;
    display: none;
}

/*.offer-label:before{content: ""; position: absolute; right: -6px; bottom: 0; border-style: dashed; border-width: 7px; border-color: rgba(255, 255, 255, 0); border-bottom: 6px solid #3e4650; border-top-width: 0; width: 0; height: 0; font-size: 0; line-height: 0; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); border-left-width: 0; border-bottom-width: 12px;}
.offer-label:after{content: ""; position: absolute; right: -6px; top: 0; border-style: dashed; border-width: 7px; border-color: rgba(255, 255, 255, 0); border-top: 6px solid #3e4650; border-bottom-width: 0; width: 0; height: 0; font-size: 0; line-height: 0; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); border-left-width: 0; border-top-width: 12px;}*/
.low-stock {
    font-size: 14px;
    color: #cc0c39;
    margin-bottom: 10px;
}

.out-of-stock-message {
    color: #b00;
    font-weight: normal;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 14px;
}

.product-description {
    font-size: 14px;
    color: #444;
    margin-bottom: 15px;
    line-height: 20px;
    border-top: 1px solid #d5d9d9;
    padding-top: 15px;
}

.product-about-local {
    font-size: 14px;
    color: #444;
    margin-bottom: 15px;
    line-height: 20px;
    border-top: 1px solid #d5d9d9;
    padding-top: 15px;
}

.product-about-local h2 {
    width: 100%;
    display: table;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0F1111 !important;
}

/* Product Tags Section */
.product-tags {
    font-size: 14px;
    color: #444;
    margin-bottom: 15px;
    line-height: 20px;
    border-top: 1px solid #d5d9d9;
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-tags .tags-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.product-tags .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-tags .product-tag {
    display: inline-block;
    background: #f0f2f2;
    color: #007185;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e6e6e6;
}

.product-tags .product-tag:hover {
    background: #007185;
    color: #fff;
    text-decoration: none;
    border-color: #007185;
}

.product-description .heading {
    width: 100%;
    display: table;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0F1111 !important;
}

.product-description img {
    width: 100% !important;
    height: auto !important;
}

.package-info {
    color: #007bff;
    font-size: 1em;
    margin-bottom: 8px;
}

.product-modifiers {
    margin-bottom: 8px;
    border-top: 1px solid #d5d9d9;
    padding-top: 15px;
}

.product-modifiers .m-heading {
    font-size: 20px;
    font-weight: 600;
    color: #0F1111 !important;
    margin-bottom: 5px;
}

.product-modifiers .mdgrp_name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-modifiers .mdgrp_name_man {
    font-size: 14px;
}

.product-modifiers ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.product-modifiers ul li {
    padding: 5px;
    display: grid;
    grid-template-columns: 5% 55% 36%;
    gap: 10px;
    align-items: center;
    align-content: center;
    font-size: 14px;
}

.product-modifiers ul li .check {
    width: 100%;
    height: 100%;
    display: flex;
}

.product-modifiers ul li .check input[type=checkbox] {
    width: 18px;
    height: 18px;
    margin: 0px;
    padding: 0px;
    line-height: normal;
}

.product-modifiers ul li .option_price.otp-modi-price {
    text-align: right;
}

.product-modifiers ul li .option-outofstock {
    display: table;
    width: 100%
}

.product-modifiers .merege_select {
    border: 0px;
    background: transparent;
    box-shadow: unset;
    padding: 0px;
}

.product-modifiers .merege_select label {
    margin: 4px;
    border-radius: 4px;
    border: dashed 1px #888c8c;
    padding: 6px;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer
}

.product-modifiers .merege_select label.active {
    border: 1px solid #2162a1 !important;
    outline: 2px solid #2162a1;
    background: #edf8ff;
}

.product-modifiers .merege_select label input {
    display: none;
}

.modifier-group {
    margin-bottom: 12px;
}

.modifier-items label {
    margin-right: 18px;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.option-outofstock {
    color: #b00;
    font-size: 0.95em;
    margin-left: 6px;
}

.add-note {
    margin-bottom: 8px;
    border-top: 1px solid #d5d9d9;
    padding-top: 15px;
}

.add-note textarea {
    width: 100%;
    min-height: 50px;
    border-radius: 8px;
    border: 1px solid #888c8c;
    padding: 8px;
    font-size: 1em;
    background: #fff;
}

.note-max {
    color: #888;
    font-size: 0.95em;
    margin-top: 2px;
}

.gift-card-fields label {
    display: block;
    margin-bottom: 8px;
}

.gift-card-fields input[type="text"],
.gift-card-fields input[type="email"] {
    width: 100%;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-top: 2px;
}

/* By Cursor, 17 Sep 2026 20:10: Full-width top banner; light yellow text on pale banner. */
.rc-already-subscribed-note {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: #e8c547;
    margin: 0 0 8px 0;
    padding: 10px 16px;
    border: 0;
    border-radius: 16px 16px 0 0;
    background: #eef9fc;
}

/* By Cursor, 14 Sep 2026 19:55: PDP Purchase Options (One-Time vs Subscribe & Save) */
.rc-purchase-options {
    border-top: 1px solid #d5d9d9;
    padding-top: 15px;
    margin-bottom: 8px;
}

.rc-purchase-options-heading {
    font-size: 18px;
    font-weight: 600;
    color: #0F1111;
    margin-bottom: 10px;
}

.rc-purchase-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #888c8c;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    background: #fff;
}

.rc-purchase-option:has(input:checked),
.rc-purchase-option.selected {
    border: 1px solid #2162a1;
    outline: 2px solid #2162a1;
    background: #edf8ff;
}

.rc-purchase-option input[type=radio] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #2162a1;
}

.rc-purchase-option-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rc-purchase-option-title {
    font-size: 14px;
    font-weight: 600;
    color: #0F1111;
}

.rc-subscribe-details {
    margin-top: 4px;
    padding: 12px;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    background: #fafafa;
}

.rc-subscribe-details[hidden] {
    display: none !important;
}

.rc-subscribe-label {
    font-size: 13px;
    font-weight: 600;
    color: #565959;
    margin-bottom: 4px;
}

.rc-subscribe-discount,
.rc-subscribe-frequency,
.rc-subscribe-next-delivery,
.rc-subscribe-max-qty,
.rc-subscribe-terms,
.rc-subscribe-time,
.rc-subscribe-fulfillment {
    margin-bottom: 12px;
}

.rc-fulfill-choice {
    display: block;
    font-size: 13px;
    font-weight: 400;
    margin: 4px 0;
    color: #0F1111;
}

.rc-subscribe-time select,
.rc-subscribe-time input[type="datetime-local"] {
    width: 100%;
    margin-bottom: 8px;
}

.rc-subscribe-terms {
    margin-bottom: 0;
}

.rc-subscribe-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rc-subscribe-price-row .discounted-price {
    font-size: 18px;
    color: #0F1111;
    font-weight: 600;
}

.rc-save-badge {
    background: #183528;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.rc-subscribe-frequency label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #565959;
    margin-bottom: 4px;
}

.rc-subscribe-frequency-select {
    position: relative;
}

/* By Cursor, 17 Sep 2026 20:20: Down arrow so Delivery frequency reads as a dropdown. */
.rc-subscribe-frequency-select::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid #565959;
    border-bottom: 2px solid #565959;
    transform: rotate(45deg);
    pointer-events: none;
}

.rc-subscribe-frequency select {
    width: 100%;
    padding: 8px 36px 8px 12px;
    border-radius: 6px;
    border: 1px solid #888c8c;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.rc-subscribe-frequency select::-ms-expand {
    display: none;
}

.rc-subscribe-next-date,
.rc-subscribe-terms-text,
.rc-subscribe-max-qty-text {
    font-size: 14px;
    color: #0F1111;
    line-height: 20px;
}

.rc-subscribe-next-delivery[hidden] {
    display: none !important;
}

.qty-row {
    display: grid;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    grid-template-columns: repeat(1, 1fr);
    ;
    border-top: 1px solid #d5d9d9;
    padding-top: 15px;
}

.qty-row lable {
    font-size: 18px;
    font-weight: 500;
    padding: 15px 0px 5px 0px;
}

.qty-row input[type="number"] {
    width: 100%;
    margin: 0px;
    padding: 5px 15px;
    border-radius: 5px;
    border: 1px solid #888c8c;
}

.add-to-cart-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    margin-top: 8px;
}

.add-to-cart-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.08);
}

.add-to-cart-btn[disabled] {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}

.cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cta button[type=submit] {
    background: #183528;
    border-radius: 6px;
    font-size: 14px;
    padding: 8px;
    border: 0px;
    color: #fff;
}

.cta button[type=submit]:hover {
    background: rgba(24, 53, 40, 0.9) !important;
}

.cta button[type=submit]:first-child {
    color: #fff;
}

.cta .back-btn {
    margin: 0px;
    border: solid 2px #183528;
    background: #fff !important;
    color: #000;
    font-size: 14px;
    padding: 8px;
}

.cta .back-btn:hover {
    border: solid 2px rgba(24, 53, 40, 0.9);
    background: #fff;
}

.back-btn {
    margin-top: 8px;
    background: #eee;
    color: #333;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}

.youmaylike {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 24px;
}

.youmaylike h4 {
    margin-top: 0;
}

.youmaylike ul {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.youmaylike li {
    width: 180px;
    text-align: center;
}

.youmaylike img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.modifier-mobile {
    display: none;
}

.main-image {
    width: 100%;
    border: 1px solid #ccc;
    display: block;
}

.zoom-lens {
    position: absolute;
    width: 170px;
    height: 170px;
    opacity: 0.4;
    background-color: #fff;
    display: none;
    cursor: crosshair;
    background-image: url("/assets/images/lens.gif");
}

.zoom-result {
    border: 1px solid #ccc;
    width: 600px;
    height: 600px;
    position: absolute;
    left: 593px;
    top: 0;
    background-repeat: no-repeat;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background-color: white;
    z-index: 1000;
}

/* Product Q&A Section Styles */
.product-qa-section {
    margin-top: 20px;
    padding: 20px 0;
    padding-bottom: 0px;
}

.product-qa-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0F1111;
    margin-bottom: 15px;
    margin-top: 0;
}

.qa-question {
    padding: 8px 12px;
    font-size: 14px;
    background-color: #E0F3FF;
    border: 0px solid #E0F3FF;
    color: #2162A1;
    border-radius: 20px;
    align-items: center;
    display: inline-flex;
    height: auto;
    text-align: left;
    margin: 3px;
    cursor: pointer;
}

.qa-question:hover {
    background: #cae7ff;
    border-color: #007bff;
}

.qa-question .question-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
    color: #2162A1;
    font-weight: 500;
}

.qa-question i {
    color: #007bff;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.qa-question:hover i {
    transform: translateX(3px);
}


/* Modifier Select Dropdown Styling */
.merege_select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1.5px solid #bfc9d1;
    background: #f8fafc;
    font-size: 1.08em;
    color: #222;
    margin-bottom: 10px;
    transition: border 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    outline: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg width='16' height='16' fill='gray' xmlns='http://www.w3.org/2000/svg'><path d='M4 6l4 4 4-4'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
    padding-right: 36px;
}

.merege_select:focus {
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 0 0 2px #cce4ff;
}

.merege_select option {
    padding: 8px 12px;
    font-size: 1em;
    color: #222;
    background: #fff;
}

.cart-message {
    margin-bottom: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 1.05em;
    display: none;
}

.cart-message.error {
    background: #ffeaea;
    color: #b00;
    border: 1px solid #f5c2c7;
    font-size: 12px;
    padding: 5px;
    line-height: 20px;
    margin-top: 15px;
}

.cart-message.success {
    background: #eaffea;
    color: #218838;
    border: 1px solid #b7e4c7;
    font-size: 12px;
    padding: 5px;
    line-height: 20px;
    margin-top: 15px;
}


#sticky-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    align-self: start;
}

.sticky-panel {
    position: sticky;
    top: 20px;
    height: auto;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-right: 10px;
    background: #fff;
    z-index: 10;
    margin-top: 0;
}

/* Ensure the product info form takes full width */
.sticky-panel .product-info {
    width: 100%;
    padding: 20px 0;
}

/* Add smooth scrolling to the sticky panel */
.sticky-panel::-webkit-scrollbar {
    width: 6px;
}

.sticky-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.sticky-panel::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.sticky-panel::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.wishlist_link {
    border-top: 1px solid #d5d9d9;
    margin-top: 15px;
    padding-top: 15px;
}

.wishlist_link .wishlist_link_a,
.wishlist_link .wishlist_link_a_login {
    color: #000;
    text-decoration: none;
    border: solid 1px #888c8c;
    width: 100%;
    display: table;
    border-radius: 7px;
    padding: 7px 15px;
    font-size: 13px;
    text-align: center;
}

.offer_list {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #888c8c;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.offer_list .offer_list_label {
    font-size: 16px;
    font-weight: 600;
    color: #0F1111 !important;
}

.offer_list .offer_details {
    font-size: 13px;
    line-height: 24px;
}

.left-details .offer_list {
    position: relative;
    padding-left: 60px;
}

.left-details .offer_list:before {
    content: '';
    background: url(/assets/images/offer.png) no-repeat top left;
    width: 40px;
    height: 40px;
    position: absolute;
    background-size: cover;
    left: 10px;
    top: 50%;
    margin-top: -20px;
}

.left-details .store-inline {
    font-size: 11px;
    font-weight: 400;
}

.pre-booking {
    border-bottom: 1px solid #d5d9d9;
    padding-bottom: 15px;
    margin-top: 15px;
}

.pre-booking span {
    display: table;
    font-weight: 700;
    margin-bottom: 5px;
}

.pre-booking select {
    width: 100%;
    border: 1px solid #888c8c;
    border-radius: 5px;
    padding: 5px;
}

.retail-layout .product-content .product-info .right-detail .offer-box {
    display: flex;
    align-items: center;
    gap: 17px;
}

.retail-layout .product-content .product-info .right-detail .offer-box:empty {
    display: none;
}

.retail-layout .product-content .product-info .right-detail .offer-label {
    margin: 0px;
    line-height: normal;
    margin-left: auto
}

.retail-layout .product-content .product-info .right-detail .offer_list {
    width: auto;
    border: 0px;
    margin: 0px;
    padding: 0px;
}

.retail-layout .product-content .product-info .right-detail .offer_list .pickup_icon {
    display: inline-flex;
    background-color: #fff;
    color: #000;
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: unset;
    position: relative;
    z-index: 1;
    border: solid 1px #000;
    margin: 0px;
    align-items: center;
    line-height: 10px;
}

.retail-layout .product-content .product-info .right-detail .offer_list .pickup_icon.retail-layout .add-to-cart-form .pickup_icon:before {
    font-size: 12px;
}

.retail-layout .product-gallery .h1 {
    display: none;
}

.retail-layout .product-gallery .search-page-link {
    display: none;
}

.retail-layout .product-content .product-info .right-detail .h1 {
    display: none;
}

.retail-layout .product-content .product-info .right-detail .product-price {
    border: 0px;
    margin: 0px;
    flex-wrap: wrap;
}

.retail-layout .product-content .product-info .right-detail .alert {
    width: unset;
}

.retail-layout .mobile-cta-qty {
    display: none;
}

.selected-filters {
    display: none;
}

.no-shipping {
    color: #d97706;
    font-size: 12px;
    background: #fffbeb;
    display: table;
    padding: 4px 8px;
    border-radius: 3px;
    padding-left: 26px;
    position: relative;
    margin-top: 5px;
}

.no-shipping::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23d97706' d='M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E");
    color: #f59e0b;
    position: absolute;
    left: 7px;
}

.scrollable-section .owl-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
}

.scrollable-section .owl-carousel .owl-item {
    flex: 0 0 auto;
    width: 100%;
    transition: transform 0.3s ease;
}

.scrollable-section .owl-carousel .owl-stage {
    display: flex;
    transition: all 0.5s ease;
}

.scrollable-section .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.scrollable-section .owl-carousel .owl-nav button {
    background-color: #ccc;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

.scrollable-section .owl-carousel .owl-dots {
    text-align: center;
    margin-top: 10px;
}

.scrollable-section .owl-carousel .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #999;
    margin: 0 5px;
    border-radius: 50%;
}

.scrollable-section .owl-carousel .owl-dot.active {
    background: #333;
}

.scrollable-section .slider-heading {
    font-size: 20px;
    width: 100%;
    grid-column: span 2;
    padding-bottom: 0px;
    margin-bottom: 15px;
    margin-top: 0px;
    font-weight: 700;
}

.scrollable-section .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 4px;
    display: none;
}

.scrollable-section {
    max-width: 1464px;
    margin: 0 auto;
    border-top: 0px solid #d5d9d9;
    padding-top: 30px;
    margin-top: 30px;
}

.scrollable-section .slider-outer {}


.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-backdrop {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    background: #fff;
    width: 95%;
    max-width: 1400px;
    height: 75%;
    display: flex;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    position: relative;
    overflow: auto;
}

.lightbox-left {
    width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
}

.zoom-container {
    overflow: hidden;
    position: relative;
    width: auto;
    height: 100%;
    touch-action: none;
}

.lightbox-image {
    width: auto;
    height: 100%;
    transition: transform 0.2s ease;
    cursor: zoom-in;
    will-change: transform;
}

.lightbox-image.zoomed {
    cursor: zoom-out;
    transform: scale(2);
    transition: transform 0.2s ease;
}

.lightbox-right {
    width: 25%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid #eee;
    position: relative;
}

.close {
    position: absolute;
    top: 0px;
    right: 14px;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    z-index: 10;
}

.lightbox .product-info {
    margin-top: 5px;
}

.lightbox .product-info h2 {
    font-size: 17px;
    margin-bottom: 15px;
}

.lightbox-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lightbox-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.lightbox-thumbs img.active {
    border-color: #007bff;
}

#backBtn.lightbox-back-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 24px;
    font-size: 15px;
    cursor: pointer;
    display: none;
    font-weight: bolder;
    color: #131010;
}

.wishlist-message {
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInDown 0.3s ease-out;
    position: relative;
}

.wishlist-message-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-left: 4px solid #2E7D32;
}

.wishlist-message-error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    border-left: 4px solid #c62828;
}

.wishlist-message .message-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.wishlist-message .message-content i {
    margin-right: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

.wishlist-message .message-content span {
    flex: 1;
    line-height: 1.4;
}

.wishlist-message .message-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.wishlist-message .message-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wishlist-message .message-close i {
    font-size: 12px;
    margin: 0;
}

/* Animation for message appearance */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Wishlist Button Styles - Heart Only Color Change */
.wishlist_link_a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: #ffffff;
    color: #666666;
    position: relative;
}

.wishlist_link_a:not(.added):hover {
    background: #f8f9fa;
    color: #333333;
    border-color: #d0d0d0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wishlist_link_a.added {
    background: #ff4757;
    color: #ffffff;
    border-color: #ff4757;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    transform: scale(1.02);
}

.wishlist_link_a.added:hover {
    background: #ff3742;
    color: #ffffff;
    border-color: #ff3742;
    transform: scale(1.02) translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.wishlist_link_a i {
    font-size: 16px;
}

/* Heart icon states - Black when not added, Red when added */
.wishlist_link_a .fa-heart-o {
    color: #333333;
    /* Black color for outline heart */
}

.wishlist_link_a .heart-filled {
    color: #ffffff;
    /* White color for filled heart on red background */
    animation: heartBeat 0.6s ease-in-out;
}

/* Loading state */
.wishlist_link_a .fa-spinner {
    animation: spin 1s linear infinite;
    color: #666666;
}

/* Error state */
.wishlist_link_a .fa-exclamation-triangle {
    color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

/* Disabled state */
.wishlist_link_a:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Animations */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Modifier Accordion Styles */
.modifier-accordion {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modifier-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
    font-size: 13px;
}

.modifier-group-header:hover {
    background: #e9ecef;
}

.modifier-group-header.expanded {
    background: #3e4650;
    color: #fff;
    border-bottom-color: #3e4650;
}

.modifier-group-header.expanded .group-name,
.modifier-group-header.expanded .expand-icon {
    color: #fff;
}

.modifier-group-header.expanded:hover {
    background: #505661;
}

.modifier-group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: #fff;
}

.modifier-group-content.expanded {
    max-height: none;
    overflow-y: visible;
    background: #fff;
    transition: none;
}

.modifier-group-content.expanded .mdgrp_name_man {
    font-size: 12px;
    border: solid 1px #e9ecef;
    padding: 10px;
    font-weight: 500;
    margin: 0px;
}

.modifier-group-content .option_list {
    margin: 0;
    padding: 10px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}

.modifier-group-content .option_list li {
    display: flex;
    gap: 0px;
    font-size: 14px;
    border: solid 1px #888c8c;
    padding: 0px;
    line-height: 20px;
    border-radius: 4px;
    align-items: baseline;
    align-content: baseline;
}

.modifier-group-content .option_list li.active {
    border: 1px solid #2162a1 !important;
    outline: 2px solid #2162a1;
    background: #edf8ff;
}

.modifier-group-content .option_list li label {
    cursor: pointer;
    position: relative;
    height: 100%;
    display: table;
    width: 100%;
}

.modifier-group-content .option_list li .check {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    display: none;
}

.modifier-group-content .option_list li .check input[type=checkbox],
.modifier-group-content .option_list li .check input[type=radio] {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    line-height: normal;
}

.modifier-group-content .option_list li .option_item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modifier-group-content .option_list li .option_item .label {
    font-weight: 500;
    color: #333;
    cursor: pointer;
    padding: 5px;
    padding-bottom: 0px;
    font-size: 11px;
    line-height: 16px;
    min-height: 35px;
}

.modifier-item-img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    margin: 0 auto;
    border-bottom: solid 1px #888c8c;
    padding: 15px;
}

.modifier-group-content .option_list li .option-outofstock {
    color: #dc3545;
    font-size: 12px;
    font-weight: 500;
    margin: 0px;
    padding: 5px;
    line-height: 12px;
}

.modifier-group-content .option_list li .option_price.otp-modi-price {
    text-align: left;
    font-weight: 600;
    color: #007bff;
    font-size: 11px;
    padding: 5px;
    line-height: 16px;
}

/* Wishlist Section Styles (for recently viewed products) */
.wishlist-outer-container {
    padding: 20px 20px;
    margin-top: 0px;
    border-radius: 8px;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.wishlist-section {
    margin: 0;
    width: 100%;
    padding: 20px 0px;
    background: #fff;
    border-radius: 0px;
    box-shadow: none;
}

/* Override retail.css margin-left for wishlist section */
.wishlist-section .product-grid {
    margin-left: 0 !important;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 0px;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wishlist-header h2 {
    color: #333;
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
    border: 0px;
}

.wishlist-section .product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}

.wishlist-section .product-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.wishlist-section .img-box {
    background: #fff;
    text-align: Center;
    position: relative;
}

.wishlist-section .img-box .product-name {
    align-content: center;
    font-size: 15px;
    padding: 10px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    font-size: 22px;
    font-weight: 600;
}

.wishlist-section .img-box .product-image {
    width: auto;
    height: 288px;
    object-fit: cover;
    background: #fff;
    margin: 0 auto;
}

.wishlist-section .product-info {
    padding: 15px;
    display: table;
}

.wishlist-section .product-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 46px;
    height: auto;
}

.wishlist-section .product-price .p-price {
    font-size: 21px;
    position: relative;
    margin-left: 0px !important;
    line-height: 24px;
}

.wishlist-section .product-price .p-price .currency-symbol {
    font-size: 12px;
    top: -6px;
    display: inline;
    position: relative;
}

.wishlist-section .product-price .p-price .fraction {
    font-size: 12px;
    top: -6px;
    display: inline;
    position: relative;
    margin-left: 2px;
}

.wishlist-section .product-card .product-rating-listing {
    display: flex;
}

.wishlist-section .product-card .product-rating-listing a {
    display: flex;
}

.wishlist-section .add-to-cart-form {
    position: relative;
    margin: 15px;
}

.wishlist-section .add-to-cart-btn {
    margin-top: auto;
    font-size: 14px !important;
    box-shadow: unset !important;
    display: block;
    width: 100%;
    padding: 0 12px 0 12px !important;
    line-height: normal;
    background: #183528 !important;
    border: 0px;
    line-height: 30px;
    height: auto;
    letter-spacing: .1px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    position: relative;
}

.wishlist-section .add-to-cart-btn:hover {
    background: rgba(24, 53, 40, 0.9) !important;
    text-decoration: none;
}

.wishlist-section .add-to-cart-btn.disabled {
    background: #ccc !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.wishlist-section .cart-loader {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    vertical-align: middle;
    display: none;
}

.wishlist-section .cart-success-message {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px;
    border-radius: 4px;
    margin-top: 8px;
    text-align: center;
    font-size: 12px;
    position: absolute;
    right: 10px;
    bottom: 50px;
    z-index: 10;
    display: none;
}

/* Responsive styles for wishlist section */

/* Similar Products Section - ProductRecommSlider Styling */
.similar-products-section {
    padding: 20px 20px;
    margin-top: 0px;
    border-radius: 8px;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
}

.similar-products-section .item .owl-img-wrapper {
    background: #fff;
    width: 100%;
    height: auto;
    order: 1
}

.similar-products-section .item .book1.sld1 {
    text-align: left !important;
    order: 2;
}

.similar-products-section .item .book1.sld1 a {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0rem;
    color: #2162a1;
    text-decoration: none;
    padding: 10px 10px 5px 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 54px;
}

.similar-products-section .item:hover .book1.sld1 a:hover {
    color: #0c3353;
}

.similar-products-section .item .book5.sld3 {
    text-align: left !important;
    text-decoration: none;
    order: 4
}

.similar-products-section .item .book5.sld3 a {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0rem;
    color: #000;
    text-decoration: none;
    padding: 0px 10px 0px 10px;
    display: table;
    width: 100%;
}

.similar-products-section .item .product-rating-listing {
    order: 3;
    padding: 5px 10px;
    margin: 0px;
}

.similar-products-section .item .product-rating-listing .rating-count {
    margin: 0px;
}

.similar-products-section .item .span_price_wb span {
    font-size: 21px;
    position: relative;
    margin-left: 0px !important
}

.similar-products-section .item .span_price_wb span .currency-symbol {
    font-size: 12px;
    top: -7px;
    display: inline;
    position: relative;
}

.similar-products-section .item .span_price_wb span .fraction {
    font-size: 12px;
    top: -7px;
    display: inline;
    position: relative;
    margin-left: 2px;
}

.similar-products-section .item .span_price_wb .discount-price {
    font-size: 21px;
    position: relative;
    margin-left: 0px !important;
}

.similar-products-section .item .span_price_wb .discount-price .currency-symbol {
    font-size: 12px;
    top: -7px;
    display: inline;
    position: relative;
}

.similar-products-section .item .span_price_wb .discount-price .fraction {
    font-size: 12px;
    top: -7px;
    display: inline;
    position: relative;
    margin-left: 2px;
}

.similar-products-section .item .product_offer {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #c45500;
    color: #fff;
    font-size: 13px;
    padding: 3px 7px;
    border-radius: 3px;
}

.similar-products-section .span_price_wb.price-offer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.similar-products-section .span_price_wb.price-offer .p-price {
    font-size: 13px;
    color: #565959;
    text-decoration: line-through;
}

.similar-products-section .span_price_wb.price-offer .p-price span.currency-symbol {
    top: 0px;
}

.similar-products-section .span_price_wb.price-offer .p-price span.fraction {
    top: 0px;
}

.similar-products-section .span_price_wb.price-offer .price-off {
    font-size: 14px;
    line-height: 20px;
    color: #0f1111;
    display: none;
}

.similar-products-section .item {
    display: grid;
}

.similar-products-section .bookbtn1 {
    order: 4;
}

.no-image .no-image-product-name {
    align-content: center;
    font-size: 22px;
    padding: 10px;
    text-align: center;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.similar-products-section .owl-carousel .owl-nav {
    margin: 0px;
}

.similar-products-section .owl-carousel .owl-nav button.owl-prev {
    border: solid 1px #888c8c !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    margin: 0px !important;
    position: absolute !important;
    top: 50% !important;
    left: 0px !important;
    background: #fff !important;
    margin-top: -17px !important;
}

.similar-products-section .owl-carousel .owl-nav button.owl-prev:hover {
    border: solid 1px #1c89e3 !important;
    background: #edf8ff !important;
    color: #000 !important
}

.similar-products-section .owl-carousel .owl-nav button.owl-next {
    border: solid 1px #888c8c !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    margin: 0px !important;
    position: absolute !important;
    top: 50% !important;
    right: 0px !important;
    background: #fff !important;
    margin-top: -17px !important;
}

.similar-products-section .owl-carousel .owl-nav button.owl-next:hover {
    border: solid 1px #1c89e3 !important;
    background: #edf8ff !important;
    color: #000 !important
}

.owl-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    visibility: hidden;
}

.owl-carousel.owl-loaded {
    visibility: visible;
    display: block;
    overflow: visible;
}

/* FBT (Frequently Bought Together) Section - ProductRecommSlider Styling */
.fbt-products-section {
    padding: 20px;
    margin-top: 40px;
    border-radius: 0px;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
}

/* Slider Heading */
.similar-products-section .slider-heading {
    color: #333;
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
    border: 0px;
}

.fbt-products-section .slider-heading {
    color: #333;
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
    border: 0px;
}

/* Slider Container */
.similar-products-section .slider-outer {
    padding: 0px;
}

.fbt-products-section .slider-outer {
    padding: 0px;
}

/* Owl Carousel Styling */
.similar-products-section .owl-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
}

/*.fbt-products-section .owl-carousel {display: grid; gap: 20px; grid-template-columns: repeat(5, 1fr); overflow-x: auto; scroll-behavior: smooth;-webkit-overflow-scrolling: touch;padding: 10px 0;}*/
.similar-products-section .owl-carousel .item {
    flex: 0 0 auto;
    background: #fff;
    border: 0px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fbt-products-section .owl-carousel .item {
    flex: 0 0 auto;
    background: #fff;
    border: 0px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Product Image */
.similar-products-section .owl-img-wrapper {
    position: relative;
    background: #fff;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.similar-products-section .item-img {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.similar-products-section .slide2img {
    width: auto !important;
    height: 288px;
    object-fit: cover;
    background: #fff;
    margin: 0 auto;
    display: block;
    --tw-duration: .5s;
    transition-duration: .5s;
}

.similar-products-section .product-image-wrapper {
    overflow: hidden;
}

.similar-products-section .owl-carousel .item:hover .slide2img {
    --tw-scale-x: 105%;
    --tw-scale-y: 105%;
    --tw-scale-z: 105%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
}

.fbt-products-section .item {
    display: grid;
}

.fbt-products-section .owl-img-wrapper {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    overflow: hidden;
}

.fbt-products-section .item-img {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.fbt-products-section .product-image-wrapper {
    display: flex;
    justify-content: center;
}

.fbt-products-section .slide2img {
    width: auto !important;
    height: 288px;
    object-fit: cover;
    background: #fff;
    margin: 0 auto;
    display: block;
    --tw-duration: .5s;
    transition-duration: .5s;
}

.fbt-products-section .owl-carousel .item:hover .slide2img {
    --tw-scale-x: 105%;
    --tw-scale-y: 105%;
    --tw-scale-z: 105%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
}

/* Product Info */
.similar-products-section .prod-price {
    padding: 15px;
}

.similar-products-section .book1.sld1 {
    margin-bottom: 8px;
    order: 1
}

.similar-products-section .book5.sld3 {
    margin-bottom: 8px;
    order: 2
}

.similar-products-section .span_price_wb {
    font-size: 18px;
    color: #000;
    font-weight: 600;
}

.similar-products-section .span_price_wb1 {
    text-decoration: line-through;
    color: #888;
    margin-left: 8px;
    font-size: 14px;
}

.similar-products-section .span_price_wb2.price-off {
    color: #e53935;
    font-size: 12px;
    font-weight: 500;
    display: none;
}

.fbt-products-section .prod-price {
    padding: 15px;
}

.fbt-products-section .span_price_wb3 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0rem;
    color: #000;
    text-decoration: none;
    padding: 10px 10px 5px 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 53px;
    height: auto;
    text-align: left;
}

.fbt-products-section .book5.sld3 {
    margin-bottom: 8px;
    order: 4;
    padding: 0px 10px;
}

.fbt-products-section .book1.sld1 {
    margin-bottom: 8px;
    order: 2
}

.fbt-products-section .book5.sld3 a {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0rem;
    color: #000;
    text-decoration: none;
    padding: px 10px 0px 10px;
    display: table;
    width: 100%;
}

.fbt-products-section .product-rating-listing {
    order: 3;
    padding: 5px 12px;
    align-items: center;
}

.fbt-products-section .product-rating-listing .rating-count {
    margin: 0px;
}

.fbt-products-section .span_price_wb {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fbt-products-section .span_price_wb .discount-price {
    font-size: 21px;
    position: relative;
    margin-left: 0px !important;
}

.fbt-products-section .span_price_wb .discount-price .currency-symbol {
    font-size: 12px;
    top: -7px;
    display: inline;
    position: relative;
}

.fbt-products-section .span_price_wb .discount-price .fraction {
    font-size: 12px;
    top: -7px;
    display: inline;
    position: relative;
    margin-left: 2px;
}

.fbt-products-section .span_price_wb .p-price {
    font-size: 21px;
    position: relative;
    margin-left: 0px !important;
}

.fbt-products-section .span_price_wb .p-price .currency-symbol {
    font-size: 12px;
    top: -7px;
    display: inline;
    position: relative;
}

.fbt-products-section .span_price_wb .p-price .fraction {
    font-size: 12px;
    top: -7px;
    display: inline;
    position: relative;
    margin-left: 2px;
}

.fbt-products-section .price-off {
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.fbt-products-section .price-offer .discount-price {
    font-size: 21px;
    position: relative;
    margin-left: 0px !important;
}

.fbt-products-section .price-offer .p-price {
    font-size: 13px;
    color: #565959;
    text-decoration: line-through;
}

.fbt-products-section .price-offer .p-price .currency-symbol {
    top: 0px;
}

.fbt-products-section .price-offer .p-price .fraction {
    top: 0px;
}

.fbt-products-section .price-offer .price-off {
    font-size: 14px;
    line-height: 20px;
    color: #0f1111;
    display: none;
}

.fbt-products-section .span_price_wb1 {
    text-decoration: line-through;
    color: #888;
    margin-left: 8px;
    font-size: 14px;
}

.fbt-products-section .bookbtn1 {
    order: 4;
    margin: 15px 10px;
}

.fbt-products-section .owl-carousel .owl-nav {
    margin: 0px;
}

.fbt-products-section .owl-carousel .owl-nav button.owl-prev {
    border: solid 1px #888c8c !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    margin: 0px !important;
    position: absolute !important;
    top: 50% !important;
    left: 0px !important;
    background: #fff !important;
    margin-top: -17px !important;
}

.fbt-products-section .owl-carousel .owl-nav button.owl-prev:hover {
    border: solid 1px #1c89e3 !important;
    background: #edf8ff !important;
    color: #000 !important
}

.fbt-products-section .owl-carousel .owl-nav button.owl-next {
    border: solid 1px #888c8c !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    margin: 0px !important;
    position: absolute !important;
    top: 50% !important;
    right: 0px !important;
    background: #fff !important;
    margin-top: -17px !important;
}

.fbt-products-section .owl-carousel .owl-nav button.owl-next:hover {
    border: solid 1px #1c89e3 !important;
    background: #edf8ff !important;
    color: #000 !important
}

/* Offer Label */
.similar-products-section .product_offer {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.fbt-products-section .product_offer {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Add to Cart Button */
.similar-products-section .bookbtn1 {
    display: block;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    text-align: center;
    margin: 15px;
    transition: background 0.2s ease;
}

.similar-products-section .bookbtn1:hover {
    background: #0056b3;
    color: #fff;
}

.fbt-products-section .bookbtn1 {
    display: block;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    text-align: center;
    margin: 15px;
    transition: background 0.2s ease;
}

.fbt-products-section .bookbtn1:hover {
    background: #0056b3;
    color: #fff;
}


/* Q&A Loading State */
.qa-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.qa-loading p {
    margin: 0;
    font-size: 14px;
    color: #888;
}

/* Search this page link styles */
.search-page-link {
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.search-page-anchor {
    font-size: 12px;
    color: #2162a1;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-page-anchor:hover {
    color: #0c3353;
    text-decoration: underline;
}

/* Ask AI Assistant section styles */
.ask-ai-assistant-section {
    display: inline-block;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    width: 80%;
    margin: 5px;
}

.ai-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 8px 15px;
}

.ai-input-container:focus-within {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.ask-ai-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 8px 0;
    background: transparent;
    color: #333;
}

.ask-ai-input::placeholder {
    color: #999;
}

.ask-ai-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 8px;
}

.ask-ai-submit-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.ask-ai-submit-btn i {
    color: white;
    font-size: 12px;
}

.ask-ai-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media screen and (min-width: 1281px) and (max-width: 1500px) {
    .fbt-products-section {
        padding: 0px 20px;
    }

    .modifier-group-content .option_list {
        grid-template-columns: repeat(4, 1fr);
    }

    .retail-layout .product-content .product-info .right-detail .offer_list .pickup_icon {
        width: 110px;
        font-size: 8px;
        font-weight: 500;
        text-transform: capitalize;
    }

    .pickup_icon::before {
        margin-right: 9px;
        width: 60px;
        height: 36px;
    }

    .product-detail-card {
        grid-template-columns: 38% 60%;
        gap: 25px;
    }

    .retail-layout .product-content .product-info .right-detail {
        padding: 10px;
    }

    .product-detail-wrapper {
        margin-bottom: 40px;
    }

    .fbt-products-section .owl-carousel .item {
        width: 252px;
    }

    .gallery-thumbs {
        left: 0px;
    }

    .product-gallery {
        padding-left: 50px;
    }

    .retail-layout .product-content .product-info {
        grid-template-columns: 68% 29%;
        gap: 25px;
    }

    .product-gallery.no-gallery #image-container {
        display: block;
        width: 498px;
        height: 498px;
    }

    .product-gallery #image-container {
        display: block;
        width: 448px;
        height: 448px;
    }

    .wishlist-section .product-grid {
        gap: 10px;
    }

    .fbt-products-section .slide2img {
        height: 254px;
    }

    .similar-products-section .slide2img {
        height: 254px;
    }

    .wishlist-section .img-box .product-image {
        height: 253px;
    }
}

@media screen and (min-width: 1150px) and (max-width: 1280px) {
    .product-detail-wrapper {
        padding: 0px 10px;
    }

    .product-gallery #image-container {
        width: 361px;
        height: 361px;
    }

    .product-detail-card {
        grid-template-columns: 38% 61%;
        gap: 10px;
    }

    .retail-layout .product-content .product-info {
        grid-template-columns: 63% 35%;
        gap: 13px;
    }

    .product-info h1 {
        font-size: 20px;
    }

    .product-description .heading {
        font-size: 18px;
    }

    .offer_list .offer_list_label {
        font-size: 18px;
    }

    .product-modifiers h3 {
        font-size: 18px;
    }

    .retail-layout .product-grid .wbrecomm_fbt {
        max-width: 1090px;
    }

    .zoom-result {
        left: 417px;
        width: 361px;
        height: 361px;
    }

    .modifier-group-content .option_list {
        grid-template-columns: repeat(3, 1fr);
    }

    .wishlist-section .product-grid {
        gap: 10px;
    }

    .product-gallery.no-gallery #image-container {
        width: 100%;
        height: auto;
    }

    .product-gallery.no-gallery #image-container {
        width: 100%;
        height: auto;
    }

    .product-gallery.no-gallery .no-image-placeholder.main-image {
        width: 423px;
        height: 423px;
    }

    .fbt-products-section .slide2img {
        height: 211px;
    }

    .similar-products-section .slide2img {
        height: 211px;
    }

    .wishlist-section .img-box .product-image {
        height: 210px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1149px) {
    .product-detail-card {
        grid-template-columns: 38% 61%;
        gap: 10px;
    }

    .retail-layout .product-content .product-info {
        grid-template-columns: 58% 40%;
        gap: 10px;
    }

    .product-info h1 {
        font-size: 20px;
    }

    .product-description .heading {
        font-size: 18px;
    }

    .offer_list .offer_list_label {
        font-size: 18px;
    }

    .product-modifiers h3 {
        font-size: 18px;
    }

    .fbt-products-section .owl-carousel {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }

    .wishlist-section .product-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px
    }

    .retail-layout .product-content .product-info .right-detail {
        padding: 15px;
    }

    .product-gallery.no-gallery #image-container {
        width: 100%;
        height: Auto;
    }

    .product-gallery .no-image-placeholder.main-image {
        height: 368px;
    }

    .product-gallery #image-container {
        width: 100%;
        height: auto;
    }

    .fbt-products-section .slide2img {
        height: 186px;
    }

    .similar-products-section .slide2img {
        height: 186px;
    }

    .wishlist-section .img-box .product-image {
        height: 185px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1023px) {
    .product-detail-card {
        grid-template-columns: 38% 60%;
        gap: 18px;
    }

    .retail-layout .product-content .product-info {
        grid-template-columns: 58% 39%;
        gap: 17px;
    }

    .retail-layout .product-content .product-info .right-detail {
        padding: 10px;
    }

    .product-info h1 {
        font-size: 20px;
    }

    .product-description .heading {
        font-size: 18px;
    }

    .offer_list .offer_list_label {
        font-size: 18px;
    }

    .product-modifiers h3 {
        font-size: 18px;
    }

    .fbt-products-section .owl-carousel {
        gap: 10px;
        grid-template-columns: repeat(3, 1fr);
    }

    .fbt-products-section .owl-img-wrapper {
        height: auto;
    }

    .fbt-products-section .slide2img {
        width: 100%;
        height: auto;
    }

    .zoom-result {
        display: none;
    }

    .product-gallery #image-container {
        width: 100%;
        height: auto;
    }

    .product-gallery.no-gallery #image-container {
        width: 100%;
        height: auto;
    }

    .product-gallery.no-gallery .no-image-placeholder.main-image {
        padding: 50px 20px;
        width: 356px;
        height: 356px;
    }

    .product-gallery .no-image-placeholder.main-image {
        width: 300px;
        height: 300px;
        font-size: 20px;
    }

    .wishlist-section .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .fbt-products-section .slide2img {
        height: 305px;
    }

    .similar-products-section .slide2img {
        height: 305px;
    }

    .wishlist-section .img-box .product-image {
        height: 304px;
    }
}

@media screen and (max-width: 768px) {
    .modifier-group-content.expanded {
        max-height: none;
    }

    .fbt-products-section .owl-carousel {
        gap: 10px;
        grid-template-columns: repeat(3, 1fr);
    }

    .fbt-products-section .owl-img-wrapper {
        height: auto;
    }

    .fbt-products-section .slide2img {
        width: 100%;
        height: auto;
    }

    .zoom-result {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 990px) {
    .breadcrumb {
        display: none;
    }

    .product-detail-wrapper {
        margin-top: 0px;
    }

    .product-detail-card {
        grid-template-columns: repeat(1, 1fr);
        padding: 8px;
        gap: 20px;
    }

    .product-gallery {
        height: auto;
        position: relative;
        top: unset !important;
        overflow: unset;
        padding-left: 0px;
        padding-bottom: 0px;
    }

    .product-gallery img {
        width: 100%;
        height: auto;
    }

    .gallery-thumbs {
        display: flex;
        gap: 8px;
        margin-top: 12px;
        position: relative;
        bottom: 0px;
        left: 0px;
        top: unset;
        flex-direction: unset;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .retail-layout .product-content .product-info {
        grid-template-columns: 64% 33%;
        gap: 20px;
    }

    .retail-layout .product-content .product-info .right-detail .h1 {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details h1 {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .search-page-link {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .product-price {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .offer-label {
        display: none;
    }

    .retail-layout .product-gallery .h1 {
        font-size: 16px;
        margin-bottom: 0px;
        font-weight: 500;
        color: #222;
        line-height: normal;
        display: table;
        padding: 5px;
    }

    .retail-layout .product-gallery .search-page-link {
        margin: 0px;
        padding: 0px 5px;
        display: table;
    }

    .product-description {
        border: 0px;
    }

    .wishlist-section .product-grid {
        overflow: auto;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .wishlist-section .product-card {
        width: 232px;
    }

    .lightbox-content {
        flex-flow: column;
    }

    .lightbox-left {
        width: 100%;
        order: 2;
    }

    .lightbox-left {
        width: 100%;
    }

    .lightbox-image {
        width: 100%;
        height: auto;
    }

    .lightbox-right {
        width: 100%;
        order: 1;
    }

    .lightbox .product-info {
        margin: 0px;
        padding: 0px;
    }

    .product-gallery #image-container {
        width: 100%;
        height: auto;
        margin-top: 10px;
    }

    .product-gallery.no-gallery #image-container {
        width: 100%;
        height: auto;
    }

    .product-gallery.no-gallery .no-image-placeholder.main-image {
        padding: 50px 20px;
    }

    .fbt-products-section .slide2img {
        height: 231px;
    }

    .similar-products-section .slide2img {
        height: 231px;
    }

    .wishlist-section .img-box .product-image {
        height: 230px;
    }
}

/* Responsive adjustments for search and AI assistant */
@media (max-width: 768px) {
    .search-page-anchor {
        font-size: 13px;
    }

    .ai-input-container {
        padding: 6px 12px;
    }

    .ask-ai-input {
        font-size: 13px;
        padding: 6px 0;
    }

    .ask-ai-submit-btn {
        width: 28px;
        height: 28px;
    }

    .ask-ai-submit-btn i {
        font-size: 11px;
    }
}

@media screen and (min-width: 540px) and (max-width: 767px) {
    .breadcrumb {
        display: none;
    }

    .product-detail-wrapper {
        margin-top: 0px;
        padding: 0px 10px;
    }

    .product-detail-card {
        grid-template-columns: repeat(1, 1fr);
        padding: 8px;
        gap: 20px;
    }

    .product-gallery {
        height: auto;
        position: relative;
        top: unset !important;
        overflow: unset;
        padding-left: 0px;
        padding-bottom: 0px;
    }

    .product-gallery img {
        width: 100%;
        height: auto;
    }

    .gallery-thumbs {
        display: flex;
        gap: 8px;
        margin-top: 12px;
        position: relative;
        bottom: 0px;
        left: 0px;
        top: unset;
        flex-direction: unset;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .retail-layout .product-content .product-info {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .retail-layout .product-content .product-info .right-detail {
        position: relative;
        top: unset !important;
        order: 1;
        border: 0px;
        padding: 10px 0px;
    }

    .retail-layout .product-content .product-info .left-details {
        order: 2;
    }

    .retail-layout .product-content .product-info .right-detail .h1 {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details h1 {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .search-page-link {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .product-price {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .offer-label {
        display: none;
    }

    .retail-layout .product-gallery .h1 {
        font-size: 16px;
        margin-bottom: 0px;
        font-weight: 500;
        color: #222;
        line-height: normal;
        display: table;
        padding: 5px;
    }

    .retail-layout .product-gallery .search-page-link {
        display: table;
        padding: 0px 5px;
        margin: 0px;
    }

    .lightbox-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
        width: 100%;
        border-radius: 0px;
        box-shadow: unset;
    }

    .lightbox-left {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #f9f9f9;
        padding: 10px;
        width: 100%;
    }

    .lightbox-left img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .lightbox-right {
        flex: 0 0 auto;
        padding: 10px;
        background: #fff;
        border-top: 1px solid #eee;
        width: 100%;
    }

    #productTitle {
        display: none;
    }

    #lightboxThumbs {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-top: 10px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
        white-space: nowrap;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    #lightboxThumbs img {
        flex: 0 0 auto;
        height: 60px;
        width: auto;
        scroll-snap-align: start;
        border-radius: 4px;
    }

    .lightbox,
    .lightbox-backdrop,
    .lightbox-content {
        height: 100vh;
        max-height: 100vh;
    }

    #backBtn.lightbox-back-btn {
        display: block;
    }

    #closeBtn {
        display: none;
    }

    .product-gallery.no-gallery #image-container {
        width: 100%;
        height: 100%;
        margin-top: 10px;
    }

    .product-gallery.no-gallery .no-image-placeholder.main-image {
        padding: 50px 20px;
    }

    .product-gallery #image-container {
        position: relative;
        width: 489px;
        height: 489px;
    }

    .wishlist-section .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fbt-products-section .slide2img {
        height: 237px;
    }

    .similar-products-section .slide2img {
        height: 237px;
    }

    .wishlist-section .img-box .product-image {
        height: 236px;
    }

    .ask-ai-assistant-section {
        grid-column: span 3;
        position: sticky;
        left: 5px;
        width: 80%;
    }
}

@media screen and (min-width: 320px) and (max-width: 539px) {
    .breadcrumb {
        display: none;
    }

    .product-detail-wrapper {
        margin-top: 0px;
        padding: 0px;
    }

    .product-detail-card {
        grid-template-columns: repeat(1, 1fr);
        padding: 8px 10px;
        gap: 10px;
    }

    .product-gallery {
        height: auto;
        position: relative;
        top: unset !important;
        overflow: unset;
        padding-left: 0px;
        padding-bottom: 0px;
    }

    .product-gallery img {
        width: auto;
        height: 100%;
    }

    .product-gallery #image-container {
        width:100%;
		height:auto;
    }

    .gallery-thumbs {
        display: flex;
        gap: 8px;
        margin-top: 12px;
        position: relative;
        bottom: 0px;
        left: 0px;
        top: unset;
        flex-direction: unset;
        width: 100%;
        text-align: center;
        justify-content: start;
        overflow: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .gallery-thumbs img {
        flex: 0 0 auto;
        scroll-snap-align: start;
        margin: 4px !important;
        background: #fff !important;
        padding: 0px !important;
        outline: unset;
        border: 0px;
        flex-shrink: 0;
        width: 60px !important;
        height: 60px !important;
    }

    .gallery-thumbs img.active {
        background: #fff !important;
    }

    .retail-layout .product-content .product-info {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .retail-layout .product-content .product-info .right-detail {
        position: relative;
        top: unset !important;
        order: 1;
        border: 0px;
        padding: 0px 0px 10px 0px;
    }

    .retail-layout .product-content .product-info .right-detail .cta {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details {
        order: 2;
    }

    .retail-layout .product-content .product-info .right-detail .h1 {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details h1 {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .product-info-header {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .search-page-link {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .product-price {
        display: none;
    }

    .retail-layout .product-content .product-info .left-details .offer-label {
        display: none;
    }

    .retail-layout .mobile-cta-qty {
        display: grid;
        gap: 10px;
        justify-content: space-between;
        position: sticky;
        bottom: 0px;
        z-index: 100;
        background: #fff;
        padding: 20px;
        grid-template-columns: repeat(1, 1fr);
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 18px);
        border-top: 1px solid #d5d9d9;
        order: 3;
    }

    .retail-layout .mobile-cta-qty .cta {
        grid-template-columns: repeat(1, 1fr);
        flex-shrink: 0;
    }

    .retail-layout .mobile-cta-qty .cta button[type=submit] {
        background: #183528;
        border-radius: 6px;
        font-size: 18px;
        padding: 10px;
        border: 0px;
        color: #fff;
        border-radius: 8px;
    }

    .retail-layout .mobile-cta-qty .cta button[type=submit]:hover {
        background: rgba(24, 53, 40, 0.9) !important;
    }

    .retail-layout .product-gallery .h1 {
        font-size: 15px;
        font-weight: 400;
        color: #565959;
        line-height: normal;
        display: table;
        padding: 5px;
        line-height: 20px;
        margin: 0px;
    }

    .retail-layout .product-gallery .review-summary-header {
        padding: 5px;
        padding-top: 0px;
        display: flex;
    }

    .modifier-mobile {
        border-bottom: 1px solid #d5d9d9;
        padding-bottom: 15px;
        display: none;
    }

    .modifier-mobile .product-modifiers h3 {
        font-size: 15px;
        font-weight: 700;
    }

    .modifier-mobile .product-modifiers ul {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(170px, 1fr);
        overflow-x: auto;
        width: 350px;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
        padding: 0 0 15px 0;
        list-style: none;
    }

    .modifier-mobile .product-modifiers ul li {
        border: solid 1px #888c8c;
        border-radius: 8px;
        padding: 15px;
        grid-template-columns: repeat(1, 1fr);
        font-size: 15px;
        gap: 0px;
    }

    .modifier-mobile .product-modifiers ul li .check {
        display: none;
    }

    .modifier-mobile .product-modifiers ul li.active {
        box-shadow: inset 0 0 0 .2rem #2162a1;
    }

    .product-detail-card .right-detail .product-price {
        font-size: 28px;
        padding-left: 0px;
        font-weight: 500;
        line-height: 38px;
    }

    .retail-layout .product-content .product-info .right-detail .offer_list {
        width: 100%;
    }

    .product-detail-card .right-detail .product-price span.currency-symbol {
        font-size: 15px;
        top: -9px;
    }

    .product-detail-card .right-detail .product-price span.fraction {
        font-size: 15px;
        top: -9px;
    }

    .retail-layout .product-content .product-info .right-detail .in-stock-message {
        margin-top: 0px;
    }

    .retail-layout .product-content .product-info .right-detail .offer-box {
        margin-top: 15px;
    }

    .qty-row input[type="number"] {
        width: 100%;
        margin: 0px;
        padding: 10px 15px;
        border-radius: 8px;
        border: 1px solid #d5d9d9;
        background: #f0f2f2;
        font-size: 16px;
        line-height: 20px;
    }

    .retail-layout .product-content .product-info .right-detail .cta button[type=submit] {
        font-size: 16px;
        padding: 11px;
    }

    .retail-layout .product-content .product-info .right-detail .cta .back-btn {
        font-size: 16px;
        padding: 11px;
    }

    .product-description .heading {
        border-bottom: 1px solid #d5d9d9;
        padding-bottom: 15px;
    }

    /*.wishlist_link{display:none;}*/
    .product-description {
        border-top: 0px;
        font-size: 15px;
        line-height: 23px;
    }

    .scrollable-section {
        padding: 0px 20px;
    }

    .non_merge {
        margin-top: 15px;
    }

    .product-modifiers ul li .option_price.otp-modi-price {
        text-align: left;
    }

    .product-gallery .loader {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -37px;
        margin-top: -12px;
    }

    .product-modifiers ul li {
        font-size: 15px;
    }

    .lightbox-content {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 70px);
        overflow: hidden;
        width: 100%;
        border-radius: 0px;
        box-shadow: unset;
        padding-bottom: 110px !important;
    }

    .lightbox-left {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #f9f9f9;
        padding: 10px;
        width: 100%;
    }

    .lightbox-left img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .lightbox-right {
        flex: 0 0 auto;
        padding: 10px;
        background: #fff;
        border-top: 1px solid #eee;
        width: 100%;
        position: absolute;
        bottom: 0px;
    }

    #productTitle {
        display: none;
    }

    #lightboxThumbs {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-top: 10px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
        white-space: nowrap;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    #lightboxThumbs img {
        flex: 0 0 auto;
        height: 60px;
        width: auto;
        scroll-snap-align: start;
        border-radius: 4px;
    }

    /*.lightbox, .lightbox-backdrop, .lightbox-content { height: 100vh; max-height: 100vh; }*/
    #backBtn.lightbox-back-btn {
        display: block;
    }

    #closeBtn {
        display: none;
    }

    .lightbox .product-info {
        margin-top: 0px;
        padding-top: 0px !important;
    }

    .fbt-products-section {
        padding: 10px;
        margin-top: 10px;
    }

    .fbt-products-section .slider-heading {
        font-size: 18px;
        line-height: 22px;
    }

    .wishlist-outer-container {
        padding: 20px 10px;
    }

    .wishlist-header h2 {
        font-size: 18px;
        line-height: 22px;
    }

    .wishlist-section .product-grid {
        overflow: auto;
        display: flex;
    }

    .wishlist-section .product-card {
        width: 250px;
        flex: 0 0 auto;
    }

    .retail-layout .product-content .product-info .right-detail .offer_list .pickup_icon {
        line-height: 15px;
        width: 100%;
        font-size: 10px;
        text-transform: capitalize;
    }

    .retail-layout .product-content .product-info .right-detail .offer-label {
        margin-right: 15px;
    }

    .product-modifiers {
        width: 100%;
    }

    .modifier-group-content .option_list {
        grid-template-columns: repeat(3, 1fr);
    }

    .offer_list .offer_details {
        line-height: 18px;
    }

    .best-seller-badge-slider {
        font-size: 10px;
        padding: 3px 5px;
        top: 5px;
        right: 5px;
    }

    .fbt-products-section .owl-carousel {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-gallery.no-gallery #image-container {
        width: 100%;
        height: auto;
        margin-top: 10px;
    }

    .product-gallery.no-gallery .no-image-placeholder.main-image {
        padding: 50px 20px;
    }

    .similar-products-section {
        padding: 20px 10px;
    }

    .qa-questions {
        display: grid;
        overflow: auto;
        width: 95vw;
        grid-template-columns: repeat(3, 1fr);
    }

    .qa-question {
        white-space: nowrap;
    }

    .fbt-products-section .slide2img {
        height: 165px;
    }

    .similar-products-section .slide2img {
        height: 165px;
    }

    .wishlist-section .img-box .product-image {
        height: 165px;
    }

    .ask-ai-assistant-section {
        grid-column: span 3;
        position: sticky;
        left: 5px;
        width: 330px;
    }

    .product-qa-section {
        margin-top: 0px;
    }

    .out-of-stock-message {
        margin-bottom: 0px;
    }

    .product-content #scroll-sentinel:empty {
        display: none;
    }

    .fbt-products-section .span_price_wb .p-price {
        font-size: 20px;
        line-height: 28px;
        font-weight: 400;
    }

    .fbt-products-section .span_price_wb .p-price .currency-symbol {
        font-size: 13px;
        top: -4px;
    }

    .fbt-products-section .span_price_wb .p-price .fraction {
        font-size: 13px;
        top: -4px;
    }

    .fbt-products-section .book1.sld1 {
        margin-bottom: 0px;
    }
}

/* Product Info Header Container */
.product-info-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3px 0;
    gap: 10px;
}

/* Review Summary Header Styles */
.review-summary-header {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-summary-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #000;
}

.ratings-link-container {
    flex-shrink: 0;
}

.total-reviews-link {
    color: #2162a1;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
}

.total-reviews-link:hover {
    color: #0c3353;
    text-decoration: underline;
}

.total-reviews-link .rating-stars .fa-solid.fa-star {
    color: #ff6200
}

.total-reviews-link .rating-stars .fa-regular.fa-star {
    color: #ff6200
}

.total-reviews-link .rating-stars .fa-solid.fa-star-half-stroke {
    color: #ff6200
}

.review-summary-content .average-rating {
    font-weight: 600;
    color: #000;
    cursor: pointer;
    margin-bottom: unset;
}

.rating-stars {
    display: flex;
    gap: 2px;
    cursor: pointer;
}

.rating-stars i {
    color: #ffc107;
    font-size: 14px;
}

.rating-stars .fa-solid.fa-star {
    color: #ff6200;
    font-size: 12px;
}

.rating-stars .fa-regular.fa-star {
    color: #ff6200;
    font-size: 12px;
}

.rating-stars .fa-solid.fa-star-half-stroke {
    color: #ff6200;
    font-size: 12px;
}

.dropdown-arrow {
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
}


/* Only show separator when review summary is present */
.product-info-header:has(.review-summary-header) .search-page-link::before {
    content: "|";
    color: #ccc;
    margin-right: 8px;
}

/* Dropdown Styles */
.review-summary-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 300px;
    opacity: 0;
    display: none;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s ease;
}

.review-summary-header:hover .review-summary-dropdown {
    opacity: 1;
    display: block;
    transform: translateY(0) scale(1);
}

.review-summary-content:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.review-summary-dropdown .rating-bar {
    box-shadow: unset;
    margin-bottom: 10px;
}

/* Prevent dropdown from opening when hovering over ratings link */
.ratings-link-container:hover~.review-summary-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
}

/* Prevent dropdown from opening when hovering over product-reviews-section */
#product-reviews-section:hover~.review-summary-header .review-summary-dropdown,
#product-reviews-section .review-summary-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.dropdown-content {
    padding: 15px;
}

/* Dropdown header styles */
.dropdown-header {
    text-align: center;
    padding-bottom: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    transition-delay: 0.1s;
    display: flex;
    gap: 10px;
    align-items: center;
}

.review-summary-header:hover .dropdown-header {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.dropdown-stars i {
    color: #ff6200;
    font-size: 16px;
}

.dropdown-rating-text {
    font-size: 14px;
    color: #000;
}

.dropdown-global-ratings {
    font-size: 14px;
    color: #595959;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #d5d9d9;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

/* Dropdown footer styles */
.dropdown-footer {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.see-reviews-link {
    color: #2162a1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.see-reviews-link:hover {
    text-decoration: underline;
    color: #0c3353;
}

.see-reviews-link .fa {
    font-size: 12px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-label {
    font-size: 14px;
    color: #666;
    min-width: 40px;
}

.bar-container {
    flex: 1;
    height: 17px;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #888c8c;
}

.bar-fill {
    height: 100%;
    background-color: #ff6200;
    width: 0% !important;
    /* Start with 0 width */
    transition: width 0.8s ease-in-out;
    transition-delay: calc(var(--bar-index) * 0.1s);
    /* Staggered animation */
}

/* Trigger animation when dropdown becomes visible */
.review-summary-header:hover .review-summary-dropdown .bar-fill {
    width: var(--target-width) !important;
}

/* Add subtle glow effect to bars during animation */
.bar-fill {
    box-shadow: 0 0 0 rgba(255, 193, 7, 0);
    transition: width 0.8s ease-in-out, box-shadow 0.3s ease;
}

.review-summary-header:hover .bar-fill {
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

/* Animate percentage text with a slight delay */
.rating-percentage {
    opacity: 0;
    transition: opacity 0.5s ease;
    transition-delay: calc(var(--bar-index) * 0.1s + 0.3s);
}

.review-summary-header:hover .rating-percentage {
    opacity: 1;
}

.rating-percentage {
    font-size: 12px;
    color: #666;
    min-width: 30px;
    text-align: right;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .review-summary-content {
        font-size: 13px;
        gap: 6px;
    }

    .rating-stars i {
        font-size: 12px;
    }

    .review-summary-dropdown {
        min-width: 250px;
    }

    .dropdown-content {
        padding: 12px;
    }

    .search-page-link {
        align-self: flex-start;
    }

    .wishlist-section .img-box .product-name {
        font-size: 17px;
    }

    .no-image .no-image-product-name {
        font-size: 17px;
    }
}

/* By Cursor - 2026-09-24 - FAQ sits above customer reviews on mobile; hide the empty slot on desktop */
#product-qa-mobile-slot:empty {
    display: none;
}

@media screen and (max-width: 767px) {
    #product-qa-mobile-slot .product-qa-section {
        margin-top: 0;
        padding: 12px 10px 0;
    }

    #product-qa-mobile-slot .qa-questions {
        width: 100%;
    }
}