/* =========================
   GLOBAL PRODUCT PAGE
========================= */

body{
font-family:'Poppins',sans-serif;
background:#ffffff;
}

/* =========================
   HERO
========================= */

.p-hero{
padding:140px 0 80px;
background:#f8fafc;
}

.p-hero-grid{
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
}

.p-img img{
max-width:450px;
}

.p-content h1{
font-size:42px;
color:#1F5F8E;
margin-bottom:15px;
}

.p-sub{
color:#555;
margin-bottom:20px;
}

.p-features li{
margin-bottom:8px;
}

/* =========================
   SECTION BASE
========================= */

.p-section{
position:relative;
padding:120px 0;
background:#f8fafc;
overflow:hidden;
}

/* =========================
   CONTAINER
========================= */

/* FIX SECTION LAYOUT */

.p-container{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;   /* 🔥 controls spacing */
padding:0 8%;
}

/* REMOVE ABSOLUTE POSITION */
.p-img-left{
position:relative;   /* 🔥 IMPORTANT */
left:-10%;
top:0;
transform:none;

flex:1;
}

/* IMAGE CONTROL */
.p-img-left img{
height:480px;
width:auto;
display:block;

/* remove weird background edges */
background:transparent;

/* smooth shadow */
filter:drop-shadow(0 20px 30px rgba(0,0,0,0.12));
}

/* TEXT */
.p-text{
flex:1;
max-width:500px;
}

.text-right{
margin-left:auto;
}

.p-text h2{
font-size:34px;
color:#1F5F8E;
margin-bottom:15px;
}

.p-text p{
font-size:15px;
color:#555;
line-height:1.7;
}

/* =========================
   NORMAL FLEX SECTIONS
========================= */

.p-flex{
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
padding:0 8%;
}

.p-flex .p-img img{
max-width:350px;
}

/* =========================
   SPEC
========================= */

.p-spec{
padding:120px 0;
text-align:center;
background:#ffffff;
}

.p-spec h2{
font-size:32px;
color:#1F5F8E;
margin-bottom:40px;
}

.p-spec-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:30px;
max-width:900px;
margin:auto;
}

.p-spec-grid div{
background:#f8fafc;
padding:25px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

.p-hero-grid{
flex-direction:column;
text-align:center;
}
.p-img-left{
position:absolute;
left:0;
top:50%;
transform:translateY(-50%);
width:55%;
overflow:hidden;
}
.p-img-left{
position:absolute;
left:0;
top:50%;
transform:translateY(-50%);
width:55%;
overflow:hidden;
}

.p-img-left img{
transform:none;
height:260px;
}

.p-flex{
flex-direction:column;
text-align:center;
}

}
/* EDGE SECTION (FIXED CLEAN) */

.edge-layout{
display:flex;
align-items:center;
justify-content:space-between;
padding:0 8%;
gap:60px;
}

/* IMAGE SIDE */

.edge-img{
flex:1;
margin-left:-40px;   /* 🔥 this creates edge effect */
}
.p-img-left img{
height:500px;   /* 🔥 MAKE BIGGER */
width:auto;

filter:drop-shadow(0 25px 40px rgba(0,0,0,0.15));
}
/* TEXT SIDE */

.edge-text{
flex:1;
}
.edge-img img{
display:block;
margin:0 auto;
}

.edge-text h2{
font-size:34px;
color:#1F5F8E;
margin-bottom:15px;
}

.edge-text p{
color:#555;
line-height:1.7;
}