/* ================= ENTERPARTNER SHOP – ARCULATI CSS ================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

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

body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: #0b1220;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-body {
    display: block;
    align-items: initial;
    justify-content: initial;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .15s ease;
}

a.nav-btn,
a.btn-primary,
a.choice-card .badge {
    color: #ffffff !important;
}

/* ================= AUTH CONTAINER ================= */

.auth-container {
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 18px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    margin: 1rem;
    box-shadow: 0 24px 60px rgba(11, 18, 32, 0.1);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0b1220;
}

/* ================= FORM ================= */

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(11, 18, 32, 0.62);
}

.form-group input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(11, 18, 32, 0.12);
    border-radius: 12px;
    background: #ffffff;
    color: rgba(11, 18, 32, 0.9);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-group input:focus {
    border-color: rgba(0, 40, 76, 0.28);
    box-shadow: 0 0 0 4px rgba(0, 40, 76, 0.08);
}

.form-group input::placeholder {
    color: rgba(11, 18, 32, 0.4);
}

/* ================= BUTTONS ================= */

.btn {
    width: 100%;
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: rgba(0, 40, 76, 0.95);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
    box-shadow: 0 10px 30px rgba(0, 40, 76, 0.2);
}

.btn:hover {
    background: rgba(0, 40, 76, 1);
}

/* ================= ALERTS ================= */

.alert {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: 600;
}

.alert.error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #c0392b;
}

.alert.success {
    background: rgba(40, 167, 69, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #27ae60;
}

/* ================= LINK ================= */

.link {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 14px;
    color: rgba(11, 18, 32, 0.62);
}

.link a {
    color: rgba(0, 40, 76, 0.95);
    font-weight: 600;
    text-decoration: none;
}

.link a:hover {
    color: rgba(255, 129, 61, 0.95);
}

/* ================= REGISTER CHOICE ================= */

.choice-container {
    display: flex;
    gap: 1.5rem;
    max-width: 700px;
    width: 100%;
    margin: 1rem;
}

.choice-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    color: #0b1220;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.choice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(11, 18, 32, 0.12);
    border-color: rgba(0, 40, 76, 0.25);
}

.choice-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.choice-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.choice-card p {
    color: rgba(11, 18, 32, 0.72);
    font-size: 15px;
    line-height: 1.6;
}

.choice-card .badge {
    display: inline-block;
    margin-top: 1.2rem;
    background: rgba(0, 40, 76, 0.95);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 40, 76, 0.2);
    transition: background .15s ease;
}

.choice-card:hover .badge {
    background: rgba(255, 129, 61, 0.95);
    box-shadow: 0 10px 30px rgba(255, 129, 61, 0.2);
}

@media (max-width: 600px) {
    .choice-container {
        flex-direction: column;
    }
}

/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 18, 32, 0.08);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(11, 18, 32, 0.95);
}

.navbar .user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar .user-info span {
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 18, 32, 0.72);
}

.navbar a {
    color: rgba(0, 40, 76, 0.95);
    font-size: 14px;
    font-weight: 600;
}

.navbar a:hover {
    color: rgba(255, 129, 61, 0.95);
}

/* ================= MAIN CONTENT ================= */

.main {
    margin-top: 80px;
    text-align: center;
    padding: 2rem;
}

.main h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 0.5rem;
    color: #0b1220;
}

.main p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(11, 18, 32, 0.7);
}

/* ================= TYPE SELECTOR ================= */

.type-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.type-selector label {
    flex: 1;
    text-align: center;
    padding: 0.6rem;
    border: 1px solid rgba(11, 18, 32, 0.12);
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 18, 32, 0.62);
    transition: all .15s ease;
    text-transform: none;
    letter-spacing: normal;
}

.type-selector input { display: none; }

.type-selector input:checked + label {
    border-color: rgba(0, 40, 76, 0.3);
    color: rgba(0, 40, 76, 0.95);
    background: rgba(0, 40, 76, 0.05);
}

.company-fields { display: none; }
.company-fields.active { display: block; }

/* ================= NAV RIGHT ================= */

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

.nav-user {
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 18, 32, 0.72);
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 18, 32, 0.78);
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all .15s ease;
}

.nav-link:hover {
    background: rgba(11, 18, 32, 0.04);
    border-color: rgba(11, 18, 32, 0.08);
    color: rgba(11, 18, 32, 0.95);
}

.nav-btn {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(0, 40, 76, 0.95);
    padding: 8px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 40, 76, 0.15);
    transition: all .15s ease;
}

.nav-btn:hover {
    background: rgba(0, 40, 76, 1);
    color: #ffffff;
}

/* ================= HERO SECTION ================= */

.hero {
    padding-top: 110px;
    padding-bottom: 80px;
    background:
        radial-gradient(900px 450px at 10% 15%, rgba(255, 129, 61, 0.18), transparent 60%),
        radial-gradient(900px 450px at 85% 20%, rgba(0, 40, 76, 0.20), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-kicker {
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(11, 18, 32, 0.65);
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(11, 18, 32, 0.75);
    max-width: 60ch;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    height: 44px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 40, 76, 0.95);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 40, 76, 0.2);
    transition: all .15s ease;
}

.btn-primary:hover {
    background: rgba(0, 40, 76, 1);
    color: #ffffff;
}

.btn-secondary {
    height: 44px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 18, 32, 0.2);
    color: rgba(11, 18, 32, 0.9);
    background: transparent;
    transition: all .15s ease;
}

.btn-secondary:hover {
    background: rgba(11, 18, 32, 0.05);
    border-color: rgba(11, 18, 32, 0.3);
}

/* ================= SECTIONS ================= */

.section {
    padding: 90px 0;
}

.section-alt {
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
    border-top: 1px solid rgba(11, 18, 32, 0.06);
}

.section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(11, 18, 32, 0.7);
}

/* ================= PROMO CARDS ================= */

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

.promo-card {
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 18px;
    padding: 28px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(11, 18, 32, 0.12);
}

.promo-card.highlight {
    border-color: rgba(255, 129, 61, 0.45);
    box-shadow: 0 12px 30px rgba(255, 129, 61, 0.12);
}

.promo-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 129, 61, 0.1);
    border: 1px solid rgba(255, 129, 61, 0.22);
    color: rgba(255, 129, 61, 0.95);
    margin-bottom: 14px;
}

.promo-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: rgba(11, 18, 32, 0.95);
}

.promo-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(11, 18, 32, 0.72);
}

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

/* ================= PRODUCT CARDS ================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(11, 18, 32, 0.12);
}

.product-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f6f8fb;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 40, 76, 0.06), rgba(255, 129, 61, 0.08));
}

.product-img-placeholder span {
    font-size: 64px;
    opacity: 0.5;
}

.product-info {
    padding: 20px 24px 24px;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: rgba(11, 18, 32, 0.95);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(11, 18, 32, 0.65);
    margin-bottom: 16px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: rgba(0, 40, 76, 0.95);
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    background: rgba(0, 40, 76, 0.95);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 40, 76, 0.18);
    transition: all .15s ease;
}

.product-btn:hover {
    background: rgba(255, 129, 61, 0.95);
    box-shadow: 0 8px 20px rgba(255, 129, 61, 0.18);
    color: #ffffff !important;
}

/* ================= BREADCRUMB ================= */

.breadcrumb-bar {
    margin-top: 58px;
    padding: 14px 0;
    background: #f6f8fb;
    border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}

.breadcrumb-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 13px;
    color: rgba(11, 18, 32, 0.5);
}

.breadcrumb-inner a {
    color: rgba(0, 40, 76, 0.8);
    font-weight: 600;
    transition: color .15s ease;
}

.breadcrumb-inner a:hover {
    color: rgba(255, 129, 61, 0.95);
}

.breadcrumb-sep {
    margin: 0 8px;
    color: rgba(11, 18, 32, 0.3);
}

.breadcrumb-current {
    color: rgba(11, 18, 32, 0.7);
    font-weight: 600;
}

/* ================= PRODUCT DETAIL ================= */

.product-detail {
    max-width: 1100px;
    margin: 32px auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.product-detail-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    background: #f6f8fb;
    border: 1px solid rgba(11, 18, 32, 0.1);
    position: sticky;
    top: 80px;
}

.product-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.product-detail-img:hover img {
    transform: scale(1.03);
}

.product-detail-img .product-img-placeholder {
    border-radius: 0;
}

.product-detail-body h1 {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #0b1220;
}

.detail-price {
    font-size: 34px;
    font-weight: 800;
    color: rgba(0, 40, 76, 0.95);
    margin-bottom: 20px;
}

.detail-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(11, 18, 32, 0.68);
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

.detail-meta {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-meta-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(11, 18, 32, 0.45);
    min-width: 120px;
}

.detail-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 18, 32, 0.8);
}

.detail-in-stock {
    color: #27ae60;
}

.detail-cart-form {
    margin-bottom: 24px;
    padding: 24px;
    background: #f6f8fb;
    border-radius: 16px;
    border: 1px solid rgba(11, 18, 32, 0.06);
}

.detail-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.detail-qty-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 18, 32, 0.6);
}

.detail-add-btn {
    width: 100%;
    height: 50px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 40, 76, 0.7);
    transition: color .15s ease;
}

.detail-back-link::before {
    content: "\2190";
}

.detail-back-link:hover {
    color: rgba(255, 129, 61, 0.95);
}

@media (max-width: 700px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 24px;
    }

    .product-detail-img {
        position: static;
    }
}

/* ================= ABOUT CARDS ================= */

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

.about-card {
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 18px;
    padding: 28px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(11, 18, 32, 0.12);
}

.about-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: rgba(11, 18, 32, 0.95);
}

.about-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(11, 18, 32, 0.72);
}

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

/* ================= STATS ================= */

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 18px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(0, 40, 76, 0.95);
}

.stat-label {
    font-size: 14px;
    color: rgba(11, 18, 32, 0.62);
}

@media (max-width: 600px) {
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}

/* ================= FOOTER ================= */

.site-footer {
    background: #0b1220;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.70);
    padding: 18px 0;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    font-size: 13px;
}

.footer-right {
    color: rgba(255, 255, 255, 0.60);
}

/* ================= CART BADGE ================= */

.nav-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-cart-active {
    color: rgba(0, 40, 76, 0.95) !important;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 129, 61, 0.95);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.product-cart-btn {
    background: rgba(255, 129, 61, 0.95) !important;
    box-shadow: 0 8px 20px rgba(255, 129, 61, 0.18) !important;
}

.product-cart-btn:hover {
    background: rgba(255, 129, 61, 1) !important;
}

/* ================= CART PAGE ================= */

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-icon {
    margin-bottom: 16px;
}

.cart-empty p {
    font-size: 17px;
    color: rgba(11, 18, 32, 0.5);
}

.cart-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 14px;
    transition: box-shadow .15s ease;
}

.cart-row:hover {
    box-shadow: 0 8px 24px rgba(11, 18, 32, 0.08);
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #f6f8fb;
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    opacity: 0.4;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.95);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 13px;
    color: rgba(11, 18, 32, 0.55);
}

.cart-item-qty {
    flex-shrink: 0;
}

.qty-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(11, 18, 32, 0.15);
    background: #ffffff;
    color: rgba(11, 18, 32, 0.7);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}

.qty-btn:first-of-type {
    border-radius: 8px 0 0 8px;
}

.qty-btn:last-of-type {
    border-radius: 0 8px 8px 0;
}

.qty-btn:hover {
    background: rgba(0, 40, 76, 0.06);
    border-color: rgba(0, 40, 76, 0.25);
}

.qty-value {
    width: 36px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(11, 18, 32, 0.15);
    border-bottom: 1px solid rgba(11, 18, 32, 0.15);
    font-size: 14px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.9);
    background: #ffffff;
}

.cart-item-subtotal {
    font-size: 16px;
    font-weight: 800;
    color: rgba(0, 40, 76, 0.95);
    white-space: nowrap;
    min-width: 90px;
    text-align: right;
}

.cart-item-remove {
    flex-shrink: 0;
}

.remove-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(220, 53, 69, 0.08);
    color: #c0392b;
    font-size: 20px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}

.remove-btn:hover {
    background: rgba(220, 53, 69, 0.18);
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 14px;
}

.cart-total {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.8);
}

.cart-total-price {
    font-size: 24px;
    font-weight: 800;
    color: rgba(0, 40, 76, 0.95);
}

/* ================= CHECKOUT BUTTON ================= */

.cart-checkout {
    margin-top: 20px;
    text-align: right;
}

.btn-checkout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #00284c, #004080);
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    box-shadow: 0 4px 16px rgba(0, 40, 76, 0.25);
    text-decoration: none;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #003d73, #0059b3);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 40, 76, 0.35);
}

.btn-checkout:active {
    transform: translateY(0);
}

/* ================= PREVIOUS ORDER BANNER ================= */

.prev-order-banner {
    margin-bottom: 28px;
    animation: slideDown .3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.prev-order-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(0, 64, 128, 0.04), rgba(0, 64, 128, 0.08));
    border: 2px solid rgba(0, 64, 128, 0.2);
    border-radius: 14px;
}

.prev-order-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 64, 128, 0.1);
    border-radius: 10px;
    color: #004080;
    flex-shrink: 0;
}

.prev-order-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prev-order-text strong {
    font-size: 15px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.85);
}

.prev-order-text span {
    font-size: 13px;
    color: rgba(11, 18, 32, 0.55);
}

.prev-order-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.prev-order-use {
    padding: 10px 20px;
    background: linear-gradient(135deg, #00284c, #004080);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 2px 8px rgba(0, 40, 76, 0.2);
}

.prev-order-use:hover {
    background: linear-gradient(135deg, #003d73, #0059b3);
    box-shadow: 0 4px 14px rgba(0, 40, 76, 0.3);
}

.prev-order-dismiss {
    padding: 10px 16px;
    background: transparent;
    color: rgba(11, 18, 32, 0.5);
    font-size: 13px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    border: 1px solid rgba(11, 18, 32, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
}

.prev-order-dismiss:hover {
    background: rgba(11, 18, 32, 0.04);
    color: rgba(11, 18, 32, 0.7);
}

@media (max-width: 700px) {
    .prev-order-inner {
        flex-direction: column;
        text-align: center;
    }

    .prev-order-actions {
        flex-direction: column;
        width: 100%;
    }

    .prev-order-use,
    .prev-order-dismiss {
        width: 100%;
    }
}

/* ================= CHECKOUT PAGE - 4 STEP WIZARD ================= */

.checkout-error {
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #e74c3c;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 15px;
}

/* Steps bar */
.steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
    padding: 24px 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    cursor: default;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    background: #f0f0f0;
    color: rgba(11, 18, 32, 0.35);
    border: 2px solid rgba(11, 18, 32, 0.1);
    transition: all .3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #00284c, #004080);
    color: #ffffff;
    border-color: #004080;
    box-shadow: 0 4px 12px rgba(0, 40, 76, 0.3);
}

.step.done .step-number {
    background: #27ae60;
    color: #ffffff;
    border-color: #27ae60;
}

.step-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(11, 18, 32, 0.35);
    white-space: nowrap;
    transition: color .3s ease;
}

.step.active .step-label {
    color: rgba(0, 40, 76, 0.9);
}

.step.done .step-label {
    color: #27ae60;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(11, 18, 32, 0.1);
    margin: 0 12px;
    margin-bottom: 26px;
    min-width: 40px;
    max-width: 120px;
}

/* Step card */
.checkout-step-card {
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.checkout-step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.85);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form inputs */
.checkout-step-card .form-group {
    margin-bottom: 18px;
    flex: 1;
}

.checkout-step-card label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 18, 32, 0.65);
    margin-bottom: 6px;
}

.checkout-step-card input[type="text"],
.checkout-step-card input[type="email"],
.checkout-step-card input[type="tel"],
.checkout-step-card textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    border: 1px solid rgba(11, 18, 32, 0.15);
    border-radius: 10px;
    background: #fafafa;
    color: #0b1220;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.checkout-step-card input:focus,
.checkout-step-card textarea:focus {
    outline: none;
    border-color: rgba(0, 40, 76, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 40, 76, 0.1);
}

.checkout-step-card textarea {
    resize: vertical;
}

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

/* Option cards (shipping/payment) */
.option-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-card {
    cursor: pointer;
    display: block;
}

.option-card input[type="radio"] {
    display: none;
}

.option-card-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 2px solid rgba(11, 18, 32, 0.1);
    border-radius: 12px;
    background: #fafafa;
    transition: all .2s ease;
}

.option-card input:checked + .option-card-inner {
    border-color: #004080;
    background: rgba(0, 64, 128, 0.04);
    box-shadow: 0 2px 12px rgba(0, 40, 76, 0.12);
}

.option-card:hover .option-card-inner {
    border-color: rgba(0, 64, 128, 0.4);
}

.option-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 40, 76, 0.06);
    border-radius: 10px;
    flex-shrink: 0;
    color: rgba(0, 40, 76, 0.7);
}

.option-card input:checked + .option-card-inner .option-card-icon {
    background: rgba(0, 64, 128, 0.12);
    color: #004080;
}

.option-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.option-card-text strong {
    font-size: 16px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.85);
}

.option-card-text small {
    font-size: 13px;
    color: rgba(11, 18, 32, 0.5);
}

.option-card-price {
    font-size: 16px;
    font-weight: 700;
    color: rgba(0, 40, 76, 0.9);
    white-space: nowrap;
}

/* Step buttons */
.step-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 700px;
    margin: 24px auto 0;
    gap: 16px;
}

.btn-step-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #00284c, #004080);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 3px 12px rgba(0, 40, 76, 0.2);
    text-decoration: none;
}

.btn-step-next:hover {
    background: linear-gradient(135deg, #003d73, #0059b3);
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(0, 40, 76, 0.3);
}

.btn-step-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    background: transparent;
    color: rgba(11, 18, 32, 0.6);
    font-size: 15px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    border-radius: 10px;
    border: 1px solid rgba(11, 18, 32, 0.15);
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}

.btn-step-back:hover {
    background: rgba(11, 18, 32, 0.04);
    border-color: rgba(11, 18, 32, 0.25);
    color: rgba(11, 18, 32, 0.8);
}

/* Review section (step 4) */
.review-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

.review-section:last-of-type {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-edit {
    font-size: 13px;
    font-weight: 600;
    color: #004080;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    text-decoration: none;
    transition: color .15s ease;
}

.review-edit:hover {
    color: #0059b3;
    text-decoration: underline;
}

.review-data {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(11, 18, 32, 0.75);
}

.review-data em {
    color: rgba(11, 18, 32, 0.5);
    font-style: italic;
}

.review-totals {
    margin-top: 16px;
}

/* Checkout items (reused) */
.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    color: rgba(11, 18, 32, 0.7);
}

.checkout-item-name small {
    color: rgba(11, 18, 32, 0.4);
    font-weight: 600;
}

.checkout-item-price {
    font-weight: 600;
    white-space: nowrap;
}

.checkout-divider {
    height: 1px;
    background: rgba(11, 18, 32, 0.1);
    margin: 8px 0;
}

.checkout-total-row {
    font-size: 18px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.9);
}

.checkout-total-price {
    font-size: 22px;
    font-weight: 800;
    color: rgba(0, 40, 76, 0.95);
}

@media (max-width: 768px) {
    .steps-bar {
        gap: 0;
        padding: 16px 0;
    }

    .step-label {
        font-size: 11px;
    }

    .step-number {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .step-line {
        min-width: 20px;
        margin: 0 6px;
    }

    .checkout-step-card {
        padding: 24px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .option-card-inner {
        padding: 14px 16px;
    }
}

/* ================= PROFILE PAGE ================= */

.profile-alert {
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 24px;
}

.profile-success {
    background: #f0faf4;
    color: #1a7a3a;
    border: 1px solid #27ae60;
}

.profile-error {
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #e74c3c;
}

.profile-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    border-bottom: 2px solid rgba(11, 18, 32, 0.08);
    padding-bottom: 0;
}

.profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    color: rgba(11, 18, 32, 0.5);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    margin-bottom: -2px;
}

.profile-tab:hover {
    color: rgba(11, 18, 32, 0.75);
}

.profile-tab.active {
    color: #004080;
    border-bottom-color: #004080;
}

.profile-card {
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
}

.profile-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.85);
    margin-bottom: 20px;
}

.profile-form .form-group {
    margin-bottom: 18px;
    flex: 1;
}

.profile-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 18, 32, 0.65);
    margin-bottom: 6px;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"],
.profile-form input[type="password"],
.profile-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    border: 1px solid rgba(11, 18, 32, 0.15);
    border-radius: 10px;
    background: #fafafa;
    color: #0b1220;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.profile-form input:focus,
.profile-form textarea:focus {
    outline: none;
    border-color: rgba(0, 40, 76, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 40, 76, 0.1);
}

.profile-actions {
    max-width: 700px;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: rgba(11, 18, 32, 0.45);
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: rgba(11, 18, 32, 0.75);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #004080;
    cursor: pointer;
}

/* Irányítószám → település választó */
.zip-city-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    border: 1px solid rgba(0, 64, 128, 0.4);
    border-radius: 10px;
    background: #fafafa;
    color: #0b1220;
    cursor: pointer;
    margin-top: 6px;
    transition: border-color .2s ease, box-shadow .2s ease;
    appearance: auto;
}

.zip-city-select:focus {
    outline: none;
    border-color: rgba(0, 40, 76, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 40, 76, 0.1);
}

@media (max-width: 768px) {
    .profile-tabs {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }

    .profile-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
        margin-bottom: 0;
        padding: 12px 18px;
    }

    .profile-tab.active {
        border-bottom-color: transparent;
        border-left-color: #004080;
        background: rgba(0, 64, 128, 0.04);
    }

    .profile-card {
        padding: 24px 20px;
    }
}

@media (max-width: 640px) {
    .cart-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cart-item-info {
        flex: 1 1 calc(100% - 80px);
    }

    .cart-item-qty,
    .cart-item-subtotal,
    .cart-item-remove {
        flex: 0;
    }

    .cart-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

    .btn-checkout {
        width: 100%;
        justify-content: center;
    }
}
