/* Product Detail Page - Theme 4 (Ultra-Modern, Rounded, Premium UI) */

.t4-pdp-page {
    background-color: #f7f7f9;
    padding: 30px 0 80px;
    font-family: 'Inter', sans-serif;
    color: #111111;
}

/* Breadcrumb */
.t4-pdp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #777;
    margin-bottom: 30px;
}

.t4-pdp-breadcrumb a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.t4-pdp-breadcrumb a:hover {
    color: #000;
}

.t4-pdp-breadcrumb .active-crumb {
    color: #111;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Main Grid Layout */
.t4-pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #ffffff;
    border-radius: 32px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

@media (max-width: 991px) {
    .t4-pdp-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
        border-radius: 24px;
    }
}

@media (max-width: 576px) {
    .t4-pdp-page {
        padding: 10px 0 40px;
        background-color: #ffffff;
    }
    .t4-pdp-grid {
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        gap: 20px;
    }
    .t4-pdp-breadcrumb {
        margin-bottom: 12px;
        font-size: 12px;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        gap: 4px;
        padding-bottom: 4px;
    }
    .t4-pdp-breadcrumb::-webkit-scrollbar {
        display: none;
    }
    .t4-pdp-breadcrumb .active-crumb {
        max-width: none;
    }
}

/* Gallery Column */
.t4-pdp-gallery-col {
    min-width: 0;
}

.t4-gallery-sticky-wrapper {
    position: sticky;
    top: 100px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

@media (max-width: 576px) {
    .t4-gallery-sticky-wrapper {
        flex-direction: column-reverse;
        gap: 12px;
    }
}

.t4-thumb-strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 520px;
    overflow-y: auto;
    flex-shrink: 0;
    width: 74px;
}

@media (max-width: 576px) {
    .t4-thumb-strip {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        width: 100%;
        gap: 8px;
        padding-bottom: 4px;
    }
    .t4-thumb-strip::-webkit-scrollbar {
        display: none;
    }
}

.t4-thumb-btn {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    border: 2px solid transparent;
    padding: 3px;
    background: #f1f2f6;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .t4-thumb-btn {
        width: 58px;
        height: 58px;
        border-radius: 14px;
        padding: 2px;
    }
}

.t4-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

@media (max-width: 576px) {
    .t4-thumb-btn img {
        border-radius: 10px;
    }
}

.t4-thumb-btn.active,
.t4-thumb-btn:hover {
    border-color: #000000;
    transform: scale(1.04);
}

.t4-main-img-box {
    position: relative;
    flex-grow: 1;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    background: #f4f5f8;
}

@media (max-width: 576px) {
    .t4-main-img-box {
        border-radius: 20px;
    }
}

.t4-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.t4-main-img-box:hover .t4-main-img {
    transform: scale(1.03);
}

/* Badges & Wishlist */
.t4-pdp-badge.sale-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff4d4d;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3);
}

.t4-pdp-wishlist-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #111;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

@media (max-width: 576px) {
    .t4-pdp-badge.sale-badge {
        top: 12px;
        left: 12px;
        font-size: 11px;
        padding: 4px 10px;
    }
    .t4-pdp-wishlist-btn {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.t4-pdp-wishlist-btn:hover {
    transform: scale(1.1);
    background: #ffffff !important;
}

/* Info Column */
.t4-pdp-info-col {
    display: flex;
    flex-direction: column;
}

.t4-brand-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #888888;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.t4-product-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: #000000;
    margin-bottom: 12px;
}

@media (max-width: 576px) {
    .t4-brand-tag {
        font-size: 11px;
        margin-bottom: 4px;
    }
    .t4-product-title {
        font-size: 22px;
        margin-bottom: 8px;
    }
}

.t4-meta-info-row {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.t4-sku-pill,
.t4-cat-pill {
    font-size: 12px;
    font-weight: 600;
    background: #f0f2f5;
    color: #555555;
    padding: 4px 12px;
    border-radius: 50px;
}

.t4-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.t4-current-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #000000;
}

.t4-old-price {
    font-size: 20px;
    color: #999999;
    text-decoration: line-through;
    font-weight: 500;
}

@media (max-width: 576px) {
    .t4-meta-info-row {
        gap: 8px;
        margin-bottom: 12px;
    }
    .t4-current-price {
        font-size: 26px;
    }
    .t4-old-price {
        font-size: 17px;
    }
}

.t4-save-badge {
    background: #e6f4ea;
    color: #137333;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.t4-tax-note {
    width: 100%;
    font-size: 12px;
    color: #888;
    margin-top: -6px;
}

/* Stock Status */
.t4-stock-status-pill {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

.t4-stock-status-pill .in-stock {
    color: #1b8755;
}

.t4-stock-status-pill .out-of-stock {
    color: #d93025;
}

.t4-divider {
    height: 1px;
    background: #eeeeee;
    margin: 24px 0;
}

@media (max-width: 576px) {
    .t4-divider {
        margin: 16px 0;
    }
}

/* Selectors */
.t4-selector-group {
    margin-bottom: 24px;
}

.t4-selector-lbl {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #333333;
    display: block;
    margin-bottom: 10px;
}

.t4-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.t4-options-row .size-btn,
.t4-options-row .option-pill {
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid #e2e4e8;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 576px) {
    .t4-options-row .size-btn,
    .t4-options-row .option-pill {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.t4-options-row .size-btn.active,
.t4-options-row .option-pill.active,
.t4-options-row .size-btn:hover {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
}

/* Action Bar (Qty + Buttons) */
.t4-action-bar {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

@media (max-width: 768px) {
    .t4-action-bar {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }
}

.t4-qty-stepper {
    display: flex;
    align-items: center;
    border: 2px solid #e2e4e8;
    border-radius: 50px;
    overflow: hidden;
    background: #ffffff;
}

@media (max-width: 768px) {
    .t4-qty-stepper {
        justify-content: center;
        width: 140px;
    }
}

.t4-qty-btn {
    width: 36px;
    height: 48px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    transition: background 0.2s;
}

.t4-qty-btn:hover {
    background: #f0f0f4;
}

.t4-qty-stepper input {
    width: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    background: transparent;
    -moz-appearance: textfield;
}

.t4-qty-stepper input::-webkit-outer-spin-button,
.t4-qty-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.t4-btn-primary {
    background: #ff4d4d;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.t4-btn-primary:hover {
    background: #e63939;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 77, 77, 0.4);
}

.t4-btn-dark {
    background: #111111;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.t4-btn-dark:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.t4-btn-primary:disabled,
.t4-btn-dark:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Trust Highlights */
.t4-trust-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding: 20px;
    background: #f8f9fc;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .t4-trust-highlights {
        grid-template-columns: 1fr;
        padding: 14px;
        margin-top: 20px;
    }
}

.t4-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t4-trust-item i {
    font-size: 22px;
    color: #ff4d4d;
    flex-shrink: 0;
}

.t4-trust-item div {
    display: flex;
    flex-direction: column;
}

.t4-trust-item strong {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.t4-trust-item span {
    font-size: 11px;
    color: #777;
}

/* Accordions Block */
.t4-accordions-block {
    margin-top: 32px;
}

.t4-accordion {
    border-bottom: 1px solid #eeeeee;
    padding: 16px 0;
}

.t4-accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111;
    cursor: pointer;
    list-style: none;
}

.t4-accordion-title::-webkit-details-marker {
    display: none;
}

.t4-accordion[open] .t4-accordion-title i {
    transform: rotate(180deg);
}

.t4-accordion-title i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.t4-accordion-content {
    padding-top: 14px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.t4-description-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
}

.t4-description-text p {
    margin-bottom: 12px;
}

.t4-description-text ul {
    padding-left: 20px;
    margin: 8px 0 16px 0;
    list-style-type: disc;
}

.t4-description-text li {
    margin-bottom: 6px;
}

.t4-info-list {
    padding-left: 20px;
    margin: 0;
}

.t4-info-list li {
    margin-bottom: 8px;
}

/* Social Share */
.t4-share-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.t4-share-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #888;
}

.t4-social-links {
    display: flex;
    gap: 10px;
}

.t4-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t4-share-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Related Products Section */
.t4-related-section {
    margin-top: 60px;
}

.t4-section-header {
    text-align: center;
    margin-bottom: 36px;
}

.t4-sub-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ff4d4d;
    display: block;
    margin-bottom: 4px;
}

.t4-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #111111;
}

.t4-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .t4-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .t4-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .t4-pdp-page {
        padding: 10px 0 40px;
    }
}
