/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Import variables and common styles from home.css */
@import 'home.css';

/* CSS Variables for Shop Page */
:root {
    --primary: #4A90E2;      /* Brighter mountain blue */
    --secondary: #88B04B;    /* Forest green */
    --accent: #E9408F;      /* Pink accent */
    --snow: #F5F5F5;        /* Snow white */
    --ice: #E3F2FD;         /* Ice blue */
    --dark: #1A1A2E;        /* Deep night sky */
    --dark-bg: #121212;     /* Dark background */
    --dark-surface: #1E1E1E; /* Slightly lighter dark surface */
    --text: #E0E0E0;        /* Light text */
    --text-light: #B0B0B0;  /* Lighter text */
}

/* Logo link - remove underline */
.logo {
    text-decoration: none;
}

/* Shop Hero Section */
.shop-hero {
    height: 80vh;
    background-image: url('../images/mountains2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
}

.shop-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 46, 0.7),
        rgba(18, 18, 18, 0.8)
    );
}

.shop-hero .hero-content {
    position: relative;
    z-index: 1;
    color: var(--snow);
    padding: 0 20px;
    max-width: 800px;
}

.shop-hero .hero-logo {
    margin-bottom: 2rem;
}

.shop-hero .hero-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.shop-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shop-hero p {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Shop Page Specific Styles */
.shop-container {
    max-width: 1400px;
    margin: 100px auto 80px;
    padding: 0 5%;
}

.shop-header {
    text-align: center;
    margin-bottom: 4rem;
}

.shop-header h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.shop-header p {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Featured Section Styles */
.featured-section {
    margin-bottom: 6rem;
    text-align: center;
    background: var(--dark-surface);
    padding: 4rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.featured-section h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.featured-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.featured-item {
    background: var(--dark-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.featured-item img {
    width: 320px;
    height: 320px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    background: #f5f5f5;
    padding: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
}

.featured-item:hover img {
    transform: scale(1.05);
}

.featured-item h3 {
    color: var(--text);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.featured-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.featured-btn {
    background: var(--gradient-primary);
    color: var(--snow);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

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

.featured-btn:hover::before {
    left: 100%;
}

.featured-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #357ABD 0%, #4A90E2 100%);
}

.featured-btn:active {
    transform: translateY(-1px);
}

/* Ski Quote Section Styles */
.ski-quote-section {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    padding: 8rem 0;
    margin: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ski-quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/snow-pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.quote-container blockquote {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--text);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 3rem;
}

.quote-container blockquote::before,
.quote-container blockquote::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    font-family: Georgia, serif;
}

.quote-container blockquote::before {
    left: 0;
    top: -1rem;
}

.quote-container blockquote::after {
    right: 0;
    bottom: -2rem;
}

.quote-author {
    color: var(--text-light);
    font-size: 1.2rem;
    font-style: italic;
    position: relative;
    display: inline-block;
    padding: 0.5rem 2rem;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--dark-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.product-image-container {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.product-info p {
    display: none; /* Hide description in card view */
}

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

.learn-more-btn {
    background-color: var(--primary);
    color: var(--snow);
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.learn-more-btn:hover {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    transform: translateY(-2px);
}

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

.modal-content {
    position: relative;
    background-color: var(--dark-surface);
    margin: 3% auto;
    padding: 3rem;
    width: 90%;
    max-width: 1100px;
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2.2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 1rem;
    align-items: start;
}

.modal-image-container {
    background: #f5f5f5;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.modal-image-container:hover {
    transform: scale(1.02);
}

.modal-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.modal-product-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 0;
}

.modal-product-info h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.modal-product-info p {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-product-price {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 700;
    padding: 1rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.modal .add-to-cart {
    background: var(--gradient-primary);
    color: var(--snow);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-light);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.modal .add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.modal .add-to-cart:hover::before {
    left: 100%;
}

.modal .add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #357ABD 0%, #4A90E2 100%);
}

.modal .add-to-cart:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop-container {
        margin: 80px auto 60px;
    }
    
    .featured-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .featured-item img {
        width: 280px;
        height: 280px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .shop-header h1 {
        font-size: 2.1rem;
        margin-bottom: 1rem;
    }
    
    .featured-section h2 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 2rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .close-modal {
        right: 1.5rem;
        top: 1.5rem;
    }
    
    .modal-product-info h2 {
        font-size: 2rem;
    }
    
    .modal-product-info p {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    
    .modal-product-price {
        font-size: 2rem;
    }
    
    .modal .add-to-cart {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    .shop-hero {
        height: 75vh !important;
        margin-top: 0 !important;
        padding: 0 0.5rem !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        position: relative !important;
    }
    .shop-hero .hero-content {
        padding: 3.5rem 1.2rem 2.5rem 1.2rem !important;
        max-width: 98vw !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }
    .shop-hero .hero-logo {
        margin-top: 2.5rem !important;
        margin-bottom: 1.2rem !important;
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
    .shop-hero .hero-logo img {
        height: 90px !important;
        width: auto !important;
        margin: 0 auto !important;
        display: block !important;
        border: none !important;
    }
    .shop-hero h1 {
        font-size: 2.3rem !important;
        margin-bottom: 1.2rem !important;
        margin-top: 0.5rem !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box !important;
    }
    .shop-hero p {
        font-size: 1.1rem !important;
        margin-bottom: 1.2rem !important;
        margin-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 0.5rem 0.7rem 0.5rem !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-item img {
        width: 240px;
        height: 240px;
    }
    
    .shop-header h1 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
    
    .modal-product-info h2 {
        font-size: 1.8rem;
    }
    
    .modal-product-info p {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .modal-product-price {
        font-size: 1.8rem;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.notification.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Mobile-specific notification styles */
@media (max-width: 768px) {
    .notification {
        text-align: center;
        width: 90%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .notification {
        width: 95%;
        max-width: 280px;
        padding: 10px 16px;
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Cart Badge Styles - Minimalist & Clean */
.cart-link {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -24px;
    background: var(--accent);
    color: var(--snow);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: 12px;
    border: 2px solid var(--dark-surface);
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.25);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

/* Badge states for different quantities */
.cart-badge[data-count="0"] {
    display: none;
}

.cart-badge[data-count="1"] {
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.25);
}

.cart-badge[data-count="2"],
.cart-badge[data-count="3"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E55A8F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.3);
}

.cart-badge[data-count="4"],
.cart-badge[data-count="5"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E9408F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.35);
}

.cart-badge[data-count="6"],
.cart-badge[data-count="7"],
.cart-badge[data-count="8"],
.cart-badge[data-count="9"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E9408F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.4);
}

.cart-badge[data-count="10"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E9408F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.5);
    animation: pulse 2s infinite;
}

/* Pulse animation for high quantities */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(233, 64, 143, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(233, 64, 143, 0.6);
    }
}

/* Navigation Cart Link */
.nav-links a[href="cart.php"] {
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a[href="cart.php"]:hover {
    transform: translateY(-1px);
}

.nav-links a[href="cart.php"]:hover .cart-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(233, 64, 143, 0.4);
}

/* Responsive adjustments for cart badge */
@media (max-width: 768px) {
    .cart-badge {
        top: -6px;
        right: -20px;
        font-size: 0.7rem;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .cart-badge {
        top: -5px;
        right: -18px;
        font-size: 0.65rem;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-width: 1.5px;
    }
} 

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1100;
}
.burger span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.burger.burger-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.burger.burger-active span:nth-child(2) {
    opacity: 0;
}
.burger.burger-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70vw;
        max-width: 320px;
        background: var(--dark-surface);
        box-shadow: -2px 0 12px rgba(0,0,0,0.2);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1050;
        display: flex !important;
    }
    .nav-links.nav-active {
        transform: translateX(0);
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        display: block;
        padding: 0.7rem 0;
    }
    nav {
        position: relative;
    }
    /* Shop-specific mobile scaling */
    .shop-hero {
        height: 40vh;
        margin-top: 55px;
        padding: 0 0.5rem;
    }
    .shop-hero .hero-logo img {
        height: 60px;
    }
    .shop-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.7rem;
    }
    .shop-hero p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    .shop-container {
        padding: 0 5vw !important;
        margin: 80px 0 60px 0;
        width: 100% !important;
        box-sizing: border-box;
    }
    .shop-header h1 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    .shop-header p {
        font-size: 1.1rem;
    }
    .featured-section {
        padding: 2rem 5vw !important;
        border-radius: 12px;
    }
    .featured-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .featured-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .featured-item {
        padding: 1.2rem 0.5rem;
        align-items: center;
        max-width: 100%;
    }
    .featured-item img {
        width: 170px;
        height: 170px;
        margin-bottom: 0.7rem;
        padding: 5px;
        border-radius: 15px;
    }
    .featured-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    .featured-item p {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    .featured-price {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    .featured-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        width: 100%;
        margin: 0.3rem 0 0 0;
        text-align: center;
        padding: 0.7rem 0;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    .product-card {
        border-radius: 12px;
        padding: 0.5rem;
    }
    .product-image-container {
        padding-top: 100%;
    }
    .product-image {
        padding: 5px;
        border-radius: 15px;
    }
    .product-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    .product-price {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    .learn-more-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        width: 100%;
        margin: 0.3rem 0 0 0;
        text-align: center;
        padding: 0.7rem 0;
    }
    /* Modal popout adjustments */
    .modal-content {
        margin: 5% auto;
        padding: 2rem;
    }
    .modal-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .modal-image-container {
        margin-top: 2.5rem;
    }
    .close-modal {
        right: 1.5rem;
        top: 1.5rem;
        z-index: 10;
    }
    .modal-product-info h2 {
        font-size: 2rem;
    }
    .modal-product-info p {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    .modal-product-price {
        font-size: 2rem;
    }
    .modal .add-to-cart {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
} 