.message-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 1.08rem;
    box-shadow: 0 4px 16px rgba(0, 168, 232, 0.12);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    outline: none;
}
.message-btn:hover, .message-btn:focus {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 168, 232, 0.18);
}
/* Global Responsive Styles */
@media (max-width: 768px) {
    /* Ensure hamburger menu and nav are visible */
    .hamburger-menu {
        display: flex !important;
    }
    
    .nav-flex {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 99;
        padding: 0;
    }
    
    .nav-flex.active {
        max-height: 100vh;
        overflow-y: auto;
        padding: 16px 0;
    }
    
    /* Scale up content for better readability */
    html {
        font-size: 16px;
    }
    
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    
    .shop-detail-container {
        max-width: 100vw;
        margin: 10px auto;
        padding: 12px;
        border-radius: 8px;
    }
    .shop-detail-header {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .shop-detail-img {
        width: 90vw;
        height: auto;
        max-width: 350px;
        max-height: 280px;
    }
    .shop-detail-info {
        padding: 16px 12px;
    }
    .shop-info {
        font-size: 0.95rem;
        margin: 8px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-card {
        padding: 16px 10px;
        min-height: 320px;
        max-height: 360px;
        display: flex;
        flex-direction: column;
    }
    .service-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        flex-shrink: 0;
    }
    .service-card h4 {
        font-size: 1rem;
        margin: 8px 0;
        min-height: 20px;
        max-height: 28px;
        overflow: hidden;
    }
    .service-desc {
        font-size: 0.9rem;
        min-height: 28px;
        max-height: 40px;
        overflow: hidden;
    }
    .service-features {
        min-height: 35px;
        max-height: 50px;
        overflow: hidden;
    }
    .service-price {
        min-height: 40px;
        flex-shrink: 0;
    }
    .add-to-cart-btn {
        font-size: 0.95rem;
        padding: 10px 14px;
        min-height: 44px;
        flex-shrink: 0;
    }
    footer {
        font-size: 0.9rem;
        padding: 16px 12px;
    }
    .footer-content {
        flex-direction: column;
        gap: 12px;
    }
    .section-title {
        font-size: 1.2rem;
        margin: 16px 0;
    }
    img, video {
        max-width: 100%;
        height: auto;
    }
}

/* Tablet Responsiveness (769px - 900px) */
@media (min-width: 769px) and (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .service-card {
        padding: 14px 12px;
    }
    
    .service-card h4 {
        font-size: 0.95rem;
    }
    
    .add-to-cart-btn {
        font-size: 0.9rem;
        padding: 9px 12px;
    }
}

.shop-detail-container {
    margin: 25px auto;
    max-width: 1100px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.shop-detail-container:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.shop-detail-header {
    display: flex;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 0;
    background: var(--light);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transition: box-shadow 0.3s;
    overflow: hidden;
}

.shop-detail-img {
    width: 250px;
    height: 280px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: var(--light);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-detail-header:hover .shop-detail-img {
    transform: scale(1.05);
}

.shop-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 30px 40px;
}

.shop-detail-info h2 {
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: var(--primary);
    letter-spacing: -0.5px;
    font-weight: 800;
}

.shop-info {
    font-size: 1rem;
    color: var(--accent);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.shop-info i {
    color: var(--accent);
}

.shop-desc p {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.5;
    margin: 8px 0 0 0;
    font-weight: 500;
}

.shop-extra {
    margin-top: 12px;
    color: var(--accent);
    font-size: 0.95rem;
    font-style: normal;
    background: rgba(139, 170, 168, 0.05);
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
}

.shop-services {
    margin-top: 0;
    background: white;
    border-radius: 0;
    box-shadow: none;
    padding: 30px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-services h3 {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.service-card {
    background: white;
    border: 2px solid var(--light);
    border-radius: 10px;
    padding: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 340px;
    max-height: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 16px rgba(235, 170, 168, 0.15);
    transform: translateY(-4px);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 12px;
}

.service-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 700;
    min-height: 20px;
    max-height: 28px;
    overflow: hidden;
}

.service-desc {
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 28px;
    max-height: 45px;
    overflow: hidden;
}

.service-price {
    background: var(--light);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid var(--accent);
    min-height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-price strong {
    font-size: 1.1rem;
    color: var(--primary);
    display: block;
    margin-bottom: 2px;
}

.service-price small {
    color: #9CA3AF;
    font-size: 0.85rem;
}

.service-features {
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 40px;
    max-height: 60px;
    overflow: hidden;
}

.service-features small {
    color: #52A369;
}

.add-to-cart-btn {
    background: var(--gradient-2);
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 15px rgba(83, 98, 158, 0.2);
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: 1;
}

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

.add-to-cart-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.add-to-cart-btn:active::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

.add-to-cart-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(83, 98, 158, 0.35), 0 0 20px rgba(135, 186, 195, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 12px rgba(83, 98, 158, 0.25);
}

.add-to-cart-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.add-to-cart-btn:hover i {
    transform: rotate(15deg) scale(1.2);
}

.add-to-cart-btn span {
    position: relative;
    z-index: 2;
}

/* Success state animation */
.add-to-cart-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: buttonPulse 0.6s ease-out;
}

.add-to-cart-btn.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.add-to-cart-btn.loading {
    opacity: 0.8;
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn i {
    font-size: 1rem;
}


.shop-photos {
    margin-top: 0;
    padding: 30px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-photos h3 {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.photos-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.photos-row img {
    width: 170px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #f0f9ff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.photos-row img:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.shop-actions {
    margin: 30px 40px 30px;
    display: none;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

.btn {
    background: var(--gradient-2);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(90, 68, 132, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn i { margin-right: 8px; }
.btn:hover, .btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
    outline: none;
}

.shop-reviews {
    margin: 30px auto 0;
    max-width: 800px;
    background: white;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-reviews h3 {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.review {
    margin-bottom: 8px;
    font-size: 0.85rem;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 6px;
    background: #f6fafd;
    border-radius: 6px;
    padding: 8px 10px;
    box-shadow: 0 1px 3px rgba(44,62,80,0.04);
    transition: background 0.2s;
}
.review:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.review b {
    color: #355fa7;
    font-weight: 600;
    font-size: 0.95em;
}
.review span {
    color: var(--warning, #f7b731);
    margin-left: 8px;
    font-weight: 700;
    font-size: 0.9em;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 62, 80, 0.7);
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex !important;
}
.modal-content {
    background: #fff;
    padding: 28px 24px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(44,62,80,0.13);
    width: 100%;
    max-width: 400px;
    position: relative;
    margin: auto;
    animation: fadeInScale 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.95);}
    100% { opacity: 1; transform: scale(1);}
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--danger, #e74c3c);
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #b71c1c;
}

/* Responsive: Stack details and photos on mobile */
@media (max-width: 600px) {
    html {
        font-size: 15px;
    }
    
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.3rem; }
    h2 { font-size: 1.1rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 0.95rem; }
    
    .shop-detail-container {
        padding: 10px;
        margin: 8px auto;
    }
    
    .shop-detail-img {
        max-width: 320px;
        max-height: 240px;
    }
    
    .shop-detail-info {
        padding: 12px 10px;
    }
    
    .shop-info {
        font-size: 0.9rem;
        margin: 6px 0;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .service-card {
        padding: 12px 8px;
    }
    
    .add-to-cart-btn {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    footer {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    
    .message-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
@media (max-width: 700px) {
    .shop-detail-container {
        padding: 14px 3vw;
    }
    .shop-detail-header, .shop-services, .shop-reviews {
        padding: 13px 8px;
        max-width: 100%;
    }
    .photos-row {
        flex-direction: column;
        gap: 10px;
    }
    .shop-detail-img {
        width: 100%;
        height: 140px;
    }
    .modal-content {
        max-width: 96vw;
        padding: 20px 6px;
    }
}

@media (max-width: 480px) {
    .shop-reviews {
        margin: 20px auto 0;
        max-width: 100vw;
        padding: 15px 10px;
        display: block !important;
        visibility: visible !important;
    }
    
    .shop-reviews h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .shop-reviews .review {
        font-size: 0.85rem;
        padding: 10px;
        margin-bottom: 8px;
    }
}
@media (max-width: 400px) {
    .modal-content {
        max-width: 100vw;
        padding: 10px 2vw;
    }
}

.img-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44,62,80,0.85);
    align-items: center;
    justify-content: center;
    animation: fadeInScale 0.2s;
}

.img-modal.active {
    display: flex !important;
}

.img-modal-content {
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 13px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.33);
}

.img-modal-close {
    position: absolute;
    top: 30px;
    right: 55px;
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 4010;
    transition: color 0.2s;
    text-shadow: 0 2px 12px #000;
}
.img-modal-close:hover {
    color: #f33;
}

@media (max-width: 700px) {
    .img-modal-content { max-width: 98vw; max-height: 62vh;}
    .img-modal-close   { right: 18px; top: 10px; font-size: 2rem;}
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.25rem; }
    h2 { font-size: 1.05rem; }
    h3 { font-size: 0.95rem; }
    h4 { font-size: 0.9rem; }
    
    .shop-detail-container {
        padding: 8px;
        margin: 5px auto;
    }
    
    .shop-detail-img {
        max-width: 280px;
        max-height: 200px;
    }
    
    .shop-detail-info {
        padding: 10px 8px;
    }
    
    .shop-info {
        font-size: 0.85rem;
        margin: 4px 0;
    }
    
    .service-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .service-card {
        padding: 10px 6px;
    }
    
    .service-card h4 {
        font-size: 0.9rem;
    }
    
    .add-to-cart-btn {
        font-size: 0.85rem;
        padding: 8px 10px;
        min-height: 40px;
    }
    
    footer {
        padding: 10px 6px;
        font-size: 0.8rem;
    }
    
    .message-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        max-width: 95vw;
        padding: 12px 8px;
    }
}