/* ===============================
   PART 15
   Pro Product Page
================================ */

.p15-product-page {
    padding: 28px;
}

.p15-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
    color: rgba(255,255,255,0.6);
    font-weight: 800;
}

.p15-breadcrumb a {
    color: #dff4ff;
    text-decoration: none;
}

.p15-breadcrumb strong {
    color: var(--orange);
}

.p15-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.p15-gallery-card,
.p15-info-card,
.p15-description-card,
.p15-specs-card,
.p15-related {
    background:
        radial-gradient(circle at top right, rgba(0,157,255,0.13), transparent 38%),
        linear-gradient(180deg, rgba(6,16,31,0.98), rgba(2,8,18,0.98));
    border: 1px solid rgba(0,157,255,0.20);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.24);
}

.p15-gallery-card {
    padding: 22px;
    position: sticky;
    top: 112px;
}

.p15-badge {
    position: absolute;
    left: 34px;
    top: 34px;
    z-index: 5;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange), #ffb000);
    color: white;
    font-weight: 900;
    font-size: 13px;
}

.p15-main-image {
    height: 520px;
    border-radius: 24px;
    background:
        radial-gradient(circle at center, rgba(0,157,255,0.20), transparent 55%),
        rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.p15-main-image img,
.p15-fallback-media img,
.p15-fallback-media .media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.p15-fallback-media {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.p15-fallback-media span {
    font-size: 90px;
}

.p15-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.p15-thumbs button {
    height: 86px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    padding: 8px;
    cursor: pointer;
    overflow: hidden;
}

.p15-thumbs button.active {
    border-color: var(--orange);
    box-shadow: 0 0 20px rgba(255,122,0,0.22);
}

.p15-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p15-info-card {
    padding: 28px;
}

.p15-top-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.p15-top-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
    color: #dff4ff;
    font-size: 13px;
    font-weight: 900;
}

.p15-info-card h1 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    color: white;
    margin-bottom: 12px;
}

.p15-subtitle {
    color: rgba(255,255,255,0.68);
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.p15-rating {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
}

.p15-rating span {
    color: #ffc400;
    letter-spacing: 2px;
}

.p15-rating b {
    color: rgba(255,255,255,0.65);
}

.p15-price-box {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.p15-price-line small,
.p15-wholesale-line small {
    display: block;
    color: rgba(255,255,255,0.58);
    font-size: 13px;
    margin-bottom: 6px;
}

.p15-price-line strong {
    color: #ffb000;
    font-size: 36px;
    font-weight: 900;
}

.p15-price-box del {
    display: inline-block;
    color: rgba(255,255,255,0.38);
    margin-top: 6px;
    font-size: 18px;
}

.p15-wholesale-line {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.p15-wholesale-line strong {
    color: #5ee88a;
    font-size: 24px;
}

.p15-delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.p15-delivery-grid div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
}

.p15-delivery-grid span {
    display: block;
    font-size: 26px;
    margin-bottom: 10px;
}

.p15-delivery-grid strong {
    display: block;
    color: white;
    font-size: 14px;
    margin-bottom: 6px;
}

.p15-delivery-grid small {
    color: rgba(255,255,255,0.58);
}

.p15-buy-form {
    display: grid;
    gap: 18px;
}

.p15-option-block label,
.p15-qty-row label {
    display: block;
    color: white;
    font-weight: 900;
    margin-bottom: 10px;
}

.p15-mode-buttons,
.p15-variant-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.p15-mode-buttons button,
.p15-variant-buttons button {
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
    color: white;
    border-radius: 16px;
    padding: 13px 16px;
    font-weight: 900;
    cursor: pointer;
    min-width: 130px;
    text-align: left;
}

.p15-mode-buttons button small,
.p15-variant-buttons button small {
    display: block;
    color: rgba(255,255,255,0.58);
    margin-top: 5px;
}

.p15-mode-buttons button.active,
.p15-variant-buttons button.active {
    border-color: var(--orange);
    background: rgba(255,122,0,0.13);
    box-shadow: 0 0 20px rgba(255,122,0,0.18);
}

.p15-qty-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.p15-qty-box {
    height: 54px;
    display: flex;
    align-items: center;
    border-radius: 16px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
}

.p15-qty-box button {
    width: 54px;
    height: 54px;
    border: 0;
    background: rgba(255,255,255,0.04);
    color: white;
    font-size: 26px;
    cursor: pointer;
}

.p15-qty-box input {
    width: 70px;
    height: 54px;
    border: 0;
    background: transparent;
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    outline: none;
}

.p15-stock-box {
    text-align: right;
}

.p15-stock-box span {
    display: block;
    font-weight: 900;
    font-size: 16px;
}

.p15-stock-box .in-stock {
    color: #5ee88a;
}

.p15-stock-box .out-stock {
    color: #ff4c4c;
}

.p15-stock-box small {
    color: rgba(255,255,255,0.58);
}

.p15-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12px;
}

.p15-add-cart,
.p15-checkout,
.p15-whatsapp {
    height: 58px;
    border-radius: 18px;
    border: 0;
    text-decoration: none;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
}

.p15-add-cart {
    background: linear-gradient(135deg, var(--orange), #ffb000);
    color: white;
    box-shadow: 0 12px 30px rgba(255,122,0,0.28);
}

.p15-add-cart:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.p15-checkout {
    background: rgba(255,255,255,0.055);
    color: white;
    border: 1px solid rgba(255,255,255,0.10);
}

.p15-whatsapp {
    margin-top: 14px;
    background: linear-gradient(135deg, #25D366, #17b955);
    color: white;
    box-shadow: 0 12px 30px rgba(37,211,102,0.22);
}

.p15-details-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 22px;
    margin-top: 26px;
}

.p15-description-card,
.p15-specs-card {
    padding: 26px;
}

.p15-description-card h2,
.p15-specs-card h2,
.p15-related h2 {
    color: white;
    margin-bottom: 14px;
    font-size: 26px;
}

.p15-description-card p {
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
}

.p15-specs-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p15-specs-card li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.p15-specs-card span {
    color: rgba(255,255,255,0.58);
}

.p15-specs-card strong {
    color: white;
    text-align: right;
}

.p15-related {
    margin-top: 26px;
    padding: 26px;
}

.p15-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.p15-section-head p {
    color: rgba(255,255,255,0.58);
}

.p15-section-head a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 900;
}

.p15-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.p15-related-card {
    text-decoration: none;
    color: white;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
}

.p15-related-img {
    height: 150px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}

.p15-related-img img,
.p15-related-img .media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p15-related-card h3 {
    font-size: 17px;
    margin-bottom: 5px;
}

.p15-related-card p {
    color: rgba(255,255,255,0.58);
    font-size: 13px;
    margin-bottom: 8px;
}

.p15-related-card strong {
    color: #ffb000;
}

.p15-not-found {
    margin: 40px auto;
    max-width: 700px;
    padding: 40px;
    border-radius: 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,157,255,0.20);
    text-align: center;
}

.p15-not-found h1 {
    color: white;
    margin-bottom: 10px;
}

.p15-not-found p {
    color: rgba(255,255,255,0.65);
    margin-bottom: 20px;
}

.p15-not-found a {
    color: white;
    background: var(--orange);
    padding: 13px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
}

/* Tablet */
@media (max-width: 1050px) {
    .p15-product-layout,
    .p15-details-grid {
        grid-template-columns: 1fr;
    }

    .p15-gallery-card {
        position: relative;
        top: auto;
    }

    .p15-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .p15-product-page {
        padding: 14px;
    }

    .p15-breadcrumb {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .p15-product-layout {
        gap: 16px;
    }

    .p15-gallery-card,
    .p15-info-card,
    .p15-description-card,
    .p15-specs-card,
    .p15-related {
        border-radius: 24px;
    }

    .p15-gallery-card {
        padding: 14px;
    }

    .p15-main-image {
        height: 330px;
        border-radius: 20px;
    }

    .p15-badge {
        left: 24px;
        top: 24px;
        font-size: 12px;
        padding: 8px 12px;
    }

    .p15-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .p15-thumbs button {
        height: 64px;
        border-radius: 14px;
    }

    .p15-info-card {
        padding: 18px;
    }

    .p15-info-card h1 {
        font-size: 34px;
    }

    .p15-subtitle {
        font-size: 16px;
    }

    .p15-price-line strong {
        font-size: 30px;
    }

    .p15-delivery-grid {
        grid-template-columns: 1fr;
    }

    .p15-mode-buttons button,
    .p15-variant-buttons button {
        min-width: calc(50% - 5px);
        padding: 12px;
        border-radius: 15px;
        font-size: 13px;
    }

    .p15-qty-row {
        flex-direction: column;
        align-items: stretch;
    }

    .p15-stock-box {
        text-align: left;
    }

    .p15-actions {
        grid-template-columns: 1fr;
    }

    .p15-add-cart,
    .p15-checkout,
    .p15-whatsapp {
        height: 56px;
    }

    .p15-description-card,
    .p15-specs-card,
    .p15-related {
        padding: 18px;
    }

    .p15-specs-card li {
        flex-direction: column;
        gap: 5px;
    }

    .p15-specs-card strong {
        text-align: left;
    }

    .p15-section-head {
        align-items: flex-start;
    }

    .p15-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .p15-related-card {
        padding: 12px;
        border-radius: 18px;
    }

    .p15-related-img {
        height: 110px;
    }

    .p15-related-card h3 {
        font-size: 14px;
    }

    .p15-related-card p {
        font-size: 12px;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .p15-main-image {
        height: 290px;
    }

    .p15-info-card h1 {
        font-size: 30px;
    }

    .p15-mode-buttons button,
    .p15-variant-buttons button {
        min-width: 100%;
    }
}