/* =========================================================================
   Product Detail Page (PDP) Specific Styles (Honor Pad 9 Inspired)
   ========================================================================= */

/* Product Sticky Nav */
.pdp-subnav {
    position: sticky; top: 0; z-index: 990;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee; height: 60px;
    transition: transform 0.3s ease;
}
.pdp-subnav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 6%; height: 100%;
    display: flex; justify-content: space-between; align-items: center;
}
.pdp-brand { font-size: 1.2rem; font-weight: 700; color: #000; letter-spacing: -0.02em; }
.pdp-links { display: flex; gap: 2rem; align-items: center; }
.pdp-links a { font-size: 0.9rem; color: #555; font-weight: 500; transition: 0.3s; }
.pdp-links a:hover, .pdp-links a.active { color: #000; }
.btn-pdp-buy { background: #000; color: #fff !important; padding: 0.4rem 1.5rem; border-radius: 50px; font-size: 0.85rem; transition: 0.3s; }
.btn-pdp-buy:hover { background: #333; }

/* Immersive Hero */
.pdp-hero {
    position: relative; width: 100%; padding: 0;
    background: #fff; overflow: hidden; display: flex; flex-direction: column; align-items: center;
}
.pdp-hero-text {
    position: absolute; top: 10%; left: 0; width: 100%; text-align: center; z-index: 5; padding: 0 20px;
}
.pdp-hero-title { font-size: 4.5rem; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 0.5rem; color: #000; line-height: 1; }
.pdp-hero-subtitle { font-size: 1.8rem; color: #1d1d1f; font-weight: 400; letter-spacing: -0.01em; opacity: 0.9; }
.pdp-hero-img-wrapper { 
    position: relative; width: 100%; aspect-ratio: 1 / 1; z-index: 1; 
    margin: 0; overflow: hidden;
}
.pdp-hero-img-wrapper img { 
    width: 100%; height: 100%; object-fit: cover; 
}

/* Bento Grid Features */
.pdp-bento-section { padding: 8rem 0; background: #fff; }
.pdp-bento-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    max-width: 1280px; margin: 0 auto; padding: 0 6%;
}
.pdp-bento-item {
    background: #f9f9f9; border-radius: 16px; padding: 2.5rem 1.5rem;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: 0.3s; border: 1px solid rgba(0,0,0,0.02);
}
.pdp-bento-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.04); background: #fff; border-color: #eee; }
.pdp-bento-value { font-size: 2.8rem; font-weight: 700; color: #000; line-height: 1; margin-bottom: 0.8rem; letter-spacing: -0.03em; }
.pdp-bento-value small { font-size: 1.2rem; font-weight: 500; }
.pdp-bento-label { font-size: 1rem; color: #666; font-weight: 500; }

/* Edge-to-edge Feature Sections */
.pdp-feature-dark, .pdp-feature-light {
    position: relative; width: 100%; overflow: hidden; padding: 10rem 0 0; display: flex; flex-direction: column; align-items: center;
}
.pdp-feature-dark { background: #111; color: #fff; }
.pdp-feature-light { background: #fff; color: #000; }

.pdp-feature-content {
    max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 2; padding: 0 20px;
}
.pdp-feature-title { font-size: 3rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.02em; line-height: 1.2; }
.pdp-feature-desc { font-size: 1.15rem; line-height: 1.6; opacity: 0.8; }

.pdp-feature-img-full { width: 100%; max-width: 1600px; margin: 4rem auto 0; display: block; position: relative; z-index: 2; }
.pdp-feature-img-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.4; }

/* Specs Table */
.pdp-specs-section { padding: 8rem 0; background: #fbfbfd; }
.pdp-specs-container { max-width: 1000px; margin: 0 auto; background: #fff; padding: 5rem; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.pdp-specs-container h2 { font-size: 2.5rem; margin-bottom: 3rem; text-align: center; font-weight: 700; letter-spacing: -0.02em; }
.spec-row { display: flex; border-bottom: 1px solid #eee; padding: 1.8rem 0; }
.spec-row:last-child { border-bottom: none; }
.spec-name { width: 30%; font-weight: 600; color: #1d1d1f; font-size: 1.1rem; }
.spec-details { width: 70%; color: #666; line-height: 1.6; font-size: 1.05rem; }

@media (max-width: 900px) {
    .pdp-bento-grid { grid-template-columns: repeat(2, 1fr); }
    .pdp-hero { padding: 0; }
    .pdp-hero-title { font-size: 2.8rem; }
    .pdp-hero-text { top: 8%; }
    .pdp-hero-img-wrapper { width: 100%; aspect-ratio: 1 / 1; }
    .pdp-feature-title { font-size: 2.2rem; }
    .spec-row { flex-direction: column; gap: 0.5rem; }
    .spec-name, .spec-details { width: 100%; }
    .pdp-specs-container { padding: 3rem 2rem; }
}
