/* Modern Products Page CSS for Samui Fix */

.modern-products-page {
    background: #f8fafc;
    min-height: 100vh;
}

/* Products Hero Section */
.products-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    opacity: 0.7;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .active {
    color: white;
    font-weight: 600;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.hero-stats .stat-item i {
    font-size: 1.2rem;
}

/* Search and Filter Section */
.products-search {
    background: white;
    padding: 2rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 3;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.search-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-section-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-box-full {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.search-box-full:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.sort-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-box i {
    color: #a0aec0;
    margin: 0 1rem;
    font-size: 1.1rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    padding: 0.75rem 0;
    font-size: 1rem;
    outline: none;
}

.search-box input::placeholder {
    color: #a0aec0;
}

.search-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-dropdown label {
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #667eea;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

/* Main Layout */
.products-main {
    padding: 2rem 0;
}

.services-layout {
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Grid Container */
.services-grid {
    width: 100%;
    box-sizing: border-box;
}

/* Removed sidebar styles - no longer needed */

/* Services Content */
.services-content {
    min-height: 500px;
    width: 100%;
    overflow: hidden;
}

/* Prevent overlapping */
.services-grid > * {
    position: relative;
    z-index: 1;
}

/* Ensure proper spacing */
.service-card + .service-card {
    margin-top: 0;
}

/* Active Filters */
.active-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.filter-label {
    color: #4a5568;
}

.remove-filter {
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.remove-filter:hover {
    background: #cbd5e0;
    color: #4a5568;
}

.reset-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e53e3e;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-filters:hover {
    background: #c53030;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 500px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.service-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Image loading states */
.product-image img {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-image img.loaded {
    opacity: 1;
}

/* Ensure proper centering for all image sizes */
.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Handle different image formats */
.product-image img {
    display: block;
    margin: 0 auto;
}

/* Add subtle pattern for transparent images */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, #f8f9fa 25%, transparent 25%), 
        linear-gradient(-45deg, #f8f9fa 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #f8f9fa 75%), 
        linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
    z-index: 0;
    border-radius: 10px 10px 0 0;
}

.product-image img {
    position: relative;
    z-index: 1;
}

/* Specific adjustments for product images */
.product-image img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-image img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Better image display */
.product-image {
    border: 1px solid #f1f5f9;
}

.product-image img {
    background: transparent;
}

/* Image placeholder */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #f7fafc;
    color: #a0aec0;
    font-size: 0.9rem;
}



.placeholder-content {
    text-align: center;
}

.placeholder-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Loading skeleton */
.product-image.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.promoted {
    background: #f6ad55;
    color: white;
}

.product-badge.special {
    background: #e53e3e;
    color: white;
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.service-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-category {
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #667eea;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    font-size: 0.9rem;
    color: #e2e8f0;
}

.stars i.filled {
    color: #f6ad55;
}

.rating-count {
    font-size: 0.8rem;
    color: #718096;
}

.product-price {
    margin-bottom: 0.75rem;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}

.price-original {
    font-size: 1rem;
    color: #a0aec0;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.price-special {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e53e3e;
}

.product-seller {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1rem;
}

.service-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    flex-shrink: 0;
}

.btn-view,
.btn-contact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-view {
    background: #667eea;
    color: white;
}

.btn-view:hover {
    background: #5a67d8;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-contact {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    text-decoration: none;
}

.btn-contact:hover {
    background: #e2e8f0;
    color: #2d3748;
    text-decoration: none;
}

/* No Products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.no-products-icon {
    font-size: 4rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.no-products h3 {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.no-products p {
    color: #718096;
    margin-bottom: 2rem;
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #667eea;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* Pagination */
.products-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.products-pagination .pagination {
    display: flex;
    gap: 0.5rem;
}

.products-pagination .pagination a,
.products-pagination .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.products-pagination .pagination a {
    background: white;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.products-pagination .pagination a:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.products-pagination .pagination .current {
    background: #667eea;
    color: white;
    border: 1px solid #667eea;
}

/* Service Features */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    min-height: 2rem;
    align-content: flex-start;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f0f4ff;
    color: #667eea;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-tag i {
    font-size: 0.7rem;
}

/* Service Provider */
.service-provider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-provider i {
    color: #48bb78;
}

/* No Services */
.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.no-services-icon {
    font-size: 4rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.contact-suggestion {
    background: #f0f4ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.contact-suggestion p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.btn-emergency {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e53e3e;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    background: #c53030;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Featured Services */
.featured-services {
    padding: 4rem 0;
    background: white;
}

.services-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.service-category-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-highlights {
    text-align: left;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.service-highlights span {
    display: block;
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.service-highlights span:last-child {
    margin-bottom: 0;
}

/* Emergency Contact Section */
.emergency-contact {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.emergency-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="emergency-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23emergency-pattern)"/></svg>');
}

.emergency-content {
    position: relative;
    z-index: 2;
}

.emergency-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.emergency-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.emergency-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-emergency-call,
.btn-emergency-line {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-emergency-call:hover,
.btn-emergency-line:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #718096;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.category-card p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.category-link {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #5a67d8;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-layout {
        padding: 0 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .search-section-full {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .sort-section {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-filter-bar {
        gap: 1rem;
    }
    
    .search-section-full {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box-full {
        min-width: auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .services-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        max-width: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .product-card {
        border-radius: 10px;
    }
    
    .product-image {
        height: 200px;
        padding: 0.75rem;
    }
    
    .product-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .products-hero {
        padding: 4rem 0 2rem;
    }
    
    .search-box {
        border-radius: 15px;
    }
    
    .search-btn {
        padding: 0.75rem 1.5rem;
        border-radius: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .services-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .service-highlights {
        padding: 0.75rem;
    }
    
    .emergency-contact {
        padding: 1.5rem;
    }
    
    .service-card {
        max-width: none;
        margin: 0;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats .stat-item {
        width: 100%;
        justify-content: center;
    }
    
    .product-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-card {
        font-size: 0.9rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-image {
        height: 180px;
        padding: 0.5rem;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .btn-view,
    .btn-contact {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}