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



.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: medium !important;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #fff;
    color: #555555;
}

input,
button,
select,
textarea {
    font-family: "Segoe UI", sans-serif;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Navbar */
nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    transition: height 0.3s ease;
}

.logo img {
    height: 115px;
    transition: height 0.3s ease;
}

.desktop-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #444;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0a989c;
}

.search-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 580px;
    margin: 0 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
    padding: 6px 12px;
    transition: all 0.3s ease;
    flex: 1;
}

.search-box:hover,
.search-box:focus-within {
    background: #fff;
    border-color: #0a989c;
    box-shadow: 0 2px 8px rgba(0, 121, 107, 0.1);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    padding: 4px 8px;
    font-size: 13px;
    width: 100%;
    color: #333;
}

.search-box i {
    color: #888;
    font-size: 16px;
}

.actions-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-link {
    color: #444;
    font-size: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.icon-link .badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ff5252;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.cart-img {
    width: 22px;
}

.profile-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 15px;
    border-left: 1px solid #eee;
}

.profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.profile-info a {
    font-size: 11px;
    color: #888;
    text-decoration: none;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.login-btn {
    color: #444;
}

.register-btn {
    background: #0a989c;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.3s;
}

.register-btn:hover {
    background: #004d40;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #444;
    cursor: pointer;
}

/* Mobile Panel */
.mobile-panel {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.mobile-panel.active {
    display: flex;
}

.mobile-panel .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.mobile-panel .nav-links a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-panel .search-box {
    width: 100%;
}

.mobile-bottom {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-icons {
    display: flex;
    gap: 15px;
    font-size: 22px;
}

/* Nav Backdrop */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1005;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.nav-backdrop.active {
    visibility: visible;
    opacity: 1;
}

/* Updated Mobile Panel (Drawer) */
.mobile-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 300px;
    /* Sidebar width */
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 30px 25px;
    gap: 25px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1010;
    /* display: flex !important; */
    /* Always flex but hidden via transform */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-panel.active {
    transform: translateX(0);
}

.mobile-panel .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 10px;
}

.mobile-panel .nav-links a {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #f8f8f8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-panel .nav-links a i {
    font-size: 20px;
    color: #0a989c;
}

.close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #444;
    cursor: pointer;
    transition: color 0.3s;
}

.close-menu:hover {
    color: #ff5252;
}

.mobile-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0px;
}

.mobile-auth-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.mobile-auth-links .login-btn {
    text-align: center;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 10px;
    color: #333;
    font-weight: 600;
}

.mobile-auth-links .register-btn {
    text-align: center;
    padding: 12px;
    background: #0a989c;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
}

.mobile-search-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

@media (max-width: 1200px) {
    .nav-container {
        padding: 0 20px;
    }

    .search-group {
        margin: 0 15px;
    }
}

@media (max-width: 991px) {
    .desktop-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        height: 70px;
        /* Reduced from 100px */
    }

    .logo img {
        height: 50px;
        /* Reduced further for mobile */
    }

    .mobile-panel {
        width: 85%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 110px;
        /* More compact on very small screens */
    }

    .logo img {
        height: 45px;
    }
}

/* Google Places Autocomplete */
.pac-container {
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    font-family: inherit;
    z-index: 2000;
}

.pac-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-icon {
    margin-right: 10px;
}

/* Search Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-results-dropdown .search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.search-results-dropdown .search-item:last-child {
    border-bottom: none;
}

.search-results-dropdown .search-item:hover {
    background: #f9f9f9;
}

.search-results-dropdown .search-item img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.search-results-dropdown .search-item .info {
    display: flex;
    flex-direction: column;
}

.search-results-dropdown .search-item .info .name {
    font-weight: 600;
    font-size: 13px;
}

.search-results-dropdown .search-item .info .price {
    font-size: 12px;
    color: #0a989c;
    font-weight: 500;
}

.search-results-dropdown .no-results {
    padding: 15px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

@media (max-width: 991px) {
    .desktop-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}


/* Page Section */
/* Hero Section Container */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}



.text-section h2 {
    font-size: 2rem;
    color: #0a989c;
    margin-bottom: 1rem;
}

.category-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1rem;
    max-width: 470px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-box h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.grid div {
    background: #f9f9f9;
    padding: 1.2rem 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.grid div i {
    font-size: 1.8rem;
    color: #0a989c;
}

.grid div:hover {
    background: #e0f2f1;
    transform: scale(1.05);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Category Grid (used in Home Page) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.category-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.category-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.category-item span {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .category-item {
        padding: 10px 5px;
    }

    .category-item img {
        width: 50px;
        height: 50px;
    }

    .category-item span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-item img {
        width: 40px;
        height: 40px;
    }

    .category-item span {
        font-size: 12px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}

.hero-text h2 {
    font-size: 42px;
    color: #0a989c;
    margin-bottom: 25px;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .hero-grid {
        gap: 20px;
    }

    .hero-text h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 0;
    }

    .hero-text h2 {
        font-size: 28px;
    }

    .category-box {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
}


.image-grid {
    display: flex;
    gap: 15px;
}

.collage-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.image-grid img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 12px;
}

/* First image in first col usually taller in some designs, or equal. 
   Assuming equal split based on standard collages, or auto height based on image aspect ratio.
   Flex will handle height naturally. */

@media (max-width: 1024px) {
    .hero-grid {
        gap: 1.5rem;
        padding: 3rem 5%;
    }

    .text-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.5rem 15px;
        gap: 2rem;
    }

    .image-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-box {
        margin: 0 auto;
    }
}

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

.section-title {
    text-align: center;
    padding: 40px 15px 15px;
    font-size: 2.5rem;
    color: #0a989c;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        padding: 20px 10px 5px;
    }
}



/* Offer Section */
.offer-section {
    padding: 20px 0;
    background: #fff;
    width: 100%;
    overflow: hidden;
}

.offer-section .swiper {
    width: 100%;
    height: 100%;
}

.offer-box {
    color: #fff;
    text-align: left;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-box h3 {
    font-size: 25px;
    margin-bottom: 10px;
    font-weight: 700;
}

.offer-box p {
    font-size: 20px;
    margin-bottom: 20px;
}

.offer-box button {
    background: #064c4c;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    max-width: 150px;
    cursor: pointer;
    transition: background 0.3s;
}

.offer-box button:hover {
    background: #0a6b6b;
}

/* Hover animation for desktop */
.offer-box:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Swiper Pagination styling */
.swiper-pagination-bullet {
    background: #064c4c;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Removed specific mobile overrides that conflict with index.blade.php */


/* Swiper arrows */
.offer-slider .swiper-button-next,
.offer-slider .swiper-button-prev {
    color: #064c4c;
}

/* Swiper Dots */
.offer-slider .swiper-pagination {
    margin-top: 0px;
}

.offer-slider .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.offer-slider .swiper-pagination-bullet-active {
    background: #064c4c;
    width: 15px;
    border-radius: 10px;
}


.services-slider {
    padding: 20px 15px 40px;
}

.services-slider .swiper-slide {
    height: auto;
    display: flex;
    /* Ensures slide stretches to fill height */
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    /* Forces card to fill the slide height */
    width: 100%;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.service-card p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.service-card .price {
    color: #555;
    font-size: 13px;
    margin-top: 5px;
}

.stitchit-footer {
    background-color: #f5f5f5;
    padding: 100px 125px 30px;
    border-top: 1px solid #e0e0e0;
    font-family: "Segoe UI", sans-serif;
    color: #000000;
}

/* ====== FOOTER BASE ====== */
.stitchit-footer {
    background: #f5f5f5;
    color: #333;
    padding: 60px 0 40px;
    font-family: inherit;
    position: relative;
    border-top: 1px solid #e0e0e0;
    margin-top: 25px;
}

.footer-container {
    width: 100%;
}

.footer-logo {
    text-align: left;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 110px;
    /* Standardize logo size */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

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

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column ul li a {
    color: #545454;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #064c4c;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #444;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: transparent;
}

.footer-social a:hover {
    background-color: #064c4c;
    color: #fff;
    border-color: #064c4c;
}

.footer-apps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-apps a {
    display: block;
    line-height: 0;
}

.footer-apps img {
    width: 135px;
    border-radius: 6px;
    transition: transform 0.3s;
}

.footer-apps img:hover {
    transform: scale(1.05);
}

/* ====== FOOTER BOTTOM ====== */
.footer-bottom {
    text-align: left;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #777;
}

.footer-bottom .version {
    margin-bottom: 5px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-logo {
        text-align: center;
    }

    .footer-apps {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 30px;
    }
}

/* Chat Button Styles */
.chat-section {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-btn {
    background: #0a989c;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 121, 107, 0.3);
    transition: all 0.3s ease;
    border: none;
    font-size: 15px;
}

.chat-btn:hover {
    background: #004d40;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 121, 107, 0.4);
}

.chat-btn i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .chat-section {
        bottom: 20px;
        right: 20px;
    }

    .chat-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .chat-section {
        bottom: 15px;
        right: 15px;
    }

    .chat-btn span {
        display: none;
    }

    .chat-btn {
        padding: 12px;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        justify-content: center;
    }

    .chat-btn i {
        margin: 0;
    }
}

/* ====== RESPONSIVE ====== */

/* Tablet View */
/* This media query was removed as it was redundant with the one above */

/* Mobile View: 2 Rows × 2 Columns */
@media (max-width: 576px) {
    /* .stitchit-footer and .footer-grid rules moved/updated above */

    /* .footer-column h4, .footer-column ul li a, .footer-apps img, .footer-logo img rules moved/updated above */

    .footer-bottom p {
        font-size: 14px;
    }

    .footer-bottom {
        text-align: center;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 30px;
        padding-top: 15px;
        font-size: 14px;
        margin-bottom: 20px;
    }
}





.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    text-align: center;
}

.grid a {
    text-decoration: none;
    color: inherit;
}

.grid div {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.grid div:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.grid i,
.grid span:first-child {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.fix-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
    text-align: center;
    padding: 20px;
}

.fix-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fix-card img {
    width: 210px;
    height: 225px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fix-card p {
    margin-top: 10px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.fix-card:hover img {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ✅ Responsive columns */
@media (max-width: 992px) {
    .fix-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .fix-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fix-card img {
        width: 80px;
        height: 80px;
    }

    .fix-card p {
        font-size: 0.85rem;
    }
}

/* Swiper Arrow Base */
.swiper-button-next,
.swiper-button-prev {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    color: #000;
    transition: all 0.3s ease;
}

/* Icon Size & Centering */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 600;
}

/* Hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

/* Positioning */
.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

/* Responsive positioning */
@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }
}

.services-slider a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    padding: 5px;
    margin: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.service-card p {
    margin-top: 10px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    text-align: justify;
}

.service-card .price {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #333333;
    font-weight: 600;
    text-align: justify;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Swiper Navigation Button Design */
.swiper-button-next,
.swiper-button-prev {
    background: #fff;
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Change arrow icon size */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

/* Position adjustments */
.swiper-button-prev {
    left: -20px;
}

.swiper-button-next {
    right: -20px;
}

/* Responsive arrow positioning */
@media (max-width: 768px) {
    .swiper-button-prev {
        left: 0;
    }

    .swiper-button-next {
        right: 0;
    }
}


/* --- Base Layout --- (Fixed) */
.home-hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 50px;
    padding: 60px 5%;
    background-color: #ffffff;
    max-width: 1440px;
    margin: 0 auto;
}

/* Hero Text & Card */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 0px;
    text-align: left;
}

.hero-text h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    color: #0a989c;
    margin: 0 0 0 0px;
}

.hero-card-wrapper {
    background: #fff;
    border: 0px solid #f0f0f0;
    border-radius: 20px;
    padding: 0px;
    margin-top: 20px;

}

.category-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-bottom: 25px;
    text-transform: none;
    letter-spacing: normal;
}

/* --- Masonry Image Grid --- */
.hero-image-masonry {
    display: flex;
    gap: 20px;
    width: 100%;
}

.masonry-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.masonry-column img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.m-img-1 {
    height: 320px;
}

.m-img-3 {
    height: 260px;
}

.m-img-2 {
    height: 240px;
}

.m-img-4 {
    height: 340px;
}

/* --- Category Grid --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.category-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    text-align: center;
    padding: 15px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.category-item:hover {
    transform: translateY(-8px);
    border-color: #00808040;
    box-shadow: 0 12px 24px rgba(0, 128, 128, 0.1);
}

.category-item.active {
    border: 2px solid #008080 !important;
    background: #f0fafa;
    transform: scale(1.05);
}

.category-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}

.category-item span {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

/* Dynamic Fade-in */
.second-level-item {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
    .home-hero-container {
        padding: 40px 5%;
        gap: 30px;
    }

    .hero-text h2 {
        font-size: 34px;
    }
}

@media (max-width: 992px) {
    .home-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding: 40px 5%;
    }

    .hero-text {
        order: 1;
    }

    .image-grid {
        order: 2;
        margin-top: 40px;
    }

    .hero-text h2 {
        text-align: center;
        font-size: 32px;
    }

    .category-grid {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 12px;
    }

    .category-item {
        min-height: 120px;
        padding: 15px 5px;
    }

    .category-item img {
        width: 60px;
        height: 60px;
    }

    .category-item span {
        font-size: 13px;
    }

    .hero-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 items row on very small screens */
        gap: 8px;
    }

    .category-item {
        min-height: 100px;
        border-radius: 12px;
    }

    .category-item img {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }

    .category-item span {
        font-size: 11px;
    }
}

.quick-fixes-slider {
    width: 100%;
    padding: 30px 0;
}

.fix-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.fix-card:hover {
    transform: translateY(-5px);
}

.fix-card img {
    width: 210px;
    height: 225px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    border: 3px solid #eee;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}


.fix-card img:hover {
    transform: scale(1.1);
}

.fix-card p {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-top: 8px;
}

/* Responsive tweaks */
@media (max-width: 1200px) {
    .fix-card img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 992px) {
    .fix-card img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .fix-card img {
        width: 100px;
        height: 100px;
    }

    .fix-card p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .fix-card img {
        width: 200px;
        height: 200px;
    }

    .fix-card p {
        font-size: 13px;
    }
}



/* 🔹 Main Alteration Section */
.alteration-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 40px 5%;
    align-items: center;
    background: #fff;
}

@media (max-width: 991px) {
    .alteration-section {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 30px 15px;
    }
}

.alteration-left h2 {
    color: #0a989c;
    ;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-box h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-item {
    text-align: center;
    background: #fafafa;
    border-radius: 10px;
    padding: 10px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.service-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.service-item span {
    font-size: 13px;
    color: #008080;
    font-weight: 700;
    text-decoration: none;
}

.service-item:hover {
    background: #e6f7f6;
    transform: translateY(-2px);
}

.service-image {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 🔹 Bottom Section */
.alteration-page {
    padding: 30px 5%;
    background: #fff;
}

.alteration-grid {
    display: grid;
    grid-template-columns: 4fr 3fr;
    /* Balanced layout for Services and Cart */
    gap: 40px;
    align-items: start;
    padding: 40px 5%;
}

.column-empty {
    display: none;
    /* Removed empty column as it causes whitespace issues */
}

@media (max-width: 1024px) {
    .alteration-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .alteration-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 🔹 Page Header Scoped for Category */
/* Legacy consolidated block removed to prevent conflicts with new responsive layout */

/* ✅ Extra Small Screens (below 480px) */
@media (max-width: 480px) {
    .alteration-left h2 {
        font-size: 18px;
    }

    .add-btn {
        font-size: 13px;
        padding: 6px 15px;
    }

    .cart-item p {
        font-size: 13px;
    }

    .total p {
        font-size: 14px;
    }

    .offer-left img {
        width: 50px;
    }

    .alteration-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 30px;
        align-items: start;
        margin-top: -50px;
    }

    alteration-left {
        padding: 10px !important;
    }
}

/* End of Alteration Grid Styles */
.alteration-left h2 {
    margin-bottom: 20px;
    font-size: 30px;
}

.alteration-item {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.image-box {
    position: relative;
    width: 84%;
    max-width: 150px;
}

.image-box img {
    width: 80%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* Quantity overlay on image */
.quantity-overlay {
    position: absolute;
    bottom: 10px;
    left: 40%;
    transform: translateX(-50%);
    display: flex;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 30px;
    overflow: hidden;
    align-items: center;
}

.quantity-overlay button {
    background: none;
    border: none;
    padding: 5px 10px;
    font-size: 18px;
    cursor: pointer;
}

.quantity-overlay input {
    width: 30px;
    text-align: center;
    border: none;
    outline: none;
}

.add-btn {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #118888;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 20px;
    cursor: pointer;
    font-size: 14px;
}

.add-btn:hover {
    background: #118888;
}

.item-info {
    margin-top: 0px;
}

.item-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.item-info p {
    font-size: 14px;
    color: #555;
}

/* Cart Section */
.cart-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-items-wrapper {
    max-height: 480px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0px;
    margin-right: 0px;
    /* Compensate for padding to keep alignment */
}

.services-wrapper {
    max-height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 12px;
}

/* Custom Scrollbar for Containers */
.cart-items-wrapper::-webkit-scrollbar,
.services-wrapper::-webkit-scrollbar {
    width: 5px;
}

.cart-items-wrapper::-webkit-scrollbar-track,
.services-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items-wrapper::-webkit-scrollbar-thumb,
.services-wrapper::-webkit-scrollbar-thumb {
    background: #176B6B;
    border-radius: 10px;
}

.cart-items-wrapper::-webkit-scrollbar-thumb:hover,
.services-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0d4d4d;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 10px;
}

.cart-item p {
    font-size: 15px;
    margin: 0;
    color: #333;
}

.cart-item a {
    font-size: 13px;
    color: #176b6b;
    text-decoration: none;
}

.qty-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-box {
    display: flex;
    align-items: center;
    border: 1px solid #008080;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-box button {
    background: #f8f8f8;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
}

.quantity-box input {
    width: 35px;
    text-align: center;
    border: none;
    outline: none;
}

.summary {
    margin-top: 0px;
    text-align: center;
}

.highlight {
    background: #f9f9f9;
    color: #28a745;
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
}

.total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.total span {
    text-decoration: line-through;
    color: #888;
    margin-left: 5px;
}

.view-cart-btn {
    background: #009688;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
}

.offer {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    margin-top: 20px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.offer a {
    color: #007bff;
    font-size: 13px;
}

/* ✅ Stitch-It Promise Section */
.promise-box {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    margin-top: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.promise-box h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.promise-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.promise-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.promise-text li {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.promise-img img {
    max-width: 60px;
    height: auto;
    display: block;
}




.offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 20px;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.offer-left img {
    width: 40px;
    height: auto;
    display: block;
}

.offer-right {
    flex: 1;
}

.offer-right p {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
}

.offer-right a {
    color: #007bff;
    font-size: 13px;
    text-decoration: none;
}

.offer-right a:hover {
    text-decoration: underline;
}







/* Section */
.measurement-section {
    width: 100%;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
}

.measurement-container {
    background: #fff;
    width: 100%;
    max-width: 1400px;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header */
.measurement-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-btn {
    background: #fff;
    border: 1px solid #0a6b6b;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #0a6b6b;
    color: #fff;
}

.header-text h2 {
    font-size: 26px;
    font-weight: 600;
    color: #222;
}

.header-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.video-btn {
    background: #707274;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.video-btn:hover {
    background: #0a6b6b;
}

/* Measurement Grid */
.measurement-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: start;
}

/* Dropdown Columns */
.measure-column label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin-top: 20px;
}

.measure-column select {
    width: 70%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
}

/* Measurement Image */
.measure-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.measure-image img {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Center Image for Desktop */
@media (min-width: 993px) {
    .measure-image {
        grid-column: 3 / 4;
        justify-self: center;
    }
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.action-buttons button {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.edit-btn {
    background: #f2f2f2;
}

.save-btn {
    background: #000;
    color: #fff;
}

.save-btn:hover {
    background: #0a6b6b;
}

/* ---------- Tablet View ---------- */
@media (max-width: 992px) {
    .measurement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .measure-image {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 20px;
    }

    .measure-image img {
        max-width: 260px;
    }
}

/* ---------- Mobile View ---------- */
@media (max-width: 768px) {
    .measurement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-left {
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }

    .header-text h2 {
        font-size: 20px;
    }

    .video-btn {
        width: 100%;
        text-align: center;
        font-size: 13px;
        padding: 10px;
    }

    .measurement-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .measure-column {
        width: 100%;
    }

    .measure-column select {
        width: 100%;
    }

    .measure-image {
        order: -1;
        margin-bottom: 20px;
        justify-content: center;
        text-align: center;
    }

    .measure-image img {
        max-width: 180px;
        margin: 0 auto;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-top: 30px;
    }

    .action-buttons button {
        width: 100%;
    }
}

/* ---------- Extra Small Screens ---------- */
@media (max-width: 480px) {
    .measurement-container {
        padding: 20px;
    }

    .header-text h2 {
        font-size: 18px;
    }

    .header-text p {
        font-size: 13px;
    }

    .measure-column label {
        font-size: 14px;
        margin-top: 15px;
    }

    .measure-column select {
        padding: 10px;
    }

    .measure-image img {
        max-width: 350px;
    }

    .video-btn {
        font-size: 12px;
        padding: 8px;
    }
}


.action-buttons {
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-top: 70px;
}

.action-buttons button {
    font-size: 21px;
    padding: 15px 70px;
    /* smaller size */
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Edit button style */
.edit-btn {
    background-color: #ffffff;
    color: #1a0650;
    font-weight: bold;

}

/* Save button style */
.save-btn {
    background-color: #00b894;
    color: #fff;
    font-weight: bold;
}

/* Hover effects */
.edit-btn:hover {
    background-color: #0a989c;
    color: #ffffff;
}

.save-btn:hover {
    background-color: #ffffff;
    color: #0a989c;
}

/* Responsive (optional smaller buttons for mobile) */
@media (max-width: 768px) {
    .action-buttons button {
        font-size: 12px;
        padding: 5px 10px;
    }

}




.checkout-section {
    width: 100%;
    min-height: 100vh;
    padding: 20px;
}

/* Header */
.checkout-header {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 110px;
}

.logo h2 {
    font-size: 22px;
    font-weight: 600;
}

.offer {
    font-size: 14px;
    color: #0078ff;
}

/* Main Grid */
.checkout-container {
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
}

/* Header */
.checkout-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.checkout-header img {
    width: 170px;
}

.checkout-header h2 {
    font-size: 22px;
    font-weight: 600;
}

/* Two-column layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

/* Left section */
.checkout-left .offer-note {
    background: #fff7e64d;
    border-left: 4px solid #ffc107;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #333;
}

.checkout-left .section {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
}

.section-header {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 500;
}

.section-link {
    color: #0a6b6b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: #0a989c;
}


.section-header i {
    margin-right: 10px;
}

.section-content {
    padding: 15px;
}

.add-btn {
    background: #e5f3f3;
    color: #004c4c;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    width: 50%;
    cursor: pointer;
}

.add-btn:hover {
    background: #ffffff;
}

/* Right section */
.checkout-right {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #ddd;
}

.order-item {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.order-item:last-child {
    border-bottom: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.quantity-box {
    display: flex;
    align-items: center;
    border: 1px solid #0a989c;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-box button {
    background: transparent;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
}

.quantity-box span {
    padding: 0 10px;
}

.edit-link {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

.summary-box {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    padding-top: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.summary-total {
    font-weight: 600;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .logo img {
        height: 100px;
    }
}

.coupon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-icon {
    width: 30px;
    height: 35px;
}

.offer-count {
    color: #0a989c;
    font-weight: 500;
}

.item-details {
    font-size: 13px;
    margin: 10px 0;
    padding-left: 18px;
    /* space for bullets */
    color: #333;
}

.item-details li {
    margin-bottom: 3px;
    line-height: 1.4;
}

.order-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.item-name {
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-box {
    display: flex;
    align-items: center;
    border: 1px solid #0a989c;
    border-radius: 20px;
    padding: 2px 0px;
}

.qty-btn {
    background: none;
    border: none;
    color: #0a989c;
    font-size: 16px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    line-height: 1;
    font-weight: bold;
}

.qty-input {
    width: 30px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
}

.item-price {
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.item-details {
    list-style-type: disc;
    margin: 10px 0 0 18px;
    color: #555;
    font-size: 13px;
}

.edit-link {
    margin-top: 8px;
    color: #0a989c;
    font-size: 13px;
    cursor: pointer;
}


.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alteration-group {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
}

.alteration-group h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
}

.alteration-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.alteration-option label {
    font-size: 14px;
    color: #444;
    flex: 1 1 65%;
    min-width: 180px;
}

.alteration-select {
    flex: 1 1 30%;
    min-width: 100px;
    max-width: 120px;
    padding: 6px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f9f9f9;
}

@media (max-width: 768px) {
    .alteration-option {
        flex-direction: column;
        align-items: flex-start;
    }

    .alteration-select {
        width: 100%;
        margin-top: 8px;
    }
}


/* Overlay background */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Popup box */
.popup-content {
    background: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    padding: 25px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    border: none;
    background: transparent;
    cursor: pointer;
}

h2 {
    grid-column: 1 / -1;
    margin-bottom: 5px;
    color: #222;
}

/* === LEFT COLUMN === */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.special-instructions,
.file-upload,
.quantity-section {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid;
}

.special-instructions h4,
.file-upload h4,
.quantity-section h4 {
    color: #0a989c;
    font-size: 15px;
    margin-bottom: 8px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    resize: none;
}

.instruction-icons {
    margin-top: 8px;
    display: flex;
    gap: 10px;
}

.mic-btn,
.send-btn {
    background: #0a989c;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.file-upload input {
    margin-top: 8px;
    width: 100%;
    padding: 6px;
}

.quantity-section {
    margin-top: 20px;
    text-align: center;
}

.quantity-section h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.quantity-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    background: #f5f5f5;
    border: none;
    padding: 6px 10px;
    font-size: 18px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    line-height: 1;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 45px;
    text-align: center;
    font-size: 15px;
    border: none;
    outline: none;
}

.popup-content1 {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    padding: 25px 30px;
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 25px;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    border: none;
    background: transparent;
    cursor: pointer;
}

h2 {
    grid-column: 1 / -1;
    margin-bottom: 5px;
    color: #222;
}

/* === LEFT COLUMN === */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.special-instructions,
.file-upload,
.quantity-section {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid;
}

.special-instructions h4,
.file-upload h4,
.quantity-section h4 {
    color: #0a989c;
    font-size: 15px;
    margin-bottom: 8px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    resize: none;
}

.instruction-icons {
    margin-top: 8px;
    display: flex;
    gap: 10px;
}

.mic-btn,
.send-btn {
    background: #008080;
    color: #fff;
    border: none;
    padding: 6px 0px;
    border-radius: 30px;
    cursor: pointer;
}

.file-upload input {
    margin-top: 8px;
    width: 100%;
    padding: 6px;
}

.quantity-section {
    margin-top: 20px;
    text-align: center;
}

.quantity-section h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.quantity-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    background: #f5f5f5;
    border: none;
    padding: 6px 10px;
    font-size: 18px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    line-height: 1;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 45px;
    text-align: center;
    font-size: 15px;
    border: none;
    outline: none;
}


/* === RIGHT COLUMN === */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alteration-group {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 15px;
}

.alteration-group h4 {
    color: #0a989c;
    margin-bottom: 8px;
}

.alteration-group label {
    display: inline-block;
    margin: 5px 0;
    font-size: 14px;
}

.alteration-group select {
    margin-left: 5px;
    padding: 3px 6px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* === Proceed Button === */
.proceed-btn {
    grid-column: 2;
    background: #0a989c;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

/* === Responsive === */
@media (max-width: 768px) {
    .popup-content {
        /* grid-template-columns: 1fr; */
        max-height: 90vh;
        overflow-y: auto;
    }

    .chat-section {
        text-align: center !important;
        /* margin-right: 55px; */
        margin-top: 20px;
    }
}

.offer-note {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* align to start (left) */
    gap: 8px;
    background-color: #e6f9f1;
    color: #0a989c;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 15px 0;
    text-align: left;
    flex-wrap: wrap;
    /* responsive for small screens */
}

.coupon-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Responsive view */
@media (max-width: 600px) {
    .offer-note {
        font-size: 13px;
        padding: 8px 10px;
        gap: 6px;
    }

    .coupon-icon {
        width: 18px;
        height: 18px;
    }

    .chat-section {
        text-align: center !important;
        /* margin-right: 55px; */
        margin-top: 20px;
    }
}

.chat-section {
    text-align: end;
    margin-right: 55px;
    margin-top: 0px;
    padding: 10px;
}

.chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #008080;
    color: #fff;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-btn i {
    font-size: 20px;
}

.chat-btn:hover {
    background: #008080;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 576px) {
    .chat-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .chat-btn i {
        font-size: 18px;
    }
}

/* ✅ Mobile View - Alteration Popup (Below 768px) */
@media (max-width: 768px) {

    /* Popup Overlay */
    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        z-index: 1000;
    }

    /* Popup Box */
    .popup-content {
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        display: inline;
        position: relative;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }


    /* Close Button */
    .close-popup {
        position: absolute;
        top: 10px;
        right: 12px;
        background: none;
        border: none;
        font-size: 26px;
        color: #444;
        cursor: pointer;
    }

    .popup-content h2 {
        font-size: 20px;
        text-align: center;
        display: none;
        margin-bottom: 20px;
        color: #064c4c;
    }

    /* Make columns stack vertically */
    .right-column,
    .left-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Group boxes */
    .alteration-group {
        background: #f9f9f9;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .alteration-group h4 {
        font-size: 16px;
        margin-bottom: 10px;
        color: #118888;
    }

    /* Options styling */
    .alteration-option {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 8px;
    }

    .alteration-option label {
        font-size: 14px;
        color: #333;
    }

    .alteration-select {
        width: 100%;
        padding: 6px 8px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }

    /* Special Instructions box */
    .special-instructions textarea {
        width: 100%;
        height: 100px;
        border-radius: 8px;
        border: 1px solid #ccc;
        padding: 10px;
        resize: none;
    }

    .instruction-icons {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }

    .mic-btn,
    .send-btn {
        border: none;
        background: #118888;
        color: #fff;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 18px;
        cursor: pointer;
    }

    /* File upload */
    .file-upload input[type="file"] {
        width: 100%;
        font-size: 14px;
        padding: 6px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background: #fafafa;
    }

    /* Quantity Section */
    .quantity-section h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .quantity-box {
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #ccc;
        border-radius: 25px;
        overflow: hidden;
        width: fit-content;
        margin: 0 auto;
    }

    .qty-btn {
        background: #f2f2f2;
        border: none;
        font-size: 18px;
        padding: 8px 14px;
        cursor: pointer;
    }

    .qty-input {
        width: 40px;
        text-align: center;
        border: none;
        font-size: 15px;
    }

    /* Proceed button */
    .proceed-btn {
        background: #118888;
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 12px;
        font-size: 16px;
        width: 100%;
        margin-top: 20px;
        font-weight: 600;
        cursor: pointer;
    }

    .proceed-btn:hover {
        background: #0f6e6e;
    }
}

/* ✅ Extra Small Screens (Below 480px) */
@media (max-width: 480px) {
    .popup-content {
        padding: 15px;
    }

    .popup-content h2 {
        font-size: 18px;
    }

    .alteration-group h4 {
        font-size: 15px;
    }

    .alteration-option label {
        font-size: 13px;
    }

    .proceed-btn {
        font-size: 14px;
    }
}

.new-address-popup {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.new-address-popup h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.new-address-popup label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}

.new-address-popup input[type="text"],
.new-address-popup input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 15px;
    outline: none;
    transition: 0.2s;
}

.new-address-popup input:focus {
    border-color: #008080;
}

.contact-group {
    display: flex;
    gap: 10px;
}

.contact-group input:first-child {
    width: 25%;
    text-align: center;
    background: #f8f8f8;
}

.contact-group input:last-child {
    flex: 1;
}

.city-pincode {
    display: flex;
    gap: 10px;
}

.city-pincode input {
    flex: 1;
}

.save-label {
    margin-top: 10px;
    font-weight: 500;
    font-size: 15px;
}

.save-type {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.save-type button {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.save-type button.active,
.save-type button:hover {
    background: #008080;
    color: #fff;
    border-color: #008080;
}

.new-address-popup .proceed-btn {
    width: 100%;
    background: #008080;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.new-address-popup .proceed-btn:hover {
    background: #008080;
}

/* ✅ Responsive */
@media (max-width: 600px) {
    .new-address-popup {
        padding: 20px;
        width: 95%;
    }

    .contact-group input:first-child {
        width: 30%;
    }

    .save-type button {
        font-size: 14px;
        padding: 8px;
    }

    .new-address-popup .proceed-btn {
        font-size: 15px;
        padding: 10px;
    }
}


.icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-link {
    position: relative;
    font-size: 22px;
    color: #000000;
    text-decoration: none;
}

.icon-link:hover {
    color: #006666;
}

/* Notification badge */
.badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #ff3b30;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 5px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .icons {
        gap: 15px;
    }

    .icon-link {
        font-size: 20px;
    }

    .badge {
        font-size: 9px;
        min-width: 14px;
        top: -5px;
        right: -6px;
    }
}


.section-header img {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Hide default swiper arrows */
.swiper-button-next::after,
.swiper-button-prev::after {
    content: "" !important;
}

/* Custom nav button */
.custom-nav {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 9999 !important;
}

/* Arrow image inside circle */
.nav-arrow {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Hover */
.custom-nav:hover {
    background: #0a989c;
}

.custom-nav:hover .nav-arrow {
    filter: brightness(0) invert(1);
    /* makes arrow white on hover */
}

/* Mobile Responsive */
@media(max-width: 600px) {
    .custom-nav {
        width: 32px;
        height: 32px;
    }

    .nav-arrow {
        width: 16px;
        height: 16px;
    }
}

/* ✅ Topwear Page Layout & Responsiveness */
.category-page-wrap {
    background: #fdfdfd;
    padding: 40px 0;
}

.main-layout-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.layout-left-col {
    position: sticky;
    top: 20px;
}

.title-rating-box h1 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    color: #0a989c;
    margin: 0 0 0 0px;
}

.category-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.category-rating i {
    color: #FFD700;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.sidebar-label {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.service-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.service-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.service-icon-item .icon-box {
    width: 75px;
    height: 75px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    padding: 10px;
    border: 1px solid transparent;
}

.service-icon-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-icon-item span {
    font-size: 12px;
    font-weight: 400;
}

.service-icon-item.active .icon-box {
    border-color: #176B6B;
    background: #e8f3f3;
}

.service-icon-item.active span {
    color: #176B6B;
    font-weight: 400;
}

/* Right Column Content */
.hero-banner-wrap {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-banner-wrap img {
    width: 100%;
    display: block;
}

.content-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.section-category-title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

#servicesContainer {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 15px;
}

/* Horizontal Service Card */
.service-card-horizontal {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.service-card-horizontal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-left {
    flex: 1;
}

.service-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-meta .rating {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-row {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-row .price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.price-row .delivery {
    font-size: 13px;
    color: #176B6B;
}

.check-details-btn {
    background: none;
    border: 1px solid #ddd;
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 14px;
    display: none;
}

.service-img-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.add-to-cart-btn {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #176B6B;
    color: #176B6B;
    padding: 6px 24px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-to-cart-btn:hover {
    background: #176B6B;
    color: #fff;
}

/* ✅ Enhanced Cart Sidebar UI */
.cart-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cart-box h3 {
    padding: 15px 20px;
    background: #fdfdfd;
    border-bottom: 1px solid #f0f0f0;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.cart-items-wrapper {
    max-height: 480px;
    overflow-y: auto;
    overflow-x: hidden;
}

.cart-item {
    padding: 23px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item-header {
    display: contents;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0px;
}

.service-name-cart {
    font-size: 15px;
    font-weight: 400;
    color: #333;
    margin-bottom: 4px;
}

.edit-item {
    font-size: 13px;
    color: #176B6B;
    text-decoration: underline;
}

.service-price-cart {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-right: 10px;
}

.qty-control-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.quantity-box-mini {
    display: flex;
    align-items: center;
    background: #f8fcfc;
    border: 1px solid #176B6B;
    border-radius: 8px;
    overflow: hidden;
    padding: 2px;
}

.quantity-box-mini button {
    background: none;
    border: none;
    padding: 4px 8px;
    font-size: 18px;
    color: #176B6B;
    cursor: pointer;
    font-weight: 700;
}

.quantity-box-mini input {
    width: 30px;
    border: none;
    background: none;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.summary {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.promo-banner {
    background: #FFCA4F;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #176B6B;
    font-weight: 600;
}

.promo-banner i {
    font-size: 18px;
}

.view-cart-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #176B6B;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-cart-btn:hover {
    background: #125555;
    transform: translateY(-1px);
}

.total-badge {
    text-align: left;
    display: flow;
    flex-direction: column;
}

.total-badge small {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 11px;
}

/* 🔹 Cashback Banner */
.cashback-banner {
    margin: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.cashback-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.cb-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.cb-desc {
    font-size: 12px;
    color: #666;
    margin: 2px 0 6px;
}

.cb-link {
    font-size: 12px;
    color: #176B6B;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ✅ Stitch-It Promise Section */
.promise-box {
    padding: 20px;
    background: #fdfdfd;
    border-top: 1px solid #f0f0f0;
}

.promise-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    background: none;
    padding: 0;
    border: none;
}

.promise-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.promise-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.promise-list li {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.promise-list i {
    color: #176B6B;
    font-size: 18px;
}

.promise-badge img {
    width: 70px;
    height: auto;
}

/* ✅ Scrollbars */
.cart-items-wrapper::-webkit-scrollbar {
    width: 6px;
}

.cart-items-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items-wrapper::-webkit-scrollbar-thumb {
    background: #176B6B;
    border-radius: 10px;
}

/* ✅ Responsive Media Queries */
@media (max-width: 1200px) {
    .main-layout-container {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }

    .content-bottom-grid {
        grid-template-columns: 1fr 320px;
    }
}

@media (max-width: 992px) {
    .main-layout-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .layout-left-col {
        position: static;
        order: -1;
        /* Ensure categories appear at the top */
        display: block !important;
        width: 100%;
        margin-bottom: 20px;
    }

    .sidebar-box {
        margin-top: 10px;
        padding: 15px;
    }

    .service-icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
    }

    .service-icon-item .icon-box {
        width: 65px;
        height: 65px;
    }

    .content-bottom-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar-column {
        order: 2;
    }
}

@media (max-width: 768px) {
    .service-icon-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-card-horizontal {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .service-icon-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card-horizontal {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .service-img-wrapper {
        width: 100%;
        height: 180px;
    }

    .price-row {
        flex-wrap: wrap;
    }
}