/* =========================================================
   PEHRAWAAH — PRODUCT DETAIL PAGE (ROYAL LUXURY)
   ========================================================= */

.tf-product-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 28px 0;
}

.tf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 28px;
    color: #60777C;
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
}

.tf-breadcrumb a {
    color: #006D77;
    text-decoration: none;
    font-weight: 500;
}

.tf-breadcrumb a:hover {
    color: #006D77;
}

.tf-breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    color: #183238;
    font-weight: 600;
}

.tf-product-page {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: clamp(30px, 4.5vw, 68px);
    align-items: start;
}

.tf-product-gallery {
    min-width: 0;
}

.tf-product-main-image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 580px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(11, 59, 44, 0.08);
}

.tf-product-main-image > img {
    width: 100%;
    height: 100%;
    max-height: 720px;
    object-fit: contain;
    object-position: center;
    padding: clamp(12px, 2vw, 24px);
    cursor: zoom-in;
    transition: transform .35s ease;
}

.tf-product-main-image > img:hover {
    transform: scale(1.03);
}

.tf-image-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(197, 160, 89, 0.4) !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #006D77 !important;
    font: 400 24px/1 serif;
    box-shadow: 0 8px 24px rgba(11, 59, 44, 0.12);
    transform: translateY(-50%);
    cursor: pointer;
    transition: all .2s ease;
}

.tf-image-arrow:hover {
    background: #006D77 !important;
    color: #FFFFFF !important;
    border-color: #006D77 !important;
}

.tf-image-arrow.left { left: 16px; }
.tf-image-arrow.right { right: 16px; }

.tf-image-zoom {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #006D77 !important;
    box-shadow: 0 6px 20px rgba(11, 59, 44, 0.1);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

.tf-product-thumbs {
    display: flex;
    gap: 12px;
    padding: 16px 2px 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tf-product-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 96px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid rgba(11, 59, 44, 0.15) !important;
    border-radius: 10px;
    background: #FFFFFF !important;
    cursor: pointer;
    transition: all .2s ease;
}

.tf-product-thumb.active {
    border-color: #006D77 !important;
    box-shadow: 0 0 0 2px #006D77;
}

.tf-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.tf-gallery-note {
    margin: 10px 0 0;
    color: #60777C;
    font-size: 12.5px;
    text-align: center;
}

.tf-product-details {
    position: sticky;
    top: 110px;
    padding: clamp(8px, 1vw, 18px) 0;
}

.tf-product-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #006D77;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tf-new-label {
    padding: 4px 10px;
    border-radius: 999px;
    background: #E8F5F6;
    color: #006D77;
    letter-spacing: .06em;
    font-size: 11px;
}

.tf-product-title {
    margin: 12px 0 6px;
    color: #014F5B;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
}

.tf-product-sku {
    margin: 0;
    color: #60777C;
    font-size: 12.5px;
}

.tf-product-price-row {
    margin: 20px 0 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(11, 59, 44, 0.1);
}

.tf-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tf-product-price .price-offer,
.tf-product-price .price-regular {
    color: #006D77;
    font-size: 30px;
    font-weight: 700;
}

.tf-product-price .price-original {
    color: #60777C;
    font-size: 16px;
    text-decoration: line-through;
}

.tf-discount-label {
    padding: 4px 10px;
    border-radius: 6px;
    background: #006D77;
    color: #014F5B;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .04em;
}

.tf-tax-note {
    display: block;
    margin-top: 6px;
    color: #60777C;
    font-size: 12px;
}

.tf-availability-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
}

.tf-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.tf-stock-badge.in-stock { color: #006D77; }
.tf-stock-badge.out-stock { color: #9B1C1C; }
.tf-dispatch-note { color: #55605B; font-size: 13px; }

.tf-product-shortdesc {
    margin: 16px 0 6px;
    color: #405E64;
    font-size: 15px;
    line-height: 1.7;
}

.tf-actions {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
    margin: 26px 0 24px;
}

.tf-actions button {
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s ease;
}

.tf-actions .tf-btn-primary {
    border: 1px solid #006D77 !important;
    background: #006D77 !important;
    color: #FFFFFF !important;
    box-shadow: 0 10px 24px rgba(11, 59, 44, 0.25);
}

.tf-actions .tf-btn-primary:hover {
    background: #014F5B !important;
    border-color: #006D77 !important;
}

.tf-actions .tf-btn-secondary {
    border: 1px solid rgba(197, 160, 89, 0.6) !important;
    background: #FFFFFF !important;
    color: #006D77 !important;
}

.tf-actions .tf-btn-secondary:hover {
    background: #E8F5F6 !important;
}

.tf-actions .tf-wishlist-icon.active {
    border-color: #E02424 !important;
    background: #FDF2F2 !important;
    color: #E02424 !important;
}

.tf-confidence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 24px;
}

.tf-confidence-grid > div {
    padding: 14px 10px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 10px;
    background: #FFFFFF;
    text-align: center;
}

.tf-confidence-grid i {
    display: block;
    margin-bottom: 6px;
    color: #006D77;
    font-size: 18px;
}

.tf-confidence-grid strong {
    display: block;
    color: #014F5B;
    font-size: 12px;
    font-weight: 700;
}

.tf-confidence-grid span {
    display: block;
    color: #60777C;
    font-size: 11px;
    line-height: 1.4;
}

.tf-product-accordions {
    border-top: 1px solid rgba(11, 59, 44, 0.1);
}

.tf-product-accordions details {
    border-bottom: 1px solid rgba(11, 59, 44, 0.1);
}

.tf-product-accordions summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 2px;
    color: #006D77;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.tf-product-accordions summary::-webkit-details-marker { display: none; }
.tf-product-accordions summary i { color: #006D77; font-size: 12px; transition: transform .2s; }
.tf-product-accordions details[open] summary i { transform: rotate(180deg); }
.tf-product-accordions details > div { padding: 0 2px 18px; color: #405E64; font-size: 14px; line-height: 1.8; }

/* RELATED PRODUCTS */
.tf-related-section {
    position: relative;
    max-width: 1320px;
    margin: 80px auto;
    padding: 50px 32px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 16px 44px rgba(11, 59, 44, 0.06);
}

.tf-section-heading { margin-bottom: 30px; text-align: center; }
.tf-section-heading > span { color: #006D77; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tf-section-heading h2 { margin: 6px 0; color: #006D77; font-family: var(--font-heading); font-size: clamp(26px, 3vw, 36px); font-weight: 600; }
.tf-section-heading p { margin: 0; color: #60777C; font-size: 14px; }

/* REVIEWS */
.tf-reviews-section {
    max-width: 1320px;
    margin: 70px auto 0;
    padding: 44px 36px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 16px 44px rgba(11, 59, 44, 0.06);
}

.tf-reviews-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(11, 59, 44, 0.1);
}

.tf-reviews-heading h2 {
    margin: 4px 0 0;
    color: #006D77;
    font-family: var(--font-heading);
    font-size: 32px;
}

.tf-review-average > strong { font-size: 36px; color: #006D77; }
.tf-review-average b, .tf-review-stars { color: #006D77; letter-spacing: 2px; }

.tf-review-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #006D77;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tf-review-button:hover {
    background: #014F5B;
}

.tf-review-card {
    padding: 20px;
    border: 1px solid rgba(11, 59, 44, 0.1);
    border-radius: 12px;
    background: #F7FBFC;
}

@media (max-width: 900px) {
    .tf-product-page {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .tf-product-details {
        position: static;
    }
    .tf-product-main-image {
        min-height: 440px;
    }
}
