/* Responsive CSS for Cremor Coffee Website */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    /* Standard Heading Responsive */
    .standard-heading {
        font-size: 1.5rem !important;
        text-align: left !important;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    /* Standard Heading Responsive */
    .standard-heading {
        font-size: 1.5rem !important;
        text-align: left !important;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    /* Single product optimization for tablet */
    .products-grid.single-product {
        grid-template-columns: minmax(280px, 400px);
        justify-content: center;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .about-content {
        gap: 3rem;
    }
    
    /* Standard Heading Responsive */
    .standard-heading {
        font-size: 1.4rem !important;
        text-align: left !important;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .hero {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    /* Single product optimization for mobile */
    .products-grid.single-product {
        grid-template-columns: minmax(250px, 350px);
        justify-content: center;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-sidebar {
        order: 2;
    }
    
    .products-main {
        order: 1;
    }
    
    /* Standard Heading Responsive */
    .standard-heading {
        font-size: 1.3rem !important;
        text-align: left !important;
    }
    
    /* Description Responsive */
    .hero-description {
        text-align: left !important;
    }
    
    /* Splash Frame Responsive for Mobile */
    .hero-image {
        padding: 20px 15px 25px 12px;
        border-radius: 45px 18px 40px 22px;
        transform: rotate(-1deg);
    }
    
    .hero-image img {
        border-radius: 30px 12px 25px 18px;
        transform: rotate(0.8deg);
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.75rem;
    }
    
    /* Single product optimization for small mobile */
    .products-grid.single-product {
        grid-template-columns: minmax(200px, 300px);
        justify-content: center;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .products-layout {
        gap: 1rem;
    }
    
    .products-sidebar {
        order: 2;
    }
    
    .products-main {
        order: 1;
    }
    
    /* Standard Heading Responsive */
    .standard-heading {
        font-size: 1.2rem !important;
        text-align: left !important;
    }
    
    /* Description Responsive */
    .hero-description {
        text-align: left !important;
    }
    
    /* Splash Frame Responsive for Mobile */
    .hero-image {
        padding: 12px;
        border-radius: 18px;
    }
    
    .hero-image img {
        border-radius: 10px;
    }
}

/* Small Mobile (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 8px;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    /* Single product optimization for extra small mobile */
    .products-grid.single-product {
        grid-template-columns: minmax(180px, 280px);
        justify-content: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        gap: 1rem;
    }
    
    .footer-content {
        gap: 0.75rem;
    }
    
    .products-layout {
        gap: 0.75rem;
    }
    
    /* Standard Heading Responsive */
    .standard-heading {
        font-size: 1.1rem !important;
        text-align: left !important;
    }
    
    /* Description Responsive */
    .hero-description {
        text-align: left !important;
    }
    
    /* Splash Frame Responsive for Mobile */
    .hero-image {
        padding: 12px;
        border-radius: 18px;
    }
    
    .hero-image img {
        border-radius: 10px;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
        margin-bottom: 1rem;
    }
    
    .hero-title::after {
        width: 80px;
        height: 3px;
        bottom: -15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    

    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Navigation Mobile */
    .navbar {
        padding: 0.5rem 0;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-brand {
        flex-shrink: 0;
    }
    
    .navbar-actions {
        flex-shrink: 0;
    }
    
    .navbar-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        flex-direction: column;
        padding: 1rem 0;
        border-radius: 0 0 12px 12px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .navbar-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
        padding: 0;
    }
    
    .navbar-nav .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1.1rem;
        font-weight: 500;
        transition: background-color 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: #f8f9fa;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .btn-mobile-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .btn-mobile-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #8B4513;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .btn-mobile-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    
    .btn-mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .btn-mobile-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }
    
    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .products-view {
        align-self: flex-end;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
        justify-content: center;
    }
    
    .page-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-width: 44px;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-logo-img {
        max-width: 200px;
    }
    
    /* Company Section Mobile */
    .company-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-card {
        padding: 1.5rem;
    }
    
    .story-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        height: 60vh;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
        margin-bottom: 0.75rem;
    }
    
    .hero-title::after {
        width: 60px;
        height: 2px;
        bottom: -10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        max-width: 250px;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Product Cards */
    .product-card {
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .product-category {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .product-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    /* Blog Cards */
    .blog-content {
        padding: 1rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .blog-meta {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    

    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Page Headers */
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    /* Sidebar */
    .products-sidebar {
        padding: 1rem;
    }
    
    .widget-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .filter-form input,
    .filter-form select {
        padding: 0.75rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Company Section */
    .company-intro {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .company-intro h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .company-intro p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .company-card {
        padding: 1.25rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .company-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .company-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Enhanced Corporate Page Responsive */
    .company-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        padding: 25px 20px 30px 15px;
        border-radius: 50px 20px 45px 25px;
        transform: rotate(-1.5deg);
    }
    
    .hero-image img {
        border-radius: 35px 15px 30px 20px;
        transform: rotate(1deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-card,
    .vision-card,
    .values-card {
        padding: 2rem 1.5rem;
    }
    
    .production-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .varieties-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .standards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sustainability-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* New Corporate Sections Responsive */
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .philosophy-item {
        padding: 2rem 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expertise-item {
        padding: 2rem 1.5rem;
    }
    
    /* Contact Section */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Blog Layout */
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-sidebar {
        order: 2;
    }
    
    .blog-main {
        order: 1;
    }
    
    /* Product Detail Page */
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        position: static;
    }
    
    .main-image img {
        height: 300px;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-header .product-title {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        min-width: auto;
    }
    
    /* Product Detail Page Mobile */
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-images {
        position: static;
    }
    
    .main-image img {
        height: 250px;
    }
    
    .gallery-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .product-header .product-title {
        font-size: 1.75rem;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-specifications,
    .product-details {
        padding: 1rem;
    }
    
    .spec-item,
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .spec-value,
    .detail-value {
        text-align: left;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 8px;
    }
    
    .hero {
        height: 55vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        letter-spacing: -0.25px;
        margin-bottom: 0.5rem;
    }
    
    .hero-title::after {
        width: 50px;
        height: 2px;
        bottom: -8px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }
    
    .hero-buttons .btn {
        max-width: 220px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .btn-large {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Product Cards */
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 0.875rem;
    }
    
    .product-title {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .product-category {
        font-size: 0.8rem;
        margin-bottom: 0.375rem;
    }
    
    .product-description {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.875rem;
    }
    
    /* Blog Cards */
    .blog-image {
        height: 140px;
    }
    
    .blog-content {
        padding: 0.875rem;
    }
    
    .blog-title {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .blog-meta {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1rem;
    }
    

    
    /* Footer */
    .footer-content {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Company Section */
    .company-intro {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .company-intro h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .company-intro p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .company-card {
        padding: 1rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .company-card h3 {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .company-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .stat-item {
        padding: 0.875rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Contact Section */
    .contact-info,
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.625rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    /* Navigation */
    .navbar {
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-brand {
        flex-shrink: 0;
    }
    
    .navbar-actions {
        flex-shrink: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .btn-mobile-menu {
        width: 28px;
        height: 22px;
    }
    
    .btn-mobile-menu span {
        height: 2px;
    }
    
    /* Product Detail Page Extra Small Mobile */
    .product-detail-layout {
        gap: 1rem;
    }
    
    .main-image img {
        height: 200px;
    }
    
    .gallery-thumbnail {
        width: 40px;
        height: 40px;
    }
    
    .product-header .product-title {
        font-size: 1.5rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-specifications,
    .product-details {
        padding: 0.75rem;
    }
    
    .product-actions {
        gap: 0.75rem;
    }
    
    .product-actions .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .navbar-actions,
    .btn,
    .product-actions,
    .social-links {
        display: none !important;
    }
    
    .hero {
        height: auto;
        color: #000;
    }
    
    .hero-background::after {
        display: none;
    }
    
    .product-card,
    .blog-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .products-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}

/* Focus styles for keyboard navigation */
@media (any-hover: none) {
    .product-card:hover,
    .blog-card:hover {
        transform: none;
    }
    
    .product-actions {
        opacity: 1;
    }
}

/* Touch device optimizations */
@media (pointer: coarse) {
    .btn,
    .action-btn,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    .product-actions {
        opacity: 1;
    }
    
    .action-btn {
        width: 44px;
        height: 44px;
    }
}


/* Blog Post Detail Page Responsive */
@media (max-width: 1024px) {
    .blog-post-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-post-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .blog-post-section {
        padding: 2rem 0;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-featured-image {
        margin: 1.5rem 0;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-post {
        padding: 1rem;
    }
    
    .post-title {
        font-size: 1.75rem;
    }
    
    .post-meta {
        font-size: 0.8rem;
    }
    
    .blog-post-sidebar .sidebar-widget {
        padding: 1rem;
    }
}
