/* RESET CSS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f0f2f5;
}

/* CONTAINER CHÍNH - GIỚI HẠN CHIỀU RỘNG GIỐNG ĐIỆN THOẠI */
.mobile-container {
    max-width: 480px; /* Chiều rộng chuẩn của view mobile */
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding-bottom: 20px;
}

/* HEADER */
.top-banner {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
}

.header-promo {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.header-promo h2 {
    color: #d32f2f;
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 700;
}

.header-promo .percent {
    background: #d32f2f;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
}

.sub-text {
    font-size: 14px;
    color: #222;
    font-weight: 700;
}

/* HERO SECTION */
.product-hero {
    position: relative;
    text-align: center;
    padding: 10px;
}

.product-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.price-tag-container {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    border: 2px dashed #d32f2f;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 16px;
    margin-right: 10px;
}

.new-price {
    color: #d32f2f;
    font-size: 28px;
    font-weight: bold;
}

.promo-badge {
    background: #ffeb3b;
    color: #d32f2f;
    display: inline-block;
    padding: 3px 10px;
    font-weight: bold;
    font-size: 12px;
    border-radius: 3px;
    margin-top: 5px;
}

/* NÚT MUA HÀNG CHUNG */
.cta-button {
    display: block;
    background-color: #008000; /* Màu xanh lá giống ảnh */
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 0;
    text-transform: uppercase;
    box-shadow: 0 4px 0 #005f00;
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #005f00;
}

/* Hiệu ứng rung nhẹ cho nút */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* CÁC PHẦN FEATURE DỌC */
.feature-section {
    margin-bottom: 20px;
    position: relative;
}

.feature-section img {
    width: 100%;
    display: block;
}

.green-label {
    background-color: #008000;
    color: white;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    text-transform: uppercase;
}

/* CAM KẾT */
.guarantee-section {
    padding: 20px;
    background: #e8f5e9;
    margin: 20px 0;
}

.guarantee-section h3 {
    text-align: center;
    color: #008000;
    margin-bottom: 15px;
}

.guarantee-section ul {
    list-style: none;
}

.guarantee-section li {
    margin-bottom: 10px;
    font-size: 14px;
}

.guarantee-section i {
    color: #008000;
    margin-right: 8px;
}

/* BẢNG SIZE - GIỐNG ẢNH NỀN VÀNG */
.size-chart-section {
    background-color: #f9f1d8; /* Màu be vàng nhạt */
    padding: 30px 15px;
    text-align: center;
}

.size-chart-box h3 {
    color: #5d4037;
    margin-bottom: 15px;
    text-transform: uppercase;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin: 0 auto;
}

th, td {
    border: 1px solid #d7ccc8;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

th {
    background-color: #efebe9;
    font-weight: bold;
}

.note {
    font-size: 12px;
    margin-top: 10px;
    color: #d32f2f;
    font-style: italic;
}

/* ĐỒNG HỒ ĐẾM NGƯỢC */
.countdown-section {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-top: 5px solid #d32f2f;
}

.countdown-title {
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.time-box {
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    min-width: 50px;
}

.time-box span {
    font-size: 20px;
    font-weight: bold;
}

.time-box p {
    font-size: 10px;
    margin: 0;
}

.colon {
    font-size: 20px;
    font-weight: bold;
}

/* FORM ĐẶT HÀNG */
.order-form-container {
    background: #fff;
    padding: 20px;
    border: 2px solid #008000;
    margin: 20px 10px;
    border-radius: 10px;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header h3 {
    color: #d32f2f;
    font-size: 22px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    background-color: #d32f2f; /* Màu đỏ cho nút chốt đơn */
    color: white;
    border: none;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: #b71c1c;
}

/* FEEDBACK - STYLE FACEBOOK */
.feedback-section {
    padding: 20px;
    background: #fff;
    border-top: 10px solid #f0f2f5;
}

.feedback-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    border-left: 4px solid #008000;
    padding-left: 10px;
}

.comment {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.avatar {
    width: 40px;
    height: 40px !important;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-content {
    flex: 1;
}

.name {
    font-size: 14px;
    color: #385898;
    margin-bottom: 2px;
}

.text {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.comment-img {
    margin-top: 5px;
    border-radius: 5px;
}

.meta {
    font-size: 12px;
    color: #90949c;
    margin-top: 5px;
}

/* FOOTER */
.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    line-height: 1.6;
}