* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #050505;
    color: white;
    font-family: 'Roboto', sans-serif;
}

.logo, .hero h1, h1, h2, h3 {
    font-family: 'Cinzel', serif;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 5px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    transition: color 0.3s;
}

nav a:hover {
    color: #aaa;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), #111;
}

.hero h1 {
    font-size: 70px;
    letter-spacing: 8px;
    line-height: 1.2;
}

.hero p {
    font-size: 25px;
    margin: 20px 0;
}

.desc {
    font-size: 18px !important;
    line-height: 1.8;
    color: #ccc;
}

/* Buttons */
button {
    background: white;
    color: black;
    padding: 18px 45px;
    border: none;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #aaa;
    transform: translateY(-3px);
}

/* Global Sections */
section {
    padding: 100px 10%;
    text-align: center;
}

.about p {
    font-size: 20px;
    line-height: 2;
    color: #ddd;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.cards div {
    border: 1px solid #333;
    padding: 40px;
    width: 220px;
    background: #0a0a0a;
}

.cards h3 {
    font-size: 40px;
    margin-bottom: 10px;
}

.price h1 {
    font-size: 60px;
    margin: 30px 0;
}

footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #222;
    color: #666;
}

/* Product Page */
.product-page {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    min-height: 100vh;
    padding: 120px 10% 50px;
}

/* Phone Mockup Preview */
.phone-mockup {
    width: 260px;
    height: 500px;
    border: 3px solid #444;
    border-radius: 40px;
    background: #111;
    position: relative;
    box-shadow: 0 0 25px rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s infinite ease-in-out;
}

.camera-lens {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border: 2px solid #333;
    border-radius: 15px;
    background: #000;
}

.tattoo-preview-text {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 4px;
    transform: rotate(-90deg);
    text-transform: uppercase;
    word-break: break-all;
    text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.product-info {
    text-align: left;
    width: 100%;
    max-width: 420px;
}

.product-info h1 {
    font-size: 38px;
}

.product-info .price {
    font-size: 36px;
    margin: 20px 0;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.product-info label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #aaa;
    letter-spacing: 1px;
}

.product-info input, .product-info select {
    width: 100%;
    padding: 15px;
    background: #111;
    color: white;
    border: 1px solid #333;
    font-size: 15px;
    outline: none;
}

.product-info input:focus, .product-info select:focus {
    border-color: #777;
}

.custom-select {
    position: relative;
    width: 100%;
}

#phoneButton {
    width: 100%;
    height: 50px;
    background: #111;
    color: white;
    border: 1px solid #333;
    text-align: left;
    padding: 0 15px;
    font-size: 15px;
}

.phone-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: #111;
    border: 1px solid #333;
}

.phone-options.show {
    display: block;
}

.phone-options div {
    padding: 12px 15px;
    border-bottom: 1px solid #222;
    cursor: pointer;
}

.phone-options div:hover {
    background: #222;
}

.product-info button {
    margin-top: 15px;
    width: 100%;
}

/* Checkout Page */
.checkout {
    max-width: 650px;
    margin: 0 auto;
    padding-top: 140px;
}

.checkout h1 {
    font-size: 40px;
    margin-bottom: 30px;
}

.order-box, .customer-box {
    border: 1px solid #222;
    padding: 30px;
    margin-bottom: 25px;
    text-align: left;
    background: #0a0a0a;
}

.order-box h2, .customer-box h2 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.order-box p {
    margin-bottom: 10px;
    color: #ccc;
}

.highlight {
    color: #fff;
    font-weight: bold;
}

.customer-box input {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: #111;
    border: 1px solid #333;
    color: white;
}

.customer-box button {
    width: 100%;
    margin-top: 10px;
}

/* Admin Page */
.admin {
    padding-top: 140px;
    max-width: 850px;
    margin: 0 auto;
}

.order-card {
    border: 1px solid #333;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    background: #0b0b0b;
    position: relative;
}

.order-card h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.order-card p {
    margin-bottom: 6px;
    color: #ccc;
}

.order-card select {
    padding: 10px;
    background: #111;
    color: white;
    border: 1px solid #444;
    margin-top: 10px;
}

.btn-delete {
    background: #ff4757;
    color: white;
    padding: 8px 15px;
    font-size: 12px;
    position: absolute;
    top: 25px;
    right: 25px;
    letter-spacing: 1px;
}

.btn-delete:hover {
    background: #ff2e43;
}

.custom-select {
    position: relative;
    width: 100%;
}

#phoneButton {
    width: 100%;
    height: 50px;
    background: #111;
    color: white;
    border: 1px solid #333;
    text-align: left;
    padding: 0 15px;
    font-size: 15px;
    cursor: pointer;
}

.phone-options {
    display: none; /* Ẩn mặc định */
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999; /* Đảm bảo menu hiển thị đè lên các thẻ bên dưới */
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    background: #111;
    border: 1px solid #444;
}

/* Lớp này dùng để hiện menu khi bấm vào button */
.phone-options.show {
    display: block !important;
}

.phone-options div {
    padding: 12px 15px;
    border-bottom: 1px solid #222;
    cursor: pointer;
    color: #fff;
}

.phone-options div:hover {
    background: #222;
    color: #fff;
}

/* Style Modal Pop-up */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #0b0b0b;
    border: 1px solid #333;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 30px rgba(255,255,255,0.05);
    text-align: left;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close-btn:hover {
    color: #fff;
}

.modal-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.order-summary {
    background: #111;
    padding: 15px;
    border: 1px solid #222;
    margin-bottom: 20px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.modal-form input {
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    background: #111;
    border: 1px solid #333;
    color: white;
    font-size: 15px;
}

.modal-form button {
    width: 100%;
    margin-top: 5px;
}

/* Style Modal Pop-up */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #0b0b0b;
    border: 1px solid #333;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 30px rgba(255,255,255,0.05);
    text-align: left;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close-btn:hover {
    color: #fff;
}

.modal-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.order-summary {
    background: #111;
    padding: 15px;
    border: 1px solid #222;
    margin-bottom: 20px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.modal-form input {
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    background: #111;
    border: 1px solid #333;
    color: white;
    font-size: 15px;
}

.modal-form button {
    width: 100%;
    margin-top: 5px;
}

/* Đảm bảo Modal được cố định nổi lên trên cùng */
.modal {
    display: none; /* Mặc định ẩn */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh; 
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(5px);
    z-index: 99999; /* Luôn nổi trên mọi phần tử khác */
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #111;
    border: 1px solid #333;
    padding: 25px;
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    position: relative;
    color: #fff;
}

.checkout{

max-width:600px;

margin:auto;

padding:120px 20px 50px;

}



.checkout h1{

text-align:center;

font-size:40px;

}



.order-summary,
.customer-form{

border:1px solid #333;

padding:25px;

margin-top:30px;

}



.customer-form input,
.customer-form textarea{


width:100%;

padding:15px;

margin:10px 0;

background:#111;

color:white;

border:1px solid #444;


}



.customer-form textarea{

height:100px;

}



.customer-form button{

width:100%;

margin-top:20px;

}

.checkout{

padding:120px 20px;

}



.checkout h1{

text-align:center;

font-size:45px;

}



.checkout-container{

max-width:900px;

margin:auto;

display:grid;

grid-template-columns:1fr 1fr;

gap:30px;

}



.product-summary,
.customer-box{

background:#111;

border:1px solid #333;

padding:30px;

border-radius:15px;

}



.product-summary h3{

font-size:40px;

}



.customer-box input,
.customer-box textarea{


width:100%;

padding:15px;

margin-bottom:15px;

background:#050505;

color:white;

border:1px solid #444;

border-radius:8px;

font-size:16px;

}



.customer-box textarea{

height:100px;

}



.customer-box button{


width:100%;

padding:18px;

background:white;

color:black;

font-weight:bold;

border:none;

cursor:pointer;

letter-spacing:2px;

}



.customer-box button:hover{

opacity:.8;

}




@media(max-width:768px){


.checkout-container{

display:block;

}


.product-summary{

margin-bottom:20px;

}



.checkout h1{

font-size:32px;

}


}

.admin-container{

max-width:900px;
margin:40px auto;
padding:20px;

}



.admin-order{

background:#111;
color:white;
padding:25px;
margin-bottom:20px;
border-radius:15px;
border:1px solid #333;

}



.admin-order button{

padding:10px 20px;
margin-right:10px;
cursor:pointer;

}

/* HERO NEW */

.hero{

min-height:90vh;

display:flex;

align-items:center;

justify-content:space-between;

padding:60px 8%;

gap:40px;

}



.hero-content{

flex:1;

}



.hero-content h1{

font-family:Cinzel,serif;

font-size:70px;

line-height:1.1;

letter-spacing:3px;

}



.subtitle{

font-size:24px;

margin-top:20px;

}



.desc{

color:#aaa;

line-height:2;

margin:30px 0;

}




.hero-image{

flex:1;

display:flex;

justify-content:center;

}



.hero-image img{

height:650px;

width:auto;

object-fit:contain;

filter:drop-shadow(0 30px 40px #000);

}






/* LETTERING */

.tattoo-showcase{

text-align:center;

padding:80px 20px;

}



.tattoo-showcase h2{

font-family:Cinzel,serif;

font-size:45px;

}



.tattoo-showcase img{

margin-top:40px;

width:100%;

max-width:600px;

border-radius:15px;

filter:drop-shadow(0 20px 30px #000);

}







/* MOBILE IPHONE */

@media(max-width:768px){


.hero{

flex-direction:column;

text-align:center;

padding:40px 20px;

}



.hero-content h1{

font-size:42px;

}



.subtitle{

font-size:18px;

}



.hero-image img{

height:420px;

}



.tattoo-showcase{

padding:50px 20px;

}



.tattoo-showcase h2{

font-size:32px;

}


}