/* Rohini Threads - Website Styles */

:root {
    --primary-color: #F5A623;
    --secondary-color: #2B8B9A;
    --accent-color: #FF6B6B;
    --dark-color: #333333;
    --light-color: #FBF9F6;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   Announcement Bar
   ============================================ */
.announcement-bar {
    background: #C0202A;
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.announcement-text {
    animation: fadeIn 0.5s ease;
}

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

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.8rem;
        padding: 8px 15px;
        height: 36px;
    }
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 1000;
    transition: top 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    header {
        top: 36px;
    }
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
    transition: height 0.3s ease;
}

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

.logo-text span {
    color: var(--secondary-color);
}

/* Scrolled State - Shrinking Header */
body.scrolled .announcement-bar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

body.scrolled header {
    top: 0;
}

body.scrolled nav {
    padding: 10px 30px;
}

body.scrolled .logo img {
    height: 50px;
}

@media (max-width: 768px) {
    body.scrolled .logo img {
        height: 40px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 160px;
    min-height: calc(100vh - 160px);
    overflow: hidden;
    padding: 0;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: calc(100vh - 160px);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* Ken Burns animations */
@keyframes kenBurnsIn {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

@keyframes kenBurnsOut {
    from { transform: scale(1.15); }
    to { transform: scale(1); }
}

.hero-slide-bg.ken-burns-in {
    animation: kenBurnsIn 8s ease forwards;
}

.hero-slide-bg.ken-burns-out {
    animation: kenBurnsOut 8s ease forwards;
}

/* Multi-image layouts (double + triple) — diagonal separators */

/* Shared base: use flex instead of stacked absolutes */
.hero-slide--double,
.hero-slide--triple {
    display: flex;
    flex-direction: row;
    align-items: stretch !important;
    justify-content: stretch !important;
}

/* Layout direction variants — double */
.hero-slide--double-text-left  { flex-direction: row; }
.hero-slide--double-text-right { flex-direction: row-reverse; }
.hero-slide--double-text-above { flex-direction: column; }
.hero-slide--double-text-below { flex-direction: column-reverse; }

/* Layout direction variants — triple */
.hero-slide--triple-text-left  { flex-direction: row; }
.hero-slide--triple-text-right { flex-direction: row-reverse; }
.hero-slide--triple-text-above { flex-direction: column; }
.hero-slide--triple-text-below { flex-direction: column-reverse; }

/* Text area as flex child (shared) */
.hero-double-text,
.hero-triple-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 36px;
    max-width: none;
    flex: 0 0 38%;
}

.hero-slide--double-text-above .hero-double-text,
.hero-slide--double-text-below .hero-double-text,
.hero-slide--triple-text-above .hero-triple-text,
.hero-slide--triple-text-below .hero-triple-text {
    flex: 0 0 35%;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
}

/* Images container as flex child (shared) */
.hero-slide-bg-double,
.hero-slide-bg-triple {
    position: relative;
    flex: 1 1 0%;
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Individual panels — shared base */
.hero-slide-bg-panel {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100%;
}

/* Triple panel clip-paths (3 panels) */
.hero-slide-bg-triple .hero-slide-bg-panel--left {
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    margin-right: -5%;
    z-index: 3;
    position: relative;
}

.hero-slide-bg-triple .hero-slide-bg-panel--center {
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
    margin: 0 -5%;
    z-index: 2;
    position: relative;
}

.hero-slide-bg-triple .hero-slide-bg-panel--right {
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -5%;
    z-index: 1;
    position: relative;
}

/* Double panel clip-paths (2 panels, wider angle) */
.hero-slide-bg-double .hero-slide-bg-panel--left {
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    margin-right: -8%;
    z-index: 2;
    position: relative;
}

.hero-slide-bg-double .hero-slide-bg-panel--right {
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -8%;
    z-index: 1;
    position: relative;
}

/* Overlay inside images area only (not the text area) */
.hero-slide-bg-double .hero-slide-overlay,
.hero-slide-bg-triple .hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

/* Hide the sibling overlay in multi mode (text area should not be darkened) */
.hero-slide--double > .hero-slide-overlay,
.hero-slide--triple > .hero-slide-overlay {
    display: none;
}

/* Ken Burns on multi containers */
.hero-slide-bg-double.ken-burns-in,
.hero-slide-bg-triple.ken-burns-in {
    animation: kenBurnsIn 8s ease forwards;
}

.hero-slide-bg-double.ken-burns-out,
.hero-slide-bg-triple.ken-burns-out {
    animation: kenBurnsOut 8s ease forwards;
}

/* Responsive: triple reduces from 3 → 2 panels on tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-slide-bg-triple .hero-slide-bg-panel--center {
        display: none;
    }
    .hero-slide-bg-triple .hero-slide-bg-panel--left {
        clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
        margin-right: -8%;
    }
    .hero-slide-bg-triple .hero-slide-bg-panel--right {
        clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
        margin-left: -8%;
    }
}

/* Mobile: stacks vertically, show single image only */
@media (max-width: 768px) {
    .hero-slide--double,
    .hero-slide--double-text-left,
    .hero-slide--double-text-right,
    .hero-slide--double-text-above,
    .hero-slide--double-text-below,
    .hero-slide--triple,
    .hero-slide--triple-text-left,
    .hero-slide--triple-text-right,
    .hero-slide--triple-text-above,
    .hero-slide--triple-text-below {
        flex-direction: column !important;
    }
    .hero-slide-content.hero-double-text,
    .hero-slide-content.hero-triple-text {
        flex: 0 0 auto;
        padding: 15px 20px 12px;
        text-align: center;
        align-items: center;
    }
    .hero-slide-bg-double,
    .hero-slide-bg-triple {
        flex: 1 1 0%;
        min-height: 0;
    }
    .hero-double-text .hero-heading,
    .hero-triple-text .hero-heading {
        font-size: 1.9rem !important;
    }
    .hero-double-text .hero-description,
    .hero-triple-text .hero-description {
        font-size: 0.65rem;
    }
    /* Hide extra panels — show only first image on mobile */
    .hero-slide-bg-triple .hero-slide-bg-panel--center,
    .hero-slide-bg-triple .hero-slide-bg-panel--right,
    .hero-slide-bg-double .hero-slide-bg-panel--right {
        display: none;
    }
    .hero-slide-bg-triple .hero-slide-bg-panel--left,
    .hero-slide-bg-double .hero-slide-bg-panel--left {
        clip-path: none;
        margin: 0;
    }
}

/* Parallax - desktop only */
@media (min-width: 769px) {
    .hero-slide-bg.parallax {
        background-attachment: fixed;
    }
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 0 30px;
}

.hero-subtitle {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.92;
    margin-bottom: 35px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    padding: 14px 45px;
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.hero-cta:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .hero-carousel {
        margin-top: 156px;
        min-height: calc(100vh - 156px);
    }

    .hero-carousel,
    .hero-slides {
        height: calc(100vh - 156px);
    }

    .hero-slide-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }

    .hero-subtitle {
        font-size: 0.55rem;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .hero-heading {
        font-size: 1.9rem !important;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 0.65rem;
        margin-bottom: 20px;
    }

    .hero-cta {
        font-size: 0.55rem;
        padding: 10px 28px;
        letter-spacing: 1.5px;
    }

    .hero-dots {
        bottom: 25px;
    }
}

/* ============================================
   Trust Badges Section
   ============================================ */
.trust-badges {
    background: #f8f9fa;
    padding: 40px 20px;
    max-width: 100%;
}

.trust-badges-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    min-width: 50px;
    text-align: center;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.trust-text span {
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 992px) {
    .trust-badges-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .trust-badges-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .trust-badge {
        padding: 15px;
    }

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

/* Legacy CTA button (used in other sections) */
.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* About Section */
.about {
    background: var(--white);
    max-width: 100%;
    padding: 80px 20px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

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

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

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

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

/* Categories Section */
.categories {
    background: var(--white);
    max-width: 100%;
    padding: 80px 20px;
}

.categories-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    color: var(--white);
    transition: transform 0.3s;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.category-card.has-image {
    padding: 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    background: none;
}

.category-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.category-card.has-image h3 {
    padding: 12px 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 0 15px 15px;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    max-width: 100%;
    color: var(--white);
    text-align: center;
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--white);
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

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

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--light-color);
    padding: 60px 20px;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.newsletter-content p {
    color: #666;
    margin-bottom: 25px;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 50px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 30px;
    text-align: left;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-social-item:hover {
    color: var(--primary-color);
}

.footer-social-item span {
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social-links {
        align-items: center;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
    z-index: 999;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        display: none;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .products-grid .product-card {
        border-radius: 8px;
    }

    .products-grid .product-image {
        aspect-ratio: 1 / 1;
    }

    .products-grid .product-card .product-info {
        padding: 8px 10px;
    }

    .products-grid .product-card .product-info h3 {
        font-size: 0.75rem;
        margin-bottom: 2px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .products-grid .product-card .product-info p {
        font-size: 0.65rem;
        line-height: 1.35;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .products-grid .product-card .product-price {
        font-size: 0.9rem;
    }

    .products-grid .product-card .add-to-cart-btn {
        padding: 7px;
        font-size: 0.78rem;
    }
}

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

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

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .products-grid .product-image {
        aspect-ratio: 1 / 1;
    }
}
