/* ================================================= */
/* ---------- PRODUCT DETAIL PAGE ---------- */
/* ================================================= */
.pd {
    background: #fbf1ec;
    padding: clamp(16px, 2.5vw, 30px) clamp(16px, 4vw, 55px) clamp(40px, 6vw, 80px);
}

.pd-inner {
    margin: 0 auto;
    /* max-width: 1200px; */
}

/* Breadcrumb */
.pd-breadcrumb {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: clamp(.7rem, .9vw, .8rem);
    gap: 8px;
    margin-bottom: clamp(16px, 2.4vw, 28px);
}

.pd-breadcrumb i {
    font-size: .6rem;
    opacity: .7;
}

.pd-breadcrumb a:hover {
    color: var(--rose-dark);
}

.pd-breadcrumb span {
    color: var(--text);
}

/* Top layout */
.pd-top {
    align-items: start;
    display: grid;
    gap: clamp(24px, 4vw, 56px);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

/* Gallery */
.pd-gallery {
    display: grid;
    gap: clamp(10px, 1.4vw, 16px);
    grid-template-columns: clamp(56px, 7vw, 84px) minmax(0, 1fr);
}

.pd-thumbs {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vw, 12px);
}

.pd-thumb {
    aspect-ratio: 1 / 1;
    background: #f3dfd3;
    border: 1px solid #ecd9d0;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: border-color .2s, transform .2s;
}
.pd-thumb img { height: 100%; object-fit: cover; width: 100%; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.is-active { border: 2px solid var(--rose-dark); }

.pd-main-image {
    aspect-ratio: 1 / 1;
    background: #f3dfd3;
    border: 1px solid #f1e2da;
    overflow: hidden;
}
.pd-main-image img { height: 100%; object-fit: cover; width: 100%; }

/* Info */
.pd-info h1 {
    color: var(--text);
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px;
}

.pd-rating {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-stars {
    color: #e0a24b;
    font-size: .9rem;
    letter-spacing: 2px;
}

.pd-rating-text {
    color: var(--muted);
    font-size: .8rem;
}

.pd-price {
    color: var(--text);
    font-family: var(--serif);
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    font-weight: 700;
    margin: 16px 0 18px;
}

.pd-buy {
    align-items: center;
    background: linear-gradient(135deg, #c58570 0%, #b9735f 100%);
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(158, 109, 91, .25);
    color: #fff;
    display: flex;
    font-size: clamp(.9rem, 1.1vw, 1rem);
    font-weight: 500;
    gap: 12px;
    justify-content: center;
    letter-spacing: .02em;
    max-width: 280px;              /* button ni width limit */
    padding: 13px 24px;
    transition: box-shadow .25s, transform .25s, filter .25s;
    width: 100%;                   /* nani screen par max-width sudhi j vadhe */
}

.pd-buy i {
    font-size: 1.4rem;
}

.pd-buy:hover {
    box-shadow: 0 10px 22px rgba(158, 109, 91, .35);
    filter: brightness(.95);
    transform: translateY(-2px);
}

/* Features: no boxes, only round icon + text + divider line */
.pd-features {
    display: grid;
    gap: 0;
    margin-top: clamp(14px, 2vw, 22px);
}

.pd-features li {
    align-items: center;
    background: none;
    border: 0;
    border-bottom: 1px solid #ecd9d0;
    color: #4a3a34;
    display: flex;
    font-family: var(--serif);
    font-size: clamp(.82rem, 1vw, .92rem);
    font-weight: 700;
    gap: clamp(14px, 2vw, 22px);
    padding: clamp(10px, 1.3vw, 14px) 0;
}

.pd-features li:last-child {
    border-bottom: 0;
}

.pd-feature-icon {
    align-items: center;
    background: rgba(255, 255, 255, .5);
    border: 1px solid var(--rose-dark);
    border-radius: 50%;
    color: var(--rose-dark);
    display: inline-flex;
    flex-shrink: 0;
    font-size: .95rem;
    height: clamp(38px, 3.6vw, 46px);
    justify-content: center;
    width: clamp(38px, 3.6vw, 46px);
}

/* Product details */
.pd-details {
    border-top: 1px solid #ecd9d0;
    margin-top: clamp(28px, 4vw, 48px);
    padding-top: clamp(20px, 3vw, 32px);
}

.pd-details h2{
    color: var(--text);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    font-weight: 900;
    margin: 0 0 15px;
}

.pd-details p {
    color: #7a625a;
    font-size: .9rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 780px;
}

.pd-specs {
    display: grid;
    gap: 6px;
    margin: 0;
}

.pd-specs div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .88rem;
}

.pd-specs dt {
    color: var(--text);
    font-weight: 600;
}

.pd-specs dd {
    color: #7a625a;
    margin: 0;
}

/* Why choose */
.pd-why {
    border-top: 1px solid #ecd9d0;
    margin-top: clamp(24px, 3.5vw, 40px);
    padding-top: clamp(20px, 3vw, 32px);
    /* text-align: center; */
}

.pd-why-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    /* max-width: 800px; */
}

.pd-why-item {
    align-items: center;
    color: #4a3a34;
    display: flex;
    flex-direction: column;
    font-size: .85rem;
    gap: 10px;
}

.pd-why-icon {
    align-items: center;
    background: rgba(255, 255, 255, .5);
    border: 1px solid var(--rose-dark);
    border-radius: 50%;
    color: var(--rose-dark);
    display: inline-flex;
    font-size: 1.1rem;
    height: 54px;
    justify-content: center;
    transition: background .25s, color .25s, transform .25s;
    width: 54px;
}

.pd-why-item:hover .pd-why-icon {
    background: var(--rose-dark);
    color: #fff;
    transform: translateY(-3px);
}

.pd-why h2 {
    color: #711804;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    font-weight: 800;
    margin: 0 0 20px;
}
/* Available on Amazon */
.pd-amazon {
    align-items: center;
    background: #fbe9e1;
    border: 1px solid #f0d8cd;
    display: flex;
    justify-content: center;
    margin-top: clamp(28px, 4vw, 48px);
    overflow: hidden;
    padding: clamp(24px, 3.5vw, 40px) clamp(16px, 3vw, 40px);
    position: relative;
}

.pd-amazon-body {
    align-items: center;
    display: flex;
    gap: clamp(16px, 3vw, 36px);
    position: relative;
    z-index: 2;
}

.pd-amazon-icon {
    color: #2b1d18;
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.pd-amazon-copy h3 {
    color: var(--text);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 600;
    margin: 0 0 4px;
}

.pd-amazon-copy h3 span {
    color: var(--rose-dark);
}

.pd-amazon-copy p {
    color: var(--muted);
    font-size: .85rem;
    margin: 0 0 14px;
}

.pd-buy--sm {
    display: inline-flex;
    font-size: .85rem;
    padding: 11px 28px;
    width: auto;
}

.pd-amazon-leaf {
    bottom: 0;
    height: 100%;
    max-height: 190px;
    object-fit: contain;
    /* opacity: .8; */
    pointer-events: none;
    position: absolute;
    width: auto;
    z-index: 1;
}

.pd-amazon-leaf--left {
    left: 0;
    object-position: left bottom;
}

.pd-amazon-leaf--right {
    right: 0;
    object-position: right bottom;
    transform: scaleX(-1);
}

.pd-main-image img {
    transition: opacity .25s ease;
}

.pd-thumb {
    opacity: .75;
}

.pd-thumb:hover,
.pd-thumb.is-active {
    opacity: 1;
}

/* ---------- TABLET ---------- */
@media (max-width: 900px) {
    .pd-top {
        grid-template-columns: 1fr;
    }

    .pd-gallery {
        margin: 0 auto;
        max-width: 560px;
        width: 100%;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
    .pd-gallery {
        grid-template-columns: 1fr;
    }

    .pd-thumbs {
        flex-direction: row;
        order: 2;
    }

    .pd-thumb {
        width: 64px;
    }

    .pd-main-image {
        order: 1;
    }

    .pd-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }

    .pd-amazon-body {
        flex-direction: column;
        text-align: center;
    }

    .pd-amazon-leaf {
        display: none;
    }

    .pd-buy--sm {
        width: 100%;
    }

    .pd-info .pd-buy {
        max-width: 100%;
    }
}