/* Nature Care Impex - Luxury Aesthetic */

:root {
    /* Color Palette - Luxury */
    --color-bg-dark: #1A1A1A;
    /* Charcoal */
    --color-bg-light: #FAFAFA;
    /* Porcelain */
    --color-gold: #D4AF37;
    /* Metallic Gold */
    --color-gold-dim: #B4942D;
    --color-text-main: #2C2C2C;
    /* Dark Grey for light bg */
    --color-text-light: #F0F0F0;
    /* Off-white for dark bg */
    --color-text-muted: #777777;

    /* Surfaces */
    --glass-dark: rgba(26, 26, 26, 0.9);
    --glass-light: rgba(255, 255, 255, 0.8);
    --border-light: rgba(0, 0, 0, 0.05);

    /* Shadows & Radius */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Very diffused */
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.1);
    --radius-sharp: 2px;

    /* Transitions */
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    /* Ease Out Quart */
}

/* Global Responsive Design */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure all containers are responsive */
.container, .payment-wrapper, .order-details-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Universal button responsiveness */
.btn, .upi-app, button {
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive images and media */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Amazon Ember", Arial, sans-serif;
    color: #0F1111;
    background-color: #FFFFFF;
    line-height: 1.4;
    font-size: 14px;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--color-bg-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

p {
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-slow);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1400px;
    /* Wider for luxury feel */
    margin: 0 auto;
    padding: 0 40px;
}

/* Responsive container adjustments */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Navigation responsive */
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    /* Hero section responsive */
    .hero-content {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    /* Product grid responsive */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .product-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Form responsive */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    
    /* Button responsive */
    .btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        margin: 10px 0;
    }
    
    /* CTA buttons tablet optimization */
    .cta-group {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-group .btn {
        flex: 1;
        min-width: 200px;
        max-width: 250px;
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography responsive */
    h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Navigation ultra-mobile */
    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        flex-direction: column;
        margin-top: -5px;
    }
    
    .logo img {
        height: 60px;
        width: 60px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #FFD700; /* Golden ring */
        box-shadow: 0 0 0 2px #000000; /* Black outer ring */
        margin-bottom: 3px;
    }
    
    .logo-text {
        font-size: 10px;
    }
    
    /* Hero ultra-mobile */
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* CTA buttons mobile optimization */
    .cta-group {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cta-group .btn {
        width: 80%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 14px;
        text-align: center;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .cta-group .btn {
        width: 90%;
        max-width: 250px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Product grid ultra-mobile */
    .product-grid {
        padding: 0 5px;
        gap: 15px;
    }
    
    /* Form ultra-mobile */
    .form-control {
        padding: 10px;
        font-size: 16px;
    }
    
    /* Button ultra-mobile */
    .btn {
        padding: 12px;
        font-size: 15px;
    }
    
    /* Prevent any overflow */
    * {
        max-width: 100%;
    }
}

/* Back Button */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-sharp);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-slow);
    text-decoration: none;
}

.back-button:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    transform: translateX(-3px);
}

.back-button::before {
    content: "←";
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .back-button {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: var(--radius-sharp);
    font-weight: 500;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-slow);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #2a2a2a 100%);
    color: var(--color-gold);
    border-color: var(--color-gold);
    border: 2px solid var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold) 0%, #c9a227 100%);
    color: var(--color-bg-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: var(--color-bg-dark);
    border-color: #ddd;
    border: 2px solid #ddd;
    font-weight: 600;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background-color: var(--color-bg-dark);
    color: #ffffff;
    border-color: var(--color-bg-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Dark mode buttons (used in dark sections like footer/hero) */
.dark-section .btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    border-color: var(--color-gold);
}

.dark-section .btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
}

.dark-section .btn-secondary {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.dark-section .btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
}

.section-padding {
    padding: 60px 0;
    /* Reduced spacing */
}

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

/* Animations - Reveal Up */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--glass-light);
    backdrop-filter: blur(20px);
    box-shadow: none;
    /* Removed shadow for cleaner look */
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    margin-top: -10px; /* Move logo up */
}

.logo img {
    max-height: 70px; /* Adjust height to fit navbar */
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFD700; /* Golden ring */
    box-shadow: 0 0 0 2px #000000; /* Black outer ring */
    transition: transform 0.3s ease;
    margin-bottom: 5px; /* Space between logo and text */
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 12px;
    font-weight: 600;
    color: #000000; /* Black color */
    text-align: center;
    line-height: 1.2;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-link {
    font-weight: 400;
    color: var(--color-text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-slow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 30px;
    height: 2px;
    background-color: var(--color-bg-dark);
    transition: var(--transition-slow);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--color-bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        overflow: hidden;
        transition: height 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }

    .nav-links.active {
        height: 100vh;
    }
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    margin-top: -85px;
    /* Offset nav */
    color: var(--color-bg-light);
}

.carousel-track {
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* Slower */
    z-index: 1;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Slight overlay */
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    z-index: 3;
    padding: 0 40px;
    position: relative;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--color-bg-light);
    margin-bottom: 2rem;
    font-weight: 400;
    /* Lighter weight looks more elegant */
    line-height: 1.1;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.carousel-slide.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
    font-family: 'Lato', sans-serif;
}

.carousel-slide.active .hero-content p {
    opacity: 1;
    transform: translateY(0);
}

.cta-group {
    display: flex;
    gap: 30px;
    justify-content: center;
    opacity: 0;
    transition: all 1s ease 0.7s;
}

.carousel-slide.active .cta-group {
    opacity: 1;
}

/* Nav Buttons Styles */
.carousel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-slow);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-bg-dark);
}

.prev {
    left: 40px;
}

.next {
    right: 40px;
}

.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.dot {
    width: 60px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-slow);
}

.dot.active {
    background-color: var(--color-gold);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

/* Featured Products */
.featured-products {
    background-color: var(--color-bg-light);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

.product-card {
    background-color: #fff;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-sharp);
    overflow: hidden;
    transition: var(--transition-slow);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 350px;
    min-height: 450px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    border-color: var(--color-gold-dim);
}

.card-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.product-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    display: block;
}

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

.product-info {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-category {
    font-size: 0.7rem;
    color: var(--color-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-bg-dark);
    line-height: 1.4;
    min-height: 2.4em;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Sustainability Highlights - Dark Section */
.sustainability {
    background-color: var(--color-bg-dark);
    color: var(--color-bg-light);
    position: relative;
}

.sustainability h2 {
    color: var(--color-gold);
}

.sustainability p {
    color: rgba(255, 255, 255, 0.7);
}

.highlights-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.highlight-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border */
    transition: var(--transition-slow);
}

.highlight-item:hover {
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.02);
}

.highlight-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    display: block;
}

.highlight-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-bg-light);
}

/* Filter Buttons */
.filters-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-slow);
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--color-bg-dark);
    border-color: var(--color-gold);
}

/* Footer */
footer {
    background-color: #111;
    color: var(--color-text-light);
    padding: 50px 0 30px;
    border-top: 3px solid var(--color-gold);
}

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

.footer-column h3 {
    color: var(--color-gold);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 10px;
}

.social-links {
    gap: 20px;
    display: flex;
    margin-top: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
    color: white;
}

.social-icon:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* Detail Page Specifics */
.detail-wrapper {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.detail-image {
    width: 100%;
}

.detail-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-sharp);
    box-shadow: var(--shadow-soft);
}

.detail-content {
    padding: 20px 0;
}

.detail-content .product-category {
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    display: block;
}

.detail-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-bg-dark);
}

.detail-content .description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.spec-group {
    margin-bottom: 40px;
}

.spec-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-text-main);
}

.size-select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sharp);
    background-color: #f9f9f9;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-slow);
}

.size-select:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: #fff;
}

.action-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    flex: 1;
    min-width: 200px;
}

@media (max-width: 768px) {
    .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .detail-image img {
        height: 300px;
    }
    
    .detail-content h1 {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

/* Buy Now Ordering System Styles */
.product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.product-actions .btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.85rem;
    line-height: 1.2;
}

/* Order Modal Styles */
.order-modal {
    max-width: 100%;
    flex-grow: 1;
}

.order-modal-body {
    padding: 40px;
    flex-grow: 1;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.product-summary {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 25px;
}

.order-product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.product-summary .product-info h4 {
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.product-summary .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #D4AF37;
}

.order-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.order-form .form-group input,
.order-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    background-color: #ffffff;
    color: #333;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.order-form .form-group input:focus,
.order-form .form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Payment Modal Styles */
.payment-modal {
    max-width: 500px;
}

.payment-modal-body {
    padding: 25px;
}

.payment-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.payment-summary h4 {
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.summary-row.total {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.payment-methods h4 {
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.payment-option {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option.active {
    border-color: #D4AF37;
    background: #fffbf0;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.payment-header label {
    font-weight: 600;
    color: #1a1a1a;
}

.upi-details {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 20px;
}

.qr-section {
    text-align: center;
    margin-bottom: 20px;
    flex: 1;
}

.payment-qr {
    width: 300px;
    height: 300px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 0 auto 15px;
    display: block;
}

.qr-section p {
    color: #666;
    font-size: 0.9rem;
}

.upi-apps {
    text-align: right;
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.upi-apps p {
    color: #666;
    margin-bottom: 15px;
    text-align: right;
}

.app-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 12px 0;
}

.upi-app {
    padding: 8px 16px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 120px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    margin: 4px 0;
}

.upi-app::before {
    content: '';
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.upi-app:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.upi-app:active {
    transform: translateY(0);
}

/* Paytm Button */
.upi-app[onclick*="paytm"] {
    background: linear-gradient(135deg, #00BAF2 0%, #0082C6 100%);
    box-shadow: 0 4px 12px rgba(0, 186, 242, 0.3);
}

.upi-app[onclick*="paytm"]::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%2300BAF2" width="100" height="100" rx="20"/><text x="50" y="65" font-size="60" fill="white" text-anchor="middle" font-weight="bold">P</text></svg>');
}

.upi-app[onclick*="paytm"]:hover {
    background: linear-gradient(135deg, #0082C6 0%, #005A8B 100%);
    box-shadow: 0 4px 12px rgba(0, 186, 242, 0.4);
}

/* GPay Button */
.upi-app[onclick*="gpay"] {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 50%, #FBBC05 75%, #EA4335 100%);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.upi-app[onclick*="gpay"]::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%234285F4" width="100" height="100" rx="20"/><text x="50" y="65" font-size="60" fill="white" text-anchor="middle" font-weight="bold">G</text></svg>');
}

.upi-app[onclick*="gpay"]:hover {
    background: linear-gradient(135deg, #3367D6 0%, #2E7D32 50%, #F57F17 75%, #C62828 100%);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

/* PhonePe Button */
.upi-app[onclick*="phonepe"] {
    background: linear-gradient(135deg, #5F259F 0%, #3C1361 100%);
    box-shadow: 0 4px 12px rgba(95, 37, 159, 0.3);
}

.upi-app[onclick*="phonepe"]::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%235F259F" width="100" height="100" rx="20"/><text x="50" y="65" font-size="45" fill="white" text-anchor="middle" font-weight="bold">Pe</text></svg>');
}

.upi-app[onclick*="phonepe"]:hover {
    background: linear-gradient(135deg, #3C1361 0%, #2A0E44 100%);
    box-shadow: 0 4px 12px rgba(95, 37, 159, 0.4);
}

.upi-id {
    text-align: center;
    padding: 15px;
    background: #e9ecef;
    border-radius: 8px;
}

.upi-id p {
    margin: 0;
    color: #495057;
}

/* Screenshot Upload Styles */
.screenshot-upload {
    margin-top: 25px;
}

.screenshot-upload h4 {
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.upload-area:hover {
    border-color: #D4AF37;
    background: #fffbf0;
}

.upload-content .upload-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.upload-content p {
    margin: 0 0 5px 0;
    color: #333;
    font-weight: 500;
}

.upload-content small {
    color: #666;
}

.screenshot-preview {
    position: relative;
    margin-top: 15px;
    text-align: center;
}

.screenshot-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.remove-screenshot {
    position: absolute;
    top: -10px;
    right: calc(50% - 110px);
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

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

.success-content {
    padding: 40px 25px;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-content h3 {
    color: #28a745;
    margin-bottom: 15px;
}

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

.success-content button {
    margin-top: 20px;
    padding: 12px 30px;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        padding: 0 10px;
    }
    
    .product-card {
        max-width: 100%;
        min-height: 420px;
    }
    
    .card-image-wrapper {
        height: 220px;
    }
    
    .product-info {
        padding: 20px 15px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .product-actions .btn {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .order-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .payment-qr {
        width: 200px;
        height: 200px;
    }
    
    .upi-details {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .qr-section {
        text-align: center;
        width: 100%;
    }
    
    .upi-apps {
        text-align: center;
        width: 100%;
    }
    
    .upi-apps p {
        text-align: center;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .upi-app {
        width: 100%;
        min-width: 280px;
        padding: 15px 20px;
        font-size: 1rem;
        min-height: 55px;
    }
}

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

.modal.show {
    display: block !important;
}

.modal-content {
    background-color: white;
    margin: 0;
    padding: 0;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    overflow-y: auto;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 30px 40px;
    border-bottom: 2px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    position: sticky;
    top: 0;
    z-index: 10001;
}

.modal-header h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
}

.close {
    color: #666;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 10px 20px;
    transition: var(--transition-slow);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.close:hover {
    color: #000;
    background-color: #e0e0e0;
    transform: scale(1.1);
}

.modal-form {
    padding: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    background-color: #ffffff;
    color: #333;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
    border-color: #D4AF37;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    padding: 14px 32px;
    font-size: 0.95rem;
    min-width: 140px;
    border-radius: 4px;
}g: 14px 32px;
    font-size: 0.95rem;
    min-width: 140px;
    border-radius: 4px;
}

/* Contact Form */
.contact-form-wrapper {
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    padding: 60px;
}

.form-group input,
.form-group textarea,
.form-group select {
    border-radius: 0;
    background-color: #f9f9f9;
    border: 1px solid transparent;
    transition: var(--transition-slow);
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #fff;
    border-color: var(--color-gold);
    outline: none;
}

/* Order Details Page Styles */
.order-details-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a1a;
    font-size: 2.5rem;
    font-weight: 700;
}

.product-summary-card {
    display: flex;
    gap: 30px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    flex-shrink: 0;
}

.order-product-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-info-container {
    flex: 1;
}

.product-name {
    margin: 0 0 10px 0;
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 700;
}

.product-category {
    margin: 0 0 15px 0;
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.product-description {
    margin: 0 0 20px 0;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    margin: 0;
}

.order-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
}

.form-section h3 {
    margin: 0 0 25px 0;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 600;
}

.order-form .form-group {
    margin-bottom: 25px;
}

.order-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.order-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.order-form input,
.order-form textarea,
.order-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.order-form textarea {
    resize: vertical;
    min-height: 100px;
}

.order-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.order-summary h3 {
    margin: 0 0 20px 0;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 600;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-row:last-child {
    border-bottom: none;
}

.total-row {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #dee2e6;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 150px;
    background: #000000;
    color: #FFD700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: #000000;
    color: #FFD700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: #333333;
    color: #FFED4E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: #444444;
    color: #FFD700;
    box-shadow: 0 4px 12px rgba(68, 68, 68, 0.3);
}

.btn-secondary:hover {
    background: #555555;
    color: #FFED4E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 68, 68, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-summary-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .order-product-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .order-form-container {
        padding: 25px;
    }
    
    .order-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .order-details-wrapper {
        padding: 0 10px;
    }
    
    .product-summary-card {
        padding: 15px;
    }
    
    .order-form-container {
        padding: 20px;
    }
    
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}
/* Payment Page Styles */
.payment-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.payment-order-summary {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-order-summary h2 {
    margin: 0 0 25px 0;
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 600;
}

.order-summary-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total-item {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a1a1a;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #dee2e6;
}

.summary-item .label {
    color: #666;
}

.summary-item .value {
    color: #1a1a1a;
    font-weight: 600;
}

.customer-details-summary {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.customer-details-summary h3 {
    margin: 0 0 20px 0;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 600;
}

.customer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    gap: 10px;
    color: #333;
}

/* Customer Details and Info Rows */
.customer-details-summary {
    background: #f3e5f5;
    border: 2px solid #9c27b0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    overflow: hidden;
}

.customer-info {
    width: 100%;
    overflow: hidden;
}

.info-row {
    padding: 5px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    overflow: hidden;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    min-width: 80px;
    color: #666;
    flex-shrink: 0;
}

.info-row span {
    flex: 1;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: calc(100% - 90px);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Email specific handling */
.info-row span[id*="email"] {
    word-break: break-all;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.payment-methods-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-methods-section h3 {
    margin: 0 0 25px 0;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-method-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.payment-method-card.active {
    border-color: #007bff;
}

.payment-method-header {
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method-header input[type="radio"] {
    margin: 0;
}

.payment-method-header label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
    margin: 0;
}

.payment-method-content {
    padding: 30px;
}

.qr-payment-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.qr-code {
    width: 200px;
    height: 200px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin: 0 auto 15px auto;
    display: block;
}

.qr-instruction {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.upi-apps-section {
    text-align: center;
    width: 100%;
}

.apps-instruction {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.upi-id-section {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    width: 100%;
}

.upi-id-section p {
    margin: 0 0 15px 0;
    color: #333;
}

.copy-upi-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.copy-upi-btn:hover {
    background: #218838;
}

.payment-confirmation-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-confirmation-section h3 {
    margin: 0 0 15px 0;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 600;
}

.confirmation-instruction {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.screenshot-upload-area {
    position: relative;
}

.upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    font-size: 2rem;
}

.upload-text {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.upload-note {
    color: #666;
    font-size: 0.85rem;
}

.screenshot-preview {
    position: relative;
    margin-top: 20px;
    text-align: center;
}

.screenshot-preview img {
    max-width: 300px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.remove-screenshot-btn {
    position: absolute;
    top: -10px;
    right: calc(50% - 150px - 10px);
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-actions {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .payment-wrapper {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .payment-order-summary,
    .customer-details-summary,
    .payment-methods-section,
    .payment-confirmation-section {
        padding: 20px 15px;
        margin: 15px 0;
    }
    
    .qr-payment-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 20px 15px;
        width: 100%;
    }
    
    .qr-code {
        width: 200px;
        height: 200px;
        max-width: 90%;
        margin: 0 auto;
        display: block;
    }
    
    .qr-code-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        padding: 15px;
        margin: 15px auto;
    }
    
    .app-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin: 20px 0 !important;
        width: 100% !important;
    }
    
    .upi-app {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }
    
    .upi-id-section {
        padding: 15px;
        margin: 15px 0;
        text-align: center;
    }
    
    .upi-id-section div {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: center !important;
    }
    
    .upi-id-section button {
        flex: 1 1 calc(50% - 4px) !important;
        min-width: 120px !important;
        padding: 8px 12px !important;
        font-size: 14px !important;
    }
    
    .payment-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 15px;
    }
    
    .remove-screenshot-btn {
        right: calc(50% - 100px - 10px);
    }
    
    /* Container adjustments for mobile */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .payment-wrapper {
        padding: 0 10px;
    }
    
    .payment-order-summary,
    .customer-details-summary,
    .payment-methods-section,
    .payment-confirmation-section {
        padding: 15px 10px;
        margin: 10px 0;
    }
    
    .qr-code {
        width: 180px;
        height: 180px;
        margin: 0 auto;
        display: block;
    }
    
    .qr-code-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        padding: 10px;
        margin: 0 auto;
    }
    
    .app-buttons {
        gap: 10px !important;
        margin: 15px 0 !important;
    }
    
    .upi-app {
        padding: 12px 15px !important;
        font-size: 15px !important;
    }
    
    .upi-id-section {
        padding: 12px;
    }
    
    .upi-id-section button {
        flex: 1 1 100% !important;
        min-width: unset !important;
        margin: 2px 0 !important;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-row {
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }
    
    .info-row strong {
        min-width: auto;
        margin-bottom: 2px;
    }
    
    .info-row span {
        max-width: 100%;
        word-wrap: break-word;
        word-break: break-all;
        overflow-wrap: break-word;
        line-height: 1.4;
    }
    
    /* Container adjustments for small mobile */
    .container {
        padding: 0 10px;
    }
    
    /* Navigation adjustments */
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
}
/* Confirm Order Section */
.confirm-order-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.upload-instruction {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    text-align: right;
    font-style: italic;
}

.upload-instruction.hidden {
    display: none;
}

/* Enhanced button styles */
#confirm-payment-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    animation: slideInUp 0.3s ease-out;
    display: block;
    visibility: visible;
    opacity: 1;
}

#confirm-payment-btn:hover {
    background: linear-gradient(135deg, #218838 0, #1e7e34 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive for confirm section */
@media (max-width: 768px) {
    .confirm-order-section {
        align-items: stretch;
        text-align: center;
    }
    
    .upload-instruction {
        text-align: center;
    }
}

/* Amazon-style Typography */
h1 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: #0F1111;
}

h2 {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
    color: #0F1111;
}

h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #0F1111;
}

p {
    font-size: 14px;
    line-height: 1.4;
    color: #0F1111;
}

/* Amazon-style buttons */
.btn {
    font-size: 13px;
    line-height: 1.4;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 400;
}

/* Amazon-style links */
a {
    color: #007185;
    text-decoration: none;
}

a:hover {
    color: #C7511F;
    text-decoration: underline;
}

/* Navigation text sizing */
.nav-links a {
    font-size: 14px;
    font-weight: 400;
}

/* Product text sizing */
.product-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #B12704;
}

.product-description {
    font-size: 14px;
    line-height: 1.4;
}
/* Payment Method Selection - Enhanced Styling */
.payment-method-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.payment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.payment-option:hover {
    border-color: #4a7c59;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.2);
}

.payment-option:hover::before {
    left: 100%;
}

.payment-option input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.3);
    accent-color: #4a7c59;
}

.payment-option input[type="radio"]:checked + label {
    color: #4a7c59;
    font-weight: 700;
}

.payment-option:has(input[type="radio"]:checked) {
    border-color: #4a7c59;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    box-shadow: 0 4px 20px rgba(74, 124, 89, 0.3);
    transform: translateY(-1px);
}

.payment-option:has(input[type="radio"]:checked)::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4a7c59;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.payment-option label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 100%;
    position: relative;
    padding-left: 40px;
}

.payment-option label::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 2px;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Online Payment Icon */
.payment-option:first-child label::before {
    content: '💳';
    font-size: 20px;
    left: -30px;
    top: 0px;
}

/* COD Payment Icon */
.payment-option:last-child label::before {
    content: '💰';
    font-size: 20px;
    left: -30px;
    top: 0px;
}

.payment-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2c5530;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-desc {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
}

/* Add payment method badges */
.payment-option:first-child .payment-title::after {
    content: 'INSTANT';
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: auto;
}

.payment-option:last-child .payment-title::after {
    content: 'SECURE';
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .payment-option {
        padding: 15px;
    }
    
    .payment-title {
        font-size: 16px;
    }
    
    .payment-desc {
        font-size: 13px;
    }
}
/* Additional QR Code Centering */
.qr-instruction, 
.qr-validation-msg,
.qr-section p {
    text-align: center !important;
    margin: 10px auto !important;
    display: block !important;
}

.qr-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

/* Ensure QR code canvas is centered */
canvas {
    margin: 0 auto !important;
    display: block !important;
}

/* Center QR code validation message */
.qr-validation-msg {
    color: #28a745 !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin: 15px auto !important;
    display: block !important;
}
/* Mobile brand name - hidden on desktop */
.mobile-brand-name {
    display: none;
}

/* Mobile Navigation - Logo on left, centered website name, menu on right */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        height: 60px;
        padding: 0 15px;
    }
    
    .navbar .logo {
        flex-direction: row;
        align-items: center;
        margin-top: 0;
        position: static;
        flex-shrink: 0;
    }
    
    .navbar .logo img {
        display: block;
        width: 40px;
        height: 40px;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .navbar .logo-text {
        display: none; /* Hide text under logo on mobile */
    }
    
    /* Show and center the mobile brand name */
    .mobile-brand-name {
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 15px;
        font-weight: 600;
        color: white;
        text-align: center;
        z-index: 10;
        pointer-events: none;
        white-space: nowrap;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Ensure hamburger menu is on the right */
    .hamburger {
        position: relative;
        z-index: 20;
        flex-shrink: 0;
    }
    
    .nav-links {
        position: absolute;
        right: 60px;
    }
}

@media (max-width: 480px) {
    .mobile-brand-name {
        font-size: 13px;
        max-width: 150px;
    }
    
    .navbar .logo img {
        width: 35px;
        height: 35px;
    }
    
    .nav-container {
        height: 55px;
        padding: 0 10px;
    }
}

@media (max-width: 360px) {
    .mobile-brand-name {
        font-size: 12px;
        max-width: 120px;
    }
}
/* Override any conflicting mobile brand name styles */
@media (max-width: 768px) {
    .navbar .mobile-brand-name {
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: white !important;
        text-align: center !important;
        z-index: 999 !important;
        pointer-events: none !important;
        white-space: nowrap !important;
        background: rgba(0,0,0,0.2) !important;
        padding: 5px 10px !important;
        border-radius: 15px !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
    }
}

@media (max-width: 480px) {
    .navbar .mobile-brand-name {
        font-size: 13px !important;
        padding: 4px 8px !important;
    }
}
/* Mobile Brand Name - Bold Black Text Only */
@media screen and (max-width: 768px) {
    .mobile-brand-name {
        display: block !important;
        visibility: visible !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-family: "Amazon Ember", Arial, sans-serif !important;
        font-size: 16px !important;
        font-weight: 900 !important;
        color: #000000 !important;
        text-align: center !important;
        z-index: 9999 !important;
        pointer-events: none !important;
        white-space: nowrap !important;
        background: none !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        text-shadow: none !important;
    }
}

@media screen and (max-width: 480px) {
    .mobile-brand-name {
        font-size: 14px !important;
        font-weight: 900 !important;
    }
}

@media screen and (max-width: 360px) {
    .mobile-brand-name {
        font-size: 13px !important;
        font-weight: 900 !important;
    }
}
/* Force Remove Background - Mobile Brand Name */
@media screen and (max-width: 768px) {
    .mobile-brand-name {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border-radius: 0 !important;
        border: 0 !important;
        box-shadow: 0 0 0 transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        text-shadow: 0 0 0 transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Override any existing mobile brand name styles */
.navbar .mobile-brand-name,
.nav-container .mobile-brand-name,
nav .mobile-brand-name {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* FORCE MOBILE BRAND NAME - BOLD BLACK TEXT */
@media screen and (max-width: 768px) {
    .mobile-brand-name {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-family: Arial, sans-serif !important;
        font-size: 16px !important;
        font-weight: 900 !important;
        color: #000000 !important;
        text-align: center !important;
        z-index: 99999 !important;
        pointer-events: none !important;
        white-space: nowrap !important;
        background: none !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        outline: none !important;
        text-decoration: none !important;
        text-shadow: none !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        line-height: 1 !important;
    }
}

@media screen and (max-width: 480px) {
    .mobile-brand-name {
        font-size: 14px !important;
        font-weight: 900 !important;
        color: #000000 !important;
    }
}

@media screen and (max-width: 360px) {
    .mobile-brand-name {
        font-size: 13px !important;
        font-weight: 900 !important;
        color: #000000 !important;
    }
}

/* Force override any conflicting styles */
.navbar .mobile-brand-name,
.nav-container .mobile-brand-name,
nav .mobile-brand-name,
header .mobile-brand-name {
    color: #000000 !important;
    font-weight: 900 !important;
    background: transparent !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* HIDE mobile brand name on DESKTOP - Show ONLY on mobile */
@media screen and (min-width: 769px) {
    .mobile-brand-name {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .navbar .mobile-brand-name,
    .nav-container .mobile-brand-name,
    nav .mobile-brand-name,
    header .mobile-brand-name {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}