/* ------------------------------------
   PRODUCT POPUP SECTION START
------------------------------------ */
.product-container {
    display: flex;
    gap: 70px;
    padding: 60px 0;
    align-items: flex-start;
}

.product-gallery {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.thumbs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.thumbs img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border: 2px solid #dfdbdb6b;
    cursor: pointer;
    transition: 0.3s;
}

.thumbs img.active {
    border-color: #16AF37;
}

.main-image img {
    width: 500px;
    height: auto;
    object-fit: contain;
}

.right-side {
    max-width: 600px;
    width: 100%;
    font-family: "Inter", sans-serif;
}

.p-title {
    font-size: 38px;
    color: #111;
    font-weight: 700;
    margin-bottom: 5px;
}

.stock-badge {
    background: #d4f7da;
    color: #1ca044;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-left: 10px;
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0px 0 12px;
}

.stars {
    color: #ffa800;
    font-size: 17px;
}

.review {
    color: #777;
    font-size: 15px;
    font-weight: 500;
}

.dot {
    font-size: 20px;
    color: #999;
}

.sku {
    color: #666;
    font-size: 15px;
}

.price-line-d {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.p-old-price {
    text-decoration: line-through;
    color: #a7a7a7;
    font-size: 22px;
}

.p-new-price {
    font-size: 27px;
    font-weight: 700;
    color: #00B207;
}

.discount {
    background: #ffd7d7;
    color: #ff6b6b;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.divider {
    width: 100%;
    height: 1px;
    background: #ededed;
    margin: 22px 0;
}

.brand-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-box img {
    width: 55px;
    height: 55px;
}

.share-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-box p {
    font-size: 15px;
    color: #444;
}

.share-box .icon {
    width: 42px;
    height: 42px;
    background: #f3f3f3;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #626261;
}

.share-box .icon.green {
    background: #00B207;
    color: #fff;
}

.desc-text {
    margin-top: 22px;
    margin-bottom: 25px;
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    width: 92%;
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #dbdbdb;
    padding: 10px 18px;
    border-radius: 40px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: #f6f6f6;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.qty-number {
    font-size: 17px;
    font-weight: 600;
}

.add-cart-btn {
    background: #00B207;
    border: none;
    padding: 18px 65px;
    border-radius: 45px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.add-cart-btn ion-icon {
    font-size: 22px;
}

.wishlist-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #d8efd8;
    background: #ecfaef;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1DB14C;
    cursor: pointer;
    font-size: 22px;
}

.meta-section {
    margin-top: 25px;
}

.meta-section p {
    font-size: 15px;
    color: #444;
    line-height: 28px;
    padding-bottom: 10px;
}



/* ============================
   RESPONSIVE STYLES
   (ONLY OVERRIDES BELOW)
============================ */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .product-container {
        gap: 40px;
        padding: 50px 0;
    }

    .main-image img {
        width: 420px;
        max-width: 100%;
    }

    .right-side {
        max-width: 520px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 45px 0;
    }

    .product-gallery {
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
    }

    .main-image img {
        width: 100%;
        max-width: 420px;
    }

    .thumbs {
        flex-direction: row;
        justify-content: center;
        margin-top: 0;
    }

    .right-side {
        max-width: 100%;
    }

    .brand-share {
        gap: 20px;
    }

    .desc-text {
        width: 100%;
    }
}

/* Mobiles & small tablets */
@media (max-width: 768px) {
    .product-container {
        padding: 35px 0;
        gap: 30px;
    }

    .p-title {
        font-size: 28px;
    }

    .price-line-d {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .p-old-price {
        font-size: 20px;
    }

    .p-new-price {
        font-size: 24px;
    }

    .brand-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cart-row {
        row-gap: 14px;
    }

    .add-cart-btn {
        padding: 12px 15px;
        font-size: 16px;
        height: 50px;
    }
}

/* Small mobiles */
@media (max-width: 576px) {
    .thumbs img {
        width: 64px;
        height: 64px;
    }

    .product-gallery {
        gap: 15px;
    }

    .rating-line {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .cart-row {
        align-items: stretch;
    }

    .qty-box {
        align-self: center;
        min-width: 124px;
        justify-content: space-between;
        padding: 8px 10px;
        height: 50px;
    }

    .add-cart-btn {
        width: 100%;
        justify-content: center;
    }

    .wishlist-btn {
        align-self: center;
        width: 7pc;
    }

    .desc-text {
        font-size: 14px;
    }
}

/* ------------------------------------
   PRODUCT POPUP SECTION END
------------------------------------ */





/* ------------------------------------
   PRODUCT TABS SECTION START
------------------------------------ */
.pd-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 25px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 17px;
    padding-bottom: 12px;
    cursor: pointer;
    color: #555;
}

.tab-btn.active {
    color: #0DA542;
    border-bottom: 3px solid #0DA542;
    font-weight: 600;
    font-size: 17px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pd-wrapper {
    display: flex;
    gap: 50px;
    justify-content: space-between;
}

.pd-left p {
    color: #555;
    margin-bottom: 15px;
    font-size: 15.4px;
    line-height: 28px;
    width: 650px;
}

.pd-left ul {
    padding: 18px 0px;
}

.check-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.pd-left ul li {
    color: #555;
    font-size: 15.4px;
    line-height: 26px;
}

.check-list li ion-icon {
    color: #00b207;
    font-size: 20px;
}

.info-table p {
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
}

.info-table span {
    color: #555;
}

.pd-video-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.pd-video-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    width: 58px;
    height: 58px;
    background: #00b207;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn ion-icon {
    color: #fff;
    font-size: 32px;
}

.pd-feature-box {
    margin-top: 25px;
    border: 1px solid #e5e5e5;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
}

.feature {
    display: flex;
    gap: 12px;
}

.feature ion-icon {
    color: #13c05d;
    font-size: 28px;
}

.feedback-item {
    display: flex;
    gap: 18px;
    padding: 15px 0;
}

.feedback-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.fb-header {
    display: flex;
    justify-content: space-between;
}

.fb-content .stars {
    color: #ffa800;
    margin: 5px 0;
}

.load-more-wrap {
    margin-top: 20px;
}

.load-more-btn {
    background: #eaffe7;
    padding: 12px 25px;
    border-radius: 40px;
    border: none;
    color: #0DA542;
    font-size: 16px;
    cursor: pointer;
}

.feature-pro-details>h4 {
    font-size: 16px;
    color: #000;
    line-height: 30px;
}

.feature-pro-details>p {
    font-size: 14px;
    color: #555;
    line-height: normal;
}

.fb-content>p {
    font-size: 14px;
    color: #666;
    max-width: 640px;
}



/* ============================
   RESPONSIVE (OVERRIDES)
============================ */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .pd-wrapper {
        gap: 35px;
    }

    .pd-left p {
        width: 100%;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .pd-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .pd-left p {
        width: 100%;
    }

    .pd-feature-box {
        flex-direction: column;
        gap: 16px;
    }

    .fb-content>p {
        max-width: 100%;
        font-size: 13.5px;
    }
}

/* Mobiles & small tablets */
@media (max-width: 768px) {
    .pd-tabs {
        gap: 24px;
        flex-wrap: wrap;
    }

    .tab-btn,
    .tab-btn.active {
        font-size: 14px;
        padding-bottom: 10px;
    }

    .pd-wrapper {
        gap: 25px;
    }

    .info-table p {
        font-size: 15px;
    }

    .feedback-item {
        gap: 14px;
    }

    .fb-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Small mobiles */
@media (max-width: 576px) {
    .pd-tabs {
        justify-content: flex-start;
        gap: 18px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
    }

    .pd-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .pd-tabs::-webkit-scrollbar-thumb {
        background: #d4d4d4;
        border-radius: 10px;
    }

    .pd-feature-box {
        padding: 16px;
    }

    .play-btn {
        width: 48px;
        height: 48px;
    }

    .play-btn ion-icon {
        font-size: 26px;
    }

    .feedback-item {
        align-items: flex-start;
    }

    .load-more-btn {
        text-align: center;
        justify-content: center;
    }
}

/* ------------------------------------
   PRODUCT TABS SECTION END
------------------------------------ */



/* ------------------------------------
   RELATED PRODUCT SECTION START 
------------------------------------ */
.related-products {
    padding: 60px 0px 70px 0px;
}

.rp-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111;
}

.rp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.rp-card {
    position: relative;
    background: #fff;
    padding: 20px;
    border: 1px solid #E5E5E5;
    transition: 0.3s ease;
    cursor: pointer;
}

.rp-card:hover,
.rp-card.active {
    border: 2px solid #00B207;
    box-shadow: 0 0 14px rgba(0, 200, 80, 0.18);
}

.sale-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ff4d4d;
    color: #fff;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 13px;
    z-index: 10;
}

.rp-img {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rp-name {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    color: #837e7e;
}

.rp-price {
    margin-top: 2px;
}

.rp-price .new {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.rp-price .old {
    font-size: 15px;
    text-decoration: line-through;
    color: #A7A7A7;
    margin-left: 6px;
}

.rp-stars {
    margin-top: 5px;
}

.rp-stars ion-icon {
    color: #ffa400;
    font-size: 17px;
}

.rp-cart {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F3F3F3;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    font-size: 20px;
    color: #222;
}

.rp-card.active .rp-cart,
.rp-cart.green {
    background: #00B207 !important;
    color: #fff !important;
}

.rp-icons {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rp-icons button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #DDD;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
}

.rp-card:not(.active) .rp-icons {
    display: none;
}

.rp-card:hover .rp-icons {
    display: flex;
}

.rp-icons button:hover {
    background: #F1FFF4;
    border-color: #00B207;
    color: #00B207;
}

/* ================================
   RESPONSIVE
================================ */
@media screen and (max-width: 1024px) {
    .rp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .rp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rp-title {
        font-size: 30px;
    }
}

@media screen and (max-width: 480px) {
    .rp-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------
   RELATED PRODUCT SECTION END 
------------------------------------ */