.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
}
.rating-input input {
    display: none;
}
.rating-input label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffc107;
}
.btn-custom-brand {
    background-color: #a8c4a2;
    color: white;
    border: none;
}
.btn-custom-brand:hover {
    background-color: #8fa88a;
    color: white;
}
.breadcrumb-section {
        padding: 0.25rem 0 0.4rem;
        margin-bottom: 0.75rem;
    }

    .breadcrumb {
        margin-bottom: 0;
    }

    .breadcrumb-item a {
        color: #a8c4a2;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .breadcrumb-item a:hover {
        color: #8dab86;
    }

    .breadcrumb-item.active {
        color: #555;
    }

    .product-detail-section {
        margin-bottom: 4rem;
    }

    .product-detail-card {
        border: none;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        background-color: #fff;
    }

    .feature-hidden {
        display: none !important;
    }

    .product-gallery {
        padding: 0.45rem 0.75rem 0.8rem;
    }

    .main-image {
        border-radius: 12px;
        overflow: visible;
        position: relative;
        z-index: 5;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        margin-bottom: 0.8rem;
        aspect-ratio: 3 / 4;
        max-height: 580px;
    }

    .main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .main-image--gallery-trigger {
        cursor: zoom-in;
    }

    .main-image--gallery-trigger:hover img {
        transform: scale(1.02);
    }

    .image-thumbnails {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .mobile-gallery-dots {
        display: none;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin: 0.35rem 0 0.6rem;
    }

    .mobile-gallery-dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        border: 0;
        background: #cfd8cf;
        padding: 0;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .mobile-gallery-dot.active {
        width: 18px;
        background: #a8c4a2;
    }

    .main-image img.mobile-swipe-left {
        animation: mobileSwipeLeft 0.25s ease;
    }

    .main-image img.mobile-swipe-right {
        animation: mobileSwipeRight 0.25s ease;
    }

    @keyframes mobileSwipeLeft {
        from { transform: translateX(18px); opacity: 0.78; }
        to { transform: translateX(0); opacity: 1; }
    }

    @keyframes mobileSwipeRight {
        from { transform: translateX(-18px); opacity: 0.78; }
        to { transform: translateX(0); opacity: 1; }
    }

    .thumbnail-item {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        position: relative;
    }

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumbnail-item.active {
        border-color: #a8c4a2;
        box-shadow: 0 3px 10px rgba(168, 196, 162, 0.3);
    }

    .thumbnail-item .video-badge {
        position: absolute;
        right: 6px;
        bottom: 6px;
        background: rgba(0,0,0,0.5);
        color: #fff;
        border-radius: 6px;
        padding: 3px 6px;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .product-info {
        padding: 2rem;
    }

    .product-info .product-title {
        font-size: 2.35rem;
        font-weight: 800;
        color: #333;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .product-meta {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .product-rating-jump {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.35rem 0.65rem;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
        border-radius: 6px;
        padding: 2px 4px;
        margin: -2px -4px;
        transition: background-color 0.2s ease;
    }

    .product-rating-jump:hover {
        background-color: rgba(168, 196, 162, 0.2);
        color: inherit;
    }

    .product-rating-jump--static {
        cursor: default;
    }

    .product-rating-jump--static:hover {
        background-color: transparent;
    }

    .product-rating-count {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .variant-key-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem !important;
    }

    .variant-value-chip {
        padding: 0.25rem 0.6rem !important;
        font-size: 0.85rem !important;
    }

    .variant-preview {
        width: 24px !important;
        height: 24px !important;
        border-radius: 4px !important;
    }

    .variant-values-list {
        gap: 0.4rem !important;
    }

    .variant-key-section {
        margin-bottom: 0.8rem !important;
    }

    .features-scroll-container {
        max-height: 450px;
        overflow-y: auto;
        padding-right: 5px;
        margin-bottom: 1rem;
    }

    .sticky-cart-footer {
        background-color: #fff;
        padding-top: 1rem;
        border-top: 1px solid #eee;

        margin-top: auto;
    }

    .mobile-cart-summary {
        display: none;
    }

    .seller-brand-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .seller-brand-card {
        border: 1px solid #e7ebef;
        background: #f9fbfc;
        border-radius: 10px;
        padding: 0.62rem 0.72rem;
        min-height: 72px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .seller-brand-label {
        font-size: 0.78rem;
        color: #7d8793;
        margin-bottom: 0.22rem;
    }

    .seller-brand-value {
        font-size: 0.95rem;
        font-weight: 700;
        color: #2d3138;
        line-height: 1.25;
    }

    .seller-rating-pill {
        margin-top: 0.25rem;
        display: inline-flex;
        align-items: center;
        padding: 0.16rem 0.48rem;
        border-radius: 999px;
        background: #fff4d6;
        color: #6b5521;
        font-size: 0.75rem;
        font-weight: 700;
        width: fit-content;
    }

    .product-rating {
        display: flex;
        align-items: center;
        margin-right: 1.5rem;
    }

    .rating-stars {
        color: #ffc107;
        margin-right: 0.5rem;
    }

    .product-category {
        color: #a8c4a2;
        font-weight: 500;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .product-price-container {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .discount-badge {
        background: linear-gradient(135deg, #ff3366, #ff5733);
        color: #fff;
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.9rem;
        margin-right: 1rem;
    }

    .old-price {
        text-decoration: line-through;
        color: #999;
        font-size: 1.2rem;
        margin-right: 1rem;
    }

    .current-price {
        font-size: 2rem;
        font-weight: 700;
        color: #333;
    }

    .stock-badge {
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .in-stock {
        background-color: #a8c4a2;
        color: #fff;
    }

    .out-of-stock {
        background-color: #f8d7da;
        color: #dc3545;
    }

    .product-description {
        margin-bottom: 2rem;
        color: #555;
        line-height: 1.6;
    }

    .quantity-control {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .quantity-label {
        font-weight: 600;
        margin-right: 1rem;
        color: #333;
    }

    .quantity-input-group {
        display: flex;
        width: 140px;
    }

    .quantity-btn {
        background-color: #f8f9fa;
        border: 1px solid #ced4da;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .quantity-btn:hover {
        background-color: #e9ecef;
    }

    .quantity-btn.minus {
        border-radius: 8px 0 0 8px;
    }

    .quantity-btn.plus {
        border-radius: 0 8px 8px 0;
    }

    .quantity-input {
        width: 60px;
        border: 1px solid #ced4da;
        border-left: none;
        border-right: none;
        height: 40px;
        text-align: center;
        font-weight: 600;
    }

    .quantity-input:focus {
        outline: none;
        box-shadow: none;
    }

    .cart-btn {
        background: linear-gradient(135deg, #a8c4a2, #8dab86);
        color: #fff;
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 6px rgba(168, 196, 162, 0.25);
    }

    .cart-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(168, 196, 162, 0.3);
        background: linear-gradient(135deg, #97b391, #7d9677);
        color: #fff;
    }

    .cart-btn:active {
        transform: translateY(0);
    }

    .cart-btn:disabled,
    .cart-btn.disabled {
        opacity: 0.55;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
        filter: grayscale(0.2);
    }

    .wishlist-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background-color: #fff;
        border: 2px solid #ced4da;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        margin-left: 1rem;
    }

    .wishlist-btn:hover {
        background-color: #f8f9fa;
        border-color: #dc3545;
        color: #dc3545;
        transform: translateY(-3px);
    }

@media (min-width: 992px) {
    .mobile-price-details {
        display: none;
    }
}

    .product-tabs-section {
        margin-bottom: 4rem;
    }

    .product-tabs {
        border-bottom: 1px solid #dee2e6;
        margin-bottom: 1.5rem;
    }

    .product-tabs .nav-link {
        color: #555;
        font-weight: 500;
        border: none;
        border-bottom: 2px solid transparent;
        padding: 0.75rem 1.5rem;
        margin-right: 1rem;
        transition: all 0.3s ease;
        border-radius: 0;
    }

    .product-tabs .nav-link:hover {
        color: #a8c4a2;
        border-bottom-color: rgba(168, 196, 162, 0.5);
    }

    .product-tabs .nav-link.active {
        color: #a8c4a2;
        background: none;
        border-bottom-color: #a8c4a2;
    }

    .product-tab-content {
        padding: 1.5rem;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .product-description-content {
        color: #555;
        line-height: 1.8;
    }

    .review-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #eee;
    }

    .rating-overview {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rating-number {
        font-size: 3rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .write-review-btn {
        background-color: #a8c4a2;
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.92rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        margin-top: 0.75rem;
        min-height: 40px;
        min-width: 7.5rem;
        transition: all 0.3s ease;
    }

    .write-review-btn:hover {
        background-color: #97b391;
        transform: translateY(-2px);
        box-shadow: 0 5px 10px rgba(168, 196, 162, 0.3);
        color: white;
    }

    .write-review-btn--login {
        min-width: 0;
        max-width: 100%;
        padding: 0.5rem 0.85rem;
        font-size: 0.88rem;
        line-height: 1.25;
        text-align: center;
    }

    .review-summary-actions {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .review-filter {
        margin-bottom: 1.5rem;
    }

    .sort-select {
        border: 1px solid #ced4da;
        border-radius: 8px;
        padding: 0.4rem 1rem;
        color: #555;
        background-color: #f8f9fa;
    }

    .review-card {
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        transition: transform 0.3s ease;
    }

    .review-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .reviewer-info {
        display: flex;
        align-items: center;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        color: #888;
        font-size: 1.2rem;
    }

    .reviewer-name {
        margin-bottom: 0.2rem;
        font-weight: 600;
        color: #333;
    }

    .review-date {
        font-size: 0.85rem;
        color: #999;
    }

    .review-rating {
        color: #ffc107;
    }

    .review-content p {
        margin-bottom: 0;
        color: #555;
        line-height: 1.6;
    }

    .load-more-reviews {
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .load-more-btn {
        background-color: transparent;
        border: 1px solid #a8c4a2;
        color: #a8c4a2;
        padding: 0.5rem 1.5rem;
        border-radius: 25px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .load-more-btn:hover {
        background-color: #a8c4a2;
        color: white;
        transform: translateY(-2px);
    }

    .related-products-section {
        margin-bottom: 4rem;
    }

    .section-title {
        font-size: 1.75rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 0.75rem;
    }

    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(135deg, #a8c4a2, #8dab86);
        border-radius: 3px;
    }

    .product-card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        background-color: #fff;
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .product-card-image {
        position: relative;
        overflow: hidden;
    }

    .product-card-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .product-card:hover .product-card-image img {
        transform: scale(1.05);
    }

    .discount-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        background: linear-gradient(135deg, #ff3366, #ff5733);
        color: white;
        padding: 0.3rem 0.6rem;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 600;
        z-index: 2;
    }

    .product-card-actions {
        position: absolute;
        bottom: -50px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        padding: 0.5rem;
        background-color: rgba(255, 255, 255, 0.9);
        transition: all 0.3s ease;
        z-index: 3;
    }

    .product-card:hover .product-card-actions {
        bottom: 0;
    }

    .product-action-btn {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background-color: white;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 0.3rem;
        color: #555;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .product-action-btn:hover {
        background-color: #a8c4a2;
        color: white;
        transform: translateY(-3px);
    }

    .product-card-body {
        padding: 1.25rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .product-category {
        color: #a8c4a2;
        text-decoration: none;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        display: inline-block;
        font-weight: 500;
    }

    .product-category:hover {
        color: #8dab86;
    }

    .product-card .product-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .product-card .product-title a {
        color: #333;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .product-card .product-title a:hover {
        color: #a8c4a2;
    }

    .product-rating {
        display: flex;
        align-items: center;
        margin-bottom: 0.75rem;
    }

    .product-rating .rating-stars {
        color: #ffc107;
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }

    .product-rating span {
        color: #999;
        font-size: 0.85rem;
    }

    .product-price {
        margin-top: auto;
        font-weight: 600;
        color: #a8c4a2;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .old-price {
        text-decoration: line-through;
        color: #999;
        font-size: 0.9rem;
        margin-right: 0.5rem;
        font-weight: normal;
    }

    .current-price {
        color: #333;
    }

    .measurement-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 10px;
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-left: 4px solid #a8c4a2;
    }

    .measurement-input-group {
        background: white;
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .measurement-input {
        border: 2px solid #e9ecef;
        border-radius: 8px;
        padding: 0.75rem;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

    .measurement-input:focus {
        border-color: #a8c4a2;
        box-shadow: 0 0 0 0.2rem rgba(168, 196, 162, 0.25);
    }

    .calculated-price-display {
        background: linear-gradient(135deg, #a8c4a2 0%, #8dab86 100%);
        color: white;
        border-radius: 10px;
        padding: 1.5rem;
        text-align: center;
        margin-top: 1rem;
    }

.pricing-info-message {
    margin-top: 0.45rem;
    display: inline-block;
    background: #1f242c;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.42rem 0.68rem;
    line-height: 1.35;
}

    .step-header {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    .step-number {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background-color: #a8c4a2;
        color: white;
        border-radius: 50%;
        font-weight: bold;
        margin-right: 10px;
    }

    .disabled-section {
        opacity: 0.5;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .feature-card-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 12px;
        margin-top: 0.5rem;
    }

    .feature-card-grid.scrollable {
        max-height: 360px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding-right: 6px;
    }

    .product-feature-item {
        border: 1px solid #eef2f4;
        border-radius: 12px;
        padding: 0.75rem 0.75rem 0.5rem;
        background: #fff;
    }
    .product-feature-item .step-header {
        cursor: pointer;
        user-select: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .product-feature-item .toggle-icon {
        margin-left: auto;
        color: #8dab86;
        transition: transform 0.2s ease;
    }
    .product-feature-item.collapsed .toggle-icon {
        transform: rotate(180deg);
    }
    .product-feature-item .feature-content {
        margin-top: 0.5rem;
    }
    .product-feature-item.collapsed .feature-content {
        display: none;
    }
    .feature-option-card {
        border: 1px solid #e9ecef;
        border-radius: 10px;
        background-color: #fff;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
        overflow: hidden;
        position: relative;
    }
    .feature-option-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    }
    .feature-option-card.selected {
        border-color: #8dab86;
        box-shadow: 0 8px 14px rgba(141,171,134,0.35);
        transform: translateY(-1px) scale(1.01);
        background-color: #f2f7f2;
    }
    .feature-option-card.selected::after {
        content: "✓";
        position: absolute;
        top: 8px;
        right: 10px;
        background-color: #8dab86;
        color: #fff;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 14px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }

    .form-check-input.feature-radio:checked + .form-check-label,
    .form-check-input.feature-checkbox:checked + .form-check-label {
        background-color: #eef6ee;
        border: 1px solid #8dab86;
        color: #2c3e2c;
        border-radius: 8px;
        padding: 4px 10px;
        font-weight: 600;
    }
    .feature-option-card .option-image {
        width: 100%;
        height: 120px;
        object-fit: cover;
        display: block;
    }
    .feature-option-card .option-body {
        padding: 10px;
    }
    .feature-option-card .option-title {
        font-weight: 600;
        color: #333;
        margin-bottom: 0.35rem;
    }
    .feature-option-card .option-desc {
        color: #666;
        font-size: 0.9rem;
        min-height: 40px;
    }
    .feature-option-card .option-meta {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }
    .option-badge {
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        color: #555;
        border-radius: 6px;
        padding: 2px 6px;
        font-size: 0.8rem;
    }
    .option-price {
        color: #a8c4a2;
        font-weight: 600;
    }

    .product-info {
        display: flex;
        flex-direction: column;
    }
    .product-info-sticky {
        position: sticky;
        top: 12px;
        z-index: 1;
        background: #fff;
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    .features-scroll-container {
        max-height: calc(100vh - 220px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding-right: 6px;
    }

    .features-scroll-container {
        max-height: none !important;
        overflow: visible !important;
        padding-right: 0 !important;
    }

@media (min-width: 992px) {
    .product-detail-card {
        overflow: visible;
    }
}

    .feature-card-grid.scrollable {
        max-height: none !important;
        overflow: visible !important;
        padding-right: 0 !important;
    }

    .variant-key-title {
        font-size: 1rem;
    }
    .variant-values-list { gap: 12px; }
    .variant-value-chip {
        padding: 10px 14px;
        border-width: 2px;
        border-color: #cfd8dc;
        background-color: #fff;
        transition: all 0.2s ease;
        position: relative;
    }
    .variant-value-chip .variant-preview {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        object-fit: cover;
    }
    .variant-value-chip .variant-value-name { font-size: 0.95rem; }
    .variant-value-chip.selected {
        border-color: #2d6a4f;
        background-color: #eef8f1;
        box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
    }
    .variant-value-chip .chip-clear {
        position: absolute;
        top: -6px;
        right: -6px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #e9ecef;
        color: #555;
        font-weight: 700;
        line-height: 20px;
        text-align: center;
        display: none;
        cursor: pointer;
        border: 1px solid #ced4da;
    }
    .variant-value-chip.selected .chip-clear { display: block; }

@media (max-width: 991.98px) {
    .product-detail-page.py-5 {
        padding-top: 0.45rem !important;
        padding-bottom: 6.9rem !important;
    }

    .product-detail-page.container {
        padding-left: 6px;
        padding-right: 6px;
    }

    .product-gallery {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
    }

    .product-pricing {
        display: none;
    }

    .breadcrumb-item.active.product-name-breadcrumb {
        font-size: 0.86rem;
    }

    .product-info {
        padding: 1rem 0.85rem 0.7rem;
    }

    .product-info {
        display: flex;
        flex-direction: column;
    }

    #addToCartForm {
        order: 1;
    }

    .product-info-sticky {
        order: 2;
    }

    .product-info .product-title {
        display: none;
    }

    .product-meta {
        margin-bottom: 0.75rem;
    }

    .product-meta .js-product-stock-text {
        display: none;
    }

    .product-description {
        display: none;
    }

    #productVariantsSection {
        margin-top: 0.35rem !important;
    }

    .variant-key-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem !important;
    }

    .variant-values-list {
        gap: 0.75rem !important;
    }

    .variant-value-chip {
        padding: 0.2rem !important;
        width: 106px;
        height: 106px;
        border-width: 2px !important;
        border-color: #cfe3cf !important;
        border-radius: 14px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
        background-color: #fff;
    }

    .variant-value-chip .variant-preview {
        width: 100% !important;
        height: 100% !important;
        border-radius: 10px !important;
        object-fit: cover;
    }

    .variant-value-chip .variant-value-name {
        display: none !important;
    }

    .variant-value-chip.selected {
        border-color: #a8c4a2 !important;
        background-color: #eef6ee !important;
        box-shadow: 0 0 0 3px rgba(168, 196, 162, 0.2);
    }

    .variant-no-image {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 1.8rem;
        color: #9aa3af;
        background: #f2f4f7;
        border-radius: 10px;
    }

    .variant-value-chip .chip-clear {
        background: #a8c4a2;
        color: #fff;
        border-color: #a8c4a2;
        top: 6px;
        right: 6px;
        width: 24px;
        height: 24px;
        line-height: 22px;
    }

    .variant-selected-label {
        color: #d76910;
        font-weight: 700;
    }

    .breadcrumb {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        display: none;
    }

    .breadcrumb-item a,
    .breadcrumb-item.active {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 0.16rem 0.62rem;
        border-radius: 999px;
        font-size: 0.81rem;
        line-height: 1.1;
    }

    .breadcrumb-item a {
        background: #eef6ee;
        color: #3f5c3e;
        border: 1px solid #d4e6d4;
        text-decoration: none;
    }

    .breadcrumb-item.active {
        background: #f3f5f7;
        border: 1px solid #e3e7ec;
        color: #4d5968;
    }

    .main-image {
        width: 100%;
        margin-bottom: 0.1rem;
        aspect-ratio: auto;
        max-height: none;
        border-radius: 0;
    }

    .main-image img {
        width: 100%;
        height: auto;
        max-height: 78vh;
        object-fit: contain;
        background: #fff;
    }

    .main-image video {
        width: 100%;
        height: auto;
        max-height: 78vh;
        object-fit: contain;
        background: #fff;
    }

    .main-image:hover img {
        transform: none;
    }

    .image-thumbnails {
        display: none;
    }

    .mobile-gallery-dots {
        display: flex;
    }

    .sticky-cart-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 64px;
        z-index: 1041;
        border-top: 1px solid #d9e2d9;
        padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
        box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
    }

    .mobile-cart-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.45rem;
    }

    .mobile-cart-summary-label {
        font-size: 0.88rem;
        color: #5b6776;
        font-weight: 600;
    }

    .mobile-cart-summary-price {
        font-size: 1.35rem;
        color: #2f3d2f;
        font-weight: 800;
        line-height: 1.1;
    }

    .sticky-cart-footer .quantity-control {
        margin-bottom: 0.35rem;
    }

    .sticky-cart-footer .quantity-label {
        margin-right: 0.65rem !important;
    }

    .sticky-cart-footer .quantity-input-group {
        width: 124px;
    }

    .sticky-cart-footer .d-flex.justify-content-between.align-items-center.w-100 {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .sticky-cart-footer .quantity-btn,
    .sticky-cart-footer .quantity-input {
        height: 38px;
    }

    .mobile-price-details {
        flex: 1;
        min-width: 0;
    }

    .mobile-price-current {
        font-size: 1.33rem;
        font-weight: 800;
        line-height: 1.05;
    }

    .mobile-price-secondary {
        margin-top: 0.15rem;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.3rem;
        flex-wrap: wrap;
    }

    .mobile-price-old {
        font-size: 0.87rem;
        color: #8e97a3;
        text-decoration: line-through;
    }

    .mobile-discount-badge {
        background: #d7263d;
        color: #fff;
        font-size: 0.68rem;
        border-radius: 999px;
        padding: 0.12rem 0.48rem;
        font-weight: 700;
    }

    .sticky-cart-footer .d-flex.mt-4.align-items-center {
        margin-top: 0.3rem !important;
        gap: 0.45rem;
    }

    .sticky-cart-footer .cart-btn {
        min-height: 46px;
        width: 100%;
    }

    .sticky-cart-footer #addToWishlistButton,
    .sticky-cart-footer #shareProductButton {
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 0 !important;
    }

    .product-detail-page,
    .product-detail-section,
    .related-products-section,
    #relatedProductsContainer {
        overflow-x: hidden;
    }

    #relatedProductsContainer > .col {
        max-width: 100%;
    }

    .product-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        border-bottom: none;
    }

    .product-tabs .nav-item {
        margin: 0;
    }

    .product-tabs .nav-link {
        width: 100%;
        margin-right: 0;
        border: 1px solid #e1e8e1;
        border-radius: 10px;
        background: #fff;
        padding: 0.6rem 0.55rem;
        font-size: 0.92rem;
    }

    .product-tabs .nav-link.active {
        border-color: #a8c4a2;
        background: #eef6ee;
    }

    .product-tabs-section {
        margin-bottom: 1.4rem;
        margin-top: 1rem;
    }

    .product-tab-content {
        padding: 0.95rem;
    }

    .write-review-btn {
        width: 100%;
        max-width: 280px;
    }

    .write-review-btn--login {
        max-width: 100%;
    }

    .product-rating-jump {
        width: 100%;
    }
}

.product-tabs-section {
    scroll-margin-top: 88px;
}

.product-info-sticky {
    position: static !important;
    top: auto !important;
}

.product-gallery {
    position: static !important;
    top: auto !important;
}

.features-scroll-container {
    max-height: none !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
    overscroll-behavior: auto !important;
    padding-right: 0 !important;
}

.feature-card-grid.scrollable {
    max-height: none !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
    overscroll-behavior: auto !important;
    padding-right: 0 !important;
}

.pd-gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 200000;
    background: rgba(8, 10, 8, 0.96);
    display: none;
    flex-direction: column;
    touch-action: none;
}

.pd-gallery-lightbox.is-open {
    display: flex;
}

.pd-gallery-close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 200010;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2a1f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.pd-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200005;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #2f3d2f;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.pd-gallery-prev {
    left: max(14px, env(safe-area-inset-left));
}

.pd-gallery-next {
    right: max(14px, env(safe-area-inset-right));
}

.pd-gallery-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.pd-gallery-viewport {
    flex: 1;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.pd-gallery-track {
    display: flex;
    height: 100%;
    width: 100%;
    will-change: transform;
}

.pd-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.pd-gallery-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}

.pd-gallery-media {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.08s linear;
    user-select: none;
    -webkit-user-drag: none;
}

.pd-gallery-video {
    width: 100%;
    max-height: 100%;
    background: #000;
}

.pd-gallery-counter {
    position: absolute;
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 200008;
    color: #f4f7f4;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
}

@media (min-width: 992px) {
    .pd-gallery-lightbox {
        background: rgba(10, 12, 10, 0.94);
    }

    .pd-gallery-nav {
        display: inline-flex;
    }

    .pd-gallery-media.pd-gallery-image {
        cursor: zoom-in;
    }

    .pd-gallery-close {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 991.98px) {
    .pd-gallery-lightbox {
        background: #000;
    }

    .pd-gallery-nav {
        display: none;
    }

    .pd-gallery-stage {
        align-items: stretch;
        justify-content: center;
    }

    .pd-gallery-media.pd-gallery-image {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: contain;
    }

    .pd-gallery-close {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}