html {
    scroll-behavior: smooth;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

a,
button {
    outline: none;
}

/* Accessible focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

main {
    padding-top: 90px;
    overflow-x: hidden;
    width: 100%;
}

/* Prevent horizontal scrolling on all containers */
section,
.about-content,
.services-grid,
.hero-content,
.container {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Color Theme */
:root {
    --primary: #00d4ff;
    /* Cyan */
    --primary-dark: #00a0c7;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--dark);
    color: var(--white);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

header.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 54px;
    height: 54px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 54'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%2300d4ff;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%2300b5ff;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='2' y='2' width='50' height='35' rx='3' ry='3' fill='url(%23grad)' stroke='%23000000' stroke-width='2'/%3E%3Ctext x='27' y='25' font-family='Arial, sans-serif' font-size='18' font-weight='bold' fill='%230f172a' text-anchor='middle'%3EWI%3C/text%3E%3Crect x='10' y='40' width='34' height='4' rx='2' ry='2' fill='%23000000'/%3E%3C/svg%3E");
    background-size: cover;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    animation: pulse 2.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }

    50% {
        box-shadow: 0 0 35px rgba(0, 212, 255, 0.8);
    }
}

.brand-name {
    font-size: 26px;
    font-weight: 700;
    margin-left: 12px;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-close {
    display: none;
    /* Hide on desktop */
}

/* Hide the close-item wrapper from desktop horizontal nav */
.nav-close-item {
    display: none;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Header user menu */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    color: var(--white);
    font-weight: 600;
}

.user-menu:hover .user-menu-trigger {
    color: var(--primary);
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: 110%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    padding: 10px;
    width: 200px;
    display: none;
    z-index: 1200;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 8px 10px;
    color: #0f172a;
    border-radius: 8px;
}

.user-dropdown a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Hero Background Slideshow */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75)),
        url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    animation: heroSlideshow 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes heroSlideshow {

    0%,
    25% {
        background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75)),
            url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    }

    30%,
    55% {
        background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75)),
            url('https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    }

    60%,
    85% {
        background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75)),
            url('https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    }

    90%,
    100% {
        background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75)),
            url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    }
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Hero Buttons */
.hero>div,
.hero-content>div:first-of-type {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    background-color: var(--primary);
    color: var(--dark);
    padding: 14px 32px;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    cursor: pointer;
    border: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
}

.btn:hover,
.btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.6);
    background-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
}

.btn-outline:hover,
.btn-outline:active {
    background: var(--primary);
    color: var(--dark);
    transform: scale(0.98);
}

/* Trust Signals */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 50px;
    flex-wrap: nowrap;
    /* keep in single line */
    overflow-x: auto;
    /* allow scroll on small screens */
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Footer credit glow */
.footer-credit-name {
    color: var(--primary);
    font-weight: 700;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.6), 0 0 14px rgba(0, 212, 255, 0.4);
    animation: textGlow 2.4s ease-in-out infinite;
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 6px rgba(0, 212, 255, 0.6), 0 0 14px rgba(0, 212, 255, 0.4);
    }

    50% {
        text-shadow: 0 0 12px rgba(0, 212, 255, 0.85), 0 0 24px rgba(0, 212, 255, 0.65);
    }
}

/* Sections */
section {
    padding: 100px 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark);
    position: relative;
}

h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--primary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About & Services */
.about-content,
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.about-content>.service-card,
.about-content form.service-card {
    max-width: 540px;
    margin-left: auto;
}

.about-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-text {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #475569;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
}

.service-card i {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Admin Login: disable service-card hover pop-up */
.admin-login .service-card {
    transition: none !important;
}

.admin-login .service-card:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: #e2e8f0 !important;
}

/* Detailed Services Layout */
.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.service-item {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

/* Meet the Team */
.team-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Services Pro Redesign */
.services-pro .service-rows {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.services-pro .service-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: center;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 22px;
}

.services-pro .service-row.reverse .service-visual {
    order: 2;
}

.services-pro .service-row.reverse .service-content {
    order: 1;
}

.services-pro .service-visual img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    border-radius: 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.services-pro .service-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.services-pro .service-content p {
    color: #334155;
    margin-bottom: 10px;
}

.services-pro .service-points {
    margin-top: 6px;
}

@media (max-width: 992px) {
    .services-pro .service-row {
        grid-template-columns: 1fr;
    }

    .services-pro .service-row.reverse .service-visual {
        order: 1;
    }

    .services-pro .service-row.reverse .service-content {
        order: 2;
    }

    .services-pro .service-visual img {
        height: 260px;
    }
}

.team-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    padding: 20px;
    text-align: center;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 12px;
    border: 4px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.18);
    background: #f1f5f9;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.team-role {
    color: #64748b;
    margin-bottom: 10px;
}

.team-points {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.team-points li {
    margin: 6px 0;
    color: #334155;
}

.team-points li i {
    color: var(--primary);
    margin-right: 8px;
}

@media (max-width: 992px) {
    .team-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .team-list {
        grid-template-columns: 1fr;
    }
}

/* Team hero split layout */
.team-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 24px;
}

.team-hero-photo {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 16px;
}

.team-hero-photo img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.18);
    border: 6px solid rgba(0, 212, 255, 0.35);
}

.team-hero-info .team-name {
    font-size: 1.6rem;
}

.team-hero-info .team-role {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 12px;
}

.team-bio {
    margin-top: 10px;
    color: #334155;
    line-height: 1.6;
}

.team-bio-long {
    line-height: 1.75;
}

@media (max-width: 992px) {
    .team-hero {
        grid-template-columns: 1fr;
    }
}

/* Location note */
.location-note {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #eef9ff;
    color: #0a4b66;
    border: 1px solid #cde8f6;
    font-size: 0.95rem;
}

.service-media {
    background: #f1f5f9;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body {
    padding: 24px;
}

.service-body h3 {
    margin-bottom: 8px;
}

.service-body p {
    color: #475569;
    margin-bottom: 12px;
}

.service-points {
    list-style: none;
    padding-left: 0;
}

.service-points li {
    margin: 8px 0;
    color: #334155;
}

.service-points li i {
    color: var(--primary);
    margin-right: 8px;
}

@media (max-width: 992px) {
    .service-item {
        grid-template-columns: 1fr;
    }

    .service-media {
        height: 220px;
    }
}

/* Featured Products Teaser */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 560px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* Featured grid: show 2 per row on mobile for compact Amazon-style layout */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

/* Store filter bar */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 10px 0 18px 0;
}

.filters-bar .btn {
    padding: 10px 14px;
}

/* Ensure professional-sized search and sort controls in store */
.filters-bar .form-input.input-search {
    width: 340px;
    max-width: 100%;
}

.filters-bar .form-select.select-sort {
    width: 240px;
    max-width: 100%;
}

/* Category chips row — scrollable on mobile to avoid multi-line wrapping */
.filters-bar-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filters-bar-cats::-webkit-scrollbar {
    display: none;
}

/* Themed form controls */
.form-input,
.form-select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.form-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15), 0 4px 8px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    transform: translateY(-1px);
}

.input-search {
    width: 280px;
    max-width: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394a3b8' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.7.7l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.494 4.494 0 0 1 9.5 14z'/%3E%3C/svg%3E") no-repeat;
    background-position: 12px center;
    background-size: 20px;
    padding-left: 44px;
}

.select-sort {
    width: 220px;
    max-width: 100%;
    cursor: pointer;
    appearance: none;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    padding-right: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 14px 32px rgba(0, 212, 255, 0.18);
    background: #f9fdff;
    transform: none !important;
    /* prevent any pop-up/raise effect */
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

/* Compact mobile product info */
@media (max-width: 768px) {
    .product-info {
        padding: 12px;
        min-height: 120px;
    }

    .product-info h4 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .price {
        font-size: 1.15rem;
    }
}

.product-info h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.price {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
}

.product-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch;
}

.product-actions form {
    display: contents;
    margin: 0;
}

.product-actions a {
    display: inline-flex;
}

.product-actions .btn {
    padding: 10px 12px;
    font-size: 0.88rem;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
}

.btn-icon {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
}

.btn-wishlist {
    color: #dc2626 !important;
    border-color: #dc2626 !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
}

.btn-wishlist:hover,
.btn-wishlist:active {
    background: #dc2626 !important;
    color: #ffffff !important;
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    border: 2px solid var(--primary);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
}

.btn-primary:hover,
.btn-primary:active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: scale(0.98);
}

@media (max-width: 420px) {
    .product-actions .btn {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
}

@media (max-width: 360px) {

    /* Ultra-small phones: single column for 4 product actions */
    .product-actions {
        grid-template-columns: 1fr;
    }

    .product-actions .btn {
        padding: 9px 12px;
        font-size: 0.85rem;
    }
}

/* Blog detail layout */
.blog-hero {
    max-width: 1400px;
    margin: 0 auto 24px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.blog-hero img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.blog-article {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.blog-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.blog-excerpt {
    color: #64748b;
    margin-bottom: 12px;
}

.blog-content {
    color: #334155;
    line-height: 1.75;
}

.blog-date-selector {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-date-selector select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
}

@media (max-width: 992px) {
    .blog-hero img {
        height: 360px;
    }
}

@media (max-width: 560px) {
    .blog-hero img {
        height: 240px;
    }
}

/* Footer */
footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 80px 30px 40px;
    text-align: center;
}

/* Contact form: highlight only, no pop */
.contact-card {
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.contact-info-card {
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-info-card:hover {
    transform: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

/* Social buttons styles */
.btn-instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
    color: #ffffff;
}

.btn-instagram:hover {
    filter: brightness(1.05);
}

.btn-whatsapp {
    background: #25D366;
    color: #0f172a;
}

.btn-whatsapp:hover {
    filter: brightness(1.05);
}

.map-embed {
    border: 1px solid #e2e8f0;
}

/* Social buttons matching store button size */
.btn-social {
    padding: 10px 16px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 0;
}

.btn-social svg {
    flex-shrink: 0;
}

.btn-instagram {
    color: #ffffff;
}

.btn-whatsapp {
    color: #ffffff;
}

.btn-facebook {
    background: #1877F2;
    color: #ffffff;
}

.btn-facebook:hover {
    filter: brightness(1.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-links {
        gap: 12px;
    }

    .footer-links a {
        flex: 1 1 25%;
        min-width: 120px;
        font-size: 0.95rem;
    }
}

/* Modal (Privacy/Terms) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    width: min(960px, 92vw);
    max-height: 86vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #334155;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-content {
    padding: 16px;
    overflow: auto;
}

.modal-body {
    color: #334155;
    line-height: 1.7;
}

.modal-body h2 {
    margin-top: 0;
}

.modal-body h3 {
    margin-top: 12px;
}

/* Small modal for product description */
.modal.modal-small {
    width: min(520px, 92vw);
}

/* Small view link inside product card */
.product-view-link {
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 4px;
    display: inline-block;
    font-weight: 600;
    transition: color 0.2s;
}

.product-view-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
    background: transparent;
    border: none;
    margin-left: auto;
    padding: 8px;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 1100;
}

.menu-toggle:active {
    transform: scale(0.95);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 900;
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet (768px - 992px) */
@media (max-width: 992px) {

    /* Header adjustments */
    .header-container {
        padding: 14px 20px;
        gap: 16px;
    }

    .logo {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 22px;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75vw;
        max-width: 320px;
        background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        gap: 4px;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
        opacity: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-close-item {
        display: flex;
        justify-content: flex-end;
        padding: 0 4px;
    }

    .nav-close {
        display: block;
        /* Show on mobile/tablet */
        position: absolute;
        top: 18px;
        right: 14px;
        background: transparent;
        color: var(--white);
        border: none;
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
        opacity: 0.85;
        transition: opacity 0.2s ease, transform 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        z-index: 10;
    }

    .nav-close:hover {
        opacity: 1;
        transform: scale(1.05);
    }

    nav ul.active {
        display: flex;
        transform: translateX(0);
        opacity: 1;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 14px 18px;
        border-radius: 10px;
        text-align: left;
        font-size: 15px;
        border-left: 3px solid transparent;
        transition: all 0.25s ease;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    nav ul li a:hover,
    nav ul li a:active {
        background: rgba(0, 212, 255, 0.15);
        border-left-color: var(--primary);
        transform: translateX(4px);
        color: var(--primary);
    }

    /* Hero section */
    .hero {
        min-height: 520px;
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero>div:first-of-type,
    .hero-content>div:first-of-type {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .hero .btn {
        width: 100%;
        justify-content: center;
        margin: 0 !important;
    }

    .trust-badges {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .badge {
        font-size: 13px;
        padding: 10px 16px;
    }

    /* Sections */
    section {
        padding: 60px 20px;
    }

    h2 {
        font-size: 2.2rem;
        margin-bottom: 36px;
    }

    /* Grids */
    .about-content,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
        max-width: 100%;
        overflow: hidden;
    }

    .about-content>.service-card,
    .about-content form.service-card {
        max-width: 100%;
        margin: 0;
    }

    .about-content img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }

    .about-text {
        order: -1;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        padding: 0;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1.2rem;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-card {
        padding: 16px;
    }

    .team-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Forms */
    .form-input.input-search {
        width: 100% !important;
    }

    .form-select.select-sort {
        width: 100% !important;
    }

    .filters-bar {
        gap: 10px;
        flex-wrap: wrap;
    }

    .filters-bar .btn {
        flex: 1 1 auto;
        min-width: 140px;
    }

    /* Footer */
    footer {
        padding: 60px 20px 30px;
    }

    .footer-links {
        display: none;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {

    /* Header */
    .header-container {
        padding: 12px 16px;
        gap: 12px;
    }

    .logo {
        width: 44px;
        height: 44px;
    }

    .brand-name {
        font-size: 19px;
    }

    .menu-toggle {
        font-size: 26px;
        padding: 6px;
    }

    nav ul {
        width: 75vw;
        padding: 70px 16px 20px;
        gap: 2px;
    }

    .nav-close {
        top: 14px;
        right: 12px;
        font-size: 30px;
    }

    nav ul li a {
        padding: 13px 16px;
        font-size: 15px;
    }

    /* Main content spacing */
    main {
        padding-top: 75px;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 460px;
        padding: 70px 18px 50px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        line-height: 1.5;
    }

    .hero>div:first-of-type,
    .hero-content>div:first-of-type {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
        margin: 0 !important;
    }

    .trust-badges {
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
        width: 100%;
    }

    .badge {
        width: 100%;
        text-align: center;
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Sections */
    section {
        padding: 50px 16px;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 28px;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Products grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        max-width: 100%;
        padding: 10px;
    }

    .product-img {
        height: 160px;
    }

    .product-info h4 {
        font-size: 1rem;
    }

    .product-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .product-actions .btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .product-actions .btn i {
        font-size: 14px;
    }

    /* Service cards */
    .service-card {
        padding: 22px 18px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 14px;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-media {
        height: 200px;
    }

    .services-pro .service-row {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 20px;
    }

    .services-pro .service-row.reverse .service-visual {
        order: 1;
    }

    .services-pro .service-row.reverse .service-content {
        order: 2;
    }

    .services-pro .service-visual img {
        height: 220px;
    }

    /* Team */
    .team-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .team-member {
        padding: 20px;
    }

    .team-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-hero-photo img {
        max-height: 350px;
    }

    /* Blog */
    .blog-hero img {
        height: 250px;
    }

    .blog-article {
        padding: 18px;
        font-size: 15px;
    }

    .blog-title {
        font-size: 1.4rem;
    }

    .blog-meta {
        font-size: 13px;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Contact */
    .about-content {
        gap: 20px;
        padding: 0 16px;
        max-width: 100%;
        overflow: hidden;
    }

    .about-content img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
        border-radius: 12px;
    }

    .about-text {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 1rem;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .map-embed {
        height: 280px;
    }

    /* Forms */
    .filters-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        align-items: stretch;
    }

    .filters-bar .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 10px 8px;
        font-size: 13px;
        min-width: auto;
    }

    .form-input.input-search,
    .form-select.select-sort {
        width: 100% !important;
        grid-column: 1 / -1;
        /* Span full width */
    }

    .form-input,
    .form-textarea,
    .form-select {
        padding: 12px 14px;
        font-size: 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Tables */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }

    .table {
        min-width: 600px;
    }

    .table th,
    .table td {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Modal */
    .modal {
        width: 92vw;
        max-height: 85vh;
        margin: 20px;
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-body {
        font-size: 14px;
        padding: 16px 0;
    }

    /* Footer */
    footer {
        padding: 50px 16px 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 14px;
    }
}

/* Extra Small Mobile (max 480px) */
@media (max-width: 480px) {

    /* Header */
    .logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 17px;
    }

    /* Hero */
    .hero {
        min-height: 420px;
        padding: 60px 16px 40px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Typography */
    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Sections */
    section {
        padding: 40px 14px;
    }

    /* Cards */
    .service-card {
        padding: 18px 14px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 13px;
    }

    /* Product cards */
    .product-card {
        padding: 12px;
    }

    .product-info h4 {
        font-size: 0.95rem;
    }

    .price {
        font-size: 1.15rem;
    }

    .product-actions .btn {
        padding: 9px 10px;
        font-size: 12px;
    }

    /* Footer */
    footer {
        padding: 40px 14px 24px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links a {
        font-size: 13px;
    }
}

/* Cart action row - flex row that wraps on mobile */
.cart-actions-row {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cart-checkout-btn {
    font-size: 16px;
    padding: 14px 32px;
}

@media (max-width: 560px) {
    .cart-actions-row {
        flex-direction: column;
        gap: 10px;
    }

    .cart-actions-row .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .cart-checkout-btn {
        font-size: 15px;
        padding: 13px 20px;
        order: -1;
        /* Checkout button first on mobile */
    }
}

/* Simple table styles for cart */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 10px;
    text-align: left;
}

.table th {
    color: #334155;
    font-weight: 700;
}

.text-right {
    text-align: right;
}

.muted {
    color: #64748b;
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

.checkout-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 60px 20px;
    min-height: 100vh;
}

.checkout-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Checkout Header */
.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.checkout-title i {
    color: var(--primary);
    font-size: 2.2rem;
}

/* Progress Steps */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
    position: relative;
}

.step.active {
    opacity: 1;
}

.step i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.step.active i {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.step span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

/* Checkout Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: start;
}

/* Checkout Main Form */
.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Alert */
.checkout-alert {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-alert i {
    font-size: 22px;
    margin-top: 2px;
}

.checkout-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.checkout-alert ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.checkout-alert li {
    margin: 4px 0;
}

/* Checkout Card */
.checkout-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.checkout-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.checkout-card-header {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: var(--white);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-card-header i {
    font-size: 22px;
    color: var(--primary);
}

.checkout-card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.checkout-card-body {
    padding: 24px;
}

/* Form Styles */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.form-group {
    margin-bottom: 0;
}

.checkout-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 14px;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.checkout-input,
.checkout-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: var(--white);
    color: var(--dark);
    font-family: inherit;
}

.checkout-input:focus,
.checkout-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.checkout-input.error,
.checkout-textarea.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.checkout-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkout-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--gray);
    font-style: italic;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.payment-option:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

.payment-option input[type="radio"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.payment-option input[type="radio"]:checked~.payment-option-content {
    color: var(--dark);
}

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.payment-option-content {
    flex: 1;
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.payment-option-header i {
    color: var(--primary);
    font-size: 18px;
}

.payment-option-header strong {
    font-size: 16px;
    color: var(--dark);
}

.payment-badge {
    background: linear-gradient(135deg, var(--primary), #00a0c7);
    color: var(--dark);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: auto;
}

.payment-option small {
    color: var(--gray);
    font-size: 13px;
}

/* Coupon Group */
.coupon-group {
    display: flex;
    gap: 10px;
}

.coupon-group .checkout-input {
    flex: 1;
}

.btn-coupon {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 15px;
}

.btn-coupon:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.coupon-suggestions {
    margin-top: 10px;
    padding: 10px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.coupon-suggestions small {
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-suggestions i {
    color: var(--primary);
}

/* Submit Button */
.checkout-submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #00a0c7 100%);
    color: var(--dark);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

.checkout-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 212, 255, 0.6);
}

.checkout-submit-btn:active {
    transform: translateY(-1px);
}

/* Security Badge */
.checkout-security {
    text-align: center;
    padding: 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    color: #065f46;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.checkout-security i {
    color: #10b981;
    font-size: 18px;
}

/* Order Summary Sidebar */
.checkout-sidebar {
    position: sticky;
    top: 100px;
}

.order-summary {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.order-summary-header {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: var(--white);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-summary-header i {
    color: var(--primary);
    font-size: 22px;
}

.order-summary-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.order-items {
    padding: 20px 24px;
    max-height: 400px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    font-size: 15px;
}

.order-item-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--gray);
}

.order-item-price {
    font-weight: 500;
}

.order-item-qty {
    color: var(--primary);
    font-weight: 600;
}

.order-item-total {
    font-weight: 700;
    color: var(--dark);
    font-size: 16px;
    white-space: nowrap;
}

.order-summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 0 24px;
}

.order-totals {
    padding: 20px 24px;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--dark);
}

.order-total-row.discount {
    color: #10b981;
    font-weight: 600;
}

.order-total-row.discount i {
    margin-right: 4px;
}

.order-grand-total {
    padding: 20px 24px;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

.order-grand-total span:last-child {
    color: var(--primary);
}

.order-features {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.order-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
}

.order-feature i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .checkout-grid {
        grid-template-columns: 1fr 380px;
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-sidebar {
        position: static;
        order: -1;
    }

    .checkout-title {
        font-size: 2rem;
    }

    .checkout-steps {
        gap: 20px;
    }

    .step span {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 40px 16px;
    }

    .checkout-title {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 10px;
    }

    .checkout-steps {
        gap: 15px;
    }

    .step i {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-card-header {
        padding: 16px 20px;
    }

    .checkout-card-body {
        padding: 20px;
    }

    .coupon-group {
        flex-direction: column;
    }

    .btn-coupon {
        width: 100%;
        justify-content: center;
    }

    .checkout-submit-btn {
        font-size: 1rem;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .checkout-section {
        padding: 30px 12px;
    }

    .checkout-title {
        font-size: 1.5rem;
    }

    .checkout-title i {
        font-size: 1.8rem;
    }

    .checkout-steps {
        gap: 10px;
    }

    .step i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step span {
        font-size: 11px;
    }

    .checkout-card-header h2 {
        font-size: 1.1rem;
    }

    .checkout-card-body {
        padding: 16px;
    }

    .checkout-input,
    .checkout-textarea {
        font-size: 16px;
    }

    .order-grand-total {
        font-size: 1.1rem;
    }
}