:root {
    --primary: #0d4ea6;
    --primary-dark: #083a7c;
    --secondary: #f16a21;
    --text: #1e293b;
    --muted: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    --radius: 18px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
}

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

img {
    display: block;
    width: 100%;
    height: auto;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.section-space {
    padding: 4rem 0;
}

.section-light {
    background: var(--bg);
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.section-heading h2 {
    margin: 0 0 .7rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    max-height: 54px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 700;
    color: var(--text);
}

.main-nav a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 1.7rem;
    cursor: pointer;
}

.hero-section {
    position: relative;
}

.hero-bg {
    min-height: 78vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-bg--plain {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.hero-content {
    color: var(--white);
    max-width: 700px;
    padding: 5rem 0;
}

.hero-eyebrow {
    margin: 0 0 .8rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    opacity: .9;
}

.hero-content h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: .98;
}

.hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 1.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .9rem 1.4rem;
    border-radius: 12px;
    font-weight: 800;
    transition: .2s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.card-media {
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    flex: 1;
}

.card-body h3 {
    margin: 0;
    font-size: 1.35rem;
}

.card-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.card-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary-dark);
    font-size: .85rem;
    font-weight: 700;
}

.price-row strong {
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.promo-box {
    border-radius: 28px;
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center;
}

.promo-box h2 {
    margin: 0 0 .8rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.promo-box p {
    margin: 0 0 1.4rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.contact-strip {
    background: var(--primary-dark);
    color: var(--white);
    padding: 1rem 0;
}

.contact-strip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: center;
    align-items: center;
}

.site-footer {
    background: #0f172a;
    color: var(--white);
    padding-top: 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
}

.footer-grid h3,
.footer-grid h4 {
    margin-top: 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 2rem;
    padding: 1rem 0 1.5rem;
    text-align: center;
    color: rgba(255,255,255,.8);
}

.empty-state {
    grid-column: 1 / -1;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    background: var(--bg);
}

@media (max-width: 992px) {
    .card-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-bg {
        min-height: 62vh;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
    }

    .main-nav.open {
        display: block;
        padding-bottom: 1rem;
    }

    .nav-wrap {
        flex-wrap: wrap;
        padding: .8rem 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .card-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        line-height: 1.02;
    }

    .promo-box {
        padding: 2.5rem 1.2rem;
    }
}

.booking-wrap {
    max-width: 980px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.booking-heading {
    margin-bottom: 2rem;
}

.repair-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group label {
    font-weight: 700;
    color: var(--text);
    font-size: 0.98rem;
}

.form-control {
    width: 100%;
    min-height: 52px;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 78, 166, 0.10);
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-error {
    color: #b91c1c;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .booking-wrap {
        padding: 1.25rem;
        border-radius: 18px;
    }

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


.tracking-box {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #f8fafc;
    line-height: 1.9;
}

.track-error {
    margin-top: 2rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-weight: 600;
}


.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.product-detail-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    max-height: 520px;
}

.product-detail-info h1 {
    margin: 0.8rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stars {
    color: #f59e0b;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.rating-text {
    color: var(--muted);
    font-size: 0.95rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.product-short-description {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-meta {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--text);
    line-height: 1.9;
}

.product-description-box {
    margin-top: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.product-description-box h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.product-description-content {
    line-height: 1.9;
    color: var(--text);
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}


.cart-list {
    display: grid;
    gap: 1.2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    background: var(--white);
}

.cart-item-image img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-info h3 {
    margin: 0 0 0.6rem;
}

.cart-item-info p {
    margin: 0.3rem 0;
    color: var(--muted);
}

.cart-total-box {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
    }
}


.cart-icon {
    position: relative;
    font-size: 1.4rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: orange;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}



.qty-controls-modern {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 10px;
}

.qty-input {
    width: 60px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ccc;
    height: 36px;
    font-weight: bold;
}

.qty-arrow {
    width: 36px;
    height: 36px;
    border: none;
    background: #1f4f9c;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.qty-arrow:hover {
    background: #163d7a;
}


.cart-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    font-size: 1.35rem;
    line-height: 1;
}

.cart-icon-symbol {
    display: inline-block;
    transform: translateY(1px);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.6rem 0;
}

.qty-spinner {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    height: 42px;
}

.qty-spinner-input {
    width: 60px;
    border: 0;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    outline: none;
    background: var(--white);
}

.qty-spinner-arrows {
    display: flex;
    flex-direction: column;
    width: 34px;
    border-left: 1px solid var(--border);
}

.qty-spinner-arrows form {
    margin: 0;
    flex: 1;
}

.qty-spinner-btn {
    width: 100%;
    height: 100%;
    border: 0;
    background: #f8fafc;
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.qty-spinner-btn:hover {
    background: #e2e8f0;
}

.qty-up {
    border-bottom: 1px solid var(--border);
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .cart-badge {
        top: -6px;
        right: -8px;
    }
}


.shop-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 auto 2rem;
    justify-content: center;
}

.shop-category-chip {
    display: inline-flex;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.auth-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
}

.auth-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    min-height: 620px;
}

.auth-card-left {
    padding: 3rem;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card-left h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.auth-card-left p {
    margin: 0 0 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: rgba(255,255,255,.9);
}

.auth-feature-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.auth-feature-item {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
    font-weight: 600;
}

.auth-card-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-form-box {
    width: 100%;
    max-width: 420px;
}

.auth-form-box h2 {
    margin: 0 0 0.4rem;
    font-size: 2rem;
    color: var(--text);
}

.auth-subtext {
    margin: 0 0 1.5rem;
    color: var(--muted);
}

.modern-auth-form {
    display: grid;
    gap: 1rem;
}

.auth-actions {
    justify-content: stretch;
}

.auth-submit-btn {
    width: 100%;
    min-height: 54px;
}

.auth-footer-text {
    margin-top: 1.2rem;
    text-align: center;
    color: var(--muted);
}

.auth-footer-text a {
    color: var(--primary);
    font-weight: 700;
}

.modern-auth-form p {
    margin: 0;
}

.modern-auth-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--text);
}

.modern-auth-form input,
.modern-auth-form select,
.modern-auth-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modern-auth-form input:focus,
.modern-auth-form select:focus,
.modern-auth-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 78, 166, 0.10);
}

@media (max-width: 900px) {
    .auth-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .auth-card-left,
    .auth-card-right {
        padding: 2rem;
    }
}





.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 0.4rem;
    color: var(--text);
    line-height: 1.6;
}

.terms-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    accent-color: var(--primary);
}

.terms-row label {
    margin: 0;
    font-weight: 500;
}

.terms-row a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.terms-row a:hover {
    text-decoration: underline;
}

.form-error {
    color: #b91c1c;
    font-size: 0.9rem;
    margin-top: 0.35rem;
}



.site-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
}

.site-popup-card {
    width: min(100%, 640px);
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.site-popup-warning {
    border-top: 6px solid #ef4444;
}

.site-popup-cookie {
    border-top: 6px solid #0d4ea6;
}

.site-popup-info {
    border-top: 6px solid #f16a21;
}

.site-popup-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    z-index: 2;
}

.site-popup-image-wrap {
    width: 100%;
    max-height: 280px;
    overflow: hidden;
}

.site-popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-popup-content {
    padding: 2rem;
}

.site-popup-content h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.2;
}

.site-popup-message {
    color: var(--text);
    line-height: 1.8;
    font-size: 1.06rem;
}

.site-popup-message p {
    margin: 0 0 1rem;
}

.site-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.site-popup-btn {
    min-width: 160px;
    justify-content: center;
}

@media (max-width: 768px) {
    .site-popup-content {
        padding: 1.4rem;
    }

    .site-popup-close {
        width: 42px;
        height: 42px;
        font-size: 1.7rem;
    }
}



.legal-content-box {
    line-height: 1.9;
    color: var(--text);
    font-size: 1.02rem;
}

.legal-content-box p {
    margin: 0 0 1rem;
}



.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 86px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
}

.main-nav li {
    display: flex;
    align-items: center;
}

.main-nav a,
.nav-link-btn {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.main-nav a:hover,
.nav-link-btn:hover {
    color: var(--primary);
}

.nav-link-btn {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.cart-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    line-height: 1;
    font-size: 1.35rem;
}

.cart-icon-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(1px);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-footer {
    background: #0f172a;
    color: var(--white);
    padding-top: 3.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-grid h3,
.footer-grid h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-grid p {
    color: rgba(255,255,255,.85);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.footer-links li,
.footer-links a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 2rem;
    padding: 1rem 0 1.5rem;
    text-align: center;
    color: rgba(255,255,255,.8);
}

.shop-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 auto 2rem;
    justify-content: center;
}

.shop-category-chip {
    display: inline-flex;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
}

.shop-category-chip:hover,
.shop-category-chip.active {
    background: var(--primary);
    color: var(--white);
}

.price-block {
    display: grid;
    gap: 0.35rem;
}

.price-main-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.old-price {
    color: #64748b;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    background: #fff7ed;
    color: #f97316;
    padding: 0.3rem 0.55rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.low-stock-text {
    color: #b45309;
    font-weight: 600;
    font-size: 0.95rem;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.product-side-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.product-price-box {
    margin-bottom: 1rem;
}

.product-price-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-old-price {
    color: #64748b;
    text-decoration: line-through;
}

.delivery-panel {
    margin-top: 1.8rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.delivery-panel h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.delivery-section-block {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
}

.delivery-section-block h4 {
    margin: 0 0 0.5rem;
}

.delivery-section-block p {
    margin: 0.25rem 0;
    line-height: 1.7;
}

.delivery-icon-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
}

.delivery-icon-box {
    width: 56px;
    height: 56px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    font-size: 1.4rem;
}

.delivery-result-box {
    margin-top: 1rem;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 12px;
    padding: 1rem;
}

.legal-content-box {
    line-height: 1.9;
    color: var(--text);
    font-size: 1.02rem;
}

.legal-content-box p {
    margin: 0 0 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .product-detail-layout,
    .footer-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
    }
}



.service-hero-section {
    padding: 2.5rem 0 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
}

.service-hero-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 2rem;
}

.service-hero-content h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

.service-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
}

.service-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 1.5rem;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-highlight-chip {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--border);
    font-weight: 700;
    color: var(--text);
}

.service-hero-image-wrap {
    height: 100%;
}

.service-hero-image {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.service-image-placeholder {
    min-height: 380px;
    border-radius: 24px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-weight: 700;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.55fr;
    gap: 2rem;
    align-items: start;
}

.service-main-content {
    display: grid;
    gap: 1.5rem;
}

.service-sidebar {
    display: grid;
    gap: 1.5rem;
    position: sticky;
    top: 110px;
}

.premium-content-card,
.service-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 1.6rem;
}

.premium-content-card h2,
.service-sidebar-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.service-rich-content {
    line-height: 1.95;
    color: var(--text);
    font-size: 1.03rem;
}

.service-rich-content p {
    margin: 0 0 1rem;
}

.service-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-benefit-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.2rem;
    background: #f8fafc;
}

.service-benefit-card h3 {
    margin: 0.8rem 0 0.5rem;
    font-size: 1.1rem;
}

.service-benefit-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.service-benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    font-size: 1.4rem;
}

.service-steps {
    display: grid;
    gap: 1rem;
}

.service-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    align-items: start;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    background: #f8fafc;
}

.service-step h3 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
}

.service-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.service-step-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.service-promise-list {
    margin: 0;
    padding-left: 1.1rem;
    line-height: 2;
    color: var(--text);
}

@media (max-width: 992px) {
    .service-hero-card,
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }
}

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

    .service-hero-card {
        padding: 1.3rem;
    }

    .service-hero-image {
        min-height: 260px;
    }
}




.home-showcase-section {
    padding: 4rem 0;
}

.home-showcase-section.theme-dark {
    background: linear-gradient(180deg, #1f1f24 0%, #111827 100%);
    color: var(--white);
}

.home-showcase-section.theme-dark .showcase-header p,
.home-showcase-section.theme-dark .home-showcase-body h3,
.home-showcase-section.theme-dark .showcase-label {
    color: var(--white);
}

.home-showcase-section.theme-light {
    background: #ffffff;
}

.showcase-header {
    text-align: center;
    margin-bottom: 2rem;
}

.showcase-header h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.showcase-header p {
    margin: 0 auto;
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
}

.home-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-showcase-card {
    position: relative;
    display: block;
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.showcase-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: #fff7ed;
    color: #f97316;
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
}

.home-showcase-image-wrap {
    background: #fff;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-showcase-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.home-showcase-body {
    padding: 1.1rem;
}

.home-showcase-body h3 {
    margin: 0 0 0.5rem;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.45;
}

.showcase-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.showcase-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.showcase-price-row strong {
    color: var(--text);
    font-size: 1.2rem;
}

.showcase-old-price {
    text-decoration: line-through;
    color: #64748b;
}

.home-newsletter-section {
    padding: 4rem 0;
    background: #fff;
}

.newsletter-card {
    max-width: 430px;
    background: #f3b566;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.newsletter-card h2 {
    margin: 0 0 1rem;
    font-size: 2rem;
}

.newsletter-card p {
    margin: 0 0 1.5rem;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #1f2937;
}

.newsletter-form {
    display: grid;
    gap: 1rem;
}

.newsletter-input {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 14px;
    background: #1f1f24;
    color: #fff;
    padding: 0.9rem 1rem;
    font-size: 1rem;
}

.newsletter-btn {
    min-height: 56px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
}

.home-trust-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.trust-card {
    text-align: center;
}

.trust-icon {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.trust-card h3 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
}

.trust-card p {
    margin: 0 0 0.75rem;
    line-height: 1.8;
    color: rgba(255,255,255,.88);
}

.trust-card a {
    color: #f3b566;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .home-showcase-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-showcase-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-card {
        max-width: 100%;
    }
}




.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: var(--text);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
}

.nav-dropdown-toggle::after {
    content: "▾";
    font-size: 0.8rem;
    transform: translateY(1px);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    padding: 0.5rem;
    display: none;
    z-index: 300;
    margin-top: 0;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--primary);
}





.device-items-wrap {
    margin-top: 2rem;
}

.device-item-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    background: #fff;
}

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

.delete-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracking-history-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}





.repair-hero-section {
    padding: 2.5rem 0 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
}

.repair-hero-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.repair-hero-card.single-column {
    max-width: 900px;
    margin: 0 auto;
}

.repair-hero-content.center-text {
    text-align: center;
}

.repair-hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.repair-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.repair-page-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.55fr;
    gap: 2rem;
    align-items: start;
}

.repair-form-panel,
.repair-sidebar-panel {
    display: block;
}

.device-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.device-items-header h2 {
    margin: 0;
}

.device-items-header p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.device-card-top {
    margin-bottom: 1rem;
}

.device-card-top h3 {
    margin: 0;
}

.repair-submit-wrap {
    justify-content: center;
    margin-top: 2rem;
}

.repair-submit-btn {
    min-width: 280px;
}

.summary-success-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.summary-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
}

.summary-list {
    display: grid;
    gap: 0.75rem;
    line-height: 1.7;
}

.summary-list.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.5rem;
}

.summary-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.track-search-card {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.track-search-form {
    margin: 0;
}

.track-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.track-page-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.55fr;
    gap: 2rem;
    align-items: start;
}

.track-main-column,
.track-side-column {
    display: block;
}

.track-top-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    flex-wrap: wrap;
}

.track-status-pill {
    background: #eff6ff;
    color: var(--primary-dark);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.track-status-pill.small {
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
}

.staff-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.staff-booking-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 1.3rem;
}

.staff-booking-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.staff-booking-card h3 {
    margin: 0 0 1rem;
}

.staff-card-actions {
    margin-top: 1.2rem;
}

.receive-warning-card {
    border: 2px solid #fb923c;
    background: #fff7ed;
}

@media (max-width: 1100px) {
    .repair-page-layout,
    .track-page-layout,
    .summary-grid,
    .staff-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .track-search-row,
    .summary-list.two-column {
        grid-template-columns: 1fr;
    }

    .repair-hero-card,
    .premium-content-card,
    .service-sidebar-card,
    .staff-booking-card {
        padding: 1.2rem;
    }
}





.repair-fee-preview-card {
    margin-top: 1.5rem;
}

.repair-fee-preview-text {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.repair-fee-preview-grid {
    display: grid;
    gap: 0.9rem;
}

.repair-fee-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fafc;
}

.repair-fee-line span {
    color: var(--text);
    font-weight: 600;
}

.repair-fee-line strong {
    font-size: 1.08rem;
    color: var(--primary-dark);
}

.repair-fee-line.total-line {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.repair-fee-note {
    display: block;
    margin-top: 0.85rem;
    color: #64748b;
}




.receive-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.receive-modal-card {
    width: min(100%, 560px);
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
    padding: 2rem;
}

.receive-modal-card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.receive-modal-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}



.sponsored-ads-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

.sponsored-slider-wrap {
    overflow: hidden;
    position: relative;
}


.sponsored-slider-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: none !important;
}

.sponsored-slider-track.is-moving {
    animation: sponsoredScroll 95s linear infinite !important;
}

.sponsored-slider-wrap:hover .sponsored-slider-track {
    animation-play-state: paused;
}

.sponsored-card {
    width: 320px;
    min-width: 320px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.sponsored-card-image-wrap {
    width: 100%;
    height: 220px;
    background: #f8fafc;
}

.sponsored-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sponsored-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sponsored-card-body h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text);
}

.sponsored-card-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.sponsored-meta {
    display: grid;
    gap: 0.6rem;
}

.sponsored-meta-item {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.sponsored-meta-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.sponsored-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.3rem;
}

@keyframes sponsoredScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .sponsored-card {
        width: 280px;
        min-width: 280px;
    }

    .sponsored-card-image-wrap {
        height: 190px;
    }
}




.auth-page-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
    min-height: 70vh;
}

.auth-page-shell {
    display: grid;
    gap: 2rem;
}

.auth-page-shell-single {
    max-width: 760px;
    margin: 0 auto;
}

.auth-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.auth-card.only-card {
    max-width: 100%;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.auth-card h1 {
    margin: 0 0 0.75rem;
    font-size: 2.5rem;
    color: var(--text);
    line-height: 1.1;
}

.auth-subtext {
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.auth-form-group {
    margin-bottom: 1.15rem;
}

.auth-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text);
}

.modern-auth-form input[type="email"],
.modern-auth-form input[type="password"],
.modern-auth-form input[type="text"],
.modern-auth-form input[type="url"],
.modern-auth-form textarea,
.modern-auth-form select {
    width: 100%;
    border: 1px solid #dbe2ea;
    background: #eef4ff;
    border-radius: 18px;
    padding: 1rem 1.1rem;
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.modern-auth-form input:focus,
.modern-auth-form textarea:focus,
.modern-auth-form select:focus {
    border-color: #7aa2f7;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
    background: #f8fbff;
}

.auth-submit-btn {
    margin-top: 0.75rem;
}

.form-error {
    margin-top: 0.45rem;
    color: #b91c1c;
    font-size: 0.92rem;
    font-weight: 600;
}

.auth-bottom-note {
    margin-top: 1.25rem;
    color: var(--muted);
}

.auth-bottom-note a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.auth-bottom-note a:hover {
    text-decoration: underline;
}

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

.auth-status-card {
    text-align: center;
}

.auth-status-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.success-icon {
    background: #dcfce7;
    color: #15803d;
}

.auth-info-box {
    border: 1px solid #dbeafe;
    background: #f8fbff;
    border-radius: 18px;
    padding: 1rem 1.1rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.auth-error-box {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.auth-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap input {
    padding-right: 5rem !important;
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 2.75rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.92rem;
}

.password-toggle-btn:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .auth-page-section {
        padding: 2rem 0;
    }

    .auth-card {
        padding: 1.25rem;
        border-radius: 22px;
    }

    .auth-card h1 {
        font-size: 2rem;
    }

    .password-toggle-btn {
        top: 2.6rem;
    }
}





.help-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%; /* 👈 move to left */
    transform: translateX(-50%); /* 👈 remove centering */
    min-width: 260px;
    max-width: 280px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    padding: 10px;
    z-index: 999;

    text-align: left; /* 👈 left align content */
}

/* LINKS */

.help-dropdown-menu a {
    display: flex; /* 👈 for icon + text */
    align-items: center;
    gap: 10px; /* space between icon and text */

    padding: 10px 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;
}

.help-dropdown-menu a:hover {
    background: #f8fafc;
    color: #f16a21;
}

/* ICON STYLE */

.help-dropdown-menu a i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    color: #64748b;
}

/* LIVE CHAT BUTTON */

.help-dropdown-menu .live-chat-btn {
    margin-top: 10px;
    width: 100%;
    padding: 11px;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: 10px;
    background: #f16a21;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.help-dropdown-menu .live-chat-btn:hover {
    background: #d95d16;
}

/* WHATSAPP */

.help-dropdown-menu .whatsapp-btn {
    margin-top: 8px;
    width: 100%;
    padding: 10px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.help-dropdown-menu .whatsapp-btn:hover {
    background: #f8fafc;
}



.mega-nav-dropdown {
    position: relative;
}

.mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: min(1100px, 90vw);
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    display: none;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    z-index: 999;
}

.mega-nav-dropdown:hover .mega-menu-panel {
    display: grid;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 2rem;
}

.mega-menu-column h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #111827;
}

.mega-menu-column a {
    display: block;
    padding: 0.35rem 0;
    color: #374151;
    text-decoration: none;
}

.mega-menu-column a:hover {
    color: #f97316;
}

.mega-menu-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    margin-bottom: 0.8rem;
}

.mega-menu-image strong {
    font-size: 1.1rem;
    color: #111827;
}

@media (max-width: 900px) {
    .mega-menu-panel {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .mega-menu-columns {
        grid-template-columns: 1fr;
    }
}





/* Auth pages: login/register headings */
.auth-form-panel h1,
.auth-form-panel .section-heading h1,
.auth-card h1,
.login-form h1,
.register-form h1 {
    text-align: center;
}

/* Highlight auth links */
.auth-form-panel a,
.login-form a,
.register-form a,
.auth-link,
.terms-link {
    color: #f97316;
    font-weight: 800;
    text-decoration: none;
}

.auth-form-panel a:hover,
.login-form a:hover,
.register-form a:hover,
.auth-link:hover,
.terms-link:hover {
    color: #1557b0;
    text-decoration: underline;
}

/* Remember me / agreement checkbox alignment */
.remember-row,
.terms-row,
.form-check,
.agreement-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.remember-row input[type="checkbox"],
.terms-row input[type="checkbox"],
.form-check input[type="checkbox"],
.agreement-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

/* Login bottom register text */
.auth-bottom-text,
.login-register-text,
.register-login-text {
    text-align: center;
    margin-top: 1.2rem;
}

/* Reduce homepage section spacing */
.section-space {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.home-section,
.home-showcase-section,
.sponsored-ads-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .section-space,
    .home-section,
    .home-showcase-section,
    .sponsored-ads-section {
        padding-top: 1.8rem;
        padding-bottom: 1.8rem;
    }
}







/* FINAL FIXES */

/* Center Login / Register headings */
.auth-form-box h1,
.auth-form-box h2,
.auth-card-right h1,
.auth-card-right h2,
.auth-card h1,
.auth-card h2 {
    text-align: center !important;
}

/* Center login/register bottom text */
.auth-footer-text,
.auth-bottom-note {
    text-align: center !important;
}

/* Highlight links: Register here, Login here, Forgot Password, Terms */
.auth-footer-text a,
.auth-bottom-note a,
.terms-row a,
.modern-auth-form a {
    color: #f16a21 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.auth-footer-text a:hover,
.auth-bottom-note a:hover,
.terms-row a:hover,
.modern-auth-form a:hover {
    color: #0d4ea6 !important;
    text-decoration: underline !important;
}

/* Fix remember me row */
.remember-row,
.login-options,
.auth-options {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
}

/* Fix agreement checkbox alignment */
.terms-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
}

.terms-row input[type="checkbox"],
.remember-row input[type="checkbox"],
.login-options input[type="checkbox"],
.auth-options input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* Reduce homepage section gaps */
.section-space,
.home-showcase-section,
.sponsored-ads-section,
.home-newsletter-section,
.home-trust-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.section-heading {
    margin-bottom: 1.2rem !important;
}

.site-footer {
    margin-top: 1.5rem !important;
}







/* FINAL AUTH PAGE FIX */

/* Remove big empty space below navbar on login/register */
.auth-section,
.auth-page-section {
    padding-top: 1.5rem !important;
}

/* Center login/register title and subtitle */
.auth-form-box h1,
.auth-form-box h2,
.auth-subtext {
    text-align: center !important;
}

/* Highlight Register here / Login here / Forgot password */
.auth-footer-text a,
.auth-bottom-note a,
.modern-auth-form a {
    color: #f16a21 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.auth-footer-text a:hover,
.auth-bottom-note a:hover,
.modern-auth-form a:hover {
    color: #0d4ea6 !important;
    text-decoration: underline !important;
}

/* Reduce space between agreement checkbox and Register button */
.terms-row {
    margin-bottom: 0.4rem !important;
}

.auth-actions,
.form-actions {
    margin-top: 0.6rem !important;
}






/* LOGIN + REGISTER FINAL SPACING FIX */

/* remove large bottom empty space */
.auth-section,
.auth-page-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1rem !important;
    min-height: auto !important;
}

/* reduce bottom margin of auth card */
.auth-card,
.auth-card.only-card {
    margin-bottom: 0 !important;
    padding-bottom: 1.5rem !important;
}

/* reduce space below login/register form */
.auth-form-box,
.auth-card-right {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* highlight Register here / Login here */
.auth-footer-text a,
.auth-bottom-note a,
.auth-link {
    color: #f16a21 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.auth-footer-text a:hover,
.auth-bottom-note a:hover,
.auth-link:hover {
    color: #0d4ea6 !important;
    text-decoration: underline !important;
}

/* make bottom text centered */
.auth-footer-text,
.auth-bottom-note {
    text-align: center !important;
    margin-top: 0.8rem !important;
    margin-bottom: 0 !important;
}

/* reduce footer top gap if footer is below */
.site-footer {
    margin-top: 1rem !important;
}






/* FORCE highlight Register here / Login here / Forgot Password */

a[href*="register"],
a[href*="login"],
a[href*="password"],
a[href*="forgot"] {
    color: #f16a21 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

a[href*="register"]:hover,
a[href*="login"]:hover,
a[href*="password"]:hover,
a[href*="forgot"]:hover {
    color: #0d4ea6 !important;
    text-decoration: underline !important;
}




/* Better balanced position for Create Account content */

.auth-card-left,
.auth-left-panel,
.register-left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center !important; /* center instead of too high */
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Heading slightly raised only */
.auth-card-left h1,
.auth-left-panel h1,
.register-left-panel h1 {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    transform: translateY(-8px);
}

/* Paragraph small upward move */
.auth-card-left p,
.auth-left-panel p,
.register-left-panel p {
    margin-top: 0 !important;
    margin-bottom: 1.2rem !important;
    transform: translateY(-5px);
}

/* Feature boxes natural position */
.auth-feature-list,
.auth-left-features {
    margin-top: 0.8rem !important;
    transform: translateY(0);
}


.newsletter-card h2,
.newsletter-card p {
    text-align: center;
}

.newsletter-card h2 {
    margin-bottom: 1rem;
}


.newsletter-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 14px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Highlight on hover */
.newsletter-btn:hover {
    background: #f16a21;   /* orange highlight */
    color: #ffffff;        /* white text */
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(241, 106, 33, 0.25);
}




/* Make Phone + Eircode perfectly aligned */

#id_phone,
#id_eircode {
    width: 100%;
    height: 58px;
    padding: 0 20px;
    border: 1px solid #dbe2ea;
    background: #f8fafc;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 58px;
    box-sizing: border-box;
    outline: none;
    display: block;
}

/* Same focus style */

#id_phone:focus,
#id_eircode:focus {
    border-color: #0d4ea6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(13, 78, 166, 0.08);
}

/* Remove weird browser spacing */

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-field label {
    margin: 0;
    padding: 0;
    font-weight: 800;
}






/* ============================= */
/* PAYMENT PAGE FIXED FULL CSS */
/* ============================= */

/* Keep content visible even while Stripe loads */
.payment-card-loading .payment-method-box,
.payment-card-loading .payment-policy,
.payment-card-loading .payment-submit-btn {
    opacity: 1;
    visibility: visible;
}

/* Smooth appearance after ready */
.payment-card-ready .payment-method-box,
.payment-card-ready .payment-policy,
.payment-card-ready .payment-submit-btn {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease;
}

/* Main payment card */
.payment-card {
    max-width: 700px !important;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

/* Payment method container */
.payment-method-box {
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 1.5rem;
    background: #ffffff;
    margin-top: 1.5rem;
}

/* Payment options */
.payment-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 800;
}

.payment-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #0f8f86;
}

/* Stripe fields */
.stripe-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.stripe-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.stripe-field label {
    font-weight: 800;
    color: #1e293b;
    font-size: 0.95rem;
}

.stripe-input {
    min-height: 54px;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    padding: 1rem;
    background: #ffffff;
}

/* Payment policy text */
.payment-policy {
    margin-top: 2rem;
}

.payment-policy p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Terms + checkbox alignment */
.terms-row-payment {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-weight: 700;
    margin-top: 1rem;
}

.terms-row-payment input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex-shrink: 0;
    accent-color: #0f8f86;
}

.terms-row-payment span {
    line-height: 1.5;
    color: #1e293b;
}

/* Highlight terms and conditions */
.terms-row-payment a {
    color: #f16a21 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.terms-row-payment a:hover {
    color: #0d4ea6 !important;
    text-decoration: underline !important;
}

/* Submit button */
.payment-submit-btn {
    width: 100%;
    max-width: 100%;
    min-height: 58px;
    border: none;
    border-radius: 14px;
    background: #0f8f86;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 900;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: 0.3s ease;
}

.payment-submit-btn:hover {
    background: #0d4ea6;
}

/* Loading box */
.payment-loading {
    text-align: center;
    padding: 1rem;
    background: #eff6ff;
    color: #0b3f86;
    border-radius: 14px;
    font-weight: 900;
    margin-bottom: 1rem;
}


.payment-submit-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.stripe-input {
    height: 56px;
    min-height: 56px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 17px 14px;
    background: #ffffff;
    cursor: text;
}

.stripe-input iframe {
    width: 100% !important;
}

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

    .stripe-field.full-width {
        grid-column: auto;
    }

    .payment-card {
        padding: 1.5rem;
    }

    .terms-row-payment {
        align-items: flex-start !important;
    }
}




.payment-back-cart-btn {
    width: 100%;
    min-height: 54px;
    margin-top: 0.8rem;
    border-radius: 10px;
    background: #ffffff;
    color: #0d4ea6;
    border: 2px solid #0d4ea6;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.payment-back-cart-btn:hover {
    background: #0d4ea6;
    color: #ffffff;
}




.messages {
    padding-top: 1rem;
}

.messages .alert {
    padding: 1rem 1.2rem;
    border-radius: 14px;
    font-weight: 800;
    margin-bottom: 1rem;
}

.messages .alert-success,
.messages .alert-info {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.messages .alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.messages .alert-warning {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}



.services-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
    max-width: 300px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    padding: 14px;
    z-index: 999;

    /* ✅ change this */
    text-align: left;
}

.services-dropdown-menu a {
    display: flex;              /* 👈 better than block */
    align-items: center;        /* vertical alignment */
    gap: 10px;                  /* space for icon */
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;

    /* ✅ change this */
    text-align: left;
}

.services-dropdown-menu a:hover {
    background: #f8fafc;
    color: #f16a21;
}




.repair-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.repair-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.repair-address-row {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.phone-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0.7rem;
}

.country-code-select {
    min-width: 130px;
    font-weight: 900;
}

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

@media (max-width: 700px) {
    .repair-form-grid {
        grid-template-columns: 1fr;
    }

    .repair-address-row {
        grid-template-columns: 1fr;
    }

    .phone-row {
        grid-template-columns: 1fr;
    }

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



.otp-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.otp-popup-card {
    width: min(100%, 440px);
    background: #ffffff;
    border-radius: 26px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.otp-popup-card h2 {
    margin: 0 0 0.6rem;
    color: #0f172a;
}

.otp-popup-card p {
    color: #64748b;
    margin-bottom: 1.2rem;
}

.otp-popup-card input {
    width: 100%;
    min-height: 58px;
    border: 1px solid #dbe2ea;
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.15rem;
    margin-bottom: 1rem;
}

.otp-timer-wrap {
    margin-bottom: 1rem;
}

#otpCountdownText {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 700;
}

#otpCountdown {
    color: #0d4ea6;
    font-size: 1rem;
}

.otp-button-group {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.otp-btn {
    flex: 1;
    min-height: 56px;
    border-radius: 16px;
    border: none;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

.otp-verify-btn {
    background: #0d4ea6;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(13, 78, 166, 0.25);
}

.otp-verify-btn:hover {
    background: #083b81;
    transform: translateY(-2px);
}

.otp-resend-btn {
    background: #f16a21;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(241, 106, 33, 0.25);
}

.otp-resend-btn:hover {
    background: #d95510;
    transform: translateY(-2px);
}

.otp-resend-btn span {
    color: #ffffff !important;
    font-weight: 900 !important;
}






/*homepage otp*/

.otp-resend-btn {
    background: #ffffff !important;
    color: #f16a21 !important;
    border: 2px solid #f16a21 !important;
}

.otp-resend-btn:hover {
    background: #f16a21 !important;
    color: #ffffff !important;
}

.otp-resend-btn.disabled {
    opacity: 1 !important;
    pointer-events: none;
    background: #fff7ed !important;
    color: #f16a21 !important;
    border: 2px solid #f16a21 !important;
}


.otp-resend-btn span {
    color: inherit !important;
    display: inline-block;
}





.login-submit-btn {
    width: 100%;
    min-height: 60px;
    background: #f16a21;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 900;
    border: 3px solid #111827;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(241, 106, 33, 0.28);
    transition: all 0.25s ease;
}

.login-submit-btn:hover,
button[type="submit"]:hover {
    background: #0d4ea6 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(13, 78, 166, 0.28);
}

.login-submit-btn:active,
button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(13, 78, 166, 0.18);
}



/* HERO BUTTON HIGHLIGHT ONLY */

.hero-actions .btn {
    border: none !important;
    border-radius: 18px !important;
    font-weight: 900 !important;
    padding: 1rem 2rem !important;
    transition: all 0.25s ease !important;
}

.hero-actions .btn-primary {
    background: #f16a21 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(241, 106, 33, 0.35) !important;
}

.hero-actions .btn-primary:hover {
    background: #e45b13 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 18px 42px rgba(241, 106, 33, 0.5) !important;
}

.hero-actions .btn-secondary {
    background: #0d4ea6 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(13, 78, 166, 0.35) !important;
}

.hero-actions .btn-secondary:hover {
    background: #083a7c !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 18px 42px rgba(13, 78, 166, 0.5) !important;
}





/* Highlight ONLY service card buttons */
.service-card .card-body > a.btn.btn-primary.btn-block {
    background: #f16a21 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 18px !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 30px rgba(241, 106, 33, 0.38) !important;
    transition: all 0.25s ease !important;
}

.service-card .card-body > a.btn.btn-primary.btn-block:hover {
    background: #0d4ea6 !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 18px 42px rgba(13, 78, 166, 0.42) !important;
}





/* CART QUANTITY SPINNER CLEAN FIX */

.qty-spinner {
    display: inline-flex !important;
    align-items: stretch !important;
    height: 48px !important;
    border: 1px solid #dbe2ea !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.qty-spinner-input {
    width: 70px !important;
    height: 48px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    text-align: center !important;
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    padding: 0 !important;
    box-shadow: none !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.qty-spinner-input::-webkit-inner-spin-button,
.qty-spinner-input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.qty-spinner-arrows {
    width: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    border-left: 1px solid #dbe2ea !important;
}

.qty-spinner-arrows form {
    margin: 0 !important;
    height: 24px !important;
}

.qty-spinner-btn {
    width: 100% !important;
    height: 24px !important;
    min-height: 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: 0.7rem !important;
    padding: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.qty-spinner-btn:hover {
    background: #e2e8f0 !important;
    color: #0d4ea6 !important;
    transform: none !important;
}

.qty-up {
    border-bottom: 1px solid #dbe2ea !important;
}


/* FORCE CART ARROWS VISIBLE */

.cart-item .qty-spinner button,
.cart-item .qty-spinner button[type="submit"],
.cart-item .qty-spinner .qty-spinner-btn {
    width: 40px !important;
    height: 24px !important;
    min-height: 24px !important;
    background: #e2e8f0 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 0.8rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.cart-item .qty-spinner button:hover {
    background: #0d4ea6 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}





/* FOOTER LINKS HIGHLIGHT */

.footer-links a,
.footer-grid a {
    color: rgba(255,255,255,.88) !important;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-links a:hover,
.footer-grid a:hover,
.footer-links a:focus,
.footer-grid a:focus {
    color: #f16a21 !important;   /* orange highlight */
    text-decoration: underline;
}

.footer-links a:active,
.footer-grid a:active {
    color: #0d4ea6 !important;   /* blue when clicked */
}



.label-sheet {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8mm;
    width: 210mm;
    padding: 10mm;
    background: white;
}

.barcode-label {
    width: 58mm;
    height: 35mm;
    border: 1px dashed #999;
    padding: 3mm;
    text-align: center;
    page-break-inside: avoid;
}


.footer-icon-section {
    margin-top: 1.5rem;
}

.footer-icon-section h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-icon-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.footer-icon-row a,
.footer-icon-row span {
    font-size: 1.7rem;
    text-decoration: none;
    transition: 0.25s ease;
}

.footer-icon-row a:hover,
.footer-icon-row span:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}





.footer-icon-section {
    margin-top: 1.5rem;
}

.footer-icon-section h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-icon-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.footer-icon-row a,
.footer-icon-row span {
    font-size: 1.75rem;
    text-decoration: none;
    transition: 0.25s ease;
    display: inline-flex;
}

.footer-icon-row a:hover,
.footer-icon-row span:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}



.badge-green { background: #10b981; }
.badge-red { background: #dc2626; }
.badge-yellow { background: #f59e0b; }
.badge-blue { background: #0d4ea6; }




.retail-side-summary {
    margin-top: 0.7rem;
    background: #ffffff;
    border: 1px solid #c4c9d2;
    padding: 0.75rem;
}

.retail-side-summary h3 {
    margin: 0.7rem 0;
    color: #111827;
}

.side-date-time label,
.side-adjustment label {
    display: block;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.side-date-time div,
.side-adjustment div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}

.retail-side-summary input {
    width: 100%;
    height: 34px;
    border: 1px solid #9ca3af;
    padding: 0.3rem;
    box-sizing: border-box;
}

.side-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.side-summary-line span {
    font-weight: 900;
}

.side-summary-line strong {
    color: #0d4ea6;
}

.side-summary-line.net {
    border-top: 1px solid #d1d5db;
    padding-top: 0.6rem;
    font-size: 1.15rem;
}




/* Force all customer form fields to be same height/size */
.main-form-grid input,
.main-form-grid select,
.main-form-grid textarea {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 8px !important;
    padding: 0.45rem 0.65rem !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
}

/* Only textareas that should be long */
.main-form-grid textarea {
    height: 84px !important;
    min-height: 84px !important;
    max-height: 84px !important;
}




.delivery-eta-box {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #065f46;
    border-radius: 18px;
    padding: 1rem;
    margin: 1rem 0;
}

.delivery-eta-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.delivery-eta-box strong {
    display: block;
    font-size: 1rem;
}

.delivery-eta-box p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: #047857;
}

.delivery-countdown {
    color: #f16a21;
    font-weight: 950;
}

.recently-bought-popup {
    position: fixed;
    left: 1.2rem;
    bottom: 1.2rem;
    width: min(360px, calc(100% - 2.4rem));
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    z-index: 999999;
    padding: 0.85rem;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: 0.3s ease;
}

.recently-bought-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.recently-bought-popup button {
    position: absolute;
    top: 0.45rem;
    right: 0.55rem;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: #64748b;
}

.recently-bought-popup a {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0.8rem;
    align-items: center;
    text-decoration: none;
    color: #0f172a;
    padding-right: 1.2rem;
}

.recently-bought-image {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
}

.recently-bought-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recently-bought-popup strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.35;
}

.recently-bought-popup p {
    margin: 0.25rem 0 0;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.delivery-eta-card {
    margin-top: 1rem;
    background: #f8fafc;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.delivery-eta-card p {
    margin: 0.35rem 0;
}

.delivery-eta-card strong,
.delivery-eta-card h4,
.delivery-eta-card h3 {
    color: #0f172a;
    font-weight: 900;
}

@media (max-width: 650px) {
    .recently-bought-popup {
        left: 0.8rem;
        bottom: 0.8rem;
        width: calc(100% - 1.6rem);
    }
}





/* v58 polished sponsored cards and service picture cards */
.section-kicker {
    display: inline-flex;
    margin-bottom: .6rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: #eaf3ff;
    color: #0d4ea6;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .78rem;
}

.sponsored-card {
    width: 340px;
    min-width: 340px;
    border-radius: 28px;
    border: 1px solid rgba(13, 78, 166, .12);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .12);
}

.sponsored-card-image-wrap {
    height: 230px;
    position: relative;
    background: linear-gradient(135deg, #eef6ff, #ffffff);
}

.sponsored-card-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(15,23,42,.28) 100%);
    pointer-events: none;
}

.sponsored-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    background: rgba(255, 255, 255, .94);
    color: #0d4ea6;
    border: 1px solid rgba(13, 78, 166, .18);
    border-radius: 999px;
    padding: .45rem .8rem;
    font-size: .78rem;
    font-weight: 900;
}

.sponsored-card-body h3 {
    font-size: 1.28rem;
    line-height: 1.25;
}

.sponsored-card-body p {
    font-size: .98rem;
    min-height: 5.1rem;
}

.sponsored-meta-item {
    background: #f8fafc;
    border: 1px solid #e8eef7;
    border-radius: 14px;
    padding: .65rem .75rem;
}

.sponsored-actions .btn {
    border-radius: 16px;
    padding: .8rem 1rem;
    font-weight: 900;
}

.service-picture-card {
    border: 0;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-picture-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 75px rgba(15, 23, 42, .18);
}

.service-picture-media {
    aspect-ratio: 16 / 10;
    position: relative;
}

.service-picture-media img {
    transition: transform .35s ease;
}

.service-picture-card:hover .service-picture-media img {
    transform: scale(1.06);
}

.service-picture-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0) 38%, rgba(15,23,42,.5) 100%);
}

.service-picture-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255, 255, 255, .95);
    color: #0d4ea6;
    padding: .45rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(15,23,42,.16);
}

.service-picture-body {
    padding: 1.35rem;
}

.service-picture-body h3 {
    color: #071a38;
    font-size: 1.38rem;
}

.service-picture-body p {
    min-height: 5.2rem;
}

@media (max-width: 768px) {
    .sponsored-card {
        width: 290px;
        min-width: 290px;
    }

    .sponsored-card-body p,
    .service-picture-body p {
        min-height: auto;
    }
}


/* v60: slower sponsored partner cards so visitors can read each card */
.sponsored-slider-track.is-moving {
    animation-duration: 95s !important;
}

.sponsored-card {
    scroll-snap-align: start;
}

/* v64: properly fills the Limited Tech Offers empty spaces with real product images */
.promo-offer-box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, 260px) minmax(320px, 1fr) minmax(150px, 260px);
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
    min-height: 330px;
    padding: 3rem 2rem;
}

.promo-main-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.promo-side {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 230px;
}

.promo-side::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(13, 78, 166, .12), rgba(248, 250, 252, 0) 68%);
    filter: blur(2px);
}

.promo-side img {
    position: relative;
    z-index: 2;
    max-width: min(230px, 100%);
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
    filter: drop-shadow(0 24px 35px rgba(15, 23, 42, .22));
    transform: rotate(-5deg);
}

.promo-side-right img {
    transform: rotate(6deg);
}

@media (max-width: 900px) {
    .promo-offer-box {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 2.5rem 1.25rem;
    }

    .promo-side {
        min-height: auto;
    }

    .promo-side img {
        max-height: 180px;
    }

    .promo-side-left {
        order: 1;
    }

    .promo-main-content {
        order: 2;
    }

    .promo-side-right {
        order: 3;
    }
}


/* v69: live rotating product images on both sides of Limited Tech Offers */
.live-offer-gallery {
    position: relative;
    min-height: 250px;
}

.live-offer-gallery .live-offer-img {
    position: absolute;
    inset: 0;
    margin: auto;
    opacity: 0;
    transform: scale(.92) rotate(-5deg);
    transition: opacity .75s ease, transform .75s ease;
}

.live-offer-gallery .live-offer-img.is-active {
    opacity: 1;
    transform: scale(1) rotate(-5deg);
}

.promo-side-right.live-offer-gallery .live-offer-img {
    transform: scale(.92) rotate(6deg);
}

.promo-side-right.live-offer-gallery .live-offer-img.is-active {
    transform: scale(1) rotate(6deg);
}

@media (max-width: 900px) {
    .live-offer-gallery {
        min-height: 190px;
    }
}

/* v69: make the advert video area show real video instead of a dark empty box */
.advert-video-wrap {
    background: #111827;
}

.advert-main-video {
    display: block;
    background: #111827;
}
