/* ============================================
   BestVietnameSIM.com — Professional eSIM Store
   Deep Navy + Teal Color Scheme
   ============================================ */
:root {
    --primary: #00B4D8;
    --primary-light: #90E0EF;
    --primary-lighter: #E8F8FD;
    --primary-dark: #0077B6;
    --primary-deep: #023E8A;
    --primary-gradient: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
    --accent: #FF6B35;
    --accent-hover: #E85A25;
    --accent-gradient: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --success: #10B981;
    --bg-body: #F0F4F8;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-section-alt: #F0F4F8;
    --bg-dark: #0B1D3A;
    --bg-dark-lighter: #122B4E;
    --text-dark: #0B1D3A;
    --text-body: #475569;
    --text-muted: #94A3B8;
    --text-light: #FFFFFF;
    --border-color: #E2E8F0;
    --border-light: #EEF2F7;
    --shadow-sm: 0 1px 3px rgba(11,29,58,.06),0 1px 2px rgba(11,29,58,.04);
    --shadow-md: 0 4px 16px rgba(11,29,58,.08);
    --shadow-lg: 0 10px 40px rgba(11,29,58,.12);
    --shadow-card: 0 2px 12px rgba(0,180,216,.08);
    --shadow-card-hover: 0 12px 36px rgba(0,180,216,.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --transition: all .3s cubic-bezier(.4,0,.2,1);
    --font-heading: 'Plus Jakarta Sans',sans-serif;
    --font-body: 'Inter',sans-serif;
    --container-max: 1280px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition)
}

ul, ol {
    list-style: none
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.25;
    font-weight: 700
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,180,216,.3)
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(0,180,216,.4)
    }

.btn-accent {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255,107,53,.3)
}

    .btn-accent:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(255,107,53,.4)
    }

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary)
}

    .btn-outline:hover {
        background: var(--primary);
        color: #fff
    }

.btn-white {
    background: #fff;
    color: var(--text-dark);
    border-color: #fff;
    box-shadow: var(--shadow-md)
}

    .btn-white:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg)
    }

.btn-sm {
    padding: 8px 18px;
    font-size: 13px
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px
}

/* Top Bar */
.top-bar {
    background: var(--bg-dark);
    color: rgba(255,255,255,.8);
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1001
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px
}

    .top-bar-left a {
        display: flex;
        align-items: center;
        gap: 6px;
        color: rgba(255,255,255,.75)
    }

        .top-bar-left a:hover {
            color: var(--primary-light)
        }

    .top-bar-left i {
        color: var(--primary);
        font-size: 13px
    }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.75);
    cursor: pointer
}

    .lang-switcher:hover {
        color: var(--primary-light)
    }

    .lang-switcher select {
        background: transparent;
        color: inherit;
        border: none;
        outline: none;
        cursor: pointer;
        appearance: none;
        font-size: 13px;
        padding-right: 14px
    }

    .lang-switcher option {
        color: var(--text-dark);
        background: #fff
    }

.social-links {
    display: flex;
    gap: 12px
}

    .social-links a {
        color: rgba(255,255,255,.5);
        font-size: 13px
    }

        .social-links a:hover {
            color: var(--primary)
        }

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm)
}

    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: var(--header-height);
        gap: 28px
    }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,180,216,.3)
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -.01em;
    line-height: 1.2
}

    .logo-text span {
        color: var(--primary-dark)
    }

.logo-domain {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    letter-spacing: .02em
}

/* Nav */
.main-nav {
    flex: 1
}

.mobile-nav-header {
    display: none
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px
}

.nav-item {
    position: relative
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition)
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary-dark);
        background: var(--primary-lighter)
    }

    .nav-link i.fa-chevron-down {
        font-size: 9px;
        transition: var(--transition)
    }

.nav-item:hover > .nav-link i.fa-chevron-down {
    transform: rotate(180deg)
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    transition: var(--transition)
}

    .dropdown-menu a:hover {
        background: var(--primary-lighter);
        color: var(--primary-dark)
    }

    .dropdown-menu a i {
        width: 18px;
        text-align: center;
        color: var(--primary);
        font-size: 13px
    }

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 8px
}

.mega-dropdown {
    min-width: 560px;
    padding: 20px
}

    .mega-dropdown .mega-grid {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 4px
    }

    .mega-dropdown .mega-title {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 11px;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: .1em;
        padding: 8px 14px 4px;
        grid-column: span 2
    }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0
}

.search-toggle, .mini-cart-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: 17px;
    transition: var(--transition)
}

    .search-toggle:hover, .mini-cart-toggle:hover {
        background: var(--primary-lighter);
        color: var(--primary-dark)
    }

.header-search {
    position: relative
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100
}

    .search-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }

    .search-dropdown input {
        width: 100%;
        padding: 10px 14px;
        border: 2px solid var(--border-color);
        border-radius: var(--radius-sm);
        outline: none;
        font-size: 14px;
        transition: var(--transition)
    }

        .search-dropdown input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0,180,216,.12)
        }

.mini-cart-toggle {
    position: relative;
    cursor: pointer
}

.mini-cart-toggle.cart-empty {
    opacity: .45;
    cursor: default
}

.cart-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff
}

.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100
}

    .mini-cart-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 14px
}

    .mini-cart-header h4 {
        font-size: 15px
    }

.cart-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light)
}

    .cart-item:last-child {
        border-bottom: none
    }

.cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0
}

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

.cart-item-info {
    flex: 1
}

    .cart-item-info h5 {
        font-size: 13px;
        margin-bottom: 3px
    }

    .cart-item-info .cart-item-meta {
        font-size: 12px;
        color: var(--text-muted)
    }

.cart-item-price {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 14px;
    white-space: nowrap
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    margin-top: 6px;
    font-weight: 700;
    font-size: 15px
}

    .cart-total span:last-child {
        color: var(--primary-dark);
        font-size: 17px
    }

.mini-cart-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px
}

    .mini-cart-actions .btn {
        flex: 1;
        padding: 9px 14px;
        font-size: 13px
    }

.auth-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-sm);
    transition: var(--transition)
}

.login-btn {
    color: var(--text-dark)
}

    .login-btn:hover {
        background: var(--primary-lighter);
        color: var(--primary-dark)
    }

.register-btn {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,180,216,.3)
}

    .register-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(0,180,216,.4)
    }

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 20px;
    color: var(--text-dark);
    transition: var(--transition)
}

    .mobile-menu-toggle:hover {
        background: var(--primary-lighter)
    }

.header.nav-open {
    z-index: 2500
}

/* Hero */
.hero-slider {
    position: relative;
    overflow: hidden
}

.hero-slide {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center
}

    .hero-slide::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,rgba(11,29,58,.85) 0%,rgba(11,29,58,.5) 50%,rgba(11,29,58,.3) 100%)
    }

    .hero-slide .container {
        position: relative;
        z-index: 2
    }

.hero-content {
    max-width: 580px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0,180,216,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,180,216,.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 18px
}

.hero-title {
    font-size: clamp(2rem,5vw,3.2rem);
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.15;
    letter-spacing: -.02em
}

    .hero-title span {
        color: var(--primary-light)
    }

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,.8);
    margin-bottom: 28px;
    line-height: 1.7
}

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

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 44px
}

.hero-stat {
    text-align: center
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-light)
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    margin-top: 2px
}

.hero-slider .swiper-pagination {
    bottom: 28px !important
}

.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,.35);
    opacity: 1;
    transition: var(--transition)
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 32px;
    border-radius: 5px
}

.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    transition: var(--transition)
}

    .hero-slider .swiper-button-next:hover, .hero-slider .swiper-button-prev:hover {
        background: var(--primary)
    }

    .hero-slider .swiper-button-next::after, .hero-slider .swiper-button-prev::after {
        font-size: 16px;
        color: #fff;
        font-weight: 700
    }

/* Sections */
.section {
    padding: 80px 0
}

.section-white {
    background: #fff
}

.section-alt {
    background: var(--bg-section-alt)
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary-dark);
    margin-bottom: 10px;
    padding: 4px 14px;
    background: var(--primary-lighter);
    border-radius: var(--radius-full)
}

.section-title {
    font-size: clamp(1.6rem,3vw,2.3rem);
    margin-bottom: 12px;
    letter-spacing: -.02em
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7
}

/* =============================================
   PLAN CARDS — HOSTING STYLE WITH DESTINATION IMAGE
   ============================================= */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

.plan-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    max-width: 500px
}

    .plan-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-card-hover);
        border-color: rgba(0,180,216,.3)
    }

.plan-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    z-index: 3;
    letter-spacing: .02em
}

    .plan-card-badge.popular {
        background: var(--primary-dark)
    }

.plan-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden
}

    .plan-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease
    }

.plan-card:hover .plan-card-image img {
    transform: scale(1.08)
}

.plan-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(11,29,58,.9) 0%,rgba(11,29,58,.3) 50%,transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px 18px;
    z-index: 2
}

.plan-overlay-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px
}

.plan-overlay-location {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    gap: 5px
}

    .plan-overlay-location i {
        color: var(--primary-light);
        font-size: 11px
    }

.plan-overlay-specs {
    display: flex;
    gap: 8px;
    margin-top: 10px
}

.plan-overlay-spec {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    padding: 5px 10px;
    text-align: center;
    flex: 1
}

.plan-overlay-spec-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: #fff
}

.plan-overlay-spec-label {
    font-size: 10px;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .05em
}

.plan-card-body {
    padding: 18px
}

.plan-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px
}

.plan-card-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-body)
}

    .plan-card-feature i {
        width: 16px;
        text-align: center;
        color: var(--success);
        font-size: 12px
    }

.plan-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light)
}

.plan-price-amount {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark)
}

.plan-price-period {
    font-size: 13px;
    color: var(--text-muted)
}

.plan-price-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 6px
}

/* =============================================
   PRODUCT CARDS — CATEGORY PAGE
   ============================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
    max-width: 500px
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-card-hover);
        border-color: rgba(0,180,216,.3)
    }

.product-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden
}

    .product-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease
    }

.product-card:hover .product-card-image img {
    transform: scale(1.06)
}

.product-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(11,29,58,.92) 0%,rgba(11,29,58,.4) 50%,rgba(11,29,58,.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    z-index: 2
}

    .product-card-image-overlay h3 {
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 3px
    }

    .product-card-image-overlay .product-card-carrier {
        font-size: 12px;
        color: rgba(255,255,255,.65)
    }

.product-overlay-specs {
    display: flex;
    gap: 6px;
    margin-top: 8px
}

.product-overlay-spec {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 5px;
    padding: 4px 10px;
    text-align: center;
    flex: 1
}

    .product-overlay-spec strong {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 14px;
        color: #fff;
        display: block
    }

    .product-overlay-spec span {
        font-size: 10px;
        color: rgba(255,255,255,.6);
        text-transform: uppercase;
        letter-spacing: .04em
    }

.product-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    padding: 3px 10px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full)
}

    .product-card-badge.popular {
        background: var(--primary-dark)
    }

.product-card-body {
    padding: 16px
}

.product-card-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px
}

.product-card-feature-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full)
}

    .product-card-feature-tag i {
        font-size: 10px
    }

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light)
}

.product-card-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark)
}

    .product-card-price .original {
        font-size: 13px;
        color: var(--text-muted);
        text-decoration: line-through;
        font-weight: 500;
        margin-right: 6px
    }

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    position: relative
}

    .steps-grid::before {
        content: '';
        position: absolute;
        top: 44px;
        left: 14%;
        right: 14%;
        height: 2px;
        background: repeating-linear-gradient(90deg,var(--primary) 0px,var(--primary) 6px,transparent 6px,transparent 12px);
        z-index: 0
    }

.step-card {
    text-align: center;
    position: relative;
    z-index: 1
}

.step-number {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    background: var(--primary-lighter);
    border: 3px solid rgba(0,180,216,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition)
}

    .step-number i {
        font-size: 30px;
        color: var(--primary-dark)
    }

.step-card:hover .step-number {
    background: var(--primary);
    border-color: var(--primary-dark);
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(0,180,216,.3)
}

    .step-card:hover .step-number i {
        color: #fff
    }

.step-count {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 6px
}

.step-title {
    font-size: 16px;
    margin-bottom: 8px
}

.step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6
}

/* FAQ */
.faq-grid {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition)
}

    .faq-item.active {
        border-color: rgba(0,180,216,.3);
        box-shadow: var(--shadow-card)
    }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition)
}

    .faq-question:hover {
        color: var(--primary-dark)
    }

    .faq-question i {
        flex-shrink: 0;
        font-size: 12px;
        color: var(--primary);
        transition: var(--transition)
    }

.faq-item.active .faq-question i {
    transform: rotate(180deg)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease
}

.faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition)
}

    .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-card-hover)
    }

.blog-card-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden
}

    .blog-card-img::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,transparent 60%,rgba(0,0,0,.15))
    }

.blog-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 3px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    z-index: 2
}

.blog-card-body {
    padding: 18px 20px
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px
}

    .blog-card-meta span {
        display: flex;
        align-items: center;
        gap: 4px
    }

.blog-card-title {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

    .blog-card-title a:hover {
        color: var(--primary-dark)
    }

.blog-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary-dark)
}

    .blog-card-link:hover {
        gap: 9px;
        color: var(--accent)
    }

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,.65);
    padding: 56px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,.08)
}

.footer-brand .logo-text {
    color: #fff;
    font-size: 20px;
    margin-bottom: 14px
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px
}

.footer-social {
    display: flex;
    gap: 10px
}

    .footer-social a {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,.06);
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: var(--transition)
    }

        .footer-social a:hover {
            background: var(--primary);
            color: #fff
        }

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 18px
}

.footer-col a {
    display: block;
    font-size: 13px;
    padding: 5px 0;
    transition: var(--transition)
}

    .footer-col a:hover {
        color: var(--primary-light);
        padding-left: 4px
    }

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,.4)
}

.footer-payments {
    display: flex;
    gap: 10px;
    align-items: center
}

    .footer-payments i {
        font-size: 26px;
        color: rgba(255,255,255,.35)
    }

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,29,58,.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible
    }

.modal {
    background: #fff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(.92) translateY(16px);
    transition: var(--transition)
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0)
}

.modal-header {
    padding: 24px 28px 0;
    text-align: center
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition)
}

    .modal-close:hover {
        background: var(--primary-lighter);
        color: var(--text-dark)
    }

.modal-title {
    font-size: 22px;
    margin-bottom: 6px
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 14px
}

.modal-body {
    padding: 24px 28px 28px
}

.form-group {
    margin-bottom: 18px
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 6px
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg-body)
}

    .form-input:focus {
        border-color: var(--primary);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(0,180,216,.1)
    }

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-body)
}

    .form-check input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: var(--primary)
    }

.form-link {
    color: var(--primary-dark);
    font-weight: 600
}

    .form-link:hover {
        text-decoration: underline
    }

.form-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 12px
}

    .form-divider::before, .form-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border-color)
    }

.social-auth {
    display: flex;
    gap: 10px
}

.social-auth-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
    transition: var(--transition)
}

    .social-auth-btn:hover {
        border-color: var(--primary);
        background: var(--primary-lighter)
    }

.modal-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-light);
    margin: 18px 0 0
}

.modal-tab {
    flex: 1;
    padding: 10px 14px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition)
}

    .modal-tab.active {
        color: var(--primary-dark);
        border-bottom-color: var(--primary)
    }

.modal-tab-content {
    display: none
}

    .modal-tab-content.active {
        display: block
    }

/* Breadcrumb */
.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px
}

    .breadcrumb a {
        color: var(--text-muted)
    }

        .breadcrumb a:hover {
            color: var(--primary-dark)
        }

.breadcrumb-sep {
    color: var(--text-muted);
    font-size: 9px
}

.breadcrumb-current {
    color: var(--primary-dark);
    font-weight: 600
}

/* Category Layout */
.category-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding: 32px 0 80px
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 14px
}

.category-title {
    font-size: 22px
}

.category-count {
    color: var(--text-muted);
    font-size: 13px
}

.category-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px
}

    .category-sort select {
        padding: 7px 32px 7px 12px;
        border: 2px solid var(--border-color);
        border-radius: var(--radius-sm);
        outline: none;
        font-size: 13px;
        appearance: none;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2394A3B8'/%3E%3C/svg%3E") no-repeat right 10px center;
        background-color: #fff;
        cursor: pointer
    }

        .category-sort select:focus {
            border-color: var(--primary)
        }

/* Sidebar */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    align-self: start
}

.filter-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 20px;
    margin-bottom: 16px
}

.filter-card-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px
}

    .filter-card-title i {
        color: var(--primary);
        font-size: 14px
    }

.filter-group {
    margin-bottom: 12px
}

    .filter-group:last-child {
        margin-bottom: 0
    }

    .filter-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 0;
        font-size: 13px;
        color: var(--text-body);
        cursor: pointer;
        transition: var(--transition)
    }

        .filter-group label:hover {
            color: var(--primary-dark)
        }

    .filter-group input[type="checkbox"], .filter-group input[type="radio"] {
        width: 16px;
        height: 16px;
        accent-color: var(--primary)
    }

    .filter-group .count {
        margin-left: auto;
        font-size: 11px;
        color: var(--text-muted);
        background: var(--bg-body);
        padding: 1px 7px;
        border-radius: var(--radius-full)
    }

.price-range {
    margin-top: 10px
}

.range-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px
}

    .range-inputs input {
        flex: 1;
        padding: 7px 10px;
        border: 2px solid var(--border-color);
        border-radius: var(--radius-sm);
        outline: none;
        font-size: 13px;
        text-align: center
    }

        .range-inputs input:focus {
            border-color: var(--primary)
        }

.range-slider {
    width: 100%;
    appearance: none;
    height: 5px;
    background: var(--primary-light);
    border-radius: 3px;
    outline: none
}

    .range-slider::-webkit-slider-thumb {
        appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--primary);
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0,180,216,.3)
    }

.filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px
}

    .filter-actions .btn {
        flex: 1;
        padding: 9px 14px;
        font-size: 12px
    }

.filter-toggle-mobile {
    display: none;
    width: 100%;
    padding: 10px 18px;
    background: var(--primary-lighter);
    border: 2px solid rgba(0,180,216,.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-dark);
    margin-bottom: 14px
}

    .filter-toggle-mobile i {
        margin-right: 8px
    }

/* Product Detail */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding: 32px 0 80px
}

.product-detail-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden
}

.product-detail-hero {
    position: relative;
    height: 280px;
    overflow: hidden
}

    .product-detail-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.product-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(11,29,58,.9) 0%,rgba(11,29,58,.4) 50%,rgba(11,29,58,.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 32px
}

    .product-detail-hero-overlay h1 {
        font-size: 26px;
        color: #fff;
        margin-bottom: 6px
    }

.product-detail-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #FBBF24
}

    .product-detail-rating span {
        color: rgba(255,255,255,.7);
        font-size: 13px
    }

.product-detail-hero-specs {
    display: flex;
    gap: 8px;
    margin-top: 14px
}

.product-detail-hero-spec {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 8px 16px;
    text-align: center
}

    .product-detail-hero-spec strong {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 16px;
        color: #fff;
        display: block
    }

    .product-detail-hero-spec span {
        font-size: 11px;
        color: rgba(255,255,255,.6);
        text-transform: uppercase
    }

.product-detail-body {
    padding: 28px
}

.product-detail-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-light)
}

.product-detail-price {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark)
}

.product-detail-price-original {
    font-size: 17px;
    color: var(--text-muted);
    text-decoration: line-through
}

.product-detail-discount {
    padding: 3px 10px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full)
}

.plan-options {
    margin-bottom: 22px
}

    .plan-options h3 {
        font-size: 15px;
        margin-bottom: 10px
    }

.plan-option-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px
}

.plan-option {
    padding: 12px 10px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition)
}

    .plan-option:hover {
        border-color: var(--primary)
    }

    .plan-option.active {
        border-color: var(--primary);
        background: var(--primary-lighter);
        box-shadow: 0 0 0 3px rgba(0,180,216,.12)
    }

.plan-option-data {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark)
}

.plan-option-days {
    font-size: 11px;
    color: var(--text-muted)
}

.plan-option-price {
    font-weight: 700;
    font-size: 13px;
    color: var(--primary-dark);
    margin-top: 4px
}

.specs-table {
    width: 100%;
    margin-bottom: 22px
}

    .specs-table tr {
        border-bottom: 1px solid var(--border-light)
    }

    .specs-table td {
        padding: 10px 0;
        font-size: 13px
    }

        .specs-table td:first-child {
            font-weight: 600;
            color: var(--text-dark);
            width: 160px
        }

            .specs-table td:first-child i {
                margin-right: 6px;
                color: var(--primary);
                width: 14px;
                text-align: center
            }

.product-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 22px
}

    .product-actions .btn {
        flex: 1
    }

.qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden
}

    .qty-selector button {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        color: var(--text-body);
        transition: var(--transition)
    }

        .qty-selector button:hover {
            background: var(--primary-lighter);
            color: var(--primary-dark)
        }

    .qty-selector input {
        width: 44px;
        height: 40px;
        text-align: center;
        border: none;
        border-left: 2px solid var(--border-color);
        border-right: 2px solid var(--border-color);
        font-weight: 700;
        font-size: 15px;
        outline: none
    }

.product-features {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    margin-bottom: 22px;
    padding: 18px;
    background: var(--bg-body);
    border-radius: var(--radius-md)
}

.product-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px
}

    .product-feature-item i {
        color: var(--success);
        font-size: 14px
    }

.product-tabs {
    margin-top: 28px
}

.product-tab-nav {
    display: flex;
    border-bottom: 2px solid var(--border-light);
    gap: 2px
}

.product-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition)
}

    .product-tab-btn.active {
        color: var(--primary-dark);
        border-bottom-color: var(--primary)
    }

.tab-icon { display: none }
.tab-text-short { display: none }

.product-tab-content {
    padding: 20px 0;
    display: none
}

    .product-tab-content.active {
        display: block
    }

    .product-tab-content p {
        margin-bottom: 14px;
        line-height: 1.7;
        font-size: 14px
    }

    .product-tab-content ul {
        list-style: none;
        padding: 0
    }

        .product-tab-content ul li {
            padding: 6px 0 6px 22px;
            position: relative;
            font-size: 14px
        }

            .product-tab-content ul li::before {
                content: '✓';
                position: absolute;
                left: 0;
                color: var(--primary-dark);
                font-weight: 700
            }

.related-plan {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    transition: var(--transition);
    align-items: center
}

    .related-plan:hover {
        border-color: rgba(0,180,216,.3);
        background: var(--primary-lighter)
    }

.related-plan-img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0
}

    .related-plan-img img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.related-plan-info h5 {
    font-size: 13px;
    margin-bottom: 2px
}

.related-plan-meta {
    font-size: 11px;
    color: var(--text-muted)
}

.related-plan-price {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 13px;
    margin-top: 3px
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 36px
}

    .pagination a, .pagination span {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 13px;
        color: var(--text-body);
        border: 1px solid var(--border-color);
        transition: var(--transition)
    }

        .pagination a:hover {
            border-color: var(--primary);
            background: var(--primary-lighter);
            color: var(--primary-dark)
        }

    .pagination .active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary)
    }

    .pagination .dots {
        border: none;
        color: var(--text-muted)
    }

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(0,180,216,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 999
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }

    .back-to-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 22px rgba(0,180,216,.45)
    }

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--bg-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px
}

    .toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }

    .toast i {
        color: var(--success)
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease,transform .5s ease
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0)
    }

/* Responsive */
@media(max-width:1024px) {
    .plans-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .steps-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 20px
    }

        .steps-grid::before {
            display: none
        }

    .blog-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 28px
    }

    .category-layout, .product-detail-layout {
        grid-template-columns: 1fr
    }

    .sidebar {
        position: static;
        order: -1
    }

    .mega-dropdown {
        min-width: 100%
    }
}

@media(max-width:768px) {
    :root {
        --header-height: 60px
    }

    .top-bar-left {
        display: none
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        z-index: 2001;
        overflow-y: auto;
        transition: left .3s ease;
        box-shadow: var(--shadow-lg);
        padding: 18px 0
    }

        .main-nav.active {
            left: 0
        }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 14px
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-light)
    }

    .nav-link {
        padding: 12px 8px;
        justify-content: space-between;
        font-size: 15px
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height .35s ease,padding .35s ease;
        background: var(--bg-body);
        margin: 0 -8px
    }

    .nav-item.mobile-open > .dropdown-menu {
        max-height: 600px;
        padding: 6px
    }

    .dropdown-menu a {
        padding: 12px 14px;
        font-size: 14px;
        min-height: 44px
    }

    .mega-dropdown {
        min-width: 100%
    }

        .mega-dropdown .mega-grid {
            grid-template-columns: 1fr
        }

        .mega-dropdown .mega-title {
            grid-column: span 1
        }

    .mobile-menu-toggle {
        display: flex
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition)
    }

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

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px 14px;
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 6px
    }

    .mobile-nav-close {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        font-size: 16px;
        color: var(--text-muted)
    }

    .header-actions .auth-btn {
        display: none
    }

    .search-dropdown {
        position: fixed;
        top: auto;
        left: 16px;
        right: 16px;
        width: auto
    }

    .mini-cart-dropdown {
        position: fixed;
        top: auto;
        left: 16px;
        right: 16px;
        width: auto
    }

    .hero-slide {
        min-height: 400px
    }

    .hero-stats {
        gap: 20px
    }

    .hero-stat-value {
        font-size: 20px
    }

    .section {
        padding: 48px 0
    }

    .section-header {
        margin-bottom: 32px
    }

    .plans-grid {
        grid-template-columns: repeat(2,1fr)
    }

        .plans-grid .plan-card {
            max-width: 100%
        }

    .steps-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 16px
    }

    .blog-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center
    }

    .product-grid {
        grid-template-columns: 1fr
    }

    .product-card {
        max-width: 100%
    }

    .filter-toggle-mobile {
        display: flex;
        align-items: center;
        justify-content: center
    }

    .sidebar-filters-mobile {
        display: none
    }

        .sidebar-filters-mobile.active {
            display: block
        }

    .product-detail-hero {
        height: 220px
    }

    .product-detail-hero-overlay {
        padding: 20px
    }

        .product-detail-hero-overlay h1 {
            font-size: 20px
        }

    .plan-option-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .product-features {
        grid-template-columns: 1fr
    }

    .product-actions {
        flex-direction: column
    }

    .product-detail-hero-specs {
        flex-wrap: wrap
    }

    .modal {
        max-width: 100%;
        margin: 14px
    }
}

@media(max-width:480px) {
    .container {
        padding: 0 14px
    }

    .hero-slide {
        min-height: 360px
    }

    .hero-content {
        text-align: center
    }

    .hero-actions {
        justify-content: center
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap
    }

    .plan-option-grid {
        grid-template-columns: 1fr
    }

    .plans-grid {
        grid-template-columns: 1fr
    }

    .blog-grid {
        grid-template-columns: 1fr
    }

    .steps-grid {
        grid-template-columns: 1fr
    }

    .product-grid {
        grid-template-columns: 1fr
    }
}

/* ============================================
   CATEGORY PAGE — Enhanced Product Cards
   ============================================ */
.product-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Enhanced Product Card */
.product-card-enhanced {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}
.product-card-enhanced:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 180, 216, 0.3);
}

.product-card-enhanced .pce-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.product-card-enhanced .pce-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card-enhanced:hover .pce-image img {
  transform: scale(1.08);
}
.product-card-enhanced .pce-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 29, 58, 0.95) 0%, rgba(11, 29, 58, 0.4) 50%, rgba(11, 29, 58, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  z-index: 2;
}
.product-card-enhanced .pce-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.product-card-enhanced .pce-carrier {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-card-enhanced .pce-carrier i {
  color: var(--primary-light);
}
.product-card-enhanced .pce-specs-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.product-card-enhanced .pce-spec {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 6px 10px;
  text-align: center;
  flex: 1;
}
.product-card-enhanced .pce-spec strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  display: block;
}
.product-card-enhanced .pce-spec span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-card-enhanced .pce-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
}
.product-card-enhanced .pce-badge.popular {
  background: var(--primary-dark);
}
.product-card-enhanced .pce-badge.sale {
  background: #EF4444;
}

.product-card-enhanced .pce-body {
  padding: 18px;
}

.product-card-enhanced .pce-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.product-card-enhanced .pce-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-body);
}
.product-card-enhanced .pce-feature i {
  width: 16px;
  text-align: center;
  color: var(--success);
  font-size: 12px;
}
.product-card-enhanced .pce-feature.disabled i {
  color: var(--text-muted);
}
.product-card-enhanced .pce-feature.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card-enhanced .pce-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.product-card-enhanced .pce-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--primary-lighter);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.product-card-enhanced .pce-tag i {
  font-size: 10px;
}

.product-card-enhanced .pce-usage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
  background: var(--bg-body);
  border-radius: var(--radius-md);
}
.product-card-enhanced .pce-usage-item {
  text-align: center;
}
.product-card-enhanced .pce-usage-item i {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 4px;
  display: block;
}
.product-card-enhanced .pce-usage-item strong {
  font-size: 13px;
  color: var(--text-dark);
  display: block;
}
.product-card-enhanced .pce-usage-item span {
  font-size: 10px;
  color: var(--text-muted);
}

.product-card-enhanced .pce-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
}
.product-card-enhanced .pce-rating .stars {
  color: #FBBF24;
}
.product-card-enhanced .pce-rating span {
  color: var(--text-muted);
}

.product-card-enhanced .pce-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.product-card-enhanced .pce-price {
  font-family: var(--font-heading);
}
.product-card-enhanced .pce-price-current {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}
.product-card-enhanced .pce-price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
}
.product-card-enhanced .pce-price-period {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

/* Category Responsive */
@media (max-width: 1024px) {
  .product-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .product-grid-3col {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card-enhanced .pce-image {
    height: 140px;
  }
  .product-card-enhanced .pce-name {
    font-size: 14px;
  }
  .product-card-enhanced .pce-spec strong {
    font-size: 13px;
  }
  .product-card-enhanced .pce-body {
    padding: 14px;
  }
  .product-card-enhanced .pce-features {
    gap: 6px;
  }
  .product-card-enhanced .pce-feature {
    font-size: 12px;
  }
  .product-card-enhanced .pce-usage {
    padding: 10px;
    gap: 6px;
  }
  .product-card-enhanced .pce-price-current {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .product-grid-3col {
    gap: 10px;
  }
  .product-card-enhanced .pce-image {
    height: 120px;
  }
  .product-card-enhanced .pce-tags {
    display: none;
  }
  .product-card-enhanced .pce-usage {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card-enhanced .pce-usage-item:last-child {
    display: none;
  }
}


/* ============================================
   CART PAGE
   ============================================ */
.cart-page {
  padding: 40px 0 80px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
}
.cart-main {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h1 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-header h1 i {
  color: var(--primary);
}
.cart-count {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}
.cart-items {
  padding: 0;
}
.cart-item-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}
.cart-item-row:last-child {
  border-bottom: none;
}
.cart-item-image {
  width: 100px;
  height: 75px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 8px;
}
.cart-item-image-overlay span {
  font-size: 10px;
  color: #fff;
  font-weight: 600;
}
.cart-item-details h3 {
  font-size: 15px;
  margin-bottom: 4px;
}
.cart-item-details h3 a {
  color: var(--text-dark);
}
.cart-item-details h3 a:hover {
  color: var(--primary-dark);
}
.cart-item-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cart-item-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cart-item-qty button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-body);
  transition: var(--transition);
}
.cart-item-qty button:hover {
  background: var(--primary-lighter);
  color: var(--primary-dark);
}
.cart-item-qty input {
  width: 40px;
  height: 32px;
  text-align: center;
  border: none;
  border-left: 2px solid var(--border-color);
  border-right: 2px solid var(--border-color);
  font-weight: 600;
  font-size: 14px;
  outline: none;
}
.cart-item-price {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: right;
  min-width: 70px;
}
.cart-item-remove {
  color: var(--text-muted);
  font-size: 16px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.cart-item-remove:hover {
  color: #EF4444;
  background: #FEE2E2;
}
.cart-page .cart-empty {
  padding: 60px 24px;
  text-align: center;
}
.cart-page .cart-empty i {
  font-size: 64px;
  color: var(--border-color);
  margin-bottom: 20px;
}
.cart-page .cart-empty h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.cart-page .cart-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.cart-actions {
  padding: 20px 24px;
  background: var(--bg-body);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cart-actions a {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-actions a:hover {
  text-decoration: underline;
}

.cart-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
}
.summary-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-bottom: 16px;
}
.summary-card h3 {
  font-size: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-card h3 i {
  color: var(--primary);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.summary-row:last-of-type {
  border-bottom: none;
}
.summary-row.total {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--border-light);
  border-bottom: none;
}
.summary-row.total span:last-child {
  color: var(--primary-dark);
  font-size: 22px;
}
.summary-row.discount {
  color: var(--success);
}
.promo-form {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.promo-form input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}
.promo-form input:focus {
  border-color: var(--primary);
}
.promo-form button {
  padding: 10px 16px;
  white-space: nowrap;
}
.promo-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--primary-lighter);
  border-radius: var(--radius-sm);
  margin: 12px 0;
  font-size: 13px;
}
.promo-applied span {
  color: var(--primary-dark);
  font-weight: 600;
}
.promo-applied button {
  color: var(--text-muted);
  font-size: 12px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-body);
}
.trust-badge i {
  color: var(--success);
  font-size: 14px;
}

.upsell-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 20px;
}
.upsell-card h4 {
  font-size: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.upsell-card h4 i {
  color: var(--accent);
}
.upsell-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: var(--transition);
  cursor: pointer;
}
.upsell-item:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
}
.upsell-item:last-child {
  margin-bottom: 0;
}
.upsell-item-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.upsell-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upsell-item-info {
  flex: 1;
}
.upsell-item-info h5 {
  font-size: 13px;
  margin-bottom: 2px;
}
.upsell-item-info p {
  font-size: 11px;
  color: var(--text-muted);
}
.upsell-item-price {
  font-weight: 700;
  font-size: 13px;
  color: var(--primary-dark);
}
.upsell-item-add {
  font-size: 16px;
  color: var(--primary);
  align-self: center;
}

/* Cart Responsive */
@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .cart-item-row {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }
  .cart-item-image {
    width: 80px;
    height: 60px;
  }
  .cart-item-qty,
  .cart-item-price,
  .cart-item-remove {
    grid-column: 2;
  }
  .cart-item-row {
    padding: 16px;
  }
  .cart-item-qty {
    justify-self: start;
  }
  .cart-item-price {
    text-align: left;
  }
}


/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page {
  padding: 40px 0 80px;
  background: var(--bg-body);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
}
.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.checkout-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
}
.checkout-card h2 {
  font-size: 17px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-card h2 .step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.checkout-card h2 i {
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-label .required {
  color: #EF4444;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,180,216,.1);
}
.form-input.error {
  border-color: #EF4444;
}
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.form-error {
  font-size: 12px;
  color: #EF4444;
  margin-top: 4px;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.payment-method:hover {
  border-color: var(--primary-light);
}
.payment-method.active {
  border-color: var(--primary);
  background: var(--primary-lighter);
}
.payment-method input[type="radio"] {
  display: none;
}
.payment-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.payment-method.active .payment-radio {
  border-color: var(--primary);
}
.payment-method.active .payment-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}
.payment-icon {
  font-size: 28px;
  width: 44px;
  text-align: center;
}
.payment-info h4 {
  font-size: 14px;
  margin-bottom: 2px;
}
.payment-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.payment-logos {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.payment-logos i {
  font-size: 24px;
}

.card-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.card-input-wrapper {
  position: relative;
}
.card-input-wrapper i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
}
.terms-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.terms-check a {
  color: var(--primary-dark);
  font-weight: 600;
}

.checkout-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
}
.order-summary {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.order-summary-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-summary-header h3 {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.order-summary-header h3 i {
  color: var(--primary);
}
.order-summary-header a {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
}
.order-items {
  padding: 16px 24px;
}
.order-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.order-item:last-child {
  border-bottom: none;
}
.order-item-img {
  width: 60px;
  height: 45px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.order-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-item-details {
  flex: 1;
}
.order-item-details h4 {
  font-size: 13px;
  margin-bottom: 2px;
}
.order-item-details p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}
.order-item-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}
.order-totals {
  padding: 16px 24px;
  background: var(--bg-body);
}
.order-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
}
.order-totals-row.discount {
  color: var(--success);
}
.order-totals-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  padding-top: 14px;
  margin-top: 6px;
  border-top: 2px solid var(--border-light);
}
.order-totals-row.total span:last-child {
  color: var(--primary-dark);
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: var(--primary-lighter);
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-size: 13px;
  color: var(--primary-dark);
}
.secure-badge i {
  font-size: 18px;
}

.delivery-info {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 20px;
  margin-top: 16px;
}
.delivery-info h4 {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.delivery-info h4 i {
  color: var(--primary);
}
.delivery-step {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.delivery-step:last-child {
  margin-bottom: 0;
}
.delivery-step i {
  color: var(--success);
  margin-top: 2px;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background: var(--bg-body);
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.progress-step.completed {
  color: var(--success);
}
.progress-step.active {
  color: var(--primary-dark);
}
.progress-step-num {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.progress-step.completed .progress-step-num {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.progress-step.active .progress-step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.progress-line {
  width: 40px;
  height: 2px;
  background: var(--border-color);
}
.progress-line.completed {
  background: var(--success);
}

/* Checkout Responsive */
@media (max-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-sidebar {
    position: static;
    order: -1;
  }
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .payment-logos {
    display: none;
  }
}


/* ============================================
   ORDER COMPLETE / SUCCESS PAGE
   ============================================ */
.success-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--bg-body);
}
.success-container {
  max-width: 700px;
  width: 100%;
}
.success-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  text-align: center;
}
.success-header {
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.success-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.success-icon i {
  font-size: 40px;
  color: var(--success);
}
.success-header h1 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 8px;
}
.success-header p {
  color: rgba(255,255,255,.8);
  font-size: 15px;
}
.success-body {
  padding: 32px;
}
.order-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.order-info-item {
  padding: 16px;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  text-align: left;
}
.order-info-item label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.order-info-item span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}
.email-notice {
  padding: 20px;
  background: var(--primary-lighter);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  text-align: left;
}
.email-notice h3 {
  font-size: 15px;
  color: var(--primary-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.email-notice p {
  font-size: 13px;
  color: var(--text-body);
  margin: 0;
}
.qr-preview {
  padding: 28px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}
.qr-preview img {
  width: 160px;
  height: 160px;
  margin: 0 auto 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}
.qr-preview h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.qr-preview p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.next-steps {
  text-align: left;
  margin-bottom: 28px;
}
.next-steps h3 {
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.next-steps h3 i {
  color: var(--primary);
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-body);
  border-radius: var(--radius-md);
}
.step-item-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-item-content h4 {
  font-size: 14px;
  margin-bottom: 2px;
}
.step-item-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.success-order-items {
  text-align: left;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  margin-bottom: 28px;
}
.success-order-items h3 {
  font-size: 15px;
  margin-bottom: 14px;
}
.success-order-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.success-order-item:last-child {
  border-bottom: none;
}
.success-order-item-img {
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.success-order-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.success-order-item-details {
  flex: 1;
}
.success-order-item-details h4 {
  font-size: 14px;
  margin-bottom: 2px;
}
.success-order-item-details p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.success-order-item-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}
.order-total {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
}
.order-total span:last-child {
  color: var(--primary-dark);
}
.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.support-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
}
.support-note a {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Success Page Responsive */
@media (max-width: 600px) {
  .order-info {
    grid-template-columns: 1fr;
  }
  .success-header {
    padding: 32px 20px;
  }
  .success-body {
    padding: 24px 20px;
  }
  .success-actions {
    flex-direction: column;
  }
  .success-actions .btn {
    width: 100%;
  }
}


/* ============================================
   BLOG LISTING PAGE
   ============================================ */
.blog-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-deep) 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.blog-hero h1 {
  font-size: 36px;
  margin-bottom: 12px;
}
.blog-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 28px;
}
.blog-categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-cat-btn {
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
}
.blog-cat-btn:hover,
.blog-cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
}
.blog-cat-btn i {
  margin-right: 6px;
}

.blog-page {
  padding: 50px 0 80px;
  background: var(--bg-body);
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

/* Featured Post */
.featured-post {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.featured-post-image {
  height: 100%;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-post:hover .featured-post-image img {
  transform: scale(1.05);
}
.featured-post-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  width: fit-content;
}
.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.featured-post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.featured-post-title {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.featured-post-title a {
  color: var(--text-dark);
  transition: var(--transition);
}
.featured-post-title a:hover {
  color: var(--primary-dark);
}
.featured-post-excerpt {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.featured-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.featured-post-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.featured-post-author-info h5 {
  font-size: 14px;
  margin-bottom: 2px;
}
.featured-post-author-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Blog Card */
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}
.blog-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.blog-card-body {
  padding: 20px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-card-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-card-title a {
  color: var(--text-dark);
  transition: var(--transition);
}
.blog-card-title a:hover {
  color: var(--primary-dark);
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-card-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.blog-card-author span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.blog-card-read {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-card-read:hover {
  text-decoration: underline;
}

/* Blog Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
}
.sidebar-card h4 {
  font-size: 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card h4 i {
  color: var(--primary);
}

/* Sidebar Search */
.sidebar-search {
  display: flex;
  gap: 8px;
}
.sidebar-search input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
}
.sidebar-search input:focus {
  border-color: var(--primary);
}
.sidebar-search button {
  padding: 12px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 14px;
}

/* Sidebar Categories */
.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-body);
  transition: var(--transition);
}
.sidebar-cat-item:hover {
  background: var(--primary-lighter);
  color: var(--primary-dark);
}
.sidebar-cat-item i {
  margin-right: 8px;
  color: var(--primary);
}
.sidebar-cat-item .count {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 10px;
}

/* Popular Posts */
.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.popular-post-item {
  display: flex;
  gap: 14px;
}
.popular-post-item img {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.popular-post-item h5 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.popular-post-item h5 a {
  color: var(--text-dark);
}
.popular-post-item h5 a:hover {
  color: var(--primary-dark);
}
.popular-post-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Sidebar Tags */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sidebar-tag {
  padding: 6px 14px;
  background: var(--bg-body);
  color: var(--text-body);
  font-size: 13px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.sidebar-tag:hover {
  background: var(--primary);
  color: #fff;
}

/* Newsletter Card */
.newsletter-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  color: #fff;
  text-align: center;
}
.newsletter-card h4 {
  color: #fff;
  justify-content: center;
}
.newsletter-card h4 i {
  color: rgba(255,255,255,0.8);
}
.newsletter-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.newsletter-form input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 10px;
}
.newsletter-form button {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-md);
}

/* Load More */
.load-more {
  text-align: center;
  margin-top: 40px;
}

/* Blog Listing Responsive */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .featured-post {
    grid-template-columns: 1fr;
  }
  .featured-post-image {
    min-height: 240px;
  }
}
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 28px;
  }
  .blog-sidebar {
    grid-template-columns: 1fr;
  }
  .featured-post-content {
    padding: 24px;
  }
  .featured-post-title {
    font-size: 22px;
  }
}


/* ============================================
   BLOG DETAIL / ARTICLE PAGE
   ============================================ */
.article-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,0.95) 0%, rgba(11,29,58,0.5) 50%, rgba(11,29,58,0.2) 100%);
  display: flex;
  align-items: flex-end;
}
.article-hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 50px;
  color: #fff;
}
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.article-title {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 800;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  flex-wrap: wrap;
}
.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-author-preview {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-author-preview img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  object-fit: cover;
}

.article-page {
  padding: 50px 0 80px;
  background: var(--bg-body);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Article Content */
.article-content {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 40px 48px;
}
.article-content h2 {
  font-size: 26px;
  margin: 36px 0 16px;
  color: var(--text-dark);
}
.article-content h2:first-child {
  margin-top: 0;
}
.article-content h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--text-dark);
}
.article-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}
.article-content ul,
.article-content ol {
  margin: 0 0 20px 24px;
  line-height: 1.8;
  color: var(--text-body);
  list-style: disc;
}
.article-content ol {
  list-style: decimal;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--primary-lighter);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 17px;
  font-style: italic;
  color: var(--text-dark);
}
.article-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 24px 0;
}
.article-content figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -16px;
  margin-bottom: 24px;
}
.article-content a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* Info Box */
.info-box {
  padding: 24px;
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  margin: 28px 0;
  border: 1px solid var(--border-light);
}
.info-box h4 {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-box h4 i {
  color: var(--primary);
}
.info-box ul {
  margin: 0;
  padding-left: 20px;
}
.info-box.tip {
  background: #ECFDF5;
  border-color: #10B981;
}
.info-box.tip h4 i {
  color: #10B981;
}
.info-box.warning {
  background: #FEF3C7;
  border-color: #F59E0B;
}
.info-box.warning h4 i {
  color: #F59E0B;
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.image-gallery img {
  margin: 0;
  height: 200px;
  object-fit: cover;
}

/* Article Table */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-content table th {
  background: var(--bg-dark);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}
.article-content table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}
.article-content table tr:nth-child(even) {
  background: var(--bg-body);
}

/* Article CTA */
.article-cta {
  padding: 32px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  margin: 36px 0;
}
.article-cta h3 {
  color: #fff;
  margin: 0 0 10px;
}
.article-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.article-cta .btn {
  background: var(--accent);
  color: #fff;
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.article-tags span {
  font-weight: 600;
  color: var(--text-dark);
  margin-right: 8px;
}
.article-tag {
  padding: 6px 14px;
  background: var(--bg-body);
  color: var(--text-body);
  font-size: 13px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.article-tag:hover {
  background: var(--primary);
  color: #fff;
}

/* Article Share */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.article-share span {
  font-weight: 600;
  color: var(--text-dark);
}
.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  transition: var(--transition);
}
.share-btn:hover {
  transform: translateY(-3px);
}
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.pinterest { background: #E60023; }
.share-btn.copy { background: var(--text-muted); }

/* Author Box */
.author-box {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  margin-top: 36px;
}
.author-box img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
}
.author-box-content h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.author-box-content .role {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.author-box-content p {
  font-size: 14px;
  margin-bottom: 12px;
}
.author-social {
  display: flex;
  gap: 10px;
}
.author-social a {
  width: 32px;
  height: 32px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}
.author-social a:hover {
  background: var(--primary);
  color: #fff;
}

/* Related Posts */
.related-posts {
  margin-top: 50px;
}
.related-posts h3 {
  font-size: 22px;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}
.related-card-body {
  padding: 18px;
}
.related-card-body h4 {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.related-card-body h4 a {
  color: var(--text-dark);
  text-decoration: none;
}
.related-card-body h4 a:hover {
  color: var(--primary-dark);
}
.related-card-body span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Article Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* TOC */
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  padding: 8px 12px;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.toc-item:hover {
  background: var(--primary-lighter);
  color: var(--primary-dark);
}
.toc-item i {
  color: var(--primary);
  margin-top: 2px;
}

/* Sticky Sidebar */
.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

/* eSIM Promo */
.esim-promo {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  color: #fff;
  text-align: center;
}
.esim-promo h4 {
  color: #fff;
  justify-content: center;
}
.esim-promo h4 i {
  color: rgba(255,255,255,0.8);
}
.esim-promo p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.esim-promo .price {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}
.esim-promo .price span {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

/* Comments Section */
.comments-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.comments-section h3 {
  font-size: 22px;
  margin-bottom: 24px;
}
.comment {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.comment:last-child {
  border-bottom: none;
}
.comment img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
}
.comment-content h5 {
  font-size: 15px;
  margin-bottom: 4px;
}
.comment-content .date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.comment-content p {
  font-size: 14px;
  margin-bottom: 10px;
}
.comment-actions {
  display: flex;
  gap: 16px;
  font-size: 13px;
}
.comment-actions a {
  color: var(--text-muted);
  text-decoration: none;
}
.comment-actions a:hover {
  color: var(--primary-dark);
}

/* Comment Form */
.comment-form {
  margin-top: 32px;
  padding: 28px;
  background: var(--bg-body);
  border-radius: var(--radius-lg);
}
.comment-form h4 {
  font-size: 18px;
  margin-bottom: 20px;
}
.comment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.comment-form textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  min-height: 120px;
  resize: vertical;
  margin-bottom: 16px;
}
.comment-form textarea:focus {
  border-color: var(--primary);
  outline: none;
}

/* Article Responsive */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    display: none;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .article-hero {
    height: 360px;
  }
  .article-title {
    font-size: 28px;
  }
  .article-content {
    padding: 28px 24px;
  }
  .article-content h2 {
    font-size: 22px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  .author-social {
    justify-content: center;
  }
  .image-gallery {
    grid-template-columns: 1fr;
  }
  .comment-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE FIXES
   Phone & Tablet Screen Resolutions
   ============================================ */

/* --- Tablet Landscape (1024px) --- */
@media (max-width: 1024px) {
  .progress-steps {
    gap: 4px;
    padding: 16px 12px;
  }
  .progress-step span:not(.progress-step-num) {
    font-size: 12px;
  }
  .progress-line {
    width: 24px;
  }
}

/* --- Tablet Portrait & Large Phones (768px) --- */
@media (max-width: 768px) {
  /* Header - user menu fix for mobile */
  .user-menu-toggle {
    padding: 6px 10px;
    font-size: 13px;
  }
  .user-email {
    display: none;
  }
  .user-menu-toggle i:last-child {
    display: none;
  }

  /* Mobile nav close button */
  .mobile-nav-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 18px;
    color: var(--text-body);
    background: var(--bg-body);
    transition: var(--transition);
  }
  .mobile-nav-close:hover {
    background: var(--primary-lighter);
    color: var(--primary-dark);
  }

  /* Search & Mini Cart dropdown - prevent overflow */
  .search-dropdown {
    position: fixed;
    top: auto;
    left: 16px;
    right: 16px;
    width: auto;
    margin-top: 8px;
  }
  .mini-cart-dropdown {
    position: fixed;
    top: auto;
    left: 16px;
    right: 16px;
    width: auto;
  }

  /* Hero slider arrows */
  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev {
    width: 36px;
    height: 36px;
  }
  .hero-slider .swiper-button-next::after,
  .hero-slider .swiper-button-prev::after {
    font-size: 13px;
  }
  .hero-slider .swiper-button-prev {
    left: 8px;
  }
  .hero-slider .swiper-button-next {
    right: 8px;
  }

  /* Hero description */
  .hero-desc {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* Section padding */
  .section-header {
    padding: 0 10px;
  }

  /* Product tab nav - icon + short names on mobile */
  .product-tab-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    flex-wrap: nowrap;
  }
  .product-tab-nav::-webkit-scrollbar {
    display: none;
  }
  .product-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 12px;
    font-size: 12px;
  }
  .tab-icon {
    display: inline;
    font-size: 13px;
  }
  .tab-text-full { display: none }
  .tab-text-short { display: inline }

  /* Breadcrumb - truncate long text */
  .breadcrumb {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 2px;
  }
  .breadcrumb::-webkit-scrollbar {
    display: none;
  }
  .breadcrumb-current {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Product detail pricing row */
  .product-detail-pricing {
    flex-wrap: wrap;
    gap: 8px;
  }
  .product-detail-price {
    font-size: 26px;
  }

  /* Specs table */
  .specs-table td:first-child {
    width: 130px;
    font-size: 12px;
  }
  .specs-table td {
    font-size: 12px;
    padding: 8px 0;
  }

  /* Product actions row */
  .product-actions {
    flex-wrap: wrap;
  }
  .product-actions .qty-selector {
    width: 100%;
    justify-content: center;
  }
  .product-actions .btn {
    width: 100%;
  }

  /* Blog hero */
  .blog-hero {
    padding: 40px 0;
  }

  /* Progress steps - stack on mobile */
  .progress-steps {
    flex-wrap: wrap;
    gap: 6px;
  }
  .progress-line {
    width: 20px;
  }
  .progress-step span:not(.progress-step-num) {
    display: none;
  }

  /* Cart page padding */
  .cart-page {
    padding: 24px 0 48px;
  }
  .cart-header {
    padding: 16px;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .cart-header h1 {
    font-size: 18px;
  }

  /* Checkout page */
  .checkout-page {
    padding: 24px 0 48px;
  }
  .checkout-card {
    padding: 18px;
  }
  .checkout-card h2 {
    font-size: 15px;
  }

  /* Order page layout */
  .order-list-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  /* Featured post */
  .featured-post-title {
    font-size: 20px;
  }
  .featured-post-content {
    padding: 20px;
  }
  .featured-post-excerpt {
    font-size: 14px;
  }

  /* Blog sidebar collapse to single col */
  .blog-sidebar {
    grid-template-columns: 1fr;
  }

  /* Modal improvements */
  .modal-header {
    padding: 20px 20px 0;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .modal-tabs::-webkit-scrollbar {
    display: none;
  }
  .modal-tab {
    font-size: 13px;
    padding: 10px 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Toast position fix */
  .toast {
    left: 16px;
    right: 16px;
    transform: translateY(80px);
    width: auto;
  }
  .toast.show {
    transform: translateY(0);
  }
}

/* --- Small phones (480px) --- */
@media (max-width: 480px) {
  /* Header adjustments */
  .header .container {
    gap: 8px;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 6px;
  }
  .logo-text {
    font-size: 13px;
  }
  .logo-domain {
    font-size: 9px;
  }
  .header-actions {
    gap: 4px;
  }
  .search-toggle, .mini-cart-toggle {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  /* Hero section */
  .hero-slide {
    min-height: 320px;
  }
  .hero-badge {
    font-size: 11px;
    padding: 4px 12px;
  }
  .hero-desc {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .hero-actions .btn {
    padding: 10px 20px;
    font-size: 13px;
    width: 100%;
  }
  .hero-stats {
    gap: 16px;
  }
  .hero-stat-value {
    font-size: 18px;
  }
  .hero-stat-label {
    font-size: 10px;
  }

  /* Section titles */
  .section-title {
    font-size: 1.3rem;
  }
  .section-subtitle {
    font-size: 14px;
  }
  .section {
    padding: 36px 0;
  }
  .section-header {
    margin-bottom: 24px;
  }

  /* Steps grid */
  .step-number {
    width: 64px;
    height: 64px;
  }
  .step-number i {
    font-size: 22px;
  }
  .step-title {
    font-size: 14px;
  }
  .step-desc {
    font-size: 12px;
  }

  /* FAQ */
  .faq-question {
    font-size: 14px;
    padding: 14px 16px;
  }
  .faq-answer-inner {
    padding: 0 16px 14px;
    font-size: 13px;
  }

  /* Blog cards */
  .blog-grid {
    gap: 14px;
  }
  .blog-card-body {
    padding: 14px 16px;
  }
  .blog-card-title {
    font-size: 14px;
  }
  .blog-card-image,
  .blog-card-img {
    height: 160px;
  }

  /* Product detail */
  .product-detail-hero {
    height: 180px;
  }
  .product-detail-hero-overlay {
    padding: 14px;
  }
  .product-detail-hero-overlay h1 {
    font-size: 17px;
  }
  .product-detail-body {
    padding: 18px;
  }
  .product-detail-price {
    font-size: 22px;
  }
  .plan-option {
    padding: 10px 8px;
  }
  .plan-option-data {
    font-size: 13px;
  }
  .plan-option-days {
    font-size: 10px;
  }
  .plan-option-price {
    font-size: 12px;
  }

  /* Product features grid */
  .product-features {
    padding: 14px;
    gap: 8px;
  }
  .product-feature-item {
    font-size: 12px;
  }

  /* Category page */
  .category-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .category-title {
    font-size: 18px;
  }

  /* Footer */
  .footer {
    padding: 36px 0 0;
  }
  .footer-grid {
    gap: 16px;
    padding-bottom: 24px;
  }
  .footer-brand .logo-text {
    font-size: 17px;
  }
  .footer-col h4 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .footer-bottom {
    padding: 16px 0;
    font-size: 11px;
  }

  /* Modal */
  .modal {
    margin: 8px;
    border-radius: var(--radius-md);
  }
  .modal-title {
    font-size: 18px;
  }
  .modal-subtitle {
    font-size: 12px;
  }

  /* Cart page */
  .cart-item-image {
    width: 64px;
    height: 48px;
  }
  .cart-item-row {
    grid-template-columns: 64px 1fr;
    gap: 10px;
    padding: 12px;
  }

  /* Checkout */
  .checkout-card {
    padding: 14px;
  }
  .payment-method {
    padding: 12px;
    gap: 10px;
  }
  .payment-icon {
    font-size: 22px;
    width: 36px;
  }
  .payment-info h4 {
    font-size: 13px;
  }
  .payment-info p {
    font-size: 11px;
  }

  /* Success page */
  .success-header h1 {
    font-size: 20px;
  }
  .success-icon {
    width: 64px;
    height: 64px;
  }
  .success-icon i {
    font-size: 30px;
  }

  /* Blog hero */
  .blog-hero h1 {
    font-size: 22px;
  }
  .blog-hero p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .blog-cat-btn {
    padding: 7px 14px;
    font-size: 12px;
  }

  /* Back to top button */
  .back-to-top {
    width: 38px;
    height: 38px;
    font-size: 14px;
    bottom: 14px;
    right: 14px;
  }
}

/* --- Very small phones (360px and below) --- */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .header .container {
    gap: 6px;
  }
  .logo-text {
    font-size: 12px;
  }
  .logo-domain {
    display: none;
  }

  .hero-slide {
    min-height: 280px;
  }
  .hero-title {
    font-size: 1.5rem;
  }

  .plans-grid .plan-card,
  .product-card {
    max-width: 100%;
  }
  .plan-card-image,
  .product-card-image,
  .product-card-enhanced .pce-image {
    height: 100px;
  }
  .plan-overlay-specs {
    flex-wrap: wrap;
  }

  .product-grid-3col {
    grid-template-columns: 1fr;
  }

  .product-detail-hero {
    height: 150px;
  }
  .product-detail-hero-overlay h1 {
    font-size: 15px;
  }
  .product-detail-hero-specs {
    gap: 4px;
  }
  .product-detail-hero-spec {
    padding: 4px 8px;
  }
  .product-detail-hero-spec strong {
    font-size: 13px;
  }

  .plan-option-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    margin: 4px;
  }
  .modal-header {
    padding: 16px 14px 0;
  }
  .modal-body {
    padding: 14px;
  }
  .modal-tab {
    font-size: 12px;
    padding: 8px 10px;
  }

  /* Footer */
  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  /* Blog */
  .blog-card-image,
  .blog-card-img {
    height: 130px;
  }
  .blog-card-body {
    padding: 12px;
  }
  .blog-card-title {
    font-size: 13px;
  }
  .blog-card-excerpt {
    display: none;
  }
}

/* --- Touch device improvements --- */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  .nav-link {
    min-height: 44px;
  }
  .dropdown-menu a {
    min-height: 44px;
  }
  .faq-question {
    min-height: 48px;
  }
  .product-tab-btn {
    min-height: 44px;
  }
  .pagination a, .pagination span {
    min-width: 40px;
    min-height: 40px;
  }

  /* Disable hover effects that cause sticky states on mobile */
  .plan-card:hover,
  .product-card:hover,
  .product-card-enhanced:hover,
  .blog-card:hover,
  .category-card:hover {
    transform: none;
  }
}

