/* Modern CSS Reset and Variables */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #1B5E20;
    --accent-color: #81C784;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --light-background: #f8f9fa;
    --success-color: #2E7D32;
    --error-color: #ef4444;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

#hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Features Section */
#features {
    padding: 100px 0;
    background: var(--light-bg);
}

#features h2, #applications h2, #contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    color: var(--text-color);
}

#features h2::after, #applications h2::after, #contact h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Applications Section */
#applications {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin: 1rem;
    padding: 0.5rem;
    background: var(--light-background);
    border-radius: var(--border-radius);
    width: calc(100% - 2rem);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: calc(var(--border-radius) - 4px);
    transition: transform 0.5s ease;
    background: white;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
}

.product-badge.premium {
    background: #FFD700;
    color: #000;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text-color);
}

.product-specs {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
}

.spec-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 1rem 0;
}

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

.original-price {
    text-decoration: line-through;
    color: var(--light-text);
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.product-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.product-actions .btn-primary {
    flex: 1;
}

/* Contact Section */
#contact {
    padding: 6rem 0;
    background: var(--light-background);
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

#contact .container {
    max-width: 1200px;
    margin: 0 auto;
}

#contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-info {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.95), rgba(27, 94, 32, 0.95));
    z-index: 0;
}

.contact-info > * {
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--accent-color);
}

.contact-item p {
    font-size: 1.1rem;
}

.contact-form {
    padding: 3rem;
    background: white;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact Section Responsive Styles */
@media (max-width: 768px) {
    #contact {
        padding: 4rem 1rem;
    }

    #contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        margin-bottom: 1rem;
    }

    .contact-item i {
        font-size: 1.25rem;
    }

    .contact-item p {
        font-size: 1rem;
    }
}

/* Small screens */
@media (max-width: 480px) {
    #contact {
        padding: 3rem 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem 0.75rem;
    }
}

/* Footer Styles */
footer {
    background: var(--light-background);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    width: 100%;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-links h4, .footer-social h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Modal Styles - Update to ensure modals don't interfere with footer */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 1100;
    overflow-y: auto;
    padding: 2rem;
}

.modal-content {
    position: relative;
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: var(--box-shadow);
}

/* Ensure main content sections don't overlap with footer */
main, section {
    position: relative;
    z-index: 1;
}

#contact {
    margin-bottom: 0;
    padding-bottom: 4rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 3rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links ul {
        margin-bottom: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background);
        padding: 1rem;
        box-shadow: var(--box-shadow);
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu {
        display: block;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    #hero h2 {
        font-size: 2.5rem;
    }

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

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

    .contact-form {
        padding: 20px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }

    #hero p {
        font-size: 1.1rem;
    }
    
    #hero .btn {
        padding: 12px 25px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .product-card {
        margin: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item img {
    width: 200px;  /* Adjust width as needed */
    height: 150px; /* Adjust height as needed */
    object-fit: cover; /* Ensures images maintain aspect ratio */
}

.service-card,
.portfolio-item,
.contact-info,
.contact-form {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.service-card.animate,
.portfolio-item.animate,
.contact-info.animate,
.contact-form.animate {
    opacity: 1;
    transform: translateY(0);
}

.success-modal {
    max-width: 500px;
    text-align: center;
}

.success-content {
    padding: 2rem;
}

.success-content i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-content h2 {
    color: var(--success-color);
    margin: 10px 0;
}

.success-content p {
    color: #666;
    margin-bottom: 20px;
}

.order-confirmation {
    text-align: left;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--light-background);
    border-radius: var(--border-radius);
}

.cod-info {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.cod-info h3 {
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

    .purchase-modal {
        padding: 20px;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-details {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-details:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Product Card Button Styles */
.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.product-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.product-actions .btn-primary {
    flex: 1;
}

/* Hero Section Button */
#hero .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#hero .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Form Submit Button */
.form-group .btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* Purchase Modal Buttons */
.purchase-actions {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.purchase-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.purchase-actions .btn-primary {
    flex: 2;
}

.purchase-actions .btn:first-child {
    flex: 1;
    background: var(--light-background);
    color: var(--text-color);
    border: none;
    box-shadow: none;
}

.purchase-actions .btn:first-child:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Success Modal Button */
.success-modal .btn {
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Responsive Button Styles */
@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .purchase-actions {
        flex-direction: column-reverse;
    }

    .purchase-actions .btn {
        width: 100%;
    }
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    z-index: 999;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateX(0);
    display: block;
}

.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.mobile-nav ul li a {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Header */
    header .container {
        padding: 0.75rem 1rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .logo img {
        height: 32px;
    }

    /* Hero Section */
    #hero {
        height: 90vh;
        min-height: 600px;
    }

    #hero .container {
        padding: 1rem;
    }

    #hero h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    #hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Sections Padding */
    #features,
    #applications,
    #contact {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Product Cards */
    .product-card {
        margin: 0.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .product-specs {
        gap: 0.5rem;
    }

    .spec-item {
        font-size: 0.9rem;
    }

    .price {
        font-size: 1.25rem;
    }

    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    /* Modals */
    .modal {
        padding: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .purchase-modal .form-sections {
        gap: 1.5rem;
    }

    .form-section {
        padding: 1rem;
    }

    .address-grid {
        gap: 0.75rem;
    }

    /* Success Modal */
    .success-modal {
        max-width: 100%;
        margin: 1rem;
    }

    .success-content {
        padding: 1.5rem;
    }

    .success-content i {
        font-size: 3rem;
    }

    /* Footer */
    footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-links h4 {
        font-size: 1rem;
    }

    .social-icons a {
        font-size: 1.25rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    #hero h2 {
        font-size: 1.75rem;
    }

    .product-actions {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .purchase-actions {
        gap: 0.75rem;
    }

    .form-section h3 {
        font-size: 1.1rem;
    }

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

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }

    #hero h2 {
        font-size: 3rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card {
        margin: 0.75rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }

    .product-card:hover {
        transform: none;
    }

    .social-icons a:hover {
        transform: none;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        height: auto;
        min-height: 100vh;
    }

    #hero .container {
        padding: 6rem 1rem 2rem;
    }

    .modal-content {
        max-height: 85vh;
        overflow-y: auto;
    }
}

/* Navigation Styles */
.desktop-nav {
    display: block;
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

/* Fix Contact Section Visibility */
#contact {
    position: relative;
    z-index: 1;
    background: var(--light-background);
    padding: 6rem 0;
    margin-bottom: 0;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
}

/* Fix Modal Stacking */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 1100;
    overflow-y: auto;
    padding: 2rem;
}

.modal-content {
    position: relative;
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: var(--box-shadow);
}

/* Fix Section Heights */
section {
    min-height: auto;
    padding: 6rem 0;
}

#hero {
    min-height: 100vh;
    padding: 0;
}

/* Fix Footer Position */
footer {
    position: relative;
    z-index: 1;
    background: var(--light-background);
    padding: 4rem 0 2rem;
    margin-top: 0;
}

/* Purchase Modal Styles */
.purchase-modal {
    max-width: 900px;
    padding: 0;
}

.purchase-header {
    background: var(--light-background);
    padding: 2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.purchase-header h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.8rem;
}

.purchase-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    position: relative;
}

.purchase-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.purchase-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.purchase-step span {
    font-size: 0.9rem;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.purchase-step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.purchase-step.active span {
    color: var(--primary-color);
    font-weight: 500;
}

.purchase-step.completed .step-number {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.purchase-step.completed span {
    color: var(--success-color);
}

.order-summary {
    background: var(--light-background);
    padding: 1.5rem;
    margin: 1.5rem;
    border-radius: var(--border-radius);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.purchase-form {
    padding: 2rem;
}

.form-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-section {
    background: var(--light-background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.form-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.2rem;
}

.form-section h3 i {
    color: var(--primary-color);
}

.payment-section {
    background: var(--light-background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.payment-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.2rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
}

.payment-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.payment-details h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.payment-details p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Order Tracking Styles */
.order-tracking {
    background: var(--light-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.tracking-number {
    text-align: center;
    margin-bottom: 2rem;
}

.tracking-number h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tracking-number p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.tracking-status {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 3rem 0;
}

.tracking-status::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.status-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.status-step i {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.status-step span {
    font-size: 0.9rem;
    color: var(--light-text);
    text-align: center;
}

.status-step.completed i {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.status-step.completed span {
    color: var(--success-color);
    font-weight: 500;
}

/* Responsive Styles for Purchase Form */
@media (max-width: 768px) {
    .purchase-modal {
        margin: 0;
        border-radius: 0;
        height: 100vh;
        overflow-y: auto;
    }

    .purchase-header {
        position: sticky;
        top: 0;
        background: var(--background);
        z-index: 10;
    }

    .purchase-steps {
        margin-top: 1rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .purchase-step span {
        font-size: 0.8rem;
    }

    .form-sections {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-section {
        padding: 1rem;
    }

    .payment-section {
        margin: 1rem;
    }

    .purchase-actions {
        position: sticky;
        bottom: 0;
        background: var(--background);
        padding: 1rem;
        box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    }
}

/* Success Modal Enhancements */
.success-modal .tracking-status {
    margin: 2rem 0;
}

.success-modal .order-confirmation {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.success-modal .cod-info {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.success-modal .note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 1rem;
    font-style: italic;
}

/* Product Image Gallery Styles */
.product-gallery {
    position: relative;
    margin: 1rem;
    padding: 0.5rem;
    background: var(--light-background);
    border-radius: var(--border-radius);
    width: calc(100% - 2rem);
}

.main-image {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    background: white;
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
}

.thumbnail {
    flex: 0 0 80px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

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

.thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Gallery Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: white;
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

/* Responsive Gallery Styles */
@media (max-width: 768px) {
    .thumbnail {
        flex: 0 0 60px;
        height: 45px;
    }

    .gallery-nav {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Enhanced Product Details Modal Styles */
#productModal .modal-content {
    max-width: 1000px;
    padding: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-modal-header {
    background: var(--light-background);
    padding: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-modal-header h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--text-color);
    padding-right: 60px; /* Make space for close button */
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-gallery-section {
    position: sticky;
    top: 2rem;
}

.product-description-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-description {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

.product-specifications {
    background: var(--light-background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.product-specifications h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

.product-specifications h3 i {
    color: var(--primary-color);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-2px);
}

.spec-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-background);
    border-radius: 50%;
}

.spec-item-content {
    flex: 1;
}

.spec-item-content h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.spec-item-content p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.product-modal-price {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.product-modal-price h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.5rem;
    color: var(--light-text);
    text-decoration: line-through;
}

.product-modal-actions {
    display: flex;
    gap: 1rem;
}

.product-modal-actions .btn {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .product-modal-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .product-modal-header {
        padding: 1.5rem;
    }

    .product-modal-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-modal-content {
        padding: 1rem;
    }

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

    .product-modal-actions {
        flex-direction: column;
    }

    .product-modal-actions .btn {
        width: 100%;
    }
}

/* Enhanced Close Button Styles */
.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: var(--light-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.close-modal:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-modal-header {
    position: relative;
    padding: 2rem;
    background: var(--light-background);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.product-modal-header h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--text-color);
    padding-right: 60px; /* Make space for close button */
}

@media (max-width: 768px) {
    .close-modal {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .product-modal-header {
        padding: 1.5rem;
    }

    .product-modal-header h2 {
        font-size: 1.5rem;
        padding-right: 50px;
    }
}

/* Product Details Page Styles */
.product-details-page {
    padding: 20px 0;
    background-color: #f1f3f6;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #878787;
    font-size: 14px;
}

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

.breadcrumb a:hover {
    color: #2874f0;
}

.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-gallery-section {
    position: sticky;
    top: 20px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: #2874f0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info-section {
    padding: 20px;
}

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

.product-header h1 {
    font-size: 20px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #ffc107;
}

.rating-count {
    color: #878787;
    font-size: 14px;
}

.product-price-section {
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 28px;
    font-weight: 500;
    color: #212121;
}

.original-price {
    font-size: 16px;
    color: #878787;
    text-decoration: line-through;
}

.discount {
    color: #388e3c;
    font-size: 14px;
    font-weight: 500;
}

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

.product-highlights h3 {
    font-size: 16px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 10px;
}

.product-highlights ul {
    list-style: none;
    padding: 0;
}

.product-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #212121;
}

.product-highlights li i {
    color: #388e3c;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #2874f0;
    color: #fff;
}

.btn-primary:hover {
    background: #1b5ab3;
}

.btn-outline {
    background: #fff;
    color: #2874f0;
    border: 1px solid #2874f0;
}

.btn-outline:hover {
    background: #f5f5f5;
}

.product-delivery-info {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.delivery-option i {
    font-size: 20px;
    color: #2874f0;
}

.delivery-details h4 {
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 4px;
}

.delivery-details p {
    font-size: 12px;
    color: #878787;
}

/* Tabs Styles */
.product-additional-info {
    margin-top: 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: #878787;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: #2874f0;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2874f0;
}

.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Order Summary Styles */
.order-summary {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.order-item-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-item-details h4 {
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 5px;
}

.order-item-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-weight: 500;
}

/* Success Modal Styles */
.success-modal {
    max-width: 600px;
    padding: 30px;
}

.success-content {
    text-align: center;
}

.success-content i {
    font-size: 48px;
    color: #388e3c;
    margin-bottom: 20px;
}

.success-content h2 {
    font-size: 24px;
    color: #212121;
    margin-bottom: 20px;
}

.order-tracking {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.tracking-number {
    margin-bottom: 15px;
}

.tracking-number h3 {
    font-size: 14px;
    color: #878787;
    margin-bottom: 5px;
}

.tracking-number p {
    font-size: 16px;
    font-weight: 500;
    color: #212121;
}

.tracking-status {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.tracking-status::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.status-step i {
    width: 30px;
    height: 30px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #878787;
}

.status-step.completed i {
    background: #388e3c;
    border-color: #388e3c;
    color: #fff;
}

.status-step span {
    font-size: 12px;
    color: #878787;
}

.order-confirmation {
    text-align: left;
    margin-bottom: 20px;
}

.order-confirmation h3 {
    font-size: 16px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 10px;
}

.order-confirmation p {
    margin-bottom: 8px;
    color: #212121;
}

.cod-info {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.cod-info h3 {
    font-size: 16px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cod-info p {
    margin-bottom: 8px;
    color: #212121;
}

.cod-info .note {
    font-size: 12px;
    color: #878787;
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-details-container {
        grid-template-columns: 1fr;
    }

    .product-gallery-section {
        position: static;
    }

    .main-image {
        height: 300px;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .tab-btn {
        padding: 12px 20px;
    }
}

/* Form Validation Styles */
.form-group input:invalid {
    border-color: #ff6161;
}

.form-group input:invalid:focus {
    border-color: #ff6161;
    box-shadow: 0 0 0 2px rgba(255, 97, 97, 0.2);
}

.form-group input:valid {
    border-color: #388e3c;
}

.form-group input:valid:focus {
    border-color: #388e3c;
    box-shadow: 0 0 0 2px rgba(56, 142, 60, 0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    margin: 50px auto;
    padding: 20px;
    border-radius: 4px;
    position: relative;
    max-width: 800px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #878787;
}

.close-modal:hover {
    color: #212121;
}

/* Form Styles */
.form-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 16px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #212121;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #2874f0;
    box-shadow: 0 0 0 2px rgba(40, 116, 240, 0.2);
    outline: none;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.payment-section {
    margin-bottom: 30px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.payment-method i {
    font-size: 24px;
    color: #2874f0;
}

.payment-details h4 {
    font-size: 16px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 4px;
}

.payment-details p {
    font-size: 14px;
    color: #878787;
}

.purchase-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

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

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

    .purchase-actions {
        flex-direction: column;
    }

    .btn {
        position: relative;
        top: 0;
    }

    .product-description-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .product-details-page {
        padding: 100px 0 40px;
    }

    .product-details-container {
        padding: 1rem;
    }

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

    .product-actions .btn {
        width: 100%;
    }
} 