/* ============================================= */
/* === PRODUCT DETAIL PAGE STYLES ============== */
/* ============================================= */

/* ===== PAGE HERO TWEAKS ===== */
.page-hero-product {
    min-height: 280px;
}

/* ===== PRODUCT DETAIL SECTION ===== */
.product-detail {
    position: relative;
    padding: 70px 6% 90px;
    perspective: 1400px;
}

/* ===== TWO-COLUMN LAYOUT ===== */
.pd-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: stretch;
    max-width: 1320px;
    margin: 0 auto;
}

/* =================== GALLERY =================== */
.pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pd-gallery-glass {
    position: relative;
    border-radius: 28px;
    padding: 24px;
    background:
        linear-gradient(155deg,
            rgba(0, 217, 87, 0.10) 0%,
            rgba(20, 60, 50, 0.18) 40%,
            rgba(8, 22, 18, 0.55) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    isolation: isolate;
    transform-style: preserve-3d;
}

.pd-gallery-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1.5px;
    background: linear-gradient(135deg,
        rgba(0, 217, 87, 0.55),
        rgba(255, 255, 255, 0.04) 35%,
        rgba(0, 217, 87, 0.0) 60%,
        rgba(255, 255, 255, 0.20) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.pd-gallery-shine {
    position: absolute;
    top: -60%;
    left: -40%;
    width: 80%;
    height: 220%;
    background: linear-gradient(115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0.16) 50%,
        rgba(255, 255, 255, 0.05) 60%,
        transparent 100%);
    transform: rotate(8deg);
    pointer-events: none;
    animation: pdShine 7s ease-in-out infinite;
    z-index: 1;
}
@keyframes pdShine {
    0%   { transform: translateX(0%) rotate(8deg); opacity: 0; }
    20%  { opacity: 0.9; }
    100% { transform: translateX(220%) rotate(8deg); opacity: 0; }
}

.pd-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00d957 0%, #00ff7a 100%);
    color: #0a1f15;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 217, 87, 0.45);
}

.pd-image-frame {
    position: relative;
    z-index: 2;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 50% 110%, rgba(0, 217, 87, 0.22) 0%, transparent 60%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: zoom-in;
}

.pd-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55));
}

.pd-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 110%, rgba(0, 217, 87, 0.35) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

/* ===== THUMBS ===== */
.pd-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pd-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.35));
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.pd-thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 217, 87, 0.5);
}

.pd-thumb.active {
    border-color: #00d957;
    box-shadow:
        0 8px 22px rgba(0, 217, 87, 0.30),
        inset 0 0 0 1px rgba(0, 217, 87, 0.50);
}

/* =================== INFO PANEL =================== */
.pd-info {
    position: relative;
    display: flex;
    align-items: stretch;
}

.pd-info-glass {
    position: relative;
    width: 100%;
    border-radius: 28px;
    padding: 38px 36px 32px;
    background:
        linear-gradient(155deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(20, 60, 50, 0.20) 40%,
            rgba(8, 22, 18, 0.65) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    isolation: isolate;
}

.pd-info-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1.5px;
    background: linear-gradient(135deg,
        rgba(0, 217, 87, 0.55),
        rgba(255, 255, 255, 0.04) 35%,
        rgba(0, 217, 87, 0.0) 60%,
        rgba(255, 255, 255, 0.20) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.pd-info-shine {
    position: absolute;
    top: -60%;
    left: -40%;
    width: 60%;
    height: 220%;
    background: linear-gradient(115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.05) 60%,
        transparent 100%);
    transform: rotate(8deg);
    pointer-events: none;
    animation: pdShine 9s ease-in-out infinite;
    animation-delay: 2s;
    z-index: 0;
}

.pd-tag {
    position: relative;
    z-index: 1;
}

.pd-name {
    position: relative;
    z-index: 1;
    margin: 14px 0 12px;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 800;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.pd-name em {
    font-style: italic;
    font-weight: 700;
    margin-left: 6px;
}

/* ===== STARS ===== */
.pd-stars {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 18px;
    color: #ffd166;
    font-size: 1.05rem;
}
.pd-rating-text {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

/* ===== PRICE ROW ===== */
.pd-price-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.10);
}

.pd-price {
    font-size: clamp(1.7rem, 2.7vw, 2.2rem);
    font-weight: 800;
    color: #00ff7a;
    letter-spacing: -0.01em;
    text-shadow: 0 0 30px rgba(0, 217, 87, 0.4);
}

.pd-shipping {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 217, 87, 0.10);
    color: #00ff7a;
    border: 1px solid rgba(0, 217, 87, 0.25);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pd-desc {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ===== SIZES ===== */
.pd-sizes {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.pd-row-label {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pd-size-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-size-chip {
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.pd-size-chip:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 217, 87, 0.45);
    color: white;
}
.pd-size-chip.selected {
    background: linear-gradient(135deg, rgba(0, 217, 87, 0.20), rgba(0, 217, 87, 0.05));
    border-color: #00d957;
    color: #00ff7a;
    box-shadow:
        0 6px 18px rgba(0, 217, 87, 0.25),
        inset 0 0 0 1px rgba(0, 217, 87, 0.50);
}
.pd-size-chip.is-static {
    cursor: default;
}
.pd-size-chip.is-static:hover { transform: none; }

/* ===== ACTIONS ROW ===== */
.pd-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.pd-qty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pd-qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}
.pd-qty-btn:hover {
    background: rgba(0, 217, 87, 0.18);
    transform: scale(1.06);
}
.pd-qty-btn:active { transform: scale(0.94); }

.pd-qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    letter-spacing: 0.06em;
}

.pd-add-btn {
    flex: 1;
    min-width: 220px;
    height: 50px;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
}
.pd-add-btn.added {
    background: linear-gradient(135deg, #00d957 0%, #00ff7a 100%);
    color: #0a1f15;
}

.pd-wish {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.pd-wish:hover {
    background: rgba(255, 80, 110, 0.12);
    border-color: rgba(255, 80, 110, 0.45);
    color: #ff6b81;
    transform: translateY(-2px);
}
.pd-wish.active {
    background: rgba(255, 80, 110, 0.20);
    border-color: #ff6b81;
    color: #ff8fa0;
}
.pd-wish.active svg { fill: #ff6b81; }

/* ===== META LIST ===== */
.pd-meta-list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0 0 22px;
    padding: 18px 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.10);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.10);
    display: grid;
    gap: 8px;
}
.pd-meta-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}
.pd-meta-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.pd-meta-value {
    color: white;
    font-weight: 600;
    text-align: right;
}

.pd-trust {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pd-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pd-trust-item svg { color: #00ff7a; }

/* =================== TABS =================== */
.pd-tabs {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 80px auto 0;
}

.pd-tabs-bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.pd-tab {
    position: relative;
    padding: 12px 22px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.pd-tab em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    margin-left: 4px;
    letter-spacing: 0.04em;
}
.pd-tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
}
.pd-tab.active {
    color: #0a1f15;
    background: linear-gradient(135deg, #00d957 0%, #00ff7a 100%);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(0, 217, 87, 0.35);
}
.pd-tab.active em { color: rgba(10, 31, 21, 0.55); }

.pd-tab-panels {
    padding-top: 32px;
}

.pd-tab-panel {
    display: none;
    animation: pdFadeIn 0.5s ease both;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.75;
}
.pd-tab-panel.active { display: block; }

@keyframes pdFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pd-feature-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.pd-feature-list li {
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}
.pd-bullet {
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d957, #00ff7a);
    box-shadow: 0 0 12px rgba(0, 217, 87, 0.6);
}

/* ===== ADDITIONAL INFO TABLE ===== */
.pd-info-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.20));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
}
.pd-info-table th,
.pd-info-table td {
    padding: 16px 22px;
    text-align: left;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pd-info-table tr:last-child th,
.pd-info-table tr:last-child td { border-bottom: 0; }
.pd-info-table th {
    width: 30%;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.02);
}
.pd-info-table td { color: white; font-weight: 500; }

/* ===== REVIEWS ===== */
.pd-reviews-summary {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 36px;
    align-items: center;
    padding: 28px 30px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.30));
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}
.pd-review-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.pd-review-score strong {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}
.pd-review-stars { color: #ffd166; font-size: 1.15rem; letter-spacing: 1px; }
.pd-review-score em {
    color: rgba(255, 255, 255, 0.55);
    font-style: normal;
    font-size: 0.82rem;
    margin-top: 4px;
}

.pd-review-bars {
    display: grid;
    gap: 6px;
}
.pd-review-bar {
    display: grid;
    grid-template-columns: 24px 1fr 36px;
    align-items: center;
    gap: 12px;
}
.pd-review-bar span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
}
.pd-review-bar i {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    font-style: normal;
}
.pd-review-bar i::before {
    content: '';
    position: absolute;
    inset: 0;
    width: var(--w);
    background: linear-gradient(90deg, #00d957, #00ff7a);
    border-radius: 999px;
}
.pd-review-bar em {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    font-style: normal;
    text-align: right;
}

.pd-review-list {
    display: grid;
    gap: 16px;
}
.pd-review {
    padding: 22px 24px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.30));
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.pd-review:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 217, 87, 0.30);
}
.pd-review header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.pd-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 217, 87, 0.30), rgba(20, 60, 50, 0.6));
    border: 1px solid rgba(0, 217, 87, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.pd-review header > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.pd-review header strong {
    color: white;
    font-size: 0.94rem;
}
.pd-review-meta {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}
.pd-review-rating { color: #ffd166; font-size: 0.92rem; letter-spacing: 1px; }
.pd-review p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* =================== RELATED =================== */
.pd-related {
    position: relative;
    max-width: 1320px;
    margin: 100px auto 0;
}

.pd-related-head {
    text-align: center;
    margin-bottom: 36px;
}
.pd-related-head .section-tag { margin: 0 auto 14px; }
.pd-related-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.pd-related-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(155deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(20, 60, 50, 0.18) 40%,
            rgba(8, 22, 18, 0.55) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.pd-related-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(0, 217, 87, 0.35);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 217, 87, 0.25);
}

.pd-related-img {
    position: relative;
    aspect-ratio: 1 / 1;
    background: radial-gradient(120% 80% at 50% 110%, rgba(0, 217, 87, 0.18) 0%, transparent 60%);
    overflow: hidden;
}
.pd-related-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55));
}
.pd-related-card:hover .pd-related-img img { transform: scale(1.08); }

.pd-related-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00d957 0%, #00ff7a 100%);
    color: #0a1f15;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    z-index: 2;
}

.pd-related-info {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pd-related-tag {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}
.pd-related-name {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.005em;
    margin: 0;
}
.pd-related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}
.pd-related-price {
    color: #00ff7a;
    font-weight: 800;
    font-size: 1.05rem;
}
.pd-related-add {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d957 0%, #00ff7a 100%);
    color: #0a1f15;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 6px 16px rgba(0, 217, 87, 0.40);
}
.pd-related-add:hover { transform: scale(1.12) rotate(90deg); }

/* ===== NOT FOUND ===== */
.pd-not-found {
    position: relative;
    text-align: center;
    padding: 80px 40px 90px;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.40));
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 720px;
    margin: 40px auto 0;
    overflow: hidden;
}
.pd-not-found-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 217, 87, 0.12), transparent 60%);
    pointer-events: none;
}
.pd-not-found-title {
    position: relative;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}
.pd-not-found-sub {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 26px;
}
.pd-not-found .page-btn {
    position: relative;
    display: inline-flex;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1280px) {
    .pd-related-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .pd-related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    .product-detail { padding: 50px 5% 70px; }
    .pd-info-glass { padding: 30px 26px; }
    .pd-related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .pd-tabs { margin-top: 60px; }
    .pd-reviews-summary {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 540px) {
    .product-detail { padding: 40px 4% 60px; }
    .pd-gallery-glass { padding: 16px; border-radius: 22px; }
    .pd-info-glass { padding: 26px 20px; border-radius: 22px; }
    .pd-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .pd-actions {
        flex-direction: column;
    }
    .pd-add-btn {
        order: 2;
        width: 100%;
    }
    .pd-qty {
        order: 1;
        align-self: flex-start;
    }
    .pd-wish { order: 3; align-self: flex-start; }
    .pd-tab { padding: 10px 14px; font-size: 0.7rem; }
    .pd-related { margin-top: 70px; }
    .pd-related-title { margin-top: 8px; }
}
