/* STYLES FOR SHOP DETAIL PAGE */
.shop-title-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding: 25px 5%;
    box-sizing: border-box;
}

.shop-title-container h1 {
    margin-left: 0; /* Override contact banner margin */
}

.breadcrumb {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
}

.breadcrumb i {
    font-size: 10px;
    margin: 0 5px;
}

.breadcrumb span {
    color: #111;
    font-weight: 600;
}

.product-details-main {
    padding: 80px 5%;
    max-width: 1600px;
    margin: 0 auto;
    font-family: 'Outfit', sans-serif;
    color: #444;
}

/* TOP SECTION */
.pd-top {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
}

/* Gallery */
.pd-gallery {
    flex: 0 0 50%;
    display: flex;
    gap: 20px;
}

.pd-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90px;
    flex-shrink: 0;
}

.pd-thumbnails img {
    width: 100%;
    height: 90px;
    object-fit: contain;
    background: #f7f7f7;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.pd-thumbnails img.active,
.pd-thumbnails img:hover {
    border-color: #FF3229;
}

.pd-main-image {
    position: relative;
    flex: 1;
    background: #f7f7f7;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    padding: 0px;
}

.pd-main-image img {
    max-width: 100%;
    max-height: 700px;
    object-fit: contain;
}

.pd-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #111;
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 500;
}

.pd-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    transition: 0.3s;
}

.pd-zoom:hover {
    color: #FF3229;
}

.pd-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    transition: 0.3s;
}

.pd-nav:hover {
    color: #FF3229;
}

.pd-nav.prev {
    left: 20px;
}

.pd-nav.next {
    right: 20px;
}

/* Info Side */
.pd-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pd-category {
    color: #FF3229;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pd-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.pd-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    margin: 0;
}

.pd-wishlist {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eaeaea;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    transition: 0.3s;
    flex-shrink: 0;
}

.pd-wishlist:hover,
.pd-wishlist.wl-active {
    border-color: #FF3229;
    background: #FF3229;
    color: #fff;
}

.pd-reviews {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
    margin-bottom: 25px;
}

.pd-reviews .stars {
    color: #FF3229;
    font-size: 10px;
}

.pd-price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.pd-price del {
    font-size: 18px;
    color: #a0a0a0;
    font-weight: 500;
}

.pd-divider {
    height: 1px;
    background: #eaeaea;
    width: 100%;
    margin-bottom: 25px;
}

.pd-short-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.pd-viewing {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #111;
    font-weight: 500;
    margin-bottom: 25px;
}

.pd-stock {
    margin-bottom: 30px;
}

.stock-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.stock-bar {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background: #eaeaea;
    border-radius: 2px;
}

.stock-fill {
    height: 100%;
    background: #FF3229;
    border-radius: 2px;
}

.pd-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444;
}

.pd-features i {
    color: #111;
    font-size: 14px;
    width: 20px;
}

.pd-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    margin-bottom: 35px;
}

.pd-qty-add {
    display: flex;
    gap: 15px;
    height: 50px;
}

.pd-qty-add .qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    width: 140px;
    height: 50px;
    padding: 0 10px;
    background: #fff;
}

.pd-qty-add .qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    font-weight: 400;
    flex-shrink: 0;
}

.pd-qty-add .qty-btn:first-child {
    background: #f2f2f2;
}

.pd-qty-add .qty-btn:last-child {
    background: transparent;
}

.pd-qty-add .qty-btn:hover {
    background: #eaeaea;
}

.pd-qty-add .qty-selector input {
    flex: 1;
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    font-family: 'Outfit', sans-serif;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}
.pd-qty-add .qty-selector input::-webkit-outer-spin-button,
.pd-qty-add .qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-cart {
    flex: 1;
    background: #fff;
    border: 1px solid #111;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-add-cart:hover {
    background: #111;
    color: #fff;
}

.btn-buy-now {
    height: 50px;
    background: #FF3229;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-buy-now:hover {
    background: #e02820;
}

.pd-meta-actions {
    display: flex;
    gap: 25px;
    font-size: 13px;
    color: #666;
}

.pd-meta-actions a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.pd-meta-actions a:hover {
    color: #FF3229;
}

/* TABS SECTION */
.pd-tabs-section {
    border-top: 1px solid #eaeaea;
    padding-top: 50px;
}

.pd-tab-headers {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0 0 15px 0;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    position: relative;
    font-family: 'Outfit', sans-serif;
    transition: 0.3s;
}

.tab-btn:hover {
    color: #111;
}

.tab-btn.active {
    color: #111;
    font-weight: 600;
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111;
}

.pd-tab-content {
    display: none;
}

.pd-tab-content.active {
    display: block;
}

.tab-desc-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.desc-text {
    flex: 1;
}

.desc-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.desc-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.desc-text strong {
    color: #111;
}

.desc-video {
    flex: 0 0 45%;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #d4d4d4;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.video-placeholder:hover {
    background: #ccc;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    padding-left: 4px;
    transition: 0.3s;
}

.video-placeholder:hover .play-btn {
    background: #fff;
    color: #d4d4d4;
}

/* REVIEWS TAB STYLES */
.reviews-layout {
    display: flex;
    gap: 60px;
    margin-top: 20px;
}

.reviews-list-col {
    flex: 1;
}

.reviews-list-col h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
}

.reviews-list-col p {
    font-size: 14px;
    color: #666;
}

.reviews-form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-form-col h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.rating-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.rating-stars span {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.stars-input {
    display: flex;
    gap: 5px;
    color: #FFC107;
    font-size: 24px;
    cursor: pointer;
}

.review-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rf-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rf-group label {
    font-size: 13px;
    color: #666;
    text-align: center;
}

.rf-highlight {
    color: #FF3229;
}

.rf-group input,
.rf-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

.rf-group textarea {
    height: 120px;
    resize: vertical;
}

.rf-group input:focus,
.rf-group textarea:focus {
    border-color: #FF3229;
}

.rf-policy {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.rf-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.rf-btn-cancel {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid #FF3229;
    color: #FF3229;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.rf-btn-cancel:hover {
    background: #fff0f0;
}

.rf-btn-submit {
    padding: 12px 25px;
    background: #FF3229;
    border: 1px solid #FF3229;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.rf-btn-submit:hover {
    background: #e02820;
    border-color: #e02820;
}

/* Responsive */
@media(max-width: 1024px) {
    .pd-top {
        flex-direction: column;
    }
    .pd-gallery {
        flex-direction: column-reverse;
    }
    .pd-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    .pd-thumbnails img {
        width: 90px;
    }
    .desc-video {
        width: 100%;
    }
    .reviews-layout {
        flex-direction: column;
        gap: 40px;
    }
}

@media(max-width: 768px) {
    .shop-title-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 40px 5% 20px;
    }
    
    .product-details-main {
        padding: 40px 5%;
    }
    
    .pd-title {
        font-size: 24px;
    }
    
    .pd-price {
        font-size: 20px;
    }
    
    .pd-qty-add {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
    
    .pd-qty-add .qty-selector {
        width: 100%;
    }
    
    .btn-add-cart,
    .btn-buy-now {
        width: 100%;
        height: 50px;
        min-height: 50px;
        flex: none;
    }
    
    .pd-meta-actions {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .pd-tab-headers {
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    .desc-text h2 {
        font-size: 20px;
    }
    
    .pd-gallery {
        gap: 10px;
    }
    
    .pd-thumbnails img {
        height: 70px;
    }
    .tab-btn {
    font-size: 12px;
}
    .tab-desc-layout {
        flex-direction: column;
    }
}
