/* =========================
RESET
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:linear-gradient(135deg,#0f0c29,#302b63,#24243e);
color:#fff;
display:flex;
justify-content:center;
}

/* =========================
CONTAINER
========================= */

.container{
width:95%;
max-width:1200px;
background:#111827;
border-radius:20px;
padding:30px;
box-shadow:0 0 40px rgba(0,0,0,0.6);
margin-top:10px;
}

/* =========================
HEADER
========================= */

.profile-header{
position:relative;
margin-bottom:60px;
}

.banner{
height:220px;
border-radius:20px;
background:url('../banner.png') center/cover no-repeat;
background-color:#0f172a;
}

.profile-info{
display:flex;
align-items:flex-end;
gap:20px;
position:absolute;
bottom:-60px;
left:30px;
}

.avatar-big{
position:relative;
width:100px;
height:100px;
border-radius:25px;
padding:5px;
background:linear-gradient(135deg,#45edd7,#60a5fa);
}

.avatar-big img{
width:100%;
height:100%;
border-radius:20px;
object-fit:cover;
}

.verified-badge{
position:absolute;
bottom:-5px;
right:-5px;
width:26px;
height:26px;
border-radius:50%;
background:#2563eb;
display:flex;
align-items:center;
justify-content:center;
font-size:14px;
border:3px solid #111827;
}

.profile-text h2{
font-size:22px;
}

.profile-text span{
font-size:14px;
color:#aaa;
}


/* =========================
PRODUCT DETAIL
========================= */

.product-detail{
display:flex;
gap:30px;
margin-top:10px;
flex-wrap:wrap;
align-items:stretch;
}

.product-image,
.product-info{
flex:1;
min-width:300px;
}

/* IMAGE */

.product-image img{
width:100%;
border-radius:16px;
object-fit:cover;
}

/* THUMB */

.thumbs{
display:flex;
gap:10px;
margin-top:15px;
overflow-x:auto;
padding-bottom:5px;
}

.thumb{
min-width:110px;
height:75px;
object-fit:cover;
border-radius:10px;
cursor:pointer;
opacity:.7;
border:2px solid transparent;
transition:.2s;
}

.thumb:hover{
opacity:1;
transform:scale(1.05);
}

.thumb.active{
opacity:1;
border:2px solid #00f5ff;
}

/* =========================
PRODUCT INFO
========================= */

.product-info h2{
font-size:24px;
margin-bottom:10px;
}

.price{
font-size:26px;
font-weight:700;
color:#4ade80;
}

.old-price{
text-decoration:line-through;
color:#888;
margin-left:10px;
}

.discount{
background:#ef4444;
padding:4px 8px;
border-radius:6px;
margin-left:10px;
font-size:13px;
}

/* BUTTON */

.buy-btn{
margin-top:20px;
padding:14px;
width:100%;
border:none;
border-radius:12px;
font-weight:600;
font-size:16px;
color:#fff;

background:linear-gradient(90deg,#2dd4bf,#7c3aed);
cursor:pointer;

transition:all .2s ease;

/* shadow bình thường */
box-shadow:0 3px 8px rgba(0,0,0,0.25);
}

.buy-btn:hover{
transform:scale(1.03);

/* shadow tăng nhẹ */
box-shadow:0 6px 14px rgba(0,0,0,0.35);
}




/* =========================
SHORT DESCRIPTION
========================= */

.short-desc{
margin-top:15px;
background:#0b1626;
padding:15px 18px;
border-radius:10px;
line-height:1.6;
font-size:15px;
color:#e5e7eb;
border:1px solid #1f2937;
width:100%;
overflow:hidden;
}

.short-desc *{
max-width:100%;
box-sizing:border-box;
}

.short-desc p{
margin:8px 0;
}

.short-desc img{
display:block;
margin:10px auto;
max-width:100%;
border-radius:8px;
}

.short-desc ul,
.short-desc ol{
padding-left:20px;
margin:10px 0;
}

.short-desc a{
color:#00f5ff;
text-decoration:none;
}

.short-desc a:hover{
text-decoration:underline;
}

/* =========================
TABS
========================= */

.tabs{
margin-top:40px;
background:#0b1626;
padding:25px;
border-radius:16px;
border:1px solid #1f2937;
}

.tab-buttons{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-bottom:20px;
}

.tab-btn{
padding:10px 18px;
border:none;
border-radius:10px;
background:#1f2937;
color:#9ca3af;
cursor:pointer;
font-weight:600;
font-size:14px;
transition:.25s;
}

.tab-btn:hover{
background:#374151;
color:#fff;
transform:translateY(-1px);
}

.tab-btn.active{
background:linear-gradient(90deg,#00f5ff,#9d4edd);
color:#000;
box-shadow:0 4px 15px rgba(0,245,255,.3);
}

.tab-content{
display:none;
animation:fadeTab .3s ease;
line-height:1.8;
font-size:15px;
color:#d1d5db;
}

.tab-content.active{
display:block;
}

@keyframes fadeTab{
from{opacity:0;transform:translateY(10px);}
to{opacity:1;transform:translateY(0);}
}

/* CONTENT */

.tab-content h1,
.tab-content h2,
.tab-content h3{
margin-top:25px;
margin-bottom:10px;
color:#00f5ff;
}

.tab-content p{
margin:12px 0;
}

.tab-content ul{
padding-left:20px;
margin:10px 0;
}

.tab-content li{
margin-bottom:6px;
}

.tab-content img{
display:block;
margin:25px auto;
max-width:850px;
width:100%;
aspect-ratio:16/9;
object-fit:cover;
border-radius:12px;
box-shadow:0 8px 25px rgba(0,0,0,.45);
border:1px solid #1f2937;
}

.tab-content img:hover{
transform:scale(1.02);
transition:0.25s;
}



.tab-content iframe{
display:block;
margin:20px auto;
max-width:100%;
border-radius:10px;
}

.tab-content table{
width:100%;
border-collapse:collapse;
margin:15px 0;
}

.tab-content td,
.tab-content th{
border:1px solid #1f2937;
padding:10px;
}

.tab-content a{
color:#00f5ff;
text-decoration:none;
}

.tab-content a:hover{
text-decoration:underline;
}

.tab-content strong{
color:#4ade80;
}

.tab-content em{
color:#9ca3af;
}

/* =========================
FAQ
========================= */

.faq-box h3{
color:#ff6b6b;
font-size:17px;
margin-top:25px;
}

.faq-box p{
color:#cbd5e1;
line-height:1.7;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:900px){

.profile-info{
position:relative;
bottom:auto;
left:auto;
margin-top:-50px;
justify-content:center;
text-align:center;
}

.product-detail{
flex-direction:column;
}

}

@media(max-width:768px){

.container{
padding:15px;
}

.product-image,
.product-info{
min-width:0;
width:100%;
}

.thumbs{
gap:8px;
}

.thumb{
min-width:70px;
height:50px;
}

.product-info h2{
font-size:20px;
}

.price{
font-size:22px;
}

.short-desc{
padding:12px;
font-size:14px;
}

.tab-buttons{
justify-content:center;
}

.tab-btn{
flex:1;
text-align:center;
font-size:13px;
padding:8px;
}

.tabs{
padding:18px;
}

.profile-menu{
justify-content:center;
gap:20px;
}

}

/* =========================
MENU MOBILE FIX
========================= */

@media(max-width:768px){

.profile-menu{
justify-content:center;
gap:15px;
margin-top:15px;
}

.profile-menu a{
font-size:13px;
padding:6px 8px;
}

}

/* =========================
PROFILE MENU
========================= */

.profile-menu{
display:flex;
justify-content:center;
align-items:center;
gap:35px;
margin-top:-10px;
padding:14px 25px;

flex-wrap:wrap;
}

/* LINK */

.profile-menu a{
position:relative;
text-decoration:none;
color:#cbd5e1;
font-weight:600;
font-size:15px;
padding:8px 10px;
transition:all .25s ease;
letter-spacing:.3px;
}

/* HOVER */

.profile-menu a:hover{
color:#00f5ff;
transform:translateY(-1px);
}

/* LINE EFFECT */

.profile-menu a::after{
content:"";
position:absolute;
left:50%;
bottom:-6px;
width:0%;
height:2px;
background:linear-gradient(90deg,#00f5ff,#9d4edd);
transition:.25s;
transform:translateX(-50%);
border-radius:2px;
}

.profile-menu a:hover::after,
.profile-menu a.active::after{
width:80%;
}

/* ACTIVE */

.profile-menu a.active{
color:#00f5ff;
}

/* =========================
CONTENT - PRODUCT DESCRIPTION
========================= */

.tab-content{
display:none;
animation:fadeTab .3s ease;
line-height:1.85;
font-size:15px;
color:#d1d5db;
}

.tab-content.active{
display:block;
}

/* HEADINGS */

.tab-content h1{
font-size:26px;
margin-top:30px;
margin-bottom:12px;
color:#fff;
}

.tab-content h2{
font-size:22px;
margin-top:28px;
margin-bottom:10px;
color:#38bdf8;
}

.tab-content h3{
font-size:18px;
margin-top:24px;
margin-bottom:8px;
color:#fbbf24;
}

/* PARAGRAPH */

.tab-content p{
margin:14px 0;
color:#cbd5e1;
}

/* LIST */

.tab-content ul,
.tab-content ol{
padding-left:22px;
margin:15px 0;
}

.tab-content li{
margin-bottom:8px;
}

/* IMAGE - FIX SIZE */

.tab-content img{
display:block;
margin:25px auto;
max-width:850px;
width:100%;
height:60%;
border-radius:12px;
object-fit:cover;
box-shadow:0 8px 25px rgba(0,0,0,.45);
border:1px solid #1f2937;
}

/* VIDEO */

.tab-content iframe{
display:block;
margin:25px auto;
max-width:850px;
width:100%;
height:480px;
border-radius:12px;
}

/* TABLE */

.tab-content table{
width:100%;
border-collapse:collapse;
margin:18px 0;
background:#0f172a;
border-radius:8px;
overflow:hidden;
}

.tab-content td,
.tab-content th{
border:1px solid #1f2937;
padding:10px;
}

.tab-content th{
background:#111827;
color:#e5e7eb;
}

/* LINKS */

.tab-content a{
color:#38bdf8;
text-decoration:none;
font-weight:500;
}

.tab-content a:hover{
text-decoration:underline;
}

/* STRONG FIX */

.tab-content strong{
color:#ffffff;
font-weight:600;
}


/* EMPHASIS */

.tab-content em{
color:#9ca3af;
font-style:italic;
}

/* BLOCKQUOTE */

.tab-content blockquote{
border-left:4px solid #38bdf8;
padding:10px 15px;
margin:20px 0;
background:#0f172a;
border-radius:6px;
}

/* =========================
FAQ STYLE
========================= */

.faq-box h3{
color:#f87171;
font-size:18px;
margin-top:30px;
margin-bottom:8px;
}

.faq-box p{
color:#cbd5e1;
line-height:1.8;
}

/* =========================
INFO BOX (GUIDE)
========================= */

.info-box{
background:#0f172a;
padding:20px;
border-radius:12px;
border:1px solid #1f2937;
margin-top:10px;
}

.info-box h3{
color:#facc15;
margin-top:20px;
}



/* NOTE */

.note{
background:#111827;
border-left:4px solid #38bdf8;
padding:12px 14px;
border-radius:6px;
margin-bottom:12px;
}

.product-image{
position:relative;
}

.out-stock{
position:absolute;
top:10px;
left:10px;
background:red;
color:white;
padding:6px 12px;
border-radius:8px;
font-weight:600;
font-size:13px;
}

.buy-btn.disabled{
background:#999;
cursor:not-allowed;
}

