:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333;
    --accent-color: #000;
    --text-color: #333;
    --bg-color: #fff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.home-page .container {
    max-width: 100%;
    padding: 0 40px;
    /* More padding for full width look */
}


h1,
h2,
h3,
h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Layout Utilities */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-2-col.reverse .image-content {
    order: 2;
}

.grid-2-col.reverse .text-content {
    order: 1;
}

.grid-2-col.align-top {
    align-items: start;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.section-title.left-align {
    text-align: left;
}

.section-desc {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.8;
}

/* Hero */
.hero-section {
    margin-bottom: 40px;
}

.hero-img {
    width: 100%;
    height: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card img {
    height: 200px;
    object-fit: cover;
    margin: 0 auto 20px;
    width: 100%;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    height: auto;
}


/* Order Banner */
.order-link {
    display: block;
    transition: transform 0.2s;
}

.order-link:hover {
    transform: scale(1.01);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.contact-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    margin-top: 10px;
    align-self: flex-start;
}

.main-footer {
    background: #f9f9f9;
    padding: 20px 0;
    text-align: center;
    margin-top: 60px;
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 768px) {

    .grid-2-col,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .grid-2-col.reverse .image-content {
        order: unset;
    }

    .grid-2-col.reverse .text-content {
        order: unset;
    }
}

/* Order Page Styles */
.product-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.main-image-container img {
    width: 100%;
    border: 1px solid #efefef;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}

.thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid transparent;
    opacity: 0.6;
    transition: 0.2s;
}

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

.product-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #444;
}

.product-meta {
    margin-bottom: 20px;
}

.product-meta label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #666;
}

.qty-input {
    padding: 10px;
    width: 60px;
    text-align: center;
    border: 1px solid #ccc;
    background: #f9f9f9;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: 0.3s;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #000;
}

.btn-secondary {
    background: #fff;
    color: var(--text-color);
    border-color: #ccc;
}

.btn-secondary:hover {
    border-color: #000;
}

.product-description {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.product-description h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: left;
}

.product-description p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}


/* Checkout Page */
.payment-body {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.checkout-container {
    background: #fff;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.checkout-header {
    margin-bottom: 30px;
    text-align: center;
}

.step-section {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-section.active {
    display: block;
}

.step-section h3 {
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.disabled-input {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

/* Strictly block all user interaction for standard cursor behavior */
.readonly-input {
    background-color: #fff;
    cursor: default;
    pointer-events: none;
    user-select: none;
}

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

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