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

:root {
    --primary-green: #2d5016;
    --light-green: #4a7c2a;
    --accent-green: #6b9f3d;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-gray: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-green);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f8e8 0%, #ffffff 100%);
    min-height: 500px;
    align-items: center;
}

.hero-content {
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-green);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.cta-button:hover {
    background-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-gray);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Popular Products */
.popular-products {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

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

.product-preview-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-preview-card:hover {
    transform: translateY(-5px);
}

.product-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--light-green) 100%);
}

.product-preview-card h3 {
    padding: 1rem;
    color: var(--primary-green);
}

.product-preview-card p {
    padding: 0 1rem 1rem;
    color: var(--text-gray);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page */
.about-intro {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-content {
    padding: 4rem 0;
}

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

.about-card {
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
}

.about-card h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.our-story {
    padding: 4rem 0;
    background-color: var(--white);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.certifications,
.values {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

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

.cert-card,
.value-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.cert-card:hover,
.value-item:hover {
    transform: translateY(-5px);
}

.cert-card h3,
.value-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.why-millets {
    padding: 4rem 0;
}

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

.why-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.why-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.why-card ul {
    list-style: none;
    padding-left: 0;
}

.why-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.why-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.why-card p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.why-card ul li {
    margin-bottom: 0.8rem;
}

.why-additional {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
}

.why-additional h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.why-additional p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.our-process {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

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

.process-step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.8;
}

.global-reach {
    padding: 4rem 0;
    background-color: var(--white);
}

.reach-content {
    max-width: 900px;
    margin: 0 auto;
}

.reach-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Products Page */
.products-section {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

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

/* Millet-specific image backgrounds - fallback gradients (shown if image fails to load) */
.millet-ragi {
    background: linear-gradient(135deg, #8B6F47 0%, #A0826D 50%, #B8956A 100%);
}

.millet-bajra {
    background: linear-gradient(135deg, #D4A574 0%, #E6B88A 50%, #F4C2A1 100%);
}

.millet-foxtail {
    background: linear-gradient(135deg, #C9A961 0%, #D4B574 50%, #E0C187 100%);
}

.millet-jowar {
    background: linear-gradient(135deg, #9B7E5A 0%, #B08D6B 50%, #C59D7C 100%);
}

.millet-proso {
    background: linear-gradient(135deg, #B8A082 0%, #C9B194 50%, #DAC2A6 100%);
}

.millet-kodo {
    background: linear-gradient(135deg, #A68B5B 0%, #B89D6F 50%, #CAAF83 100%);
}

.millet-little {
    background: linear-gradient(135deg, #C4A574 0%, #D4B584 50%, #E4C594 100%);
}

.millet-barnyard {
    background: linear-gradient(135deg, #9D8B6B 0%, #AD9B7B 50%, #BDAB8B 100%);
}

.product-image-placeholder {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

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

.product-card-content {
    padding: 1.5rem;
}

.product-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.product-card .price {
    color: var(--light-green);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.product-card .description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.product-card .benefits h4 {
    color: var(--primary-green);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-card .benefits ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.product-card .benefits ul li {
    padding: 0.2rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.product-card .benefits ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: var(--light-green);
}

/* Order Page */
.order-section {
    padding: 4rem 0;
}

.order-container {
    display: grid;
    gap: 2rem;
}

.order-form-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.order-form-section h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.products-selection {
    display: grid;
    gap: 1rem;
}

.product-selection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 5px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.product-selection-item.selected {
    border-color: var(--primary-green);
}

.product-selection-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.product-selection-item label {
    flex: 1;
    margin-left: 1rem;
    cursor: pointer;
}

.product-selection-item .product-name {
    font-weight: 600;
    color: var(--primary-green);
}

.product-selection-item .product-price {
    color: var(--light-green);
    font-weight: 600;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-input input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-align: center;
}

.quantity-input select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.order-form {
    display: grid;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

.order-summary {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

#orderItems {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.summary-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--primary-green);
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1.5rem;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--light-green);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.contact-form-container h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 3rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideDown 0.3s;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--dark-gray);
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.modal-content h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-grid,
    .why-grid,
    .process-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

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

/* Product Detail Page */
.product-detail-section {
    padding: 4rem 0;
    min-height: 70vh;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.loading {
    text-align: center;
    padding: 4rem;
    font-size: 1.2rem;
    color: var(--text-gray);
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.error-message h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.product-detail-image {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-detail-img-container {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-detail-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    padding: 1rem 0;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

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

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

.breadcrumb span {
    color: var(--dark-gray);
    font-weight: 500;
}

.product-detail-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 5px;
}

.price-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
}

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

.product-detail-description,
.product-detail-benefits,
.product-detail-specs,
.product-detail-usage {
    margin-bottom: 2rem;
}

.product-detail-description h3,
.product-detail-benefits h3,
.product-detail-specs h3,
.product-detail-usage h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light-green);
    padding-bottom: 0.5rem;
}

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

.product-detail-benefits ul {
    list-style: none;
    padding-left: 0;
}

.product-detail-benefits ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.product-detail-benefits ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 5px;
    border-left: 3px solid var(--primary-green);
}

.spec-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.spec-value {
    color: var(--text-gray);
}

.product-detail-usage ul {
    list-style: none;
    padding-left: 0;
}

.product-detail-usage ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
    line-height: 1.6;
}

.product-detail-usage ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.5rem;
}

.product-detail-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn-buy-now {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2rem;
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

.btn-buy-now:hover {
    background-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.4);
}

.btn-buy-now .btn-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.btn-buy-now:hover .btn-icon {
    transform: translateX(5px);
}

.btn-contact {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2rem;
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-contact:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.product-detail-note {
    padding: 1.5rem;
    background-color: #fff9e6;
    border-left: 4px solid #ffc107;
    border-radius: 5px;
    margin-top: 2rem;
}

.product-detail-note p {
    margin: 0;
    color: var(--dark-gray);
    line-height: 1.6;
}

.product-detail-more {
    margin: 2rem 0;
    grid-column: 1 / -1;
}

.product-detail-more h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light-green);
    padding-bottom: 0.5rem;
}

.detail-more-text {
    position: relative;
    background-color: var(--light-gray);
    padding: 1.2rem;
    border-radius: 8px;
    line-height: 1.8;
    color: var(--text-gray);
    transition: max-height 0.3s ease;
}

.detail-more-text.collapsed {
    max-height: 140px;
    overflow: hidden;
}

.detail-more-text.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 60%, rgba(255,255,255,1) 100%);
}

.btn-see-more {
    margin-top: 0.8rem;
    padding: 0.8rem 1.4rem;
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-see-more:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.product-preview-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

    .hero-title {
        font-size: 1.8rem;
    }

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

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

    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-image {
        position: static;
    }

    .product-detail-img-container {
        height: 300px;
    }

    .product-detail-title {
        font-size: 2rem;
    }

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

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

    .btn-buy-now,
    .btn-contact {
        width: 100%;
    }
}

