/* ============================================================
   Qawmi Shop – Modern Product Detail Design (Nourish-inspired)
   ============================================================ */

.single-product .product-detail-container.qs-product-detail-modern {
    background-color: #ffffff;
    color: #1f1f1f;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.45;
}

.qs-product-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 40px 64px;
}

.qs-product-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: start;
}

/* --- Left Column: Gallery --- */
.qs-product-gallery-col {
    min-width: 0;
    position: sticky;
    top: 24px;
}

.qs-product-gallery-col .bb-product-gallery-wrapper {
    width: 100%;
}

.qs-product-gallery-col .bb-product-gallery {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px;
    align-items: flex-start;
}

.qs-product-gallery-col .bb-product-gallery-thumbnails {
    order: -1;
    width: 78px !important;
    flex: 0 0 78px !important;
    margin: 0 !important;
}

.qs-product-gallery-col .bb-product-gallery-thumbnails .slick-list {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

.qs-product-gallery-col .bb-product-gallery-thumbnails .slick-track {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    width: 78px !important;
    height: auto !important;
    transform: none !important;
}

.qs-product-gallery-col .bb-product-gallery-thumbnails .slick-slide {
    width: 78px !important;
    height: 78px !important;
    min-height: 78px !important;
    display: block !important;
    float: none !important;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qs-product-gallery-col .bb-product-gallery-thumbnails .slick-slide > div {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.qs-product-gallery-col .bb-product-gallery-thumbnails .slick-slide.slick-current,
.qs-product-gallery-col .bb-product-gallery-thumbnails .slick-slide:hover {
    border-color: #9c7a4c !important;
    box-shadow: 0 0 0 1px #9c7a4c;
}

.qs-product-gallery-col .bb-product-gallery-thumbnails .slick-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 8px;
}

.qs-product-gallery-col .bb-product-gallery-images {
    flex: 1 1 auto;
    min-width: 0;
    width: calc(100% - 92px) !important;
    background: transparent;
    border: 1px solid #eceef2;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 !important;
}

.qs-product-gallery-col .bb-product-gallery-images .slick-slide a {
    display: block;
    aspect-ratio: 1 / 1.02;
    background: transparent;
}

.qs-product-gallery-col .bb-product-gallery-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qs-product-gallery-col .slick-arrow {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 3;
}

/* --- Right Column: Details --- */
.qs-product-detail-modern .product-details-content,
.qs-product-detail-modern .qs-product-gallery-col,
.qs-product-detail-modern .qs-product-details-col {
    border: none !important;
    border-left: 0 !important;
    border-right: 0 !important;
    padding-left: 0 !important;
    box-shadow: none !important;
}

.qs-product-details-col {
    padding-top: 2px;
    min-width: 0;
}

.qs-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    border: 1px solid #e5e7eb;
    color: #6b5235;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.qs-product-title {
    font-size: 40px !important;
    font-weight: 500 !important;
    letter-spacing: -0.025em;
    color: #161616;
    line-height: 1.15 !important;
    margin: 0 0 10px !important;
}

.qs-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    color: #4a4a4a;
}

.qs-rating-row .anchor-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #1a1a1a;
}

.qs-rating-row .product-rating-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.qs-rating-divider {
    color: #d4d0c8;
    margin: 0 2px;
}

.qs-meta-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #555555;
}

.qs-meta-inline a {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
}

.qs-meta-inline a:hover {
    text-decoration: underline;
}

.qs-product-description {
    font-size: 14.5px;
    color: #4a4a4a;
    line-height: 1.55;
    margin-bottom: 20px;
}

.qs-product-description p:last-child {
    margin-bottom: 0;
}

/* --- Attribute Swatches (Nourish Pill Cards) --- */
.qs-product-details-col .pr_switch_wrap {
    margin-bottom: 18px;
}

.qs-product-details-col .attribute-swatches-wrapper {
    margin-bottom: 14px;
}

.qs-product-details-col .attribute-swatches-wrapper .attribute-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #444444;
    margin-bottom: 10px;
    display: block;
}

.qs-product-details-col .attribute-values ul.text-swatch {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.qs-product-details-col .attribute-values ul.text-swatch li {
    margin: 0 !important;
}

.qs-product-details-col .attribute-values ul.text-swatch li label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    background: #ffffff;
    border: 1.25px solid #e4e2dc;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: #1f1f1f;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
}

.qs-product-details-col .attribute-values ul.text-swatch li label:hover {
    border-color: #b7c4b3;
}

.qs-product-details-col .attribute-values ul.text-swatch li input:checked + span,
.qs-product-details-col .attribute-values ul.text-swatch li.selected label,
.qs-product-details-col .attribute-values ul.text-swatch li label:has(input:checked) {
    background: #f5f7f3;
    border-color: #4c6c47;
    border-width: 1.5px;
    color: #161616;
}

.qs-product-details-col .attribute-values ul.text-swatch li label:has(input:checked)::after {
    content: "✓";
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #4c6c47;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 6px;
}

.qs-product-details-col .attribute-values ul.text-swatch li input {
    display: none;
}

/* --- AliExpress-style Unified Offer & Price Box --- */
.qs-ali-price-card {
    border: 1px solid #ff3355;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: transparent;
}

.qs-ali-price-card.no-offer {
    border-color: #e5e7eb;
}

.qs-ali-offer-bar {
    background: linear-gradient(90deg, #ff2b52 0%, #ff3d60 100%);
    color: #ffffff;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.qs-ali-offer-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.qs-ali-offer-ends {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

.qs-ali-offer-ends strong {
    font-weight: 700;
    color: #ffffff;
}

.qs-ali-price-body {
    padding: 14px 16px;
}

.qs-ali-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.qs-ali-main-price .product-price,
.qs-ali-main-price .product-price ins {
    font-size: 30px;
    font-weight: 800;
    color: #161616;
    line-height: 1.1;
    text-decoration: none;
}

.qs-ali-main-price .product-price del {
    display: none;
}

.qs-ali-discount-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.qs-ali-save-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #fff0f2;
    color: #d91c42;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    line-height: 1.3;
}

.qs-ali-old-price {
    font-size: 13px;
    color: #8c8c8c;
    text-decoration: line-through;
    line-height: 1.2;
}

.qs-ali-tax-note {
    font-size: 11.5px;
    color: #6b6b6b;
    margin-top: 6px;
}
.qs-flash-sale-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, #fdf7ed 0%, #f7ebd7 100%);
    border: 1.25px solid #e6d2b5;
    border-radius: 12px;
    padding: 11px 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.qs-flash-sale-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.qs-flash-badge {
    background-color: #59350b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.qs-flash-text {
    font-size: 13px;
    color: #2c2c2c;
    font-weight: 500;
}

.qs-flash-timer {
    display: flex;
    align-items: center;
    gap: 7px;
}

.qs-flash-timer .timer-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #6b5235;
}

.qs-flash-timer .expire-countdown {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

.qs-flash-timer .expire-countdown .countdown-section,
.qs-flash-timer .expire-countdown .digits {
    background: #1c3522;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 5px;
    min-width: 26px;
    text-align: center;
    display: inline-block;
}

/* --- Purchase Box (Price Cards + Benefits + Qty & Add to Cart) --- */
.qs-purchase-box {
    background-color: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 16px 16px;
    margin-bottom: 22px;
}

.qs-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.qs-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    padding: 9px 13px;
}

.qs-plan-card.active {
    background: transparent;
    border: 1.5px solid #4c6c47;
}

.qs-popular-badge {
    position: absolute;
    top: -9px;
    right: 10px;
    background-color: #4c6c47;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
}

.qs-plan-type {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 2px;
}

.qs-plan-price {
    font-size: 20px;
    font-weight: 700;
    color: #161616;
    line-height: 1.1;
    margin-bottom: 2px;
}

.qs-plan-price .product-price,
.qs-plan-price .product-price ins {
    font-size: 20px;
    font-weight: 700;
    color: #161616;
    text-decoration: none;
}

.qs-plan-price .product-price del {
    display: none;
}

.qs-plan-price-old {
    font-size: 17px;
    font-weight: 600;
    color: #777777;
    text-decoration: line-through;
    line-height: 1.1;
    margin-bottom: 2px;
}

.qs-plan-sub {
    font-size: 11px;
    line-height: 1.25;
    color: #666666;
}

/* Benefits Checklist */
.qs-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
}

.qs-benefits-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #2c2c2c;
}

.qs-benefit-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #4c6c47;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
}

.qs-benefits-list li.qs-benefit-out-of-stock .qs-benefit-check {
    background-color: #dc2626;
}

.qs-benefits-list .product-stock.out-of-stock,
.qs-benefits-list .summary-meta .product-stock.out-of-stock {
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
    background-color: #fef2f2 !important;
}

.qs-benefits-list .product-stock.out-of-stock label,
.qs-benefits-list .product-stock.out-of-stock .number-items-available {
    color: #dc2626 !important;
    font-weight: 700;
}

/* Quantity Stepper + Add to Cart Row */
.qs-purchase-box .cart-form {
    border-bottom: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.qs-purchase-box .product-button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.qs-purchase-box .product-button .quantity {
    margin: 0 !important;
    flex-shrink: 0;
}

.qs-purchase-box .product-button .quantity .label-quantity {
    display: none !important;
}

.qs-purchase-box .product-button .quantity .qty-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 108px;
    background: #ffffff;
    border: 1.25px solid #dcd6ca;
    border-radius: 8px;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

.qs-purchase-box .product-button .quantity .qty-box .svg-icon {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 36px !important;
    height: 46px !important;
    flex: 0 0 36px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    color: #333333;
    transition: background 0.15s ease;
}

.qs-purchase-box .product-button .quantity .qty-box .svg-icon svg {
    width: 13px !important;
    height: 13px !important;
    display: block !important;
    margin: 0 auto !important;
}

.qs-purchase-box .product-button .quantity .qty-box .svg-icon:hover {
    background: #f5f2ec;
}

.qs-purchase-box .product-button .quantity .qty-box input.qty {
    width: 34px !important;
    flex: 1 1 34px;
    height: 46px !important;
    line-height: 46px !important;
    border: none !important;
    text-align: center !important;
    font-size: 14px;
    font-weight: 600;
    color: #161616;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield;
}

.qs-purchase-box .product-button .quantity .qty-box input.qty::-webkit-outer-spin-button,
.qs-purchase-box .product-button .quantity .qty-box input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qs-after-hotline-buttons {
    margin-top: 12px;
}

.qs-after-hotline-buttons .product-loop-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qs-purchase-box .product-button button.add-to-cart-button[name="add_to_cart"] {
    flex: 1 1 200px;
    height: 48px;
    background-color: #59350b !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0 !important;
    transition: background-color 0.2s ease;
}

.qs-purchase-box .product-button button.add-to-cart-button[name="add_to_cart"]:hover {
    background-color: #472a08 !important;
}

.qs-purchase-box .product-button button.add-to-cart-button[name="checkout"] {
    width: 100%;
    height: 44px;
    background-color: #1c3522 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 0 !important;
}

.qs-purchase-box .product-button .product-loop-buttons {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.qs-purchase-box .product-button .product-loop-buttons .btn,
.qs-purchase-box .product-button .product-loop-buttons a {
    font-size: 12.5px;
    padding: 6px 10px;
    border-radius: 8px;
}

/* --- Hotline Order Box --- */
.qs-hotline-order-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background-color: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.qs-purchase-box .qs-hotline-order-box {
    margin-top: 14px;
    margin-bottom: 0;
}

.qs-hotline-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

.qs-hotline-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qs-hotline-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
}

.qs-hotline-hours {
    font-size: 11.5px;
    color: #6b6b6b;
}

.qs-hotline-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #4c6c47 !important;
    border: 1.25px solid #4c6c47;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.qs-hotline-call-btn:hover {
    background-color: #4c6c47;
    color: #ffffff !important;
}

/* --- SKU / Category / Share Card --- */
.qs-product-meta-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #ece8e0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.qs-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.qs-meta-row .qs-meta-label {
    min-width: 72px;
    font-weight: 600;
    color: #555555;
    flex-shrink: 0;
}

.qs-meta-row .qs-meta-val {
    color: #1f1f1f;
    word-break: break-word;
}

.qs-meta-row .qs-meta-val a {
    color: #4c6c47;
    text-decoration: none;
    font-weight: 500;
}

.qs-meta-row .qs-meta-val a:hover {
    text-decoration: underline;
}

.qs-share-buttons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qs-share-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #e5e7eb;
    color: #333333 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none !important;
    padding: 0;
    transition: all 0.15s ease;
}

.qs-share-btn:hover {
    background: #4c6c47;
    border-color: #4c6c47;
    color: #ffffff !important;
}

/* --- 3-Column Trust Badges Row --- */
.qs-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    padding: 4px 0 22px;
    border-bottom: 1px solid #e9e5dd;
}

.qs-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qs-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.qs-trust-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.qs-trust-title {
    font-size: 13px;
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 2px;
}

.qs-trust-sub {
    font-size: 11.5px;
    color: #6b6b6b;
}

/* --- Right-Column Accordions (below Trust Badges) --- */
.qs-accordion-list {
    display: flex;
    flex-direction: column;
}

.qs-accordion-item {
    border-bottom: 1px solid #e9e5dd;
}

.qs-accordion-trigger {
    width: 100%;
    padding: 16px 2px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #1f1f1f;
    text-align: left;
    cursor: pointer;
}

.qs-accordion-plus {
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    line-height: 1;
    transition: transform 0.2s ease;
}

.qs-accordion-content {
    display: none;
    padding: 0 2px 16px;
    font-size: 13.5px;
    color: #555555;
    line-height: 1.55;
}

.qs-accordion-item.open .qs-accordion-content {
    display: block;
}

/* --- Buy Together & Save (Bundle Section) --- */
.qs-bundle-section {
    margin-top: 40px;
    padding-top: 0;
    border-top: none;
}

.qs-bundle-header {
    text-align: center;
    margin-bottom: 28px;
}

.qs-bundle-pill {
    display: inline-block;
    background-color: transparent;
    border: 1px solid #d5e0d1;
    color: #4c6c47;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.qs-bundle-title {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #161616;
    margin: 0 0 6px;
}

.qs-bundle-subtitle {
    font-size: 14.5px;
    color: #5a5a5a;
    margin: 0;
}

.qs-bundle-card {
    background-color: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    display: block;
}

.qs-bundle-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
    align-items: center;
}

.qs-bundle-items {
    display: flex;
    align-items: stretch;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.qs-bundle-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 500;
    color: #8c6d46;
}

.qs-bundle-item {
    position: relative;
    flex: 0 0 212px;
    min-width: 212px;
    scroll-snap-align: start;
    background: transparent;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: border-color 0.18s ease;
    text-align: left;
}

.qs-bundle-variations {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 4px 0 10px;
}

.qs-bundle-attr-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qs-bundle-attr-label {
    font-size: 10.5px;
    font-weight: 600;
    color: #555555;
    line-height: 1.2;
}

.qs-bundle-attr-select {
    width: 100%;
    height: 30px;
    border: 1px solid #d5d7dc;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    color: #161616;
    background-color: #ffffff;
    cursor: pointer;
}

.qs-bundle-item.active {
    border-color: #4c6c47;
}

.qs-bundle-check-ui {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #c9c3b8;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #ffffff;
}

.qs-bundle-item.active .qs-bundle-check-ui {
    background-color: #4c6c47;
    border-color: #4c6c47;
}

.qs-bundle-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
    margin-bottom: 12px;
}

.qs-bundle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qs-bundle-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7c5e3c;
    border: 1px solid #e5e7eb;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.qs-bundle-item-name {
    font-size: 14.5px;
    font-weight: 600;
    color: #161616;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qs-bundle-item-meta {
    font-size: 12px;
    color: #6b6b6b;
    margin-bottom: 8px;
}

.qs-bundle-item-price {
    font-size: 15px;
    font-weight: 700;
    color: #1f1f1f;
    margin-top: auto;
}

.qs-bundle-summary {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.qs-bundle-summary-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 6px;
}

.qs-bundle-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.qs-bundle-final-price {
    font-size: 28px;
    font-weight: 700;
    color: #161616;
    line-height: 1.1;
}

.qs-bundle-original-price {
    font-size: 15px;
    color: #8c8c8c;
    text-decoration: line-through;
}

.qs-bundle-savings-badge {
    background-color: #eef3ec;
    color: #4c6c47;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.qs-bundle-cta-btn {
    width: 100%;
    height: 46px;
    background-color: #59350b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.qs-bundle-cta-btn:hover:not(:disabled) {
    background-color: #472a08;
}

.qs-bundle-cta-btn:disabled {
    background-color: #bfb5a8;
    cursor: not-allowed;
}

.qs-bundle-guarantee {
    width: 100%;
    text-align: center;
    font-size: 11.5px;
    color: #6b6b6b;
}

.qs-bundle-dots {
    display: none;
}

/* --- Native Product Card Grid inside Related Products --- */
.qs-related-native-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.qs-related-native-grid .product-inner {
    min-width: 0;
    height: 100%;
}

/* --- 5-Tab Horizontal Info Section --- */
.qs-info-tabs-section {
    margin-top: 40px;
    padding-top: 0;
    border-top: none;
}

.qs-tabs-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1.5px solid #ece8e0 !important;
    margin-bottom: 28px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    flex-wrap: nowrap;
}

.qs-tabs-nav::-webkit-scrollbar {
    display: none;
}

.qs-tabs-nav .nav-link.qs-tab-btn {
    background: transparent !important;
    border: none !important;
    border-bottom: 2.5px solid transparent !important;
    border-radius: 0 !important;
    padding: 12px 18px !important;
    margin-bottom: 0;
    font-size: 14.5px;
    font-weight: 500;
    color: #666666 !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.qs-tabs-nav .nav-link.qs-tab-btn.active {
    color: #161616 !important;
    font-weight: 600;
    border-bottom-color: #4c6c47 !important;
}

.qs-tab-count {
    font-size: 11px;
    font-weight: 600;
    background: #f4f1ea;
    color: #555555;
    padding: 2px 7px;
    border-radius: 999px;
}

.qs-tabs-nav .nav-link.qs-tab-btn.active .qs-tab-count {
    background: #eef3ec;
    color: #4c6c47;
}

.qs-info-tabs-section .tab-content {
    padding: 0;
    border: none;
}

.qs-info-tabs-section .ck-content {
    font-size: 14.5px;
    color: #4a4a4a;
    line-height: 1.65;
}

.qs-info-tabs-section .tp-product-details-additional-info table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ebe6dc;
    border-radius: 12px;
    overflow: hidden;
}

.qs-info-tabs-section .tp-product-details-additional-info table th,
.qs-info-tabs-section .tp-product-details-additional-info table td {
    padding: 13px 18px;
    font-size: 13.5px;
    border-bottom: 1px solid #ebe6dc;
}

.qs-info-tabs-section .tp-product-details-additional-info table th {
    width: 240px;
    font-weight: 600;
    color: #333333;
    background: transparent;
}

.qs-info-tabs-section .tp-product-details-additional-info table td {
    color: #4a4a4a;
    background: transparent;
}

/* --- Frequently Bought Together Section (4-Card Grid) --- */
.qs-fbt-section {
    margin-top: 40px;
    padding-top: 0;
    border-top: none;
}

.qs-fbt-container-box {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px 24px 24px;
    background: transparent;
}

.qs-fbt-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ece8e0;
}

/* --- Related Products Section (4-Card Grid) --- */
.qs-related-section {
    margin-top: 40px;
    padding-top: 0;
    border-top: none;
}

.qs-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.qs-fbt-title {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #161616;
    margin: 0 0 4px;
}

.qs-fbt-subtitle {
    font-size: 14px;
    color: #5a5a5a;
    margin: 0;
}

.qs-view-all-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #4c6c47 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.qs-view-all-link:hover {
    text-decoration: underline !important;
}

.qs-fbt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.qs-fbt-card {
    background: transparent;
    border: 1px solid #ebe6dc;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qs-fbt-card:hover {
    border-color: #cfc6b6;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.qs-fbt-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: transparent;
    overflow: hidden;
    display: block;
}

.qs-fbt-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qs-fbt-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffffff;
    border: 1px solid #e6dac8;
    color: #6b5235;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

.qs-fbt-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.qs-fbt-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666666;
    margin-bottom: 6px;
}

.qs-fbt-name {
    font-size: 15px;
    font-weight: 600;
    color: #161616 !important;
    text-decoration: none !important;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qs-fbt-name:hover {
    color: #4c6c47 !important;
}

.qs-fbt-meta {
    font-size: 12.5px;
    color: #6b6b6b;
    margin-bottom: 14px;
}

.qs-fbt-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.qs-fbt-price {
    font-size: 15.5px;
    font-weight: 700;
    color: #161616;
}

.qs-fbt-price del {
    font-size: 12px;
    font-weight: 400;
    color: #8c8c8c;
    margin-left: 4px;
}

.qs-fbt-add-btn {
    background: transparent;
    color: #4c6c47;
    border: 1.25px solid #4c6c47;
    border-radius: 8px;
    padding: 6px 13px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}

.qs-fbt-add-btn:hover {
    background: #4c6c47;
    color: #ffffff;
}

/* --- Column 3: AliExpress-style Right Sidebar Card --- */
.qs-right-sidebar-col {
    min-width: 0;
}

.qs-right-sidebar-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: transparent;
    position: sticky;
    top: 24px;
}

.qs-sidebar-section {
    padding: 12px 0;
    border-bottom: 1px solid #efefef;
}

.qs-sidebar-section:first-child {
    padding-top: 0;
}

.qs-sidebar-section:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.qs-sidebar-sold-by {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}

.qs-sidebar-sold-label {
    color: #6b6b6b;
}

.qs-sidebar-sold-name {
    font-weight: 600;
    color: #161616 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.qs-sidebar-sold-name:hover {
    text-decoration: underline !important;
}

.qs-sidebar-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qs-sidebar-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.qs-sidebar-feature-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.qs-sidebar-feature-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.qs-sidebar-feature-title {
    font-size: 13px;
    font-weight: 600;
    color: #161616;
    line-height: 1.3;
}

.qs-sidebar-feature-sub {
    font-size: 12px;
    color: #6b6b6b;
    line-height: 1.35;
    margin-top: 2px;
}

.qs-sidebar-hotline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qs-sidebar-hotline-top {
    display: flex;
    align-items: center;
    gap: 9px;
}

.qs-sidebar-hotline-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.qs-sidebar-hotline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 44px;
    border: 1.5px solid #4c6c47;
    background-color: #ffffff;
    color: #4c6c47 !important;
    border-radius: 9px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.qs-sidebar-hotline-btn svg,
.qs-sidebar-whatsapp-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.qs-sidebar-hotline-btn:hover {
    background: #4c6c47;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(76, 108, 71, 0.22);
    transform: translateY(-1px);
}

.qs-sidebar-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 44px;
    border: 1.5px solid #1f9d55;
    background-color: #1f9d55;
    color: #ffffff !important;
    border-radius: 9px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.qs-sidebar-whatsapp-btn:hover {
    background-color: #178245;
    border-color: #178245;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(31, 157, 85, 0.25);
    transform: translateY(-1px);
}

.qs-sidebar-meta-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.qs-sidebar-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.45;
}

.qs-sidebar-meta-label {
    min-width: 66px;
    font-weight: 600;
    color: #555555;
    flex-shrink: 0;
}

.qs-sidebar-meta-val {
    color: #1f1f1f;
    word-break: break-word;
}

.qs-sidebar-meta-val a {
    color: #4c6c47;
    text-decoration: none;
    font-weight: 500;
}

.qs-sidebar-meta-val a:hover {
    text-decoration: underline;
}

.qs-sidebar-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #555555;
}

.ec-upsell-bundle {
    margin-top: 32px;
    margin-bottom: 40px !important;
}

.ec-upsell-bundle > .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.qs-sidebar-widget-features {
    border-radius: 8px;
    padding: 10px 14px !important;
}

.qs-sidebar-widget-features .col {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.qs-sidebar-widget-features .site-info__item {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.qs-sidebar-widget-features .col:not(:last-child) {
    border-bottom: 1px solid #e5e7eb !important;
    padding-bottom: 8px !important;
    margin-bottom: 2px;
}

.qs-sidebar-widget-features .site-info__image img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.qs-sidebar-widget-features .site-info__title {
    font-size: 13.5px !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
}

.qs-sidebar-widget-features .site-info__desc {
    font-size: 12px !important;
    line-height: 1.3 !important;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1199px) {
    .qs-product-container {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 28px;
    }

    .qs-right-sidebar-col {
        grid-column: 1 / -1;
    }

    .qs-right-sidebar-card {
        position: static;
    }
}
@media (max-width: 960px) {
    .qs-product-page {
        padding: 20px 16px 36px;
        overflow-x: hidden;
    }

    .qs-product-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .qs-product-gallery-col {
        position: static;
    }

    .qs-bundle-card {
        padding: 18px;
    }

    .qs-bundle-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .qs-bundle-items {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .qs-bundle-items::-webkit-scrollbar {
        display: none;
    }

    .qs-bundle-item {
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: calc((100% - 10px) / 2);
        scroll-snap-align: start;
        padding: 10px;
    }

    .qs-bundle-item .qs-bundle-item-name {
        font-size: 13px;
    }

    .qs-bundle-item .qs-bundle-item-price {
        font-size: 14px;
    }

    .qs-bundle-summary {
        position: sticky;
        bottom: 8px;
        z-index: 4;
        background: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        padding: 14px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .qs-bundle-summary .qs-bundle-summary-label {
        width: 100%;
        margin-bottom: 0;
    }

    .qs-bundle-summary .qs-bundle-price-row {
        margin-bottom: 0;
    }

    .qs-bundle-summary .qs-bundle-final-price {
        font-size: 22px;
    }

    .qs-bundle-summary .qs-bundle-savings-badge {
        margin-bottom: 0;
    }

    .qs-bundle-summary .qs-bundle-cta-btn {
        height: 42px;
        margin-bottom: 2px;
    }

    .qs-bundle-plus {
        display: none;
    }

    .qs-bundle-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: -4px;
    }

    .qs-bundle-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d5cfc4;
        border: none;
        padding: 0;
    }

    .qs-bundle-dot.active {
        width: 22px;
        border-radius: 999px;
        background: #4c6c47;
    }

    .qs-related-native-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .qs-fbt-container-box {
        padding: 18px;
    }

    .qs-fbt-section .qs-fbt-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .qs-fbt-section .qs-fbt-grid::-webkit-scrollbar {
        display: none;
    }

    .qs-fbt-section .qs-fbt-card {
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: calc((100% - 10px) / 2);
        scroll-snap-align: start;
    }

    .qs-related-section .qs-fbt-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 6px;
    }

    .qs-related-section .qs-fbt-card {
        flex: 0 0 calc((100% - 12px) / 2);
        scroll-snap-align: start;
    }

    .qs-product-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .qs-product-gallery-col .bb-product-gallery {
        flex-direction: column !important;
    }

    .qs-product-gallery-col .bb-product-gallery-images {
        order: 1;
        width: 100% !important;
    }

    .qs-product-gallery-col .bb-product-gallery-thumbnails {
        order: 2;
        width: 100% !important;
        height: auto !important;
        max-height: 76px !important;
        flex: none !important;
        margin-top: 10px !important;
    }

    .qs-product-gallery-col .bb-product-gallery-thumbnails .slick-list {
        height: auto !important;
        max-height: 76px !important;
    }

    .qs-product-gallery-col .bb-product-gallery-thumbnails .slick-track {
        flex-direction: row !important;
        width: auto !important;
    }

    .qs-product-gallery-col .bb-product-gallery-thumbnails .slick-slide {
        width: 64px !important;
        height: 64px !important;
    }
}

@media (max-width: 480px) {
    .qs-product-title {
        font-size: 32px !important;
    }

    .qs-fbt-body {
        padding: 10px 11px 12px;
    }

    .qs-fbt-name {
        font-size: 13.5px;
    }

    .qs-fbt-meta {
        font-size: 11.5px;
        margin-bottom: 10px;
    }

    .qs-fbt-price {
        font-size: 14px;
        line-height: 1.2;
    }

    .qs-fbt-price del {
        display: block;
        margin-left: 0;
        font-size: 11px;
    }

    .qs-fbt-add-btn {
        padding: 5px 10px;
        font-size: 11.5px;
        flex-shrink: 0;
    }

    .qs-product-details-col .attribute-values ul.text-swatch {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .qs-product-details-col .attribute-values ul.text-swatch li label {
        padding: 8px 7px;
        font-size: 12px;
    }
}
