:root {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --secondary: #3498db;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --white: #ffffff;
    --gray: #95a5a6;
    --danger: #e74c3c;
    --success: #2ecc71;
    --warning: #f39c12;
    --bg: #f8f9fa;
    --border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 25px;
    background: var(--light);
    transition: all 0.3s;
}

.header-actions a:hover {
    background: var(--primary);
    color: var(--white);
}

.cart-badge {
    background: var(--danger);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

.search-form {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border);
    border-radius: 25px 0 0 25px;
    font-size: 0.9rem;
    font-family: inherit;
}

.search-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

/* Navigation */
nav {
    background: #1a1a1a;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s;
    color: #ffffff;
}

.nav-menu > li:hover > a {
    color: var(--primary);
}

.nav-menu .has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    display: none;
    z-index: 100;
}

.nav-menu > li:hover .mega-menu {
    display: block;
}

.mega-menu .mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-menu h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1rem;
}

.mega-menu ul li a {
    display: block;
    padding: 8px 0;
    color: var(--dark);
    transition: all 0.3s;
}

.mega-menu ul li a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
}

/* Main */
main {
    min-height: 60vh;
    padding: 30px 0;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #bdc3c7;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--gray);
}

/* Page Title */
.page-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark);
}

/* Products */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 15px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card-body {
    padding: 15px;
}

.product-category {
    font-size: 0.7rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.product-name {
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-name a {
    color: var(--dark);
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.price-old {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.85rem;
}

.price-new {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-btn {
    display: block;
    padding: 10px;
    text-align: center;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.product-btn:hover {
    background: var(--primary-dark);
}

.sort-btn {
    padding: 6px 12px;
    background: var(--light);
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.sort-btn:hover,
.sort-btn.active {
    background: var(--primary);
    color: white;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px 0;
}

.product-detail-image {
    position: relative;
}

.product-detail-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-detail-info h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.product-detail-prices {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.product-detail-prices .price-new {
    font-size: 1.8rem;
}

.price-note {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.product-description {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.8;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.specs-table td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border);
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
    background: var(--light);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.quantity-selector span {
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 15px;
    background: var(--light);
    border-radius: 8px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-item span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: var(--gray);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
    font-size: 0.95rem;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

/* About Page */
.about-hero {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--dark), #1a5276);
    color: white;
    border-radius: 12px;
    margin-bottom: 40px;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.about-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.about-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-card h3 {
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.why-list {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.why-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-list li i {
    color: var(--primary);
}

/* FAQ */
.faq-section {
    margin-bottom: 30px;
}

.faq-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: #555;
}

.faq-item.open .faq-answer {
    padding: 0 20px 18px;
    max-height: 500px;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-card {
    max-width: 450px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

/* Cart */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    align-items: center;
}

.cart-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cart-summary {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--border);
    padding-top: 15px;
    margin-top: 15px;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.modal h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions .btn {
    flex: 1;
}

/* Mobile Menu */
#mobileMenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

#mobileSearch {
    display: none;
    padding: 10px;
    background: white;
    border-bottom: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block !important; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .mega-menu .mega-grid { grid-template-columns: repeat(2, 1fr); }
    .header-main .container { flex-wrap: wrap; }
    .search-form { order: 3; width: 100%; max-width: 100% !important; margin: 10px 0 0 0 !important; }
    .header-actions { gap: 10px; }
    .header-actions a { font-size: 0.8rem; padding: 8px 10px; }
    .header-actions span { display: none; }
    .product-detail { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .product-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .page-title { font-size: 1.5rem; }
    .container { padding: 0 10px; }
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    .product-card img { height: 150px !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .search-form { display: none !important; }
    .mobile-search-btn { display: block !important; }
}

@media (max-width: 576px) {
    .products-grid { grid-template-columns: 1fr !important; }
    .product-card img { height: 200px !important; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* Checkout */
.checkout-page {
    padding: 20px 0 50px;
}

.checkout-title {
    margin-bottom: 25px;
    font-size: 1.75rem;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 520px;
    margin: 25px auto 35px;
    gap: 0;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.85rem;
    min-width: 70px;
}

.checkout-step-line {
    flex: 1;
    height: 3px;
    background: var(--border);
    margin: 0 8px;
    margin-bottom: 22px;
    max-width: 80px;
}

.checkout-step-line.done {
    background: var(--primary);
}

.checkout-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.checkout-step.active {
    color: var(--primary);
}

.checkout-step.active .step-num {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.35);
}

.checkout-step.done {
    color: var(--primary-dark);
}

.checkout-step.done .step-num {
    background: var(--primary);
    color: white;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: start;
}

.checkout-main-col {
    min-width: 0;
}

.cart-items-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkout-form-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

.checkout-summary {
    position: sticky;
    top: 90px;
    border: 1px solid var(--border);
}

.text-free {
    color: var(--primary);
    font-weight: 600;
}

.checkout-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 15px;
    text-align: center;
}

.btn-continue {
    margin-top: 10px;
}

.footer-mini {
    background: var(--dark);
    color: #bdc3c7;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

.bank-note {
    margin-top: 15px;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-section-title {
    font-size: 1.1rem;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    margin-top: 25px;
}

.btn-dark {
    background: var(--dark);
    color: white;
    border: none;
}

.btn-dark:hover {
    background: #1a252f;
    color: white;
}

.btn-checkout {
    margin-top: 20px;
    padding: 14px;
    font-size: 1rem;
}

.btn-checkout.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-checkout-box {
    background: #fff8e6;
    border: 1px solid #f0d78c;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0 10px;
    text-align: center;
}

.auth-checkout-box p {
    font-weight: 600;
    margin-bottom: 12px;
    color: #856404;
}

.auth-checkout-box i {
    margin-right: 6px;
}

.auth-checkout-btns {
    display: flex;
    gap: 10px;
}

.auth-checkout-btns .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
}

.summary-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.summary-item img {
    width: 50px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.summary-item-qty {
    background: var(--light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-option-body {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s;
}

.payment-option-body i {
    font-size: 1.5rem;
    color: var(--gray);
}

.payment-option-body strong {
    display: block;
}

.payment-option-body span {
    font-size: 0.85rem;
    color: var(--gray);
}

.payment-option.active .payment-option-body,
.payment-option input:checked + .payment-option-body {
    border-color: var(--primary);
    background: rgba(46, 204, 113, 0.05);
}

.payment-option.active .payment-option-body i,
.payment-option input:checked + .payment-option-body i {
    color: var(--primary);
}

.bank-info-card {
    background: var(--bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 14px 22px 14px 16px;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: visible;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
    color: white;
}

.whatsapp-float i {
    font-size: 1.6rem;
}

.whatsapp-float-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: wa-pulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.25); opacity: 0; }
}

@media (max-width: 576px) {
    .whatsapp-float-label { display: none; }
    .whatsapp-float { padding: 14px; border-radius: 50%; }
    .whatsapp-float-pulse { border-radius: 50%; }
}

/* Receipt Upload */
.required-mark {
    color: #e74c3c;
}

.receipt-upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    margin-bottom: 15px;
    background: #fafbfc;
}

.receipt-upload-area:hover,
.receipt-upload-area.dragover {
    border-color: var(--primary);
    background: rgba(46, 204, 113, 0.05);
}

.receipt-upload-placeholder i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.receipt-upload-placeholder p {
    font-weight: 500;
    margin-bottom: 6px;
}

.receipt-upload-placeholder span {
    color: var(--primary);
    text-decoration: underline;
}

.receipt-upload-placeholder small {
    color: var(--gray);
}

.receipt-upload-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    padding: 10px;
}

.receipt-upload-preview i {
    font-size: 2rem;
    color: var(--primary);
}

.receipt-remove-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.receipt-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: white;
    transition: border-color 0.2s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Site Alert (in-page) */
.site-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid;
}

.site-alert-info { background: #e8f4fd; border-color: #b8daf0; color: #1a5276; }
.site-alert-warning { background: #fff8e6; border-color: #f0d78c; color: #856404; }
.site-alert-success { background: #e8f8ef; border-color: #a9dfbf; color: #1e8449; }
.site-alert-danger { background: #fdedec; border-color: #f5b7b1; color: #922b21; }

.site-alert-icon { font-size: 1.4rem; margin-top: 2px; }
.site-alert-body { flex: 1; }
.site-alert-body strong { display: block; margin-bottom: 4px; }
.site-alert-body p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.site-alert-close {
    background: none; border: none; font-size: 1.4rem; cursor: pointer;
    opacity: 0.6; line-height: 1; padding: 0 4px;
}
.site-alert-close:hover { opacity: 1; }

/* Copyable fields */
.order-number-box {
    background: linear-gradient(135deg, #e8f8ef 0%, #f0faf4 100%);
    border: 1px solid #a9dfbf;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.order-number-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.copyable-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.copyable-row code {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 1px;
}

.copyable-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.copyable-field p { flex: 1; margin: 0; }

.btn-copy {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-copy-sm { padding: 6px 10px; }

.btn-copy:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.order-number-hint {
    display: block;
    margin-top: 8px;
    color: var(--gray);
    font-size: 0.82rem;
}

.copy-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--dark);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10000;
    pointer-events: none;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Payment status pages */
.status-page-card {
    max-width: 560px;
    margin: 40px auto;
    background: white;
    border-radius: 16px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.status-page-card h1 {
    font-size: 1.6rem;
    margin: 20px 0 10px;
}

.status-desc {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.2rem;
    position: relative;
}

.status-icon.waiting { background: #fff8e6; color: #f39c12; }
.status-icon.approved { background: #e8f8ef; color: var(--primary); }
.status-icon.rejected { background: #fdedec; color: #e74c3c; }

.status-spinner {
    position: absolute;
    inset: -4px;
    border: 3px solid transparent;
    border-top-color: #f39c12;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.status-order-box { text-align: left; margin: 0 auto 24px; }

.status-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    margin: 24px 0;
    padding: 16px;
    background: var(--bg);
    border-radius: 10px;
}

.status-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.status-step.done { color: var(--primary); }
.status-step.active { color: var(--dark); font-weight: 600; }
.status-step i { width: 20px; text-align: center; }

.status-note { font-size: 0.85rem; color: var(--gray); }

.whatsapp-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #e8f8ef;
    border: 1px solid #a9dfbf;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    margin-bottom: 28px;
}

.whatsapp-notice i {
    font-size: 2.5rem;
    color: #25d366;
    flex-shrink: 0;
}

.whatsapp-notice strong {
    display: block;
    margin-bottom: 6px;
    color: #1e8449;
}

.whatsapp-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.status-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
