@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff6000;
    --primary-hover: #e65600;
    --secondary-color: #ff6000;
    --bg-dark: #121212;
    --bg-light: rgba(232, 236, 243, 0.4);
    /* Replicated from ppm32.mn */
    --text-main: #171717;
    /* Replicated from ppm32.mn */
    --text-white: #FFFFFF;
    --text-muted: #666666;
    --header-height: 75px;
    --transition-fast: 0.3s ease;
    --pill-bg: #f8f9fa;
    --pill-border: #eeeeee;
    --hero-overlay: rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

main {
    padding-top: var(--header-height);
}

.page-container {
    width: 100%;
    padding: 0 20%;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Header & Nav */
header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 30px;
}

.logo img {
    height: 63px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mobile-menu-header,
.menu-divider {
    display: none;
}

/* On desktop, the card container should be neutral */
.mobile-menu-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    width: auto;
    max-width: none;
}

.menu-toggle {
    display: none;
    background: white;
    border: 1px solid var(--pill-border);
    border-radius: 10px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.nav-pill {
    display: flex;
    align-items: center;
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    padding: 3px 3px 3px 12px;
    border-radius: 50px;
    gap: 12px;
}

.nav-pill ul {
    display: flex;
    list-style: none;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.nav-pill a {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-pill a:hover,
.nav-pill a.active {
    color: var(--primary-color);
}

.nav-pill .btn-pill {
    background: var(--primary-color);
    color: white !important;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.68rem;
}

.support-info {
    text-align: right;
    line-height: 1.0;
}

.support-info .phone {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
}

.support-info .label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.lang-switcher {
    position: relative;
    cursor: pointer;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--pill-border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.lang-btn img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border: 1px solid var(--pill-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1010;
    min-width: 150px;
}

.lang-dropdown.active {
    display: flex;
}

.lang-option {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
/* Removed static hero background to resolve overlap with slider */

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Buttons - Solid Orange & Pill Shape */
.hero-content .btn {
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 600;
}

.hero-content .btn-primary,
.hero-content .btn-outline {
    background: #ff6000;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    color: white;
}

.hero-content .btn-primary:hover,
.hero-content .btn-outline:hover {
    background: #e65600;
    transform: scale(1.05);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    /* Slightly more rounded */
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #ff6000;
    color: var(--text-white);
    border: none;
    box-shadow: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #e65600;
    box-shadow: none;
}

.btn-secondary,
.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: white;
}

/* Grids */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 96, 0, 0.1);
}

.hero {
    height: 100vh;
    margin-top: calc(-1 * var(--header-height));
    margin-bottom: 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
}

.hero-slide.active {
    opacity: 1;
}

.hero .container,
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10%;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
    color: white;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-content h1 {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-content h1.fade-out,
.hero-content p.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f9f9f9;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
}

.order-btn-link {
    display: inline-flex;
    align-items: center;
    background: #ff6000;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
}

.order-btn-link:hover {
    background: #e65600;
    transform: translateX(3px);
}

.order-btn-link i {
    margin-left: 8px;
    font-size: 0.8rem;
}

.stock-status {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

/* Sections */
section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
}

/* Video Section */
.video-container {
    max-width: 900px;
    margin: 40px auto;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-spacer {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 60px auto;
    border-radius: 2px;
    opacity: 0.8;
}

/* Footer */
footer {
    background: #ff6000;
    color: white;
    padding: 48px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    column-gap: 40px;
    row-gap: 40px;
    margin-bottom: 40px;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

/* Footer columns adjustments per screenshot */
.footer-col:nth-child(2) {
    position: relative;
    left: 5px;
    /* Move 5px right */
}

.footer-col:nth-child(3) {
    position: relative;
    left: -20px;
    /* Moved 10px more left (total 20px) */
}

.footer-col h4 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: none;
    color: white;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li,
.footer-col p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    margin-top: 10px;
}

/* Product Detail Page */
.breadcrumb {
    padding: 4px 0 8px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
    display: flex;
    gap: 8px;
    align-items: center;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-section {
    padding-bottom: 60px;
    background: #f8fafc;
}

.product-detail-section .container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
}

.product-detail-container {
    max-width: 1152px;
    margin: 0 auto;
    /* Center alignment fix */
    padding: 0 24px;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 24px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 634px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-grid {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
    /* Make thumbnails significantly smaller */
}

.thumb {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: none;
    /* Removed border to eliminate white frame */
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    padding: 0;
    /* Removed padding so image fills entire space */
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Changed from contain to cover to fill frame */
    object-position: center;
    /* Ensure image is centered */
}

@media (max-width: 768px) {
    .thumbnail-grid {
        width: 100%;
        max-width: 100%;
        gap: 8px;
        margin-left: 0;
        margin-right: 0;
        display: flex;
        /* Using flex for easier fixed sizing */
        justify-content: flex-start;
    }

    .thumb {
        position: relative !important;
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        padding: 0 !important;
        border: 1px solid #e5e7eb !important;
        /* Light grey border */
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 0;
        /* Square frame */
    }

    .thumb img {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        background: transparent;
        border-radius: 0;
    }
}

.thumb.active,
.thumb:hover {
    border-color: var(--primary-color);
}

/* Form Card */
.product-form-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 446px;
}

.product-form-card h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1e293b;
}

.detail-form .form-group {
    margin-bottom: 16px;
}

.detail-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #64748b;
}

.detail-form select,
.detail-form input[type="date"],
.detail-form textarea {
    width: 100%;
    height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.detail-form textarea {
    height: auto;
}

.detail-form select:focus,
.detail-form input[type="date"]:focus,
.detail-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(255, 96, 0, 0.1);
}

/* Make entire date input clickable */
.detail-form input[type="date"] {
    cursor: pointer;
    position: relative;
}

.detail-form input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Checkbox Styles */
.form-checkbox-group {
    margin-bottom: 15px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
    color: #475569;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #f1f5f9;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
}

.checkbox-container:hover input~.checkmark {
    background-color: #e2e8f0;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Quote Display */
.quote-display {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}

.quote-display .label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
}

.quote-display .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.submit-order-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    padding: 28px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.close-modal {
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}

.close-modal:hover {
    color: #1e293b;
    transform: scale(1.1);
}

/* Modal Form Inputs */
.modal-body .form-group {
    margin-bottom: 18px;
}

.modal-body .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 6px;
}

.modal-body .form-group input,
.modal-body .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.modal-body .form-group input::placeholder {
    color: #94a3b8;
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus {
    border-color: #3b82f6;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Order Summary Box */
.order-summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 20px 0;
    font-size: 13px;
}

.order-summary-box h4 {
    margin-bottom: 12px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.summary-item {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item strong {
    font-weight: 600;
    color: #334155;
    min-width: auto;
}

.summary-item span {
    color: #64748b;
}

/* Submit Button */
.submit-final-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-final-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.delivery-badge {
    display: inline-block;
    background: #f0f7ff;
    color: #1e40af;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #dbeafe;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive Detail Page */
@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .product-form-card {
        max-width: 100%;
    }

    .detail-form select,
    .detail-form input[type="date"],
    .detail-form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .detail-form input[type="date"] {
        min-height: 36px;
    }
}

.social-links h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.social-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    transition: transform 0.2s;
    display: inline-block;
}

.social-links a:hover {
    transform: scale(1.1);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 24px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 0 10px;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    display: block;
}

/* Contact Page Refined */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 96, 0, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.card-content p,
.card-content a {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    text-decoration: none;
    display: block;
}

.phone-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}

.phone-list a:hover {
    color: var(--primary-color);
}

.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links-contact a {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    background: #f8fafc;
    transition: all 0.3s ease;
    margin-bottom: 0;
    /* Override old margin */
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 96, 0, 0.1);
}

.contact-form .btn-primary {
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    margin-top: 10px;
}

/* Map Container Refined */
.map-container {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .phone-list {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}

/* Hide close button on desktop */
.menu-close-btn {
    display: none;
}

@media (max-width: 768px) {
    main {
        padding-top: calc(var(--header-height) - 13px);
    }

    header {
        padding: 0 20px;
    }

    .logo {
        margin-left: 10px;
    }

    .page-container {
        padding: 0 20px;
    }

    section {
        padding-left: 20px;
        padding-right: 20px;
    }

    footer {
        padding: 24px 20px;
    }

    .footer-content {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 20px;
    }

    /* Mobile Footer Text Scaling (x0.8) */
    .footer-col h4 {
        font-size: 14px;
    }

    .footer-col ul li,
    .footer-col p,
    .footer-col ul li a {
        font-size: 11px;
    }

    .footer-col i {
        font-size: 13px;
        width: 16px;
    }

    .social-links a {
        font-size: 14px;
    }

    .footer-bottom,
    .footer-bottom p,
    .footer-bottom a {
        font-size: 10px;
        padding: 12px 0 0 0;
        margin-top: 20px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .header-right {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.35);
        /* Darker backdrop as in screenshot */
        z-index: 10001;
        /* Much higher to cover everything */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        transition: opacity 0.3s ease;
        backdrop-filter: blur(12px);
        overflow-y: auto;
    }

    .header-right.active {
        display: flex !important;
    }

    /* Hide the main hamburger toggle when overlay is active */
    .header-right.active~.menu-toggle {
        display: none !important;
    }

    /* Mobile Menu Top Bar */
    .mobile-menu-header {
        width: 100%;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .mobile-logo {
        height: 44px;
        width: auto;
    }

    .mobile-logo img {
        height: 100%;
        width: auto;
        display: block;
    }

    .menu-close-btn {
        display: flex;
        position: static;
        background: rgba(255, 255, 255, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.4);
        font-size: 1.3rem;
        color: #171717;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        backdrop-filter: blur(5px);
    }

    /* Mobile Menu Card */
    .mobile-menu-card {
        background: white;
        width: 92%;
        max-width: 380px;
        border-radius: 24px;
        padding: 12px;
        box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .nav-pill {
        background: transparent;
        border: none;
        padding: 0;
        border-radius: 0;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
        margin-bottom: 12px;
        display: flex;
    }

    .nav-pill ul {
        flex-direction: column;
        gap: 2px;
        width: 100%;
        text-align: left;
    }

    .nav-pill a {
        font-size: 0.95rem;
        font-weight: 500;
        color: #171717;
        padding: 12px 16px;
        border-radius: 10px;
        transition: all 0.2s;
        opacity: 1;
        transform: none;
        display: block;
    }

    .nav-pill a.active {
        background: var(--primary-color) !important;
        color: white !important;
    }

    .nav-pill a:hover:not(.active) {
        background: rgba(0, 0, 0, 0.05);
    }

    .nav-pill .btn-pill {
        background: transparent;
        color: #171717 !important;
        padding: 12px 16px;
        border-radius: 10px;
        font-weight: 500;
        font-size: 0.95rem;
        text-align: left;
        margin-top: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        min-width: 0;
    }

    .nav-pill .btn-pill:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    /* Divider */
    .menu-divider {
        height: 1px;
        background: rgba(0, 0, 0, 0.05);
        margin: 5px 0 15px;
        width: 100%;
    }

    .support-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0 16px 15px;
        border-top: none;
        text-align: left;
        opacity: 1;
        transform: none;
    }

    .support-info .phone {
        font-size: 1.1rem;
        font-weight: 600;
        color: #171717;
        margin-bottom: 2px;
    }

    .support-info .label {
        font-size: 0.85rem;
        color: #666;
    }

    .lang-switcher {
        width: auto;
        margin: 0 0 10px 16px;
        opacity: 1;
        transform: none;
        display: inline-block;
    }

    .lang-btn {
        padding: 8px 16px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 50px;
        font-size: 0.85rem;
    }

    .menu-close-btn:hover {
        transform: rotate(90deg) scale(1.1);
        color: var(--primary-color);
    }

    .hero-content {
        text-align: center;
        padding: 0 5%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
        margin-top: 25px;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0;
        margin-bottom: 20px;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        left: 0;
    }

    .product-detail-container.page-container {
        padding: 0 10px;
    }
}

/* Radio Button Group Styling */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: #475569;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.radio-container:hover input~.radio-checkmark {
    background-color: #ccc;
}

.radio-container input:checked~.radio-checkmark {
    background-color: var(--primary-color);
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked~.radio-checkmark:after {
    display: block;
}

.radio-container .radio-checkmark:after {
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Stock Display */
.stock-display {
    padding: 10px;
    background-color: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-display::before {
    content: '\f466';
    /* FontAwesome box icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
}

/* Conditional Sections */
#delivery-details,
#vat-details {
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Section */
.faq-section {
    padding-bottom: 80px;
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 60px;
}

.faq-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
    transition: background 0.2s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    flex: 1;
    padding-right: 20px;
    color: var(--text-main);
}

.faq-toggle-icon {
    font-size: 0.8rem;
    color: #888;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in-out;
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer p {
    border-color: rgba(0, 0, 0, 0.05);
    padding-top: 16px;
}

/* ============================================
   INVENTORY PAYMENT MODAL STYLES
   ============================================ */

#inventory-payment-modal .modal-content {
    max-width: 480px;
}

#inventory-payment-modal .modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

/* Order Number Display */
.order-number-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.order-number-group label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}

.order-number-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#order-number-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 1px;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.copy-btn i {
    font-size: 1rem;
}

/* Copy Container and Feedback */
.copy-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-feedback {
    font-size: 0.85rem;
    font-weight: 600;
    color: #28a745;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.copy-feedback.show {
    opacity: 1;
}

/* Bank Info */
.bank-info-group {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.bank-info-group label {
    font-size: 0.85rem;
    color: #92400e;
    margin-bottom: 4px;
    display: block;
}

.bank-account-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    word-break: break-all;
}

.bank-account-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-account-row .copy-btn {
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.bank-account-row .copy-btn:hover {
    background: #d97706;
}

.bank-account-row .copy-feedback {
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.bank-account-row .copy-feedback.show {
    opacity: 1;
}

/* Transaction Hint */
.transaction-hint-group {
    margin-bottom: 16px;
}

.transaction-hint-group label {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.transaction-hint-text {
    font-size: 0.9rem;
    color: #dc2626;
    font-weight: 600;
    margin: 0;
    padding: 8px 0 0 0;
}

/* Total Payment */
.total-payment-group {
    background: #ecfdf5;
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-payment-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #065f46;
    margin: 0;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

/* Green Success Button */
.btn-success {
    background: #10b981;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Payment Hint */
.payment-hint {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Payment Complete Button Styles */
.payment-complete-btn {
    background: #10b981;
    color: white;
}