/* FixSo service-order experience */
.service-link-btn,
.appliance-card button {
    cursor: pointer;
}

.appliance-card {
    position: relative;
}

.appliance-card .service-price {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #0b78df;
}

.appliance-card .service-duration {
    font-size: 12px;
    color: #6b7f95;
    margin-top: 3px;
}

.area-cta-card {
    background: #fff;
    border: 1px solid #d9e8f5;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(15, 61, 95, .08);
    text-align: center;
}

.area-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: #eaf5ff;
    color: #0878df;
    font-size: 22px;
}

.area-cta-card h3 {
    margin: 0 0 7px;
    color: #0b3558;
}

.area-cta-card p {
    margin: 0 0 18px;
    color: #627b92;
    line-height: 1.6;
}

.area-cta-card .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: auto;
    padding: 12px 18px;
    border-radius: 10px;
}

/* Service detail / checkout */
.store-page {
    background: #f6f9fc;
    color: #123552;
}

.store-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 70px;
}

.store-breadcrumb {
    font-size: 13px;
    color: #6a8197;
    margin-bottom: 18px;
}

.store-breadcrumb a {
    color: #0878df;
    text-decoration: none;
}

.store-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
    gap: 24px;
    align-items: start;
}

.store-card {
    background: #fff;
    border: 1px solid #e2ebf3;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 61, 95, .06);
}

.service-detail-card {
    padding: 30px;
}

.service-detail-top {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: center;
}

.service-detail-image {
    height: 240px;
    border-radius: 14px;
    background: #eef7ff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-image .fallback-icon {
    font-size: 72px;
    color: #1688df;
}

.service-detail-card h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
    color: #073b63;
}

.service-detail-card .category {
    color: #0878df;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-detail-card .description {
    color: #60788e;
    line-height: 1.7;
}

.service-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.service-meta span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: #45647c;
    font-size: 14px;
}

.service-meta i {
    color: #0878df;
}

.store-price {
    font-size: 32px;
    font-weight: 800;
    color: #0b3558;
}

.store-price small {
    font-size: 13px;
    font-weight: 500;
    color: #71879a;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.feature-list li {
    padding: 11px 12px;
    border-radius: 10px;
    background: #f5faff;
    color: #31566f;
    font-size: 14px;
}

.feature-list i {
    color: #11a36a;
    margin-right: 8px;
}

.buy-card {
    padding: 24px;
    position: sticky;
    top: 95px;
}

.buy-card h2 {
    margin: 0 0 16px;
    color: #0b3558;
}

.buy-summary {
    border-top: 1px solid #e8eef4;
    border-bottom: 1px solid #e8eef4;
    padding: 15px 0;
    margin: 15px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    color: #60788e;
}

.summary-row.total {
    color: #0b3558;
    font-size: 18px;
    font-weight: 800;
}

.primary-store-btn {
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 14px 18px;
    background: #0878df;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
}

.primary-store-btn:hover {
    background: #066bc8;
}

.secondary-store-btn {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #cfe0ee;
    border-radius: 11px;
    padding: 12px 18px;
    background: #fff;
    color: #0b5d94;
    font-weight: 700;
    cursor: pointer;
}

.store-note {
    font-size: 12px;
    color: #7a8fa1;
    line-height: 1.5;
    margin-top: 12px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr);
    gap: 24px;
    align-items: start;
}

.checkout-card {
    padding: 26px;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-size: 20px;
    color: #0b3558;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0878df;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.checkout-section {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e6edf3;
}

.checkout-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.customer-box {
    background: #f5faff;
    border: 1px solid #dcebf7;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.customer-box strong {
    color: #0b3558;
}

.customer-box span {
    display: block;
    color: #6a8197;
    font-size: 13px;
    margin-top: 3px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field.full {
    grid-column: 1/-1;
}

.form-field label {
    font-size: 13px;
    font-weight: 700;
    color: #34566d;
}

.form-field input,
.form-field select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d4e1eb;
    border-radius: 10px;
    padding: 12px 13px;
    font: inherit;
    outline: none;
    background: #fff;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #0878df;
    box-shadow: 0 0 0 3px rgba(8, 120, 223, .1);
}

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

.slot {
    border: 1px solid #d6e3ed;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    color: #31566f;
}

.slot.active {
    border-color: #0878df;
    background: #eaf5ff;
    color: #0878df;
    font-weight: 800;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.date-option {
    border: 1px solid #d6e3ed;
    background: #fff;
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
}

.date-option small {
    display: block;
    color: #7b90a0;
    font-size: 11px;
}

.date-option strong {
    display: block;
    margin-top: 4px;
    color: #31566f;
}

.date-option.active {
    border-color: #0878df;
    background: #eaf5ff;
}

.date-option.active strong {
    color: #0878df;
}

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

.order-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    background: #eef7ff;
}

.order-item h3 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #0b3558;
}

.order-item p {
    margin: 0;
    font-size: 12px;
    color: #71879a;
}

.order-total {
    margin-top: 18px;
}

.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: #6a8197;
}

.auth-required {
    text-align: center;
    padding: 28px;
    background: #f5faff;
    border: 1px solid #dcebf7;
    border-radius: 12px;
}

.auth-required h3 {
    margin: 0 0 7px;
    color: #0b3558;
}

.auth-required p {
    margin: 0 0 16px;
    color: #6a8197;
}

.auth-required a {
    color: #0878df;
    font-weight: 800;
    text-decoration: none;
}

/* Account / orders */
.account-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    align-items: start;
}

.account-nav {
    padding: 12px;
}

.account-nav button {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 12px;
    border-radius: 9px;
    color: #45647c;
    font-weight: 700;
    cursor: pointer;
}

.account-nav button.active,
.account-nav button:hover {
    background: #eaf5ff;
    color: #0878df;
}

.order-card {
    padding: 20px;
    margin-bottom: 14px;
}

.order-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: start;
}

.order-head h3 {
    margin: 0 0 5px;
    color: #0b3558;
}

.order-id {
    font-size: 12px;
    color: #7b90a0;
}

.status-pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf5ff;
    color: #0878df;
    font-size: 12px;
    font-weight: 800;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.order-detail-box {
    background: #f7fafc;
    border-radius: 10px;
    padding: 12px;
}

.order-detail-box small {
    display: block;
    color: #7b90a0;
    margin-bottom: 4px;
}

.order-detail-box strong {
    color: #34566d;
    font-size: 13px;
}

@media(max-width:900px) {

    .store-grid,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .buy-card {
        position: static;
    }

    .service-detail-top {
        grid-template-columns: 1fr;
    }

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

@media(max-width:600px) {
    .store-shell {
        width: calc(100% - 24px);
        padding-top: 22px;
    }

    .service-detail-card,
    .checkout-card,
    .buy-card {
        padding: 18px;
    }

    .service-detail-card h1 {
        font-size: 27px;
    }

    .feature-list,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field.full {
        grid-column: auto;
    }

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

    .date-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .order-details {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FIXSO — CATEGORY WISE HORIZONTAL SERVICES
   ========================================================= */

.category-services-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.service-category-section {
    width: 100%;
    min-width: 0;
}

.service-category-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.service-category-header h3 {
    margin: 0;
    color: #0b3558;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}

.service-category-header h3 span {
    color: #0878df;
}

.service-category-header p {
    margin: 7px 0 0;
    color: #6a8197;
    font-size: 14px;
}

.service-scroll-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.service-scroll-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #d8e6f1;
    border-radius: 50%;
    background: #fff;
    color: #0878df;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .2s ease;
}

.service-scroll-btn:hover {
    background: #0878df;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(8, 120, 223, .20);
}

.service-scroll-btn:active {
    transform: scale(.94);
}

.service-horizontal-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 3px 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: #b8d7ef transparent;
    -webkit-overflow-scrolling: touch;
    user-select: none;
}

.service-horizontal-row::-webkit-scrollbar {
    height: 7px;
}

.service-horizontal-row::-webkit-scrollbar-track {
    background: transparent;
}

.service-horizontal-row::-webkit-scrollbar-thumb {
    background: #b8d7ef;
    border-radius: 20px;
}

.service-horizontal-row:hover::-webkit-scrollbar-thumb {
    background: #0878df;
}

.service-horizontal-row.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Compact FixSo service card */
.category-service-card {
    flex: 0 0 310px;
    width: 340px;
    overflow: hidden;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e0eaf2;
    border-radius: 17px;
    box-shadow: 0 8px 24px rgba(15, 61, 95, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.category-service-card:hover {
    transform: translateY(-5px);
    border-color: #c9e1f4;
    box-shadow: 0 16px 34px rgba(15, 61, 95, .12);
}

.category-service-card .appliance-art {
    position: relative;
    width: calc(100% - 20px);
    height: 170px;
    margin: 10px 10px 0;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef8ff, #f7fbff);
}

.category-service-card .appliance-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.category-service-card:hover .appliance-art img {
    transform: scale(1.05);
}

.category-service-card .service-fallback-icon {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #0878df;
    font-size: 52px;
    background: radial-gradient(circle at center, #fff 0%, #eef8ff 70%);
}

.category-service-card .service-card-content {
    padding: 14px 18px 17px;
    text-align: center;
}

.category-service-card h3 {
    margin: 0;
    color: #0b3558;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.category-service-card p {
    margin: 8px 0 0;
    color: #6a8197;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.category-service-card .service-price {
    margin-top: 12px;
    color: #0878df;
    font-size: 16px;
    font-weight: 800;
}

.category-service-card .service-duration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    color: #71879a;
    font-size: 13px;
}

.category-service-card .service-duration i {
    color: #0878df;
}

.category-service-card .service-card-category {
    display: none !important;
}

.category-service-card button {
    width: auto;
    min-width: 136px;
    margin: 12px auto 0;
    padding: 9px 15px;
    border: 1px solid #b9dcfb;
    border-radius: 10px;
    background: #fff;
    color: #0878df;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: .2s ease;
}

.category-service-card button:hover {
    background: #eaf5ff;
    color: #0878df;
}

.category-service-card button i {
    transition: transform .2s ease;
}

.category-service-card button:hover i {
    transform: translateX(3px);
}

.category-services-wrapper .service-empty {
    width: 100%;
    padding: 45px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e1ebf3;
    border-radius: 16px;
    color: #6a8197;
}

/* Tablet */
@media (max-width: 900px) {
    .category-services-wrapper {
        gap: 34px;
    }

    .service-category-header h3 {
        font-size: 21px;
    }

    .category-service-card {
        flex-basis: 300px;
        width: 300px;
    }

    .category-service-card .appliance-art {
        height: 190px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .category-services-wrapper {
        gap: 30px;
    }

    .service-category-header {
        align-items: center;
        gap: 12px;
    }

    .service-category-header h3 {
        font-size: 19px;
    }

    .service-category-header p {
        font-size: 12px;
        margin-top: 5px;
    }

    .service-scroll-controls {
        display: none;
    }

    .service-horizontal-row {
        gap: 13px;
        padding-bottom: 13px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .service-horizontal-row::-webkit-scrollbar {
        display: none;
    }

    .category-service-card {
        flex: 0 0 86%;
        width: 86%;
    }

    .category-service-card .appliance-art {
        height: 200px;
    }

    .category-service-card .service-card-content {
        padding: 14px 15px 16px;
    }
}

/* Very small mobile */
@media (max-width: 380px) {
    .category-service-card {
        flex-basis: 90%;
        width: 90%;
    }

    .category-service-card .appliance-art {
        height: 185px;
    }

    .service-category-header h3 {
        font-size: 18px;
    }
}

/* =========================================================
   FIXSO SERVICE SKELETON SHIMMER
   ========================================================= */

.fixso-shimmer {
    background: linear-gradient(
        90deg,
        #edf2f7 0%,
        #f8fbfe 45%,
        #edf2f7 70%,
        #edf2f7 100%
    );
    background-size: 250% 100%;
    animation: fixsoShimmer 1.45s ease-in-out infinite;
}

@keyframes fixsoShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* Skeleton category heading */

.fixso-skeleton-category {
    pointer-events: none;
}

.fixso-skeleton-title {
    width: 250px;
    height: 27px;
    border-radius: 7px;
}

.fixso-skeleton-subtitle {
    width: 320px;
    height: 14px;
    margin-top: 8px;
    border-radius: 5px;
}


/* Skeleton card */

.fixso-skeleton-card {
    flex: 0 0 310px;
    width: 340px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0eaf2;
    border-radius: 17px;
    box-shadow: 0 8px 24px rgba(15, 61, 95, .07);
    pointer-events: none;
}


/* Image skeleton */

.fixso-skeleton-image {
    width: calc(100% - 20px);
    height: 170px;
    margin: 10px 10px 0;
    border-radius: 12px;
}


/* Content */

.fixso-skeleton-content {
    padding: 14px 18px 17px;
    text-align: center;
}


/* Title */

.fixso-skeleton-line-title {
    width: 68%;
    height: 21px;
    margin: 0 auto;
    border-radius: 6px;
}


/* Description */

.fixso-skeleton-line-desc {
    width: 88%;
    height: 12px;
    margin: 12px auto 0;
    border-radius: 5px;
}

.fixso-skeleton-line-desc.small {
    width: 62%;
    margin-top: 7px;
}


/* Price */

.fixso-skeleton-line-price {
    width: 43%;
    height: 17px;
    margin: 15px auto 0;
    border-radius: 5px;
}


/* Duration */

.fixso-skeleton-line-duration {
    width: 35%;
    height: 13px;
    margin: 7px auto 0;
    border-radius: 5px;
}


/* Button */

.fixso-skeleton-button {
    width: 136px;
    height: 36px;
    margin: 12px auto 0;
    border-radius: 10px;
}


/* Skeleton scroll row */

.fixso-skeleton-row {
    pointer-events: none;
    cursor: default;
}


/* Mobile */

@media (max-width: 700px) {

    .fixso-skeleton-title {
        width: 190px;
    }

    .fixso-skeleton-subtitle {
        width: 250px;
    }

    .fixso-skeleton-card {
        flex-basis: 285px;
        width: 285px;
    }

    .fixso-skeleton-image {
        height: 160px;
    }
}

/* =========================================================
   FIXSO CHECKOUT PAYMENT METHODS
   ========================================================= */

.payment-options{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}

.payment-option{
    position:relative;
    display:flex;
    align-items:center;
    gap:13px;
    width:100%;
    min-height:76px;
    padding:14px 16px;
    border:1px solid #dce5ef;
    border-radius:14px;
    background:#fff;
    cursor:pointer;
    user-select:none;
    box-sizing:border-box;
    transition:border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.payment-option:hover{
    border-color:#b9cef2;
    background:#fbfdff;
    transform:translateY(-1px);
}

.payment-option input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.payment-option::before{
    content:"";
    width:17px;
    height:17px;
    flex:0 0 17px;
    border:2px solid #c7d2df;
    border-radius:50%;
    box-sizing:border-box;
    background:#fff;
    transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.payment-option.active{
    border-color:#0b63f6;
    background:#f7faff;
    box-shadow:0 0 0 3px rgba(11,99,246,.08);
}

.payment-option.active::before{
    border-color:#0b63f6;
    background:#0b63f6;
    box-shadow:inset 0 0 0 4px #fff;
}

.payment-icon{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:#edf4ff;
    color:#0b63f6;
    font-size:17px;
}

.payment-copy{
    min-width:0;
    flex:1;
    display:flex;
    flex-direction:column;
    gap:4px;
}

.payment-copy strong{
    color:#172b43;
    font-size:14px;
    line-height:1.25;
    font-weight:800;
}

.payment-description{
    display:none;
    color:#718096;
    font-size:11px;
    line-height:1.45;
    font-weight:500;
}

.payment-option.active .payment-description{
    display:block;
}

.payment-arrow{
    color:#9aa8b8;
    font-size:11px;
    transition:transform .18s ease, color .18s ease;
}

.payment-option.active .payment-arrow{
    color:#0b63f6;
    transform:rotate(90deg);
}

.payment-badge{
    flex:0 0 auto;
    padding:6px 9px;
    border-radius:999px;
    background:#fff3e4;
    color:#e77700;
    font-size:10px;
    font-weight:800;
    font-style:normal;
    white-space:nowrap;
}

.payment-option.disabled{
    cursor:not-allowed;
    opacity:.72;
    background:#fafbfd;
}

.payment-option.disabled:hover{
    border-color:#dce5ef;
    background:#fafbfd;
    transform:none;
}

.payment-option.disabled .payment-icon{
    background:#f0f2f5;
    color:#7d8794;
}

@media(max-width:600px){
    .payment-option{
        min-height:72px;
        padding:12px;
        gap:10px;
    }

    .payment-icon{
        width:38px;
        height:38px;
        flex-basis:38px;
        font-size:15px;
    }

    .payment-copy strong{
        font-size:13px;
    }

    .payment-description{
        font-size:10.5px;
    }

    .payment-badge{
        padding:5px 7px;
        font-size:9px;
    }
}
