/* IRANYekanX Font Faces */
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-UltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IRANYekanX', 'Segoe UI', Tahoma, sans-serif;
}

:root {
    --bg-primary: #F2F2F2;
    --bg-glass: rgba(255, 255, 255, 0.6);
    --bg-glass-hover: rgba(255, 255, 255, 0.8);
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --blue-primary: #006FC9;
    --blue-light: #3b82f6;
    --pink-primary: #ec4899;
    --violet-primary: #8b5cf6;
    --emerald-primary: #10b981;
    --amber-primary: #f59e0b;
    --border-glass: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'IRANYekanX', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    font-weight: 400;
}

html {
    scroll-behavior: smooth;
}

button, input, select, textarea {
    font-family: 'IRANYekanX', 'Segoe UI', Tahoma, sans-serif;
}

/* ============ MOBILE TOPBAR ============ */
.mobile-topbar {
    display: none;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0.625rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    width: 100%;
    box-sizing: border-box;
}

.mobile-topbar-row {
    display: grid;
    grid-template-columns: 2.5rem 1fr 2.5rem;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    overflow: hidden;
    min-width: 0;
}

.mobile-logo:active {
    transform: scale(0.97);
}

.mobile-actions {
    display: flex;
    justify-content: flex-end;
}

.mobile-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: center;
    align-items: center;
    min-width: 0;
}

.logo-text {
    font-size: 1.0625rem;
    font-weight: 900;
    color: var(--text-primary);
}

.mobile-logo-text small {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.0625rem;
}

.mobile-icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    position: relative;
}

.mobile-icon-btn:active {
    transform: scale(0.92);
}

.mobile-icon-btn:hover {
    background: white;
    color: var(--blue-primary);
    border-color: rgba(0, 111, 201, 0.3);
}

.mobile-icon-btn.primary {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(0, 111, 201, 0.25);
}

.mobile-icon-btn.primary:hover {
    color: white;
    box-shadow: 0 6px 14px rgba(0, 111, 201, 0.35);
}

.cart-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.625rem;
    min-width: 1.0625rem;
    height: 1.0625rem;
    padding: 0 0.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Mobile Search */
.mobile-search {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    background: #f8fafc;
    border: 1.5px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.mobile-search:focus-within {
    background: white;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 111, 201, 0.1);
}

.mobile-search > i {
    color: #94a3b8;
    font-size: 0.8125rem;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.mobile-search:focus-within > i {
    color: var(--blue-primary);
}

.mobile-search input {
    flex: 1 1 0;
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    font-family: inherit;
    font-size: 0.8125rem;
    color: var(--text-primary);
    padding: 0.5rem 0;
    min-width: 0;
}

.mobile-search input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.mobile-search-btn {
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    border: 0;
    border-radius: 10px;
    color: white;
    font-size: 0.8125rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 3px 8px rgba(0, 111, 201, 0.25);
}

.mobile-search-btn:hover {
    transform: scale(1.05) rotate(-8deg);
    box-shadow: 0 5px 12px rgba(0, 111, 201, 0.35);
}

.mobile-search-btn:active {
    transform: scale(0.92);
}

/* ============ APP LAYOUT ============ */
.app {
    min-height: 100vh;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
}

/* ============ SIDEBAR ============ */
.sidebar {
    width: 280px;
    flex-shrink: 0;
    height: calc(100vh - 2rem);
    position: sticky;
    top: 1rem;
    overflow-y: auto;
    padding: 0;
    transition: transform 0.3s ease;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
}

.close-sidebar {
    display: none;
    position: absolute;
    top: 1.25rem;
    left: 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 0.625rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-secondary);
    z-index: 50;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
}

.sidebar-logo {
    text-decoration: none;
    display: flex;
}

.logo-icon-large {
    width: 4rem;
    height: 4rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
    font-size: 1.75rem;
    font-weight: 900;
}

.logo-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-secondary);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1rem 1rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.auth-btn:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--blue-primary);
}

.auth-btn .icon-circle {
    width: 1.75rem;
    height: 1.75rem;
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.auth-btn:hover .icon-circle {
    border-color: rgba(59, 130, 246, 0.2);
}

.auth-divider {
    width: 1px;
    height: 2rem;
    background: #e5e7eb;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 0 0.5rem;
}

.nav-section-title {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    padding: 1rem 1rem 0.5rem;
    letter-spacing: 0.05em;
}

/* Sidebar categories: show 5 + smooth expand */
.sidebar-cats {
    display: flex;
    flex-direction: column;
}
.sidebar-cats-extra {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sidebar-cats-extra.is-open {
    grid-template-rows: 1fr;
}
.sidebar-cats-extra-inner {
    overflow: hidden;
    min-height: 0;
}
.sidebar-cats-toggle {
    cursor: pointer;
    border: 0;
    background: transparent;
    width: calc(100% - 1rem);
    font: inherit;
    text-align: right;
    color: var(--blue-primary);
    font-weight: 700;
}
.sidebar-cats-toggle i {
    transition: transform 0.35s ease;
    font-size: 0.75rem;
    color: var(--blue-primary);
}
.sidebar-cats-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.sidebar-cats-toggle-hide { display: none; }
.sidebar-cats-toggle[aria-expanded="true"] .sidebar-cats-toggle-show { display: none; }
.sidebar-cats-toggle[aria-expanded="true"] .sidebar-cats-toggle-hide { display: inline; }
.sidebar-cats-toggle:hover {
    background: rgba(0, 111, 201, 0.06);
    color: var(--blue-primary);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin: 0 0.5rem 0.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    background: white;
    color: var(--blue-primary);
    box-shadow: var(--shadow-sm);
}

.nav-item.active {
    background: white;
    color: var(--blue-primary);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    right: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 0.875rem;
    background: var(--blue-primary);
    border-radius: 1px;
}

.nav-item i {
    font-size: 1.125rem;
    min-width: 1.25rem;
    text-align: center;
}

.nav-item .badge {
    margin-right: auto;
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-primary);
    font-size: 0.6875rem;
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    font-weight: 700;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    text-decoration: none;
    color: #9ca3af;
    font-size: 0.625rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--blue-primary);
}

.footer-link i {
    font-size: 1.125rem;
}

.footer-divider {
    width: 1px;
    height: 1.5rem;
    background: #f3f4f6;
}

/* ============ MAIN CONTENT ============ */
.main {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    width: 100%;
    padding-bottom: 2.5rem;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    background: transparent;
    color: inherit;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-blue {
    background: var(--blue-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 111, 201, 0.3);
}

.btn-blue:hover {
    background: #005A9E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 111, 201, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-secondary);
    border-color: #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
}

.btn-outline:hover {
    background: var(--blue-primary);
    color: white;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-success {
    background: var(--emerald-primary);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

/* ============ ICONS ============ */
.icon-blue { color: var(--blue-primary); }
.icon-pink { color: var(--pink-primary); }
.icon-violet { color: var(--violet-primary); }
.icon-emerald { color: var(--emerald-primary); }
.icon-amber { color: var(--amber-primary); }

.bg-blue-soft { background: rgba(59, 130, 246, 0.1); color: var(--blue-primary); }
.bg-pink-soft { background: rgba(236, 72, 153, 0.1); color: var(--pink-primary); }
.bg-violet-soft { background: rgba(139, 92, 246, 0.1); color: var(--violet-primary); }
.bg-emerald-soft { background: rgba(16, 185, 129, 0.1); color: var(--emerald-primary); }
.bg-amber-soft { background: rgba(245, 158, 11, 0.1); color: var(--amber-primary); }

/* ============ CARDS ============ */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* ============ SECTION HEADER ============ */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto;
}

.brand-name {
    color: var(--blue-primary);
}

.gradient-text {
    background: linear-gradient(to right, var(--blue-light), var(--violet-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ HERO ============ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.3) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(219, 234, 254, 0.3) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 2.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.05);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: multiply;
    animation: pulse 4s ease-in-out infinite;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(251, 146, 60, 0.2);
}

.blob-2 {
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.2);
    animation-delay: 2s;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    width: fit-content;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
}

.title-subtitle {
    display: block;
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.title-highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #f97316, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    position: absolute;
    width: 100%;
    height: 0.75rem;
    bottom: -0.25rem;
    left: 0;
    color: rgba(251, 146, 60, 0.2);
    z-index: -1;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    transition: transform 0.3s ease;
}

.hero-stat-item:first-child {
    padding-right: 0;
}

.hero-stat-item:last-child {
    padding-left: 0;
}

.hero-stat-item:hover {
    transform: translateY(-2px);
}

.hero-stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 111, 201, 0.1), rgba(59, 130, 246, 0.1));
    color: var(--blue-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-stat-item:hover .hero-stat-icon {
    transform: rotate(-8deg) scale(1.1);
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: white;
}

.hero-stat-icon.star {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
    color: #f59e0b;
}

.hero-stat-item:hover .hero-stat-icon.star {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.hero-stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-stat-text strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-stat-text span {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 0.125rem;
}

.hero-stat-divider {
    width: 1px;
    height: 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
}

.visual-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(251, 146, 60, 0.3), rgba(59, 130, 246, 0.3));
    border-radius: 50%;
    filter: blur(80px);
}

.visual-card {
    position: relative;
    width: 18rem;
    height: 18rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(6deg);
    transition: transform 0.7s ease;
}

.visual-card:hover {
    transform: rotate(0deg);
}

.card-border-inner {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2.5rem;
}

.card-icon {
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 20px 40px rgba(0, 111, 201, 0.25));
    z-index: 2;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.floating-icon {
    position: absolute;
    width: 3rem;
    height: 3rem;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-xl);
    animation: bounce 3s ease-in-out infinite;
}

.icon-1 {
    top: -1.25rem;
    right: -1.25rem;
    color: var(--blue-light);
}

.icon-2 {
    bottom: -1.75rem;
    left: -1.75rem;
    color: #f97316;
    animation-duration: 4s;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 5rem);
    height: calc(100% + 5rem);
    transform: translate(-50%, -50%);
    border: 1px dashed #d1d5db;
    border-radius: 50%;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

/* ============ PRODUCT CARDS (NEW DESIGN) ============ */
.product-card-new {
    position: relative;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    isolation: isolate;
}

.product-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Top bar with badges */
.product-top-bar {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    left: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    gap: 0.375rem;
    pointer-events: none;
}

.product-tag-featured,
.product-tag-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.3125rem 0.625rem;
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.product-tag-featured {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.product-tag-featured i {
    font-size: 0.625rem;
    color: #f59e0b;
}

.product-tag-discount {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
    margin-right: auto;
}

/* Image wrap */
.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
}

.product-image-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.product-image-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.04), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card-new:hover .product-image-bg::before {
    opacity: 1;
}

.product-image {
    position: relative;
    z-index: 1;
    width: 55%;
    aspect-ratio: 1 / 1;
    max-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.08));
    transition: filter 0.5s ease;
}

.product-card-new:hover .product-image {
    transform: scale(1.06);
}

.product-card-new:hover .product-image img {
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.15));
}

.product-image.fallback {
    border-radius: 20px;
    font-size: 3rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Body */
.product-body {
    padding: 1.125rem 1.25rem 0.625rem;
    flex: 1;
}

.product-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card-new:hover .product-title {
    color: var(--blue-primary);
}

.product-tagline {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.75rem;
}

/* Footer */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem 1.125rem;
    gap: 0.625rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 0 0.25rem;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
    flex: 1;
}

.pricing-label {
    font-size: 0.6875rem;
    color: #9ca3af;
    font-weight: 500;
}

.pricing-row {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.pricing-old {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.pricing-final {
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
}

.pricing-final small {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 0.125rem;
}

.product-action-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card-new:hover .product-action-btn {
    background: var(--blue-primary);
    color: white;
    transform: translateX(-3px);
    box-shadow: 0 6px 14px rgba(0, 111, 201, 0.3);
    border-color: var(--blue-primary);
}

/* ============ PRODUCT CARDS (LEGACY) ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

/* Shop page uses 3 columns on desktop */
.products-grid-shop {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    position: relative;
    padding: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card.featured {
    border: 2px solid rgba(0, 111, 201, 0.4);
    box-shadow: 0 10px 30px rgba(0, 111, 201, 0.15);
}

.product-icon-wrap {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon-wrap {
    transform: scale(1.1);
}

.product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    min-height: 2.5rem;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.price-label {
    font-size: 0.6875rem;
    color: #9ca3af;
}

.price-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-old {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-weight: 700;
}

.product-arrow {
    width: 2rem;
    height: 2rem;
    background: var(--blue-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-arrow {
    transform: translateX(-4px);
    background: #005A9E;
}

/* ============ CATEGORIES ============ */
/* Categories Toggle Button */
.cat-hidden {
    display: none !important;
}

.categories-grid-modern.expanded .cat-hidden {
    display: flex !important;
    animation: fadeInScale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.categories-grid-modern.expanded .cat-hidden:nth-child(5) { animation-delay: 0.05s; }
.categories-grid-modern.expanded .cat-hidden:nth-child(6) { animation-delay: 0.1s; }
.categories-grid-modern.expanded .cat-hidden:nth-child(7) { animation-delay: 0.15s; }
.categories-grid-modern.expanded .cat-hidden:nth-child(8) { animation-delay: 0.2s; }
.categories-grid-modern.expanded .cat-hidden:nth-child(9) { animation-delay: 0.25s; }
.categories-grid-modern.expanded .cat-hidden:nth-child(10) { animation-delay: 0.3s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.categories-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.categories-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1.5px dashed rgba(0, 111, 201, 0.3);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--blue-primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.categories-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 111, 201, 0.05), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.categories-toggle-btn > * {
    position: relative;
    z-index: 1;
}

.categories-toggle-btn:hover {
    border-style: solid;
    border-color: var(--blue-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 111, 201, 0.15);
}

.categories-toggle-btn:hover::before {
    opacity: 1;
}

.categories-toggle-btn .toggle-chev {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.categories-toggle-btn .toggle-text-show,
.categories-toggle-btn .toggle-text-hide {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}

.categories-toggle-btn .toggle-text-hide {
    display: none;
}

.categories-toggle-btn[aria-expanded="true"] .toggle-text-show {
    display: none;
}

.categories-toggle-btn[aria-expanded="true"] .toggle-text-hide {
    display: inline-flex;
}

/* ============ CATEGORIES (MODERN) ============ */
.categories-section {
    margin-bottom: 4.5rem;
    position: relative;
}

.categories-section::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 4.5rem;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.04) 15%,
        rgba(0, 111, 201, 0.15) 50%,
        rgba(0, 0, 0, 0.04) 85%,
        transparent 100%
    );
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.category-card-modern {
    position: relative;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
    cursor: pointer;
}

.category-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cat-gradient, linear-gradient(135deg, rgba(0, 111, 201, 0.04), rgba(59, 130, 246, 0.04)));
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.category-card-modern:hover {
    transform: translateY(-6px);
    border-color: var(--cat-border, rgba(0, 111, 201, 0.3));
    box-shadow: 0 20px 40px var(--cat-shadow, rgba(0, 111, 201, 0.15));
}

.category-card-modern:hover::before {
    opacity: 1;
    background: var(--cat-gradient-hover, linear-gradient(135deg, rgba(0, 111, 201, 0.08), rgba(59, 130, 246, 0.08)));
}

.cat-modern-decoration {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    background: var(--cat-decoration, radial-gradient(circle, rgba(0, 111, 201, 0.1), transparent 70%));
    border-radius: 50%;
    z-index: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-card-modern:hover .cat-modern-decoration {
    transform: scale(1.3);
    top: -40px;
    left: -40px;
}

.cat-modern-icon {
    position: relative;
    z-index: 1;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 14px;
    background: var(--cat-icon-bg, linear-gradient(135deg, var(--blue-primary), var(--blue-light)));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px var(--cat-icon-shadow, rgba(0, 111, 201, 0.3));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.category-card-modern:hover .cat-modern-icon {
    transform: rotate(-8deg) scale(1.05);
    box-shadow: 0 12px 28px var(--cat-icon-shadow, rgba(0, 111, 201, 0.4));
}

.cat-modern-info {
    position: relative;
    z-index: 1;
    flex: 1;
}

.cat-modern-name {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.category-card-modern:hover .cat-modern-name {
    color: var(--cat-text-hover, var(--blue-primary));
}

.cat-modern-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-modern-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.cat-modern-count {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.cat-modern-count i {
    font-size: 0.625rem;
    color: var(--cat-text-hover, var(--blue-primary));
}

.cat-modern-arrow {
    width: 2rem;
    height: 2rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-card-modern:hover .cat-modern-arrow {
    background: var(--cat-icon-bg, linear-gradient(135deg, var(--blue-primary), var(--blue-light)));
    color: white;
    border-color: transparent;
    transform: translateX(-4px) rotate(-15deg);
    box-shadow: 0 4px 12px var(--cat-icon-shadow, rgba(0, 111, 201, 0.3));
}

/* Color variants */
.category-card-modern.color-blue {
    --cat-icon-bg: linear-gradient(135deg, #006FC9, #3b82f6);
    --cat-icon-shadow: rgba(0, 111, 201, 0.3);
    --cat-shadow: rgba(0, 111, 201, 0.15);
    --cat-border: rgba(0, 111, 201, 0.3);
    --cat-text-hover: #006FC9;
    --cat-decoration: radial-gradient(circle, rgba(0, 111, 201, 0.12), transparent 70%);
    --cat-gradient: linear-gradient(135deg, rgba(0, 111, 201, 0.04), rgba(59, 130, 246, 0.04));
    --cat-gradient-hover: linear-gradient(135deg, rgba(0, 111, 201, 0.08), rgba(59, 130, 246, 0.08));
}

.category-card-modern.color-pink {
    --cat-icon-bg: linear-gradient(135deg, #ec4899, #f472b6);
    --cat-icon-shadow: rgba(236, 72, 153, 0.3);
    --cat-shadow: rgba(236, 72, 153, 0.15);
    --cat-border: rgba(236, 72, 153, 0.3);
    --cat-text-hover: #ec4899;
    --cat-decoration: radial-gradient(circle, rgba(236, 72, 153, 0.12), transparent 70%);
    --cat-gradient: linear-gradient(135deg, rgba(236, 72, 153, 0.04), rgba(244, 114, 182, 0.04));
    --cat-gradient-hover: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(244, 114, 182, 0.08));
}

.category-card-modern.color-violet {
    --cat-icon-bg: linear-gradient(135deg, #8b5cf6, #a78bfa);
    --cat-icon-shadow: rgba(139, 92, 246, 0.3);
    --cat-shadow: rgba(139, 92, 246, 0.15);
    --cat-border: rgba(139, 92, 246, 0.3);
    --cat-text-hover: #8b5cf6;
    --cat-decoration: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    --cat-gradient: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(167, 139, 250, 0.04));
    --cat-gradient-hover: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(167, 139, 250, 0.08));
}

.category-card-modern.color-emerald {
    --cat-icon-bg: linear-gradient(135deg, #10b981, #34d399);
    --cat-icon-shadow: rgba(16, 185, 129, 0.3);
    --cat-shadow: rgba(16, 185, 129, 0.15);
    --cat-border: rgba(16, 185, 129, 0.3);
    --cat-text-hover: #10b981;
    --cat-decoration: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
    --cat-gradient: linear-gradient(135deg, rgba(16, 185, 129, 0.04), rgba(52, 211, 153, 0.04));
    --cat-gradient-hover: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(52, 211, 153, 0.08));
}

.category-card-modern.color-amber {
    --cat-icon-bg: linear-gradient(135deg, #f59e0b, #fbbf24);
    --cat-icon-shadow: rgba(245, 158, 11, 0.3);
    --cat-shadow: rgba(245, 158, 11, 0.15);
    --cat-border: rgba(245, 158, 11, 0.3);
    --cat-text-hover: #f59e0b;
    --cat-decoration: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 70%);
    --cat-gradient: linear-gradient(135deg, rgba(245, 158, 11, 0.04), rgba(251, 191, 36, 0.04));
    --cat-gradient-hover: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(251, 191, 36, 0.08));
}

/* Old categories grid - kept for backward compatibility */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.category-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1.25rem;
    padding: 1.25rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.2);
}

.category-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.category-count {
    font-size: 0.6875rem;
    color: #9ca3af;
}

/* ============ FAQ ============ */
.faq-section {
    margin-bottom: 4.5rem;
    position: relative;
}

.faq-section::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 4.5rem;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.04) 15%,
        rgba(0, 111, 201, 0.15) 50%,
        rgba(0, 0, 0, 0.04) 85%,
        transparent 100%
    );
}

@media (max-width: 40rem) {
    .faq-section { margin-bottom: 3rem; }
    .faq-section::after { margin-top: 3rem; }
}

.faq-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.faq-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    height: fit-content;
}

.faq-item:hover {
    border-color: rgba(0, 0, 0, 0.08);
}

.faq-item[open] {
    border-color: rgba(0, 111, 201, 0.2);
    box-shadow: 0 4px 12px rgba(0, 111, 201, 0.06);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--text-primary);
    padding: 1.125rem 1.25rem;
    transition: color 0.3s ease;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--blue-primary);
}

.faq-item[open] summary {
    color: var(--blue-primary);
}

.faq-item summary h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

.faq-item summary i {
    color: #9ca3af;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    width: 1.75rem;
    height: 1.75rem;
    background: #f8fafc;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-item summary:hover i {
    background: rgba(0, 111, 201, 0.08);
    color: var(--blue-primary);
}

.faq-item[open] summary i {
    transform: rotate(180deg);
    background: var(--blue-primary);
    color: white;
}

.faq-item p {
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
    line-height: 2;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    text-align: justify;
    text-justify: inter-word;
}
.faq-item p strong { color: #0f172a; font-weight: 700; }

/* ============ FOOTER ============ */
.site-footer {
    margin-top: 4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 1.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    animation: fadeInUp 0.6s ease;
}

/* Top Banner */
.footer-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #006FC9 0%, #3b82f6 100%);
    color: white;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.footer-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-banner-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.footer-banner-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-banner:hover .footer-banner-icon {
    transform: rotate(-10deg) scale(1.05);
}

.footer-banner-text h3 {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: white;
}

.footer-banner-text p {
    font-size: 0.8125rem;
    opacity: 0.9;
    margin: 0;
}

.footer-banner-actions {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    background: white;
    color: var(--blue-primary);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.banner-btn.telegram-btn {
    background: white;
    color: #0088cc;
}

.banner-btn.phone-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.banner-btn.phone-btn:hover {
    background: white;
    color: var(--blue-primary);
}

/* Main Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3.5rem;
    padding: 2.5rem 2rem 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-col {
    border-left: 1px dashed rgba(0, 0, 0, 0.08);
    padding-left: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: fit-content;
}

.footer-logo:hover {
    transform: translateY(-3px);
}

.footer-logo-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(0, 111, 201, 0.25);
    transition: all 0.4s ease;
}

.footer-logo:hover .footer-logo-icon {
    transform: rotate(-10deg) scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 111, 201, 0.35);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
}

.footer-logo-tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-about {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.footer-about strong {
    color: var(--text-primary);
    font-weight: 700;
}

.footer-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.footer-feature i {
    color: var(--emerald-primary);
    font-size: 0.875rem;
}

.footer-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title::before {
    content: '';
    width: 0.25rem;
    height: 1.125rem;
    background: linear-gradient(180deg, var(--blue-primary), var(--blue-light));
    border-radius: 2px;
    flex-shrink: 0;
}

.footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(0, 111, 201, 0.15), transparent);
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 0;
    list-style: none;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.3s ease;
    line-height: 1.5;
    width: fit-content;
}

.footer-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--blue-primary);
    transform: translateX(-3px);
}

.footer-links a:hover::before {
    background: var(--blue-primary);
    transform: scale(1.5);
    box-shadow: 0 0 0 3px rgba(0, 111, 201, 0.15);
}

.footer-links a i {
    display: none; /* Hide old chevron icons */
}

/* Footer categories with colored icons */
.footer-cats {
    gap: 0.625rem;
}

.footer-cats a {
    gap: 0.75rem;
}

.footer-cats a::before {
    display: none;
}

.footer-cats .cat-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-cats a:hover .cat-icon {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.footer-cats a:hover {
    transform: translateX(-2px);
}

/* Contacts */
.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin: 0 0 1.25rem;
    padding: 0;
}

.footer-contacts li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.footer-contacts li:hover {
    transform: translateX(-3px);
}

.footer-contacts .contact-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, rgba(0, 111, 201, 0.08), rgba(59, 130, 246, 0.08));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.footer-contacts li:hover .contact-icon {
    transform: rotate(-10deg);
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: white;
}

.footer-contacts .contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.footer-contacts .label {
    font-size: 0.6875rem;
    color: #9ca3af;
}

.footer-contacts .value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.value:hover {
    color: var(--blue-primary);
}

/* Socials */
.footer-socials-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
}

.socials-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 2.25rem;
    height: 2.25rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.9375rem;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.social-btn.telegram:hover { background: #0088cc; border-color: #0088cc; }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; }
.social-btn.whatsapp:hover { background: #25d366; border-color: #25d366; }
.social-btn.twitter:hover { background: #1da1f2; border-color: #1da1f2; }

/* Trust Badges */
.footer-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    margin: 0;
    background: linear-gradient(180deg, rgba(0, 111, 201, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 111, 201, 0.08);
    border-color: rgba(0, 111, 201, 0.15);
}

.trust-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 111, 201, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.trust-item:hover .trust-icon {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 111, 201, 0.3);
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.125rem;
}

.trust-text span {
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

/* Payments */
.footer-payments {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    flex-wrap: wrap;
}

.payment-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.payment-logos {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.payment-logo {
    height: 2.25rem;
    min-width: 3rem;
    padding: 0.375rem 0.625rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 111, 201, 0.2);
}

.payment-logo svg {
    height: 100%;
    width: auto;
}

.payment-logo.trust-logo {
    height: 2.5rem;
    min-width: 3.25rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #f1f5f9;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.copyright {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.copyright strong {
    color: var(--blue-primary);
    font-weight: 800;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-legal a:hover {
    color: var(--blue-primary);
}

.legal-divider {
    color: #cbd5e1;
}

/* ============ MOBILE BOTTOM NAV ============ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 0 1rem;
}

.bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 30rem;
    margin: 0 auto;
    height: 4rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 0.25rem;
    box-shadow: var(--shadow-lg);
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0.25rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.625rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn:hover,
.nav-btn.active {
    color: var(--blue-primary);
}

.nav-btn.primary {
    background: var(--blue-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 111, 201, 0.3);
    margin: 0 0.25rem;
}

.nav-btn i {
    font-size: 1.25rem;
    margin-bottom: 0.125rem;
}

.nav-btn.primary i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.125rem;
}

/* ============ ANIMATIONS ============ */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .app {
        flex-direction: column;
        align-items: stretch;
    }
    
    .mobile-topbar {
        display: flex;
    }
    
    .sidebar {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%);
        padding: 1rem;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .close-sidebar {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid-shop {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .footer-brand-col {
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: 0;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
        padding-bottom: 1.5rem;
    }
    
    .footer-trust {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.25rem 1.5rem;
    }
    
    .footer-banner {
        padding: 1.25rem 1.5rem;
    }
    
    .footer-payments {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.25rem 1.5rem;
    }
    
    .footer-bottom {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .title-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        padding: 0.75rem 0.875rem;
        width: 100%;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .hero-stat-item {
        gap: 0.5rem;
        padding: 0 0.25rem;
        flex: 1;
        min-width: 0;
    }
    
    .hero-stat-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.8125rem;
    }
    
    .hero-stat-text strong {
        font-size: 0.8125rem;
    }
    
    .hero-stat-text span {
        font-size: 0.625rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .products-grid-shop {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-image-wrap {
        max-height: 160px;
    }
    
    .product-image {
        width: 65%;
        max-width: 110px;
    }
    
    .product-image.fallback {
        font-size: 2.75rem;
    }
    
    .product-body {
        padding: 0.875rem 1rem 0.5rem;
    }
    
    .product-title {
        font-size: 0.9375rem;
    }
    
    .product-tagline {
        font-size: 0.75rem;
        min-height: 2.5rem;
    }
    
    .product-footer {
        padding: 0.75rem 1rem 1rem;
    }
    
    .pricing-final {
        font-size: 0.9375rem;
    }
    
    .product-action-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.75rem;
    }
    
    .categories-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .category-card-modern {
        padding: 1.25rem;
        min-height: 180px;
    }
    
    .cat-modern-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
    
    .cat-modern-name {
        font-size: 0.9375rem;
    }
    
    .cat-modern-desc {
        font-size: 0.75rem;
    }
    
    .categories-section {
        margin-bottom: 3rem;
    }
    
    .categories-section::after {
        margin-top: 3rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .mobile-bottom-nav {
        display: block;
    }
    
    .site-footer {
        margin-bottom: 5.5rem;
        margin-top: 2.5rem;
        border-radius: 1.25rem;
    }
    
    .footer-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1.5rem 1.25rem;
    }
    
    .footer-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-banner-actions {
        width: 100%;
    }
    
    .footer-banner-actions .banner-btn {
        flex: 1;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 1.5rem 1.25rem 1.25rem;
    }
    
    .footer-brand-col {
        padding-bottom: 1.25rem;
    }
    
    .footer-trust {
        grid-template-columns: 1fr 1fr;
        gap: 0.625rem;
        padding: 1rem 1.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }
    
    .footer-payments {
        padding: 1rem 1.25rem;
    }
    
    .payment-section {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .app {
        padding: 0.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .product-icon-wrap {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
    
    .footer-trust {
        grid-template-columns: 1fr;
    }
    
    .footer-banner-actions {
        flex-direction: column;
    }
    
    .footer-banner-actions .banner-btn {
        width: 100%;
    }
}


/* ==================== FX (Foreign Invoice) Page ==================== */
.fx-page {
    max-width: 75rem;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.fx-hero {
    text-align: center;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    color: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -20px rgba(79, 70, 229, 0.55);
}
.fx-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12), transparent 40%);
    pointer-events: none;
}
.fx-hero > * { position: relative; z-index: 1; }
.fx-hero-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border: 1px solid rgba(255,255,255,0.3);
}
.fx-hero h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}
.fx-hero p {
    margin: 0 auto;
    max-width: 38rem;
    line-height: 1.9;
    opacity: 0.92;
    font-size: 0.9375rem;
}

.fx-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.fx-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.18);
}

.fx-card-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e5e7eb;
}
.fx-card-header i {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #eff6ff, #ede9fe);
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fx-card-header h2 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.fx-form .form-group { margin-bottom: 1rem; }
.fx-form label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.4375rem;
    color: #1e293b;
}
.fx-form label .opt {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #94a3b8;
}
.fx-form input,
.fx-form textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f8fafc;
}
.fx-form input:focus,
.fx-form textarea:focus {
    outline: 0;
    border-color: #4f46e5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}
.fx-form textarea { resize: vertical; min-height: 5rem; }
.fx-form .form-help {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.375rem;
}

.fx-form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #f0f9ff;
    border-radius: 0.75rem;
    color: #0369a1;
    font-size: 0.8125rem;
}

.fx-login-banner {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 0.875rem;
    margin-bottom: 1.25rem;
    border: 1px solid #fcd34d;
}
.fx-login-banner > i {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    color: #d97706;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fx-login-banner > div {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.fx-login-banner strong { color: #78350f; font-size: 0.875rem; }

.fx-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.fx-quote-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.fx-rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.875rem;
    background: #ecfdf5;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.fx-rate-row strong { font-size: 0.9375rem; font-weight: 800; }

.fx-quote-rows { display: flex; flex-direction: column; gap: 0.625rem; }
.fx-quote-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.875rem;
    background: #f8fafc;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    color: #475569;
}
.fx-quote-row strong { color: #1e293b; font-size: 0.875rem; font-weight: 800; }
.fx-quote-row small { color: #94a3b8; font-weight: 600; margin-right: 0.25rem; }

.fx-quote-row.total {
    background: #eef2ff;
    color: #3730a3;
    border: 1px dashed #c7d2fe;
}
.fx-quote-row.total strong { color: #3730a3; }

.fx-quote-row.toman {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    padding: 0.875rem 1rem;
    border-radius: 0.875rem;
    font-size: 0.9375rem;
}
.fx-quote-row.toman strong { color: #fff; font-size: 1.125rem; font-weight: 900; }

.fx-quote-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.fx-rules { display: flex; flex-direction: column; gap: 0.875rem; }
.fx-rule {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.fx-rule-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
}
.fx-rule strong { display: block; font-size: 0.875rem; font-weight: 800; color: #1e293b; }
.fx-rule p { margin: 0.125rem 0 0; font-size: 0.8125rem; color: #64748b; }

.fx-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.fx-steps li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    background: #f8fafc;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    color: #475569;
}
.fx-steps li span {
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* FX status badges in user panel */
.fx-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
}
.fx-status-pending { background: #fef3c7; color: #92400e; }
.fx-status-paid { background: #dbeafe; color: #1e40af; }
.fx-status-processing { background: #ede9fe; color: #5b21b6; }
.fx-status-completed { background: #d1fae5; color: #065f46; }
.fx-status-cancelled,
.fx-status-rejected { background: #fee2e2; color: #991b1b; }

@media (max-width: 64rem) {
    .fx-grid { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
    .fx-hero { padding: 1.75rem 1rem; }
    .fx-hero h1 { font-size: 1.25rem; }
    .fx-hero p { font-size: 0.875rem; }
    .fx-card { padding: 1.125rem; }
}


/* ==================== FX Sidebar Item ==================== */
.nav-item-fx {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(79, 70, 229, 0.15);
    position: relative;
}
.nav-item-fx i {
    color: #4f46e5;
}
.nav-item-fx:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(124, 58, 237, 0.12));
}
.nav-item-fx.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
}
.nav-item-fx.active i {
    color: #fff;
}

/* Telegram Bot — same shape as FX item, just telegram blue tint */
.nav-item-tg {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.07), rgba(56, 189, 248, 0.07));
    border: 1px solid rgba(0, 136, 204, 0.15);
    position: relative;
}
.nav-item-tg i {
    color: #0088cc;
}
.nav-item-tg:hover {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.12), rgba(56, 189, 248, 0.12));
}
.nav-item-tg.active {
    background: linear-gradient(135deg, #0088cc, #38bdf8);
    color: #fff;
}
.nav-item-tg.active i {
    color: #fff;
}
.nav-badge-bot {
    margin-right: auto;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.125rem 0.5rem;
    background: linear-gradient(135deg, #0088cc, #38bdf8);
    color: #fff;
    border-radius: 999px;
    letter-spacing: 0.05em;
}
.nav-badge-new {
    margin-right: auto;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.125rem 0.5rem;
    background: linear-gradient(135deg, #ec4899, #f97316);
    color: #fff;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

/* ==================== FX Banner (Index) ==================== */
.fx-banner-section {
    margin: 2.5rem 0 4.5rem;
    position: relative;
}
.fx-banner-section::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 4.5rem;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.04) 15%,
        rgba(79, 70, 229, 0.18) 50%,
        rgba(0, 0, 0, 0.04) 85%,
        transparent 100%
    );
}
.fx-banner {
    position: relative;
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 40%, #7c3aed 75%, #ec4899 100%);
    border-radius: 1.75rem;
    padding: 2.75rem 2.5rem;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 25px 60px -25px rgba(79, 70, 229, 0.6);
}
.fx-banner-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.fx-banner-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}
.fx-blob-1 {
    width: 22rem;
    height: 22rem;
    background: #ec4899;
    top: -8rem;
    right: -6rem;
    animation: fxFloat 9s ease-in-out infinite;
}
.fx-blob-2 {
    width: 18rem;
    height: 18rem;
    background: #06b6d4;
    bottom: -7rem;
    left: -5rem;
    animation: fxFloat 11s ease-in-out infinite reverse;
}
.fx-blob-3 {
    width: 14rem;
    height: 14rem;
    background: #fbbf24;
    top: 30%;
    left: 50%;
    opacity: 0.25;
    animation: fxFloat 13s ease-in-out infinite;
}
@keyframes fxFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(20px, -25px) scale(1.08); }
}

.fx-banner-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.fx-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.4375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.fx-banner-text h2 {
    font-size: 1.875rem;
    font-weight: 900;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}
.fx-banner-text > p {
    margin: 0 0 1.25rem;
    line-height: 1.9;
    font-size: 0.9375rem;
    opacity: 0.95;
    max-width: 32rem;
}
.fx-banner-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.fx-banner-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
}
.fx-banner-features li i {
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(16, 185, 129, 0.85);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    flex-shrink: 0;
}
.fx-banner-features li strong {
    background: linear-gradient(135deg, #fef08a, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.fx-banner-actions {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}
.fx-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.875rem;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
    border: 1.5px solid transparent;
}
.fx-banner-btn.primary {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.fx-banner-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}
.fx-banner-btn.ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.3);
}
.fx-banner-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Visual / Mock card */
.fx-banner-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fx-card-mock {
    background: rgba(255, 255, 255, 0.97);
    color: #1e293b;
    border-radius: 1.25rem;
    padding: 1.25rem;
    width: 100%;
    max-width: 18rem;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.4);
    transform: rotate(-2deg);
    position: relative;
    z-index: 2;
}
.fx-mock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 0.625rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
}
.fx-mock-row strong {
    color: #1e293b;
    direction: ltr;
}
.fx-mock-row.total {
    background: #eef2ff;
    color: #3730a3;
    border: 1px dashed #c7d2fe;
}
.fx-mock-row.total strong { color: #3730a3; font-weight: 800; }
.fx-mock-toman {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
}
.fx-mock-toman strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.fx-card-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.fx-coin {
    position: absolute;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    z-index: 1;
    animation: fxCoinFloat 4s ease-in-out infinite;
}
.fx-coin-1 { top: 8%;  right: 6%;  }
.fx-coin-2 { bottom: 12%; left: 4%; animation-delay: 1.2s; }
.fx-coin-3 { top: 50%; right: -1rem; animation-delay: 2.5s; }
@keyframes fxCoinFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-10px) rotate(8deg); }
}

@media (max-width: 60rem) {
    .fx-banner { padding: 2rem 1.5rem; }
    .fx-banner-content { grid-template-columns: 1fr; gap: 1.75rem; }
    .fx-banner-text h2 { font-size: 1.5rem; }
    .fx-card-mock { transform: rotate(0); margin: 0 auto; }
    .fx-coin { display: none; }
}
@media (max-width: 40rem) {
    .fx-banner-section { margin: 1.25rem 0 2.25rem; }
    .fx-banner {
        padding: 1.5rem 1.25rem;
        border-radius: 1.25rem;
    }
    .fx-banner-blob { filter: blur(36px); opacity: 0.35; }
    .fx-blob-1 { width: 12rem; height: 12rem; top: -4rem; right: -3rem; }
    .fx-blob-2 { width: 10rem; height: 10rem; bottom: -3rem; left: -2.5rem; }
    .fx-blob-3 { display: none; }

    .fx-banner-content { gap: 1.25rem; }
    .fx-banner-badge { font-size: 0.6875rem; padding: 0.3125rem 0.75rem; margin-bottom: 0.625rem; }
    .fx-banner-text h2 { font-size: 1.125rem; line-height: 1.55; margin-bottom: 0.5rem; }
    .fx-banner-text > p { font-size: 0.8125rem; line-height: 1.85; margin-bottom: 0.875rem; }

    .fx-banner-features { gap: 0.5rem; margin-bottom: 1rem; }
    .fx-banner-features li { font-size: 0.8125rem; gap: 0.5rem; }
    .fx-banner-features li i { width: 1.125rem; height: 1.125rem; font-size: 0.5625rem; }

    .fx-banner-actions { gap: 0.5rem; flex-direction: column; }
    .fx-banner-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        border-radius: 0.75rem;
        gap: 0.4375rem;
    }

    .fx-card-mock {
        max-width: 100%;
        padding: 1rem;
        border-radius: 1rem;
    }
    .fx-mock-row { font-size: 0.75rem; padding: 0.4375rem 0.625rem; }
    .fx-mock-toman { padding: 0.625rem 0.75rem; font-size: 0.75rem; }
    .fx-mock-toman strong { font-size: 0.875rem; }
    .fx-banner-section::after { margin-top: 2rem; }
}


/* ==================== Pagination (SmartSkill Pagination) ==================== */
.pp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.875rem;
}

.pp-page-btn {
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.625rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    cursor: pointer;
}

.pp-page-btn:hover:not(.disabled):not(.active) {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
    transform: translateY(-1px);
}

.pp-page-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px -2px rgba(59, 130, 246, 0.4);
    cursor: default;
}

.pp-page-btn.disabled {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #cbd5e1;
    cursor: not-allowed;
    pointer-events: none;
}

.pp-page-dots {
    color: #94a3b8;
    padding: 0 0.25rem;
    font-weight: 700;
    user-select: none;
}

.pp-pagination-info {
    text-align: center;
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    color: #64748b;
}
.pp-pagination-info strong {
    color: #1e293b;
    font-weight: 800;
}

@media (max-width: 30rem) {
    .pp-page-btn { min-width: 2.25rem; height: 2.25rem; font-size: 0.8125rem; padding: 0 0.5rem; }
    .pp-pagination { padding: 0.625rem; gap: 0.25rem; }
}


/* ==================== Footer Trust (e-Namad) ==================== */
.payment-logo.enamad-official {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 4rem;
    max-height: 3.5rem;
}
.payment-logo.enamad-official img,
.payment-logo.enamad-official iframe {
    max-height: 3.5rem;
    width: auto !important;
    display: block;
    cursor: pointer;
}
a.payment-logo.trust-logo {
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
}
a.payment-logo.trust-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -4px rgba(0,0,0,0.15);
}


/* ==================== Merged from extras.css ==================== */
/* SmartSkill Extra Styles - Product, Checkout, User Panel, Blog */

/* ============ FORMS ============ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    font-family: inherit;
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 111, 201, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-error {
    color: #ef4444;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.form-help {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 0.375rem;
}

/* ============ ALERTS ============ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #78350f;
    border-color: rgba(245, 158, 11, 0.2);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1e3a8a;
    border-color: rgba(59, 130, 246, 0.2);
}

.alert i {
    font-size: 1.125rem;
}

/* ============ AUTH PAGES ============ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #f9fafb 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.auth-page::before,
.auth-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.auth-page::before {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(251, 146, 60, 0.2);
}

.auth-page::after {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.2);
}

.auth-card {
    width: 100%;
    max-width: 28rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-logo .logo-icon-large {
    width: 5rem;
    height: 5rem;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.auth-logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.auth-logo p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.auth-back {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
}

.auth-back:hover {
    color: var(--blue-primary);
}

/* OTP Inputs */
.otp-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    direction: ltr;
    margin: 1.5rem 0;
}

.otp-input {
    width: 3rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.otp-input:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 111, 201, 0.1);
}

.otp-timer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-top: 1rem;
}

.otp-resend {
    background: transparent;
    border: none;
    color: var(--blue-primary);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
}

.otp-resend:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--blue-primary);
}

.breadcrumb .separator {
    color: #d1d5db;
    font-size: 0.625rem;
}

.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============ SHOP PAGE ============ */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.shop-sidebar {
    position: sticky;
    top: 1rem;
    height: fit-content;
}

.filter-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1.25rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.filter-card h3 {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-list a:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--blue-primary);
}

.filter-list a.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-primary);
    font-weight: 700;
}

.filter-list .count {
    font-size: 0.75rem;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.shop-results {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.shop-results strong {
    color: var(--text-primary);
    font-weight: 800;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.shop-sort::before {
    content: '\f161';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.shop-sort select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 3.5l3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.875rem center;
    background-size: 0.625rem;
    padding: 0.5rem 1rem 0.5rem 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.shop-sort select:hover {
    background-color: white;
    border-color: var(--blue-primary);
}

.shop-sort select:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 111, 201, 0.1);
}

/* ============ CUSTOM DROPDOWN ============ */
.custom-select-wrap {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    position: relative;
}

.custom-select {
    position: relative;
    min-width: 170px;
}
.custom-select-block {
    width: 100%;
    min-width: 0;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
}

.custom-select-trigger > i:first-child {
    font-size: 0.875rem;
    color: var(--blue-primary);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-select-trigger:hover {
    background: white;
    border-color: var(--blue-primary);
    box-shadow: 0 4px 12px rgba(0, 111, 201, 0.08);
}

.custom-select-trigger:hover > i:first-child {
    transform: rotate(-15deg) scale(1.1);
}

.custom-select.open .custom-select-trigger {
    background: white;
    border-color: var(--blue-primary);
    box-shadow: 0 4px 12px rgba(0, 111, 201, 0.1);
}

.select-label {
    flex: 1;
    text-align: right;
}

.custom-select .chevron {
    font-size: 0.625rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    margin-right: auto;
}

.custom-select.open .chevron {
    transform: rotate(180deg);
    color: var(--blue-primary);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 0.375rem;
    margin: 0;
    list-style: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 111, 201, 0.05);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top center;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.custom-select-options li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: 9px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.custom-select-options li i:first-child {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    width: 1rem;
    text-align: center;
    transition: color 0.2s ease;
}

.custom-select-options li span {
    flex: 1;
}

.custom-select-options li .check {
    color: var(--blue-primary);
    font-size: 0.75rem;
}

.custom-select-options li:hover {
    background: rgba(0, 111, 201, 0.06);
    color: var(--blue-primary);
}

.custom-select-options li:hover i:first-child {
    color: var(--blue-primary);
}

.custom-select-options li.selected {
    background: linear-gradient(135deg, rgba(0, 111, 201, 0.08), rgba(59, 130, 246, 0.08));
    color: var(--blue-primary);
    font-weight: 700;
}

.custom-select-options li.selected i:first-child {
    color: var(--blue-primary);
}

/* Full-width pretty select (forms) */
.custom-select-block .custom-select-trigger {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
}
.custom-select-block .custom-select-options {
    z-index: 40;
}
.pretty-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.cx-pretty-select .custom-select-trigger {
    background: #f8fafc;
}

/* ============ PRODUCT DETAIL ============ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 2rem;
    padding: 2rem;
}

.product-detail-image {
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.5), rgba(219, 234, 254, 0.5));
    border-radius: 1.5rem;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

.product-detail-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.5), transparent);
}

.product-detail-image i {
    font-size: 8rem;
    position: relative;
    z-index: 1;
}

.product-detail-info h1 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-detail-meta i {
    margin-left: 0.25rem;
}

.product-detail-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    list-style: none;
}

.product-features i {
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    flex-shrink: 0;
}

.plans-section h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.plan-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.plan-card:hover {
    border-color: rgba(0, 111, 201, 0.3);
    transform: translateY(-2px);
}

.plan-card.active {
    border-color: var(--blue-primary);
    background: rgba(0, 111, 201, 0.05);
    box-shadow: 0 4px 12px rgba(0, 111, 201, 0.15);
}

.plan-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.plan-price {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--blue-primary);
}

.plan-old-price {
    font-size: 0.6875rem;
    color: #9ca3af;
    text-decoration: line-through;
    display: block;
    margin-top: 0.125rem;
}

.product-actions {
    display: flex;
    gap: 0.625rem;
    margin-top: 1rem;
}

.product-actions .btn {
    flex: 1;
    justify-content: center;
}

.product-content {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.product-content h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-content p,
.product-content li {
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.product-content ul,
.product-content ol {
    padding-right: 1.5rem;
    margin-bottom: 1rem;
}

/* ============ CART & CHECKOUT ============ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
}

.cart-items {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cart-item-plan {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.cart-item-price {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--blue-primary);
}

.cart-item-remove {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: #ef4444;
    color: white;
}

.cart-summary {
    position: sticky;
    top: 1rem;
    height: fit-content;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.cart-summary h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.summary-row span:first-child {
    color: var(--text-secondary);
}

.summary-row span:last-child {
    font-weight: 700;
    color: var(--text-primary);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    font-size: 1rem;
}

.summary-total span:last-child {
    color: var(--blue-primary);
    font-weight: 900;
    font-size: 1.125rem;
}

.coupon-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.coupon-form input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-family: inherit;
}

/* Coupon Toggle - Clean Design */
.coupon-toggle {
    margin: 1rem 0;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.coupon-toggle[open] {
    border-color: rgba(0, 111, 201, 0.2);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 111, 201, 0.06);
}

.coupon-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    list-style: none;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    user-select: none;
}

.coupon-toggle-btn::-webkit-details-marker {
    display: none;
}

.coupon-toggle-btn > i:first-child {
    font-size: 0.8125rem;
    color: var(--blue-primary);
}

.coupon-toggle-btn .chev {
    margin-right: auto;
    font-size: 0.6875rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.coupon-toggle-btn:hover {
    color: var(--text-primary);
}

.coupon-toggle[open] .coupon-toggle-btn {
    color: var(--blue-primary);
    border-bottom: 1px solid rgba(0, 111, 201, 0.1);
}

.coupon-toggle[open] .coupon-toggle-btn .chev {
    transform: rotate(180deg);
    color: var(--blue-primary);
}

/* Coupon Form (inside toggle) */
.coupon-toggle .coupon-form {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0.75rem;
    background: white;
    border: 0;
    animation: slideDown 0.25s ease;
}

.coupon-toggle .coupon-form input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    color: var(--text-primary);
    transition: all 0.2s ease;
    min-width: 0;
}

.coupon-toggle .coupon-form input::placeholder {
    color: #94a3b8;
    letter-spacing: normal;
    font-weight: 500;
}

.coupon-toggle .coupon-form input:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 111, 201, 0.1);
}

.coupon-apply-btn {
    white-space: nowrap;
    padding: 0.625rem 1rem !important;
    border-radius: 10px !important;
    flex-shrink: 0;
}

/* Applied Coupon Display */
.coupon-applied {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(52, 211, 153, 0.04));
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.coupon-applied:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.coupon-applied-info {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1;
    min-width: 0;
}

.coupon-applied-info > i {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.25);
}

.coupon-applied-info > div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.coupon-applied-info strong {
    font-size: 0.8125rem;
    color: #047857;
    font-weight: 800;
}

.coupon-applied-info span {
    font-size: 0.6875rem;
    color: #059669;
    font-weight: 500;
}

.coupon-applied-amount {
    font-size: 0.875rem;
    font-weight: 800;
    color: #047857;
    white-space: nowrap;
}

.coupon-applied-remove {
    width: 1.75rem;
    height: 1.75rem;
    background: rgba(239, 68, 68, 0.1);
    border: 0;
    color: #ef4444;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.coupon-applied-remove:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ USER PANEL ============ */
.panel-header {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    border-radius: 1.5rem;
    padding: 2rem;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.panel-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.panel-header-content {
    position: relative;
    z-index: 1;
}

.panel-greeting {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.panel-name {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.wallet-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.wallet-info {
    flex: 1;
}

.wallet-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.wallet-amount {
    font-size: 1.25rem;
    font-weight: 800;
}

.panel-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.panel-stat {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1.25rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.panel-stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.panel-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.panel-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Panel Tabs */
.panel-tabs {
    display: flex;
    gap: 0.25rem;
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.panel-tab {
    padding: 0.625rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.panel-tab:hover {
    background: #f9fafb;
    color: var(--text-primary);
}

.panel-tab.active {
    background: var(--blue-primary);
    color: white;
}

/* Mobile — single row, only the active tab shows its label; others show only icon */
@media (max-width: 40rem) {
    .panel-tabs {
        display: flex;
        gap: 0.25rem;
        overflow: visible;
        padding: 0.3125rem;
        border-radius: 999px;
    }
    .panel-tab {
        flex: 1;
        min-width: 0;
        padding: 0.625rem 0.5rem;
        justify-content: center;
        gap: 0.375rem;
        border-radius: 999px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    .panel-tab i { font-size: 1rem; flex-shrink: 0; }
    /* Inactive tabs: hide the text, keep only the icon */
    .panel-tab:not(.active) > span { display: none; }
    /* Active tab: emphasize, slightly wider */
    .panel-tab.active {
        flex: 2.4;
        padding: 0.625rem 0.875rem;
    }
}

/* Order Card */
.order-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1.25rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.order-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.order-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.account-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    border: 1px dashed rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.75rem;
}

.account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(16, 185, 129, 0.2);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.account-row:last-child {
    border-bottom: none;
}

.account-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.account-value {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    direction: ltr;
}

.copy-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: var(--text-secondary);
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.copy-btn:hover {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

/* Professional delivery card */
.delivery-box {
    margin-top: 0.75rem;
    border: 1px solid #a7f3d0;
    border-radius: 16px;
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 42%);
    overflow: hidden;
}
.delivery-box-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    font-size: 0.8125rem;
    font-weight: 700;
    border-bottom: 1px solid #d1fae5;
}
.delivery-box-status i { font-size: 1rem; }
.delivery-creds {
    padding: 0.25rem 1rem;
}
.delivery-cred-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #d1fae5;
}
.delivery-cred-row:last-child { border-bottom: none; }
.delivery-cred-label {
    min-width: 8.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.delivery-cred-value {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
    word-break: break-all;
}
.delivery-cred-plain {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}
.delivery-notes {
    margin: 0.75rem 1rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.delivery-notes-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.875rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8125rem;
    color: #334155;
}
.delivery-notes-head i { color: #3b82f6; }
.delivery-notes-body {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    line-height: 1.9;
    color: #334155;
    white-space: normal;
    word-break: break-word;
}
.delivery-notes-body .rich-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0.5rem 0;
    padding: 0.75rem 0.875rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.delivery-notes-body .rich-link-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
}
.delivery-notes-body .rich-link-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.delivery-notes-body .rich-link-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e40af;
    direction: ltr;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
}
.delivery-notes-body .rich-link.is-long .rich-link-title {
    font-size: 0.875rem;
}
.delivery-notes-body .rich-link-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}
.delivery-notes-body .rich-link:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.delivery-notes-body .rich-link:hover .rich-link-icon {
    background: #dbeafe;
}

/* ============ BLOG ============ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 111, 201, 0.1), rgba(139, 92, 246, 0.1));
    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.05);
}

.blog-card-body {
    padding: 1.25rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.blog-card-category {
    background: rgba(0, 111, 201, 0.1);
    color: var(--blue-primary);
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-weight: 700;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.blog-card-excerpt {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.blog-card-link {
    color: var(--blue-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-card-link {
    gap: 0.625rem;
}

.blog-detail {
    max-width: 50rem;
    margin: 0 auto;
}

.blog-detail-image {
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 360px;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.blog-detail-content {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    padding: 2rem;
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.blog-detail-content h2 {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.blog-detail-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-detail-content p {
    margin-bottom: 1rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
    padding-right: 1.5rem;
    margin-bottom: 1rem;
}

/* ============ EMPTY ============ */
.empty {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-icon {
    width: 5rem;
    height: 5rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.empty h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .shop-layout,
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .panel-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-detail h1 {
        font-size: 1.5rem;
    }
    
    .product-detail-image {
        padding: 2rem;
        min-height: 240px;
    }
    
    .product-detail-image i {
        font-size: 5rem;
    }
}


/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: white;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 28rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    padding: 2rem 1.75rem 1.5rem;
    transform: translateY(40px) scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 2rem;
    height: 2rem;
    background: #f1f5f9;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.modal-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.modal-icon {
    width: 4.5rem;
    height: 4.5rem;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 12px 28px rgba(0, 111, 201, 0.35);
    position: relative;
    animation: modalIconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    animation-delay: 0.1s;
}

.modal-icon-success {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
}

.modal-icon-success::before {
    border-color: rgba(16, 185, 129, 0.2) !important;
}

.modal-icon-error {
    background: linear-gradient(135deg, #ef4444, #f87171);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.35);
}

.modal-icon-error::before {
    border-color: rgba(239, 68, 68, 0.2) !important;
}

.modal-icon-info {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    box-shadow: 0 12px 28px rgba(0, 111, 201, 0.35);
}

.modal-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px dashed rgba(0, 111, 201, 0.2);
    border-radius: 1.25rem;
    animation: modalRotate 12s linear infinite;
}

@keyframes modalIconPop {
    from {
        transform: scale(0.5) rotate(-45deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes modalRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.modal-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modal-message {
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.modal-message strong {
    color: var(--blue-primary);
    font-weight: 800;
}

.modal-info {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    margin-bottom: 1.5rem;
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
}

.modal-info-row > span {
    color: var(--text-secondary);
}

.modal-info-row > strong {
    font-weight: 700;
    color: var(--text-primary);
}

.modal-info-row.total {
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 0.625rem;
    margin-top: 0.375rem;
    font-size: 0.875rem;
}

.modal-info-row.total > strong {
    color: var(--blue-primary);
    font-weight: 800;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0.625rem;
}

.modal-actions[data-mode="single"] {
    grid-template-columns: 1fr;
}

.modal-actions .btn {
    justify-content: center;
}

@media (max-width: 480px) {
    .modal-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    
    .modal-icon {
        width: 4rem;
        height: 4rem;
        font-size: 1.25rem;
    }
    
    .modal-actions {
        grid-template-columns: 1fr;
    }
}


/* ============ PRODUCT DETAIL PAGE (NEW) ============ */
.pdetail-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
}

/* Image column */
.pdetail-image-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pdetail-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pdetail-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    background: radial-gradient(circle, rgba(0, 111, 201, 0.25), transparent 70%);
}

.pdetail-image-wrap.color-pink .pdetail-image-glow { background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent 70%); }
.pdetail-image-wrap.color-violet .pdetail-image-glow { background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%); }
.pdetail-image-wrap.color-emerald .pdetail-image-glow { background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%); }
.pdetail-image-wrap.color-amber .pdetail-image-glow { background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%); }

.pdetail-image {
    position: relative;
    z-index: 1;
    width: 60%;
    aspect-ratio: 1 / 1;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdetail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

.pdetail-image.fallback {
    border-radius: 24px;
    font-size: 5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Custom fields */
.pdetail-custom-fields {
    margin-bottom: 1.25rem;
    padding: 1rem 1.125rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.04), rgba(251, 191, 36, 0.04));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
}

.pdetail-custom-note {
    margin: 0 0 0.875rem;
    padding: 0.5rem 0.75rem;
    background: rgba(245, 158, 11, 0.08);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.pdetail-custom-note i {
    color: #f59e0b;
}

.pdetail-custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.pdetail-custom-grid .form-group label {
    font-size: 0.75rem;
}

.pdetail-custom-grid .form-control {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
}

@media (max-width: 768px) {
    .pdetail-custom-grid {
        grid-template-columns: 1fr;
    }
}

/* Trust badges */
.pdetail-trust-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 0.5rem;
    background: #fafbfc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    border-color: rgba(0, 111, 201, 0.2);
    background: white;
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: 1.125rem;
    color: var(--blue-primary);
}

.trust-badge span {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* Info column */
.pdetail-info-col {
    display: flex;
    flex-direction: column;
}

.pdetail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pdetail-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.pdetail-tag i {
    font-size: 0.6875rem;
    color: var(--blue-primary);
}

.pdetail-tag.featured {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #b45309;
}

.pdetail-tag.featured i {
    color: #f59e0b;
}

.pdetail-tag.rating {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #b45309;
}

.pdetail-tag.rating i {
    color: #f59e0b;
}

.pdetail-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 0.625rem;
    line-height: 1.4;
}

.pdetail-tagline {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 1.25rem;
}

/* Features */
.pdetail-features {
    background: #fafbfc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.pdetail-features h3 {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdetail-features h3::before {
    content: '';
    width: 0.25rem;
    height: 1rem;
    background: linear-gradient(180deg, var(--blue-primary), var(--blue-light));
    border-radius: 2px;
}

/* Activation time card — minimal style */
.pdetail-activation {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    background: #fafbfc;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.pdetail-activation-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.pdetail-activation-text small {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-bottom: 0.125rem;
    font-weight: 600;
}
.pdetail-activation-text strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 700;
}

.pdetail-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.pdetail-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.pdetail-features li i {
    width: 1.125rem;
    height: 1.125rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5625rem;
    flex-shrink: 0;
}

/* Plans selection */
.pdetail-section-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdetail-section-title i {
    color: var(--blue-primary);
    font-size: 0.875rem;
}

.pdetail-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 60rem) {
    .pdetail-plans { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 40rem) {
    .pdetail-plans { grid-template-columns: repeat(2, 1fr); }
}

.pdetail-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.875rem 0.625rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    gap: 0.25rem;
    overflow: hidden;
}

.pdetail-plan:hover {
    border-color: rgba(0, 111, 201, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 111, 201, 0.08);
}

.pdetail-plan.active {
    border-color: var(--blue-primary);
    background: rgba(0, 111, 201, 0.04);
    box-shadow: 0 4px 14px rgba(0, 111, 201, 0.18);
    transform: translateY(-2px);
}

.pdetail-plan.active::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0.375rem;
    right: 0.5rem;
    width: 1.125rem;
    height: 1.125rem;
    background: var(--blue-primary);
    color: white;
    border-radius: 50%;
    font-size: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdetail-plan input[type="radio"] {
    display: none;
}

/* Two-step plan selection — parent pills look subtly different from variant cards */
.pdetail-parent-pill {
    background: #fff;
    padding: 0.625rem 0.5rem !important;
}
.pdetail-parent-pill .plan-name {
    font-size: 0.8125rem !important;
}
.pdetail-parent-pill.active {
    background: rgba(0, 111, 201, 0.06);
}
.pdetail-variant[hidden],
.pdetail-subplan-title[hidden],
.pdetail-plans[data-step="subplan"][hidden] {
    display: none !important;
}

/* Plan that is out of stock (visually disabled but still visible) */
.pdetail-plan.out-of-stock {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f1f5f9 !important;
    border-style: dashed !important;
    border-color: #cbd5e1 !important;
}
.pdetail-plan.out-of-stock:hover {
    transform: none !important;
    box-shadow: none !important;
}
.pdetail-plan.out-of-stock .plan-name {
    text-decoration: line-through;
    color: #94a3b8 !important;
}
.pdetail-plan.out-of-stock .plan-final-price {
    color: #64748b !important;
}
.pdetail-plan.out-of-stock .plan-discount-corner,
.pdetail-plan.out-of-stock .plan-old-price {
    display: none !important;
}
.plan-stock-badge {
    position: absolute;
    top: 0.375rem;
    left: 0.375rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
    z-index: 2;
}

/* Out-of-stock notice above buy buttons */
.pdetail-oos-notice {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fca5a5;
    border-radius: 12px;
    color: #991b1b;
    font-size: 0.8125rem;
    font-weight: 700;
}
.pdetail-oos-notice[hidden] { display: none !important; }
.pdetail-oos-notice i { color: #dc2626; font-size: 1rem; flex-shrink: 0; }

/* Plan description card — admin-written note shown after plan is selected */
.pdetail-plan-desc {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    color: #0c4a6e;
    font-size: 0.8125rem;
    line-height: 1.85;
    text-align: justify;
    text-justify: inter-word;
}
.pdetail-plan-desc[hidden] {
    display: none !important;
}
.pdetail-plan-desc i {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: #0284c7;
    font-size: 0.9375rem;
}
.pdetail-plan-desc p {
    margin: 0;
    flex: 1;
    color: #0f172a;
    font-weight: 500;
}

.plan-discount-corner {
    position: absolute;
    top: 0.375rem;
    left: 0.375rem;
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    line-height: 1.4;
}

.pdetail-plan .plan-name {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 0.25rem;
    margin-bottom: 0.125rem;
}

.pdetail-plan .plan-old-price {
    font-size: 0.6875rem;
    color: #9ca3af;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.pdetail-plan .plan-final-price {
    font-size: 0.9375rem;
    font-weight: 900;
    color: var(--blue-primary);
    line-height: 1.2;
    margin-top: 0.125rem;
}

.pdetail-plan .plan-final-price small {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 0.125rem;
}

.pdetail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.pdetail-actions .btn {
    justify-content: center;
}

/* Tabs */
.pdetail-tabs {
    display: flex;
    gap: 0.25rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    padding: 0.3125rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.pdetail-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: max-content;
}

.pdetail-tab:hover {
    background: #f8fafc;
    color: var(--text-primary);
}

.pdetail-tab.active {
    background: var(--blue-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 111, 201, 0.25);
}

.pdetail-tab i {
    font-size: 0.875rem;
}

/* Tab content */
.pdetail-tab-content {
    display: none;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    animation: fadeInTab 0.3s ease;
}

.pdetail-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Description tab */
.pdetail-description-wrap {
    position: relative;
}

.pdetail-description {
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.pdetail-description.collapsed {
    max-height: 280px;
    position: relative;
}

.pdetail-description.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
}

.pdetail-description h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.pdetail-description h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.25rem 0 0.625rem;
}

.pdetail-description p {
    margin-bottom: 0.875rem;
}

.pdetail-description ul,
.pdetail-description ol {
    padding-right: 1.5rem;
    margin-bottom: 1rem;
}

.pdetail-description li {
    margin-bottom: 0.375rem;
}

.pdetail-description strong {
    color: var(--text-primary);
}

.pdetail-expand-btn {
    margin-top: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--blue-primary);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pdetail-expand-btn:hover {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

.pdetail-expand-btn .expand-text-hide {
    display: none;
}

.pdetail-expand-btn.expanded .expand-text-show {
    display: none;
}

.pdetail-expand-btn.expanded .expand-text-hide {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Reviews + QA */
.pdetail-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    gap: 1rem;
    flex-wrap: wrap;
}

.pdetail-reviews-header h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: var(--text-primary);
}

.pdetail-reviews-header p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.pdetail-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    background: #fef3c7;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
}

.rating-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #b45309;
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 0.125rem;
}

.rating-stars i {
    color: #e5e7eb;
    font-size: 0.875rem;
}

.rating-stars i.filled {
    color: #f59e0b;
}

.pdetail-rating-summary small {
    font-size: 0.6875rem;
    color: #92400e;
}

.pdetail-comments {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pdetail-comment {
    padding: 1rem 1.125rem;
    background: #fafbfc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pdetail-comment:hover {
    border-color: rgba(0, 0, 0, 0.08);
}

.pdetail-comment-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
}

.pdetail-comment-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.pdetail-comment-info {
    flex: 1;
    min-width: 0;
}

.pdetail-comment-name {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.purchaser-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 700;
}

.purchaser-badge i {
    font-size: 0.5625rem;
}

.pdetail-comment-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.comment-rating {
    display: inline-flex;
    gap: 0.0625rem;
}

.comment-rating i {
    color: #e5e7eb;
    font-size: 0.6875rem;
}

.comment-rating i.filled {
    color: #f59e0b;
}

.pdetail-comment-content {
    margin: 0;
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 0.875rem;
    padding-right: 3.25rem;
}

/* QA */
.pdetail-qa-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.pdetail-qa-item {
    background: #fafbfc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1rem 1.125rem;
}

.qa-question,
.qa-answer {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.qa-answer {
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
}

.qa-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    color: white;
}

.qa-icon.q {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
}

.qa-icon.a {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.qa-content {
    flex: 1;
    min-width: 0;
}

.qa-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
    font-size: 0.75rem;
}

.qa-meta strong {
    color: var(--text-primary);
    font-weight: 800;
}

.qa-meta span {
    color: var(--text-secondary);
}

.qa-content p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 0.875rem;
}

.qa-pending {
    margin-top: 0.625rem;
    padding-top: 0.625rem;
    margin-right: 2.75rem;
    color: #f59e0b;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Form wrap (review/qa) */
.pdetail-form-wrap {
    background: linear-gradient(135deg, rgba(0, 111, 201, 0.02), rgba(59, 130, 246, 0.02));
    border: 1px solid rgba(0, 111, 201, 0.08);
    border-radius: 14px;
    padding: 1.25rem 1.375rem;
    margin-top: 1.5rem;
}

.pdetail-form-wrap h4 {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdetail-form-wrap h4 i {
    color: var(--blue-primary);
}

/* Rating input */
.rating-input {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
    padding: 0.75rem 0.875rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.rating-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-stars-input {
    display: inline-flex;
    flex-direction: row-reverse;
}

.rating-stars-input input {
    display: none;
}

.rating-stars-input label {
    cursor: pointer;
    font-size: 1.25rem;
    color: #e5e7eb;
    transition: color 0.2s ease;
    padding: 0 0.125rem;
}

.rating-stars-input label:hover,
.rating-stars-input label:hover ~ label,
.rating-stars-input input:checked ~ label {
    color: #f59e0b;
}

/* ============ RESPONSIVE PRODUCT DETAIL ============ */
@media (max-width: 1024px) {
    .pdetail-grid {
        grid-template-columns: 320px 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pdetail-grid {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1.25rem;
    }
    
    .pdetail-image-wrap {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .pdetail-title {
        font-size: 1.25rem;
    }
    
    .pdetail-features ul {
        grid-template-columns: 1fr;
    }
    
    .pdetail-actions {
        grid-template-columns: 1fr;
    }
    
    .pdetail-tab {
        font-size: 0.75rem;
        padding: 0.625rem 0.75rem;
    }
    
    .pdetail-tab-content {
        padding: 1.25rem 1rem;
    }
    
    .pdetail-comment-content {
        padding-right: 0;
        margin-top: 0.5rem;
    }
}


/* Account Status (Delivered) */
.account-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    color: #047857;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
}

.account-status i {
    color: #10b981;
}

/* Pending Account Box */
.account-pending-box {
    margin-top: 0.875rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(251, 191, 36, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 14px;
    padding: 1rem 1.125rem;
}

.pending-status {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.pending-spinner {
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
    animation: pendingPulse 2s ease-in-out infinite;
}

@keyframes pendingPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5); }
}

.pending-status > div:last-child {
    display: flex;
    flex-direction: column;
}

.pending-status strong {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #92400e;
}

.pending-status span {
    font-size: 0.8125rem;
    color: #b45309;
    margin-top: 0.125rem;
}

.pending-info {
    margin-top: 0.875rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(245, 158, 11, 0.3);
}

.pending-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
    gap: 0.5rem;
}

.pending-row .pending-label {
    color: #b45309;
    font-weight: 600;
}

.pending-row code {
    background: white;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    direction: ltr;
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
}


/* ============ OUT OF STOCK ============ */

/* Card overlay & dim */
.product-card-new.out-of-stock {
    opacity: 0.85;
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
}

.product-card-new.out-of-stock .product-image img {
    filter: grayscale(0.6) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
}

.product-card-new.out-of-stock:hover {
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

/* Out of stock tag */
.product-tag-out {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.3125rem 0.625rem;
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 700;
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.25);
    margin-right: auto;
}

.product-tag-out i {
    font-size: 0.625rem;
    color: #64748b;
}

/* Out-of-stock pricing message */
.pricing-out-msg {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #475569;
}

.pricing-out-msg i {
    color: #94a3b8;
    font-size: 0.75rem;
}

.product-action-btn.out {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: rgba(0, 0, 0, 0.06);
}

.product-card-new:hover .product-action-btn.out {
    background: #cbd5e1;
    color: #475569;
    transform: none;
    box-shadow: none;
}

/* Product detail page out-of-stock */
.pdetail-out-of-stock {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.05), rgba(148, 163, 184, 0.05));
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 14px;
    margin-bottom: 1rem;
}

.pdetail-out-of-stock .out-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(100, 116, 139, 0.3);
}

.pdetail-out-of-stock h3 {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #334155;
    margin: 0 0 0.5rem;
}

.pdetail-out-of-stock p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1rem;
}


/* ============ PAYMENT OPTIONS ============ */
.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 0.625rem;
}

.payment-option:hover {
    border-color: rgba(0, 111, 201, 0.3);
    background: #fafbfc;
}

.payment-option.active {
    border-color: var(--blue-primary);
    background: rgba(0, 111, 201, 0.04);
    box-shadow: 0 4px 12px rgba(0, 111, 201, 0.1);
}

.payment-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.payment-option.active .payment-option-icon {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: white;
    box-shadow: 0 6px 14px rgba(0, 111, 201, 0.3);
}

.payment-option-info {
    flex: 1;
    min-width: 0;
}

.payment-option-info strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.payment-option-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.payment-option-check {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: white;
    border: 2px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.payment-option.active .payment-option-check {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
}

.payment-option:not(.active) .payment-option-check i {
    opacity: 0;
}

/* ============ C2C DETAILS ============ */
.c2c-details {
    margin: 0.625rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 111, 201, 0.03), rgba(59, 130, 246, 0.03));
    border: 1px solid rgba(0, 111, 201, 0.15);
    border-radius: 14px;
    animation: slideDown 0.3s ease;
}

.c2c-info-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 111, 201, 0.1);
}

.c2c-info-card h4 {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--blue-primary);
    margin: 0 0 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.c2c-info-card > p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 0.875rem;
}

.c2c-info-card > p strong {
    color: #047857;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.125rem 0.5rem;
    border-radius: 6px;
}

.c2c-card-display {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 14px;
    margin-bottom: 0.875rem;
    color: white;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
    position: relative;
    overflow: hidden;
}

.c2c-card-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
}

.c2c-card-label {
    font-size: 0.75rem;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

.c2c-card-number {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: 2px;
    direction: ltr;
    text-align: center;
    position: relative;
    z-index: 1;
}

.c2c-copy-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 0.875rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.c2c-copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.03);
}

.c2c-copy-btn.copied {
    background: rgba(16, 185, 129, 0.9);
    border-color: rgba(16, 185, 129, 1);
}

.c2c-meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

.c2c-meta-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.c2c-meta-item > i {
    width: 2rem;
    height: 2rem;
    background: rgba(0, 111, 201, 0.1);
    color: var(--blue-primary);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.c2c-meta-item small {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    display: block;
}

.c2c-meta-item strong {
    font-size: 0.8125rem;
    color: var(--text-primary);
    display: block;
}

.c2c-description {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    padding: 0.625rem 0.875rem;
    background: rgba(245, 158, 11, 0.06);
    border-right: 3px solid #f59e0b;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .c2c-details {
        padding: 0.875rem;
    }
    .c2c-card-display {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 0.625rem;
        padding: 0.875rem;
    }
    .c2c-card-label {
        text-align: center;
    }
    .c2c-card-number {
        font-size: 1.125rem;
        letter-spacing: 2px;
        word-break: break-all;
        text-align: center;
        width: 100%;
    }
    .c2c-copy-btn {
        width: 100%;
        justify-content: center;
        padding: 0.625rem;
    }
    .c2c-meta-row {
        grid-template-columns: 1fr;
    }
    .c2c-info-card h4 {
        font-size: 0.875rem;
    }
}

/* Keep date/time & all inputs inside their container (fixes datetime-local overflow) */
.c2c-details .form-control,
.c2c-details input[type="datetime-local"],
.c2c-details input[type="date"],
.c2c-details input[type="text"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}
.c2c-details .form-group { min-width: 0; }


/* ============ 404 ERROR PAGE ============ */
.error-page {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.3) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(219, 234, 254, 0.3) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2.5rem;
    padding: 3rem 2rem;
    margin: 1rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.05);
}

.error-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.error-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: multiply;
    animation: pulse 4s ease-in-out infinite;
}

.error-blob.blob-1 {
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(251, 146, 60, 0.2);
}

.error-blob.blob-2 {
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.25);
    animation-delay: 2s;
}

.error-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    width: 100%;
}

.error-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-circle {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 111, 201, 0.1);
}

.error-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(0, 111, 201, 0.2);
    animation: errorRotate 30s linear infinite;
}

.error-orbit.orbit-1 {
    inset: -20px;
}

.error-orbit.orbit-2 {
    inset: -40px;
    border-color: rgba(251, 146, 60, 0.2);
    animation-direction: reverse;
    animation-duration: 40s;
}

@keyframes errorRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.error-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--blue-primary);
    line-height: 1;
    letter-spacing: -2px;
}

.error-zero {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.875rem;
    box-shadow: 0 10px 24px rgba(0, 111, 201, 0.3);
    animation: errorBounce 2s ease-in-out infinite;
}

@keyframes errorBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.error-text {
    text-align: right;
}

.error-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4375rem 0.875rem;
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.error-tag i {
    color: #f59e0b;
}

.error-text h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 0.875rem;
    line-height: 1.4;
}

.error-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin: 0 0 1.5rem;
}

.error-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.error-quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.quick-links-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-left: 0.5rem;
}

.error-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-quick-links a:hover {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 111, 201, 0.2);
}

.error-quick-links a i {
    font-size: 0.6875rem;
}

@media (max-width: 768px) {
    .error-page {
        padding: 2rem 1.25rem;
        border-radius: 1.5rem;
        min-height: auto;
    }
    
    .error-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .error-text {
        text-align: center;
    }
    
    .error-circle {
        width: 220px;
        height: 220px;
    }
    
    .error-number {
        font-size: 4rem;
    }
    
    .error-zero {
        width: 3rem;
        height: 3rem;
        font-size: 1.375rem;
    }
    
    .error-text h1 {
        font-size: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .error-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .error-quick-links {
        justify-content: center;
    }
}



/* ==================== Hetzner Redirect Warning ==================== */
.hetzner-warning-page {
    max-width: 44rem;
    margin: 2rem auto;
    padding: 1rem;
}
.hetzner-warning-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.18);
    text-align: center;
}
.hetzner-warn-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 12px 24px -8px rgba(59, 130, 246, 0.4);
}
.hetzner-warning-card h1 {
    font-size: 1.375rem;
    font-weight: 800;
    margin: 0 0 1rem;
    color: #1e293b;
}
.hetzner-warn-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: right;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #78350f;
    border: 1px solid #fcd34d;
    border-radius: 0.875rem;
    padding: 1rem 1.125rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.9;
}
.hetzner-warn-box i { font-size: 1.125rem; flex-shrink: 0; margin-top: 0.125rem; }
.hetzner-warn-box p { margin: 0; }

.hetzner-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.hetzner-info-item {
    text-align: right;
    background: #f8fafc;
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 0.875rem;
    align-items: center;
}
.hetzner-info-item i {
    grid-row: span 2;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 8px -2px rgba(0,0,0,0.06);
}
.hetzner-info-item strong { font-size: 0.875rem; color: #1e293b; }
.hetzner-info-item p { margin: 0; font-size: 0.75rem; color: #64748b; }

.hetzner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.hetzner-help-text {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: #94a3b8;
}

@media (min-width: 40rem) {
    .hetzner-info-grid { grid-template-columns: 1fr 1fr; }
}



/* ==================== Hetzner Telegram Bot Banner ==================== */
.tg-banner-section {
    margin: 2.5rem 0 4.5rem;
    position: relative;
}
.tg-banner-section::after {
    content: '';
    display: block;
    margin-top: 4rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.04) 15%, rgba(0,136,204,0.18) 50%, rgba(0,0,0,0.04) 85%, transparent);
}
.tg-banner {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #0a3a8a 35%, #0088cc 75%, #229ED9 100%);
    box-shadow: 0 25px 60px -25px rgba(15,23,42,0.6);
    transition: transform .3s ease, box-shadow .3s ease;
}
.tg-banner:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 30px 70px -25px rgba(0,136,204,0.5);
}
.tg-banner-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(34,158,217,0.4), transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(99,102,241,0.3), transparent 60%);
    pointer-events: none;
}
.tg-banner-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 2rem;
}
.tg-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.tg-banner-badge i { color: #7dd3fc; }
.tg-banner-text h2 {
    font-size: 1.875rem;
    font-weight: 900;
    margin: 0 0 0.75rem;
    line-height: 1.4;
    color: #fff;
}
.tg-banner-text > p {
    margin: 0 0 1.25rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
    font-size: 0.9375rem;
    max-width: 32rem;
}
.tg-banner-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.75rem;
}
.tg-banner-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.92);
    font-size: 0.8125rem;
}
.tg-banner-features li i {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(125,211,252,0.25);
    color: #7dd3fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    flex-shrink: 0;
}
.tg-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}
.tg-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9375rem;
    background: #fff;
    color: #0088cc;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
    transition: transform .2s ease, box-shadow .2s ease;
}
.tg-banner:hover .tg-banner-btn {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.4);
}
.tg-banner-handle {
    direction: ltr;
    font-family: monospace;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 700;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 0.875rem;
    border-radius: 0.625rem;
    border: 1px dashed rgba(255,255,255,0.25);
}

/* Telegram chat mockup */
.tg-banner-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tg-chat {
    width: 100%;
    max-width: 22rem;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.55);
}
.tg-chat-head {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tg-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.tg-chat-title strong {
    display: block;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 800;
}
.tg-chat-title small {
    display: block;
    color: #4ade80;
    font-size: 0.6875rem;
    font-weight: 600;
}
.tg-chat-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.tg-msg {
    padding: 0.5rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    max-width: 85%;
    word-break: break-word;
}
.tg-msg.in {
    align-self: flex-start;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-bottom-right-radius: 0.25rem;
    direction: ltr;
    font-family: monospace;
}
.tg-msg.out {
    align-self: flex-end;
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: #fff;
    border-bottom-left-radius: 0.25rem;
}
.tg-msg.out .tg-btn {
    display: inline-block;
    margin: 0.25rem 0.25rem 0 0;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 60rem) {
    .tg-banner-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2rem 1.5rem;
    }
    .tg-banner-text h2 { font-size: 1.5rem; }
    .tg-banner-features { grid-template-columns: 1fr; }
    .tg-banner-visual { order: -1; }
    .tg-chat { max-width: 18rem; }
}

@media (max-width: 40rem) {
    .tg-banner-section { margin: 1.25rem 0 2.25rem; }
    .tg-banner { border-radius: 1.25rem; }
    .tg-banner-bg {
        background:
            radial-gradient(ellipse at top right, rgba(34,158,217,0.4), transparent 60%),
            radial-gradient(ellipse at bottom left, rgba(99,102,241,0.25), transparent 65%);
    }
    .tg-banner-content { padding: 1.5rem 1.25rem; gap: 1.25rem; }
    .tg-banner-badge { font-size: 0.6875rem; padding: 0.3125rem 0.75rem; margin-bottom: 0.625rem; }
    .tg-banner-text h2 { font-size: 1.125rem; line-height: 1.55; margin-bottom: 0.5rem; }
    .tg-banner-text > p { font-size: 0.8125rem; line-height: 1.85; margin-bottom: 0.875rem; }

    .tg-banner-features { gap: 0.5rem; margin-bottom: 1rem; }
    .tg-banner-features li { font-size: 0.8125rem; gap: 0.5rem; }
    .tg-banner-features li i { width: 1.125rem; height: 1.125rem; font-size: 0.5625rem; }

    .tg-banner-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .tg-banner-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        border-radius: 0.75rem;
        gap: 0.4375rem;
    }
    .tg-banner-handle {
        text-align: center;
        font-size: 0.6875rem;
        padding: 0.375rem 0.625rem;
    }

    .tg-chat { max-width: 100%; border-radius: 1rem; }
    .tg-chat-head { padding: 0.5rem 0.75rem; }
    .tg-avatar { width: 1.875rem; height: 1.875rem; font-size: 0.75rem; }
    .tg-chat-title strong { font-size: 0.8125rem; }
    .tg-chat-title small { font-size: 0.625rem; }
    .tg-chat-body { padding: 0.75rem; gap: 0.4375rem; }
    .tg-msg { font-size: 0.75rem; padding: 0.4375rem 0.75rem; }
    .tg-msg.out .tg-btn { font-size: 0.6875rem; padding: 0.1875rem 0.5rem; }

    .tg-banner-section::after { margin-top: 2rem; }
}


/* ==================== Custom Request CTA (home page) ==================== */
.custom-cta {
    position: relative;
    margin: 3rem 0 4rem;
    padding: 2.5rem 2rem;
    border-radius: 1.75rem;
    background:
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e1b4b 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 25px 60px -25px rgba(15, 23, 42, 0.5);
}
.custom-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.35), transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(236, 72, 153, 0.25), transparent 55%);
    pointer-events: none;
}
.custom-cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.75rem;
    align-items: center;
}

.custom-cta-icon {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 12px 28px -10px rgba(99, 102, 241, 0.6);
}
.custom-cta-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 1.5rem;
    border: 2px solid rgba(99, 102, 241, 0.6);
    animation: ccPulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes ccPulse {
    0%   { transform: scale(0.95); opacity: 0.7; }
    70%  { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.custom-cta-text h2 {
    margin: 0 0 0.5rem;
    font-size: 1.375rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.5;
}
.custom-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 2;
    font-size: 0.9375rem;
    max-width: 38rem;
}

.custom-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}
.custom-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.875rem;
    font-weight: 800;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    border: 1.5px solid transparent;
}
.custom-cta-btn.primary {
    background: linear-gradient(135deg, #38b2ff 0%, #0088cc 100%);
    color: #fff;
    box-shadow: 0 10px 26px -8px rgba(0, 136, 204, 0.55);
}
.custom-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(0, 136, 204, 0.7);
    color: #fff;
}
.custom-cta-btn.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}
.custom-cta-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    color: #fff;
}

/* Tablet */
@media (max-width: 60rem) {
    .custom-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.25rem;
    }
    .custom-cta-icon { margin: 0 auto; }
    .custom-cta-text p { margin: 0 auto; }
    .custom-cta-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

/* Mobile */
@media (max-width: 40rem) {
    .custom-cta {
        margin: 2rem 0 2.5rem;
        padding: 1.75rem 1.25rem;
        border-radius: 1.25rem;
    }
    .custom-cta-icon { width: 3.75rem; height: 3.75rem; font-size: 1.25rem; border-radius: 1rem; }
    .custom-cta-text h2 { font-size: 1.125rem; }
    .custom-cta-text p { font-size: 0.8125rem; line-height: 1.95; }
    .custom-cta-actions { flex-direction: column; width: 100%; }
    .custom-cta-btn { width: 100%; padding: 0.75rem 1rem; font-size: 0.875rem; }
}


/* ==================== Contact Page (cx-) ==================== */
/* HERO */
.cx-hero {
    position: relative;
    margin: 0.5rem 0 1.25rem;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 50%, #ecfeff 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 18px 40px -25px rgba(15, 23, 42, 0.18);
}
.cx-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.cx-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    animation: cxFloat 14s ease-in-out infinite;
}
.cx-blob-1 {
    width: 22rem; height: 22rem;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: -7rem; right: -6rem;
}
.cx-blob-2 {
    width: 18rem; height: 18rem;
    background: radial-gradient(circle, #06b6d4, transparent 70%);
    bottom: -6rem; left: -4rem;
    animation-delay: -5s;
}
@keyframes cxFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(20px,-15px) scale(1.06); }
}
.cx-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 38rem;
    margin: 0 auto;
}
.cx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4375rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #1e3a8a;
    font-size: 0.8125rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    margin-bottom: 1rem;
}
.cx-pulse {
    width: 0.5rem; height: 0.5rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16,185,129,0.7);
    animation: cxPulse 2s infinite;
}
@keyframes cxPulse {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.cx-hero-title {
    margin: 0 0 0.625rem;
    font-size: clamp(1.375rem, 4vw, 2rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.4;
}
.cx-hero-text {
    margin: 0;
    color: #475569;
    line-height: 2;
    font-size: 0.9375rem;
}

/* QUICK CARDS */
.cx-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.cx-quick-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border-radius: 1rem;
    background: #fff;
    border: 1.5px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.cx-quick-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cx-grad, linear-gradient(135deg, #3b82f6, #6366f1));
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}
.cx-quick-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    color: inherit;
    box-shadow: 0 18px 36px -18px var(--cx-shadow, rgba(99, 102, 241, 0.4));
}
.cx-quick-card > * { position: relative; z-index: 1; }
.cx-quick-card.cx-tg   { --cx-grad: linear-gradient(135deg, #0088cc, #38bdf8); --cx-shadow: rgba(0, 136, 204, 0.5); }
.cx-quick-card.cx-call { --cx-grad: linear-gradient(135deg, #10b981, #06b6d4); --cx-shadow: rgba(16, 185, 129, 0.5); }
.cx-quick-card.cx-mail { --cx-grad: linear-gradient(135deg, #f59e0b, #ef4444); --cx-shadow: rgba(245, 158, 11, 0.5); }
.cx-quick-card.cx-ig   { --cx-grad: linear-gradient(135deg, #f97316, #ec4899 60%, #8b5cf6); --cx-shadow: rgba(236, 72, 153, 0.5); }

.cx-quick-icon {
    width: 3rem; height: 3rem;
    border-radius: 0.875rem;
    background: var(--cx-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px -8px var(--cx-shadow);
}
.cx-quick-text { flex: 1; min-width: 0; }
.cx-quick-text strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.125rem;
}
.cx-quick-text small {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    direction: ltr;
    text-align: right;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.cx-quick-arrow {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}
.cx-quick-card:hover .cx-quick-arrow {
    color: #3b82f6;
    transform: translateX(-3px);
}

/* FORM */
.cx-form-section { margin-bottom: 1.5rem; }

/* Login required gate on contact page */
.cx-login-gate {
    text-align: center;
    padding: 1.25rem 0.5rem 0.5rem;
}
.cx-login-gate-icon {
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 1.25rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 14px 28px -12px rgba(59, 130, 246, 0.55);
}
.cx-login-gate h2 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
}
.cx-login-gate > p {
    margin: 0 auto 1.5rem;
    max-width: 28rem;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #64748b;
}
.cx-login-gate-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}
.cx-login-gate-btn {
    width: auto;
    min-width: min(100%, 18rem);
    text-decoration: none;
}
.cx-login-gate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
}
.cx-login-gate-link:hover { color: #1d4ed8; text-decoration: underline; }
.cx-login-gate-benefits {
    list-style: none;
    margin: 0;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.cx-login-gate-benefits li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}
.cx-login-gate-benefits li i {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    flex-shrink: 0;
}
.cx-form-card {
    background: #fff;
    border: 1.5px solid #f1f5f9;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.12);
}
.cx-form-head {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
}
.cx-form-icon {
    width: 3rem; height: 3rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px -8px rgba(59, 130, 246, 0.5);
}
.cx-form-head h2 {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
}
.cx-form-head p {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.cx-form { display: flex; flex-direction: column; gap: 1rem; }
.cx-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.cx-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.4375rem;
}
.cx-req { color: #ef4444; font-weight: 700; }
.cx-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.cx-input-wrap > i {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.875rem;
    pointer-events: none;
}
.cx-input-wrap input,
.cx-input-wrap textarea,
.cx-input-wrap select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 0.875rem;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0.75rem;
    font: inherit;
    color: #0f172a;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    box-sizing: border-box;
}
.cx-input-wrap input:focus,
.cx-input-wrap textarea:focus,
.cx-input-wrap select:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.cx-input-wrap input::placeholder,
.cx-input-wrap textarea::placeholder { color: #cbd5e1; }
.cx-textarea-wrap { align-items: flex-start; }
.cx-textarea-wrap > i { top: 0.875rem; transform: none; }
.cx-textarea-wrap textarea { resize: vertical; min-height: 7rem; }

.cx-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 0;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 12px 26px -10px rgba(59, 130, 246, 0.55);
}
.cx-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -10px rgba(59, 130, 246, 0.7);
}

/* INFO STRIP */
.cx-info-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.cx-info-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f8fafc, #fff);
    border: 1.5px solid #e2e8f0;
}
.cx-info-icon {
    width: 2.75rem; height: 2.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.cx-info-icon-amber {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}
.cx-info-item small {
    display: block;
    font-size: 0.6875rem;
    color: #94a3b8;
    margin-bottom: 0.125rem;
    font-weight: 700;
}
.cx-info-item strong {
    display: block;
    font-size: 0.875rem;
    color: #0f172a;
    line-height: 1.7;
}

/* TABLET */
@media (max-width: 60rem) {
    .cx-hero { padding: 2rem 1.5rem; }
    .cx-info-strip { grid-template-columns: 1fr; }
}

/* MOBILE */
@media (max-width: 40rem) {
    .cx-hero {
        padding: 1.75rem 1.125rem;
        border-radius: 1.25rem;
    }
    .cx-hero-text { font-size: 0.875rem; line-height: 1.95; }
    .cx-hero-badge { font-size: 0.75rem; padding: 0.375rem 0.875rem; }

    .cx-quick-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .cx-quick-card { padding: 0.875rem 1rem; }
    .cx-quick-icon { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
    .cx-quick-text strong { font-size: 0.875rem; }
    .cx-quick-text small { font-size: 0.6875rem; }

    .cx-form-card { padding: 1.125rem; border-radius: 1rem; }
    .cx-form-head { gap: 0.625rem; padding-bottom: 0.875rem; margin-bottom: 1rem; }
    .cx-form-icon { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
    .cx-form-head h2 { font-size: 1rem; }
    .cx-form-head p { font-size: 0.75rem; }

    .cx-row { grid-template-columns: 1fr; gap: 0.625rem; }
    .cx-input-wrap input,
    .cx-input-wrap textarea {
        padding: 0.6875rem 2.25rem 0.6875rem 0.75rem;
        font-size: 0.875rem;
    }

    .cx-info-item { padding: 0.875rem 1rem; }
    .cx-info-icon { width: 2.25rem; height: 2.25rem; font-size: 0.875rem; }
    .cx-info-item strong { font-size: 0.8125rem; }
}


/* ==================== Product Visual Helper ==================== */
.product-visual {
    flex-shrink: 0;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
}
.product-visual-sm { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
.product-visual-md { width: 3rem; height: 3rem; font-size: 1.125rem; }
.product-visual-lg { width: 4rem; height: 4rem; font-size: 1.5rem; border-radius: 1rem; }

.product-visual-logo {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 0.25rem;
    box-sizing: border-box;
}
.product-visual-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-visual-icon {
    /* Inherits bg-{color}-soft for color */
}


/* ============ USER ORDERS (uo-*) — redesigned ============ */
.uo-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem 1.125rem;
    margin-bottom: 1rem;
    transition: 0.2s ease;
    border-right: 4px solid #cbd5e1;
}
.uo-card:hover { box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06); }

.uo-status-in-progress { border-right-color: #3b82f6; }
.uo-status-delivered  { border-right-color: #10b981; }
.uo-status-pending    { border-right-color: #f59e0b; }
.uo-status-cancelled,
.uo-status-refunded   { border-right-color: #ef4444; }

.uo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px dashed #e5e7eb;
    margin-bottom: 0.875rem;
}
.uo-head-left, .uo-head-right {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.uo-head-right {
    align-items: flex-end;
}
.uo-number {
    font-size: 0.875rem;
    font-weight: 800;
    color: #0f172a;
    direction: ltr;
    font-family: 'Courier New', monospace;
}
.uo-date {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}
.uo-date i { color: #94a3b8; font-size: 0.6875rem; }
.uo-amount {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0f172a;
}
.uo-amount small { color: #64748b; font-weight: 600; font-size: 0.75rem; margin-right: 0.125rem; }

.uo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1.4;
}
.uo-badge i { font-size: 0.6875rem; }
.uo-badge-pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}
.uo-badge-in-progress {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}
.uo-badge-in-progress i { animation: uo-spin 2s linear infinite; }
@keyframes uo-spin { to { transform: rotate(360deg); } }
.uo-badge-delivered {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}
.uo-badge-cancelled,
.uo-badge-refunded {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

/* Timeline / progress */
.uo-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0 1rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #f0f9ff, #f8fafc);
    border: 1px solid #bae6fd;
    border-radius: 12px;
}
.uo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}
.uo-step .uo-dot {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #cbd5e1;
    color: #94a3b8;
    font-size: 0.75rem;
    transition: 0.2s ease;
}
.uo-step.done .uo-dot {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #047857;
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.uo-step.active .uo-dot {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #1e40af;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 12px rgba(59, 130, 246, 0.3);
    animation: uo-pulse 1.6s ease-in-out infinite;
}
@keyframes uo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.uo-step small {
    font-size: 0.6875rem;
    color: #475569;
    font-weight: 700;
    text-align: center;
}
.uo-step.active small { color: #1e40af; }
.uo-step.done small { color: #047857; }
.uo-line {
    height: 3px;
    background: #cbd5e1;
    border-radius: 999px;
    align-self: center;
    width: 100%;
    min-width: 1.5rem;
}
.uo-line.done {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.uo-progress {
    margin: 0 0 0.875rem;
    background: #f1f5f9;
    border-radius: 999px;
    height: 0.5rem;
    position: relative;
    overflow: hidden;
}
.uo-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
}
.uo-progress small {
    display: block;
    font-size: 0.6875rem;
    color: #64748b;
    font-weight: 700;
    margin-top: 0.5rem;
    text-align: center;
}

/* Items inside an order */
.uo-item {
    padding: 0.75rem 0;
    border-bottom: 1px dashed #f1f5f9;
}
.uo-item:last-child { border-bottom: 0; padding-bottom: 0; }
.uo-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.uo-item-head strong { font-size: 0.875rem; }

.uo-note {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}
.uo-note-pending {
    background: linear-gradient(135deg, #fef3c7, #fef9c3);
    border: 1px solid #fde68a;
    color: #78350f;
}
.uo-note-pending i { color: #d97706; }
.uo-note .btn-sm { margin-right: auto; padding: 0.375rem 0.875rem; font-size: 0.75rem; }

@media (max-width: 540px) {
    .uo-timeline {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }
    .uo-line {
        height: 1.5rem;
        width: 3px;
        margin: 0 auto;
    }
    .uo-step { flex-direction: row; gap: 0.625rem; justify-content: flex-start; }
    .uo-step small { text-align: right; }
}

@media (max-width: 480px) {
    .uo-header { flex-direction: column; align-items: flex-start; }
    .uo-head-right { align-items: flex-start; }
}

/* ─── Support tickets (user) ─── */
.panel-tab { position: relative; }
.panel-tab-badge {
    position: absolute;
    top: -0.25rem;
    left: -0.125rem;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Ticket status pills — colored backgrounds */
.tk-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.625rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.3;
    flex-shrink: 0;
}
.tk-status i { font-size: 0.6875rem; }
.tk-status-open {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}
.tk-status-answered {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.tk-status-closed {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.tk-login-hint {
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    color: #1e40af;
    line-height: 1.6;
}
.tk-login-hint i { margin-top: 0.125rem; flex-shrink: 0; }
.tk-login-hint a { color: #1d4ed8; font-weight: 700; text-decoration: underline; }
.tk-login-hint-ok {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
.tk-login-hint-ok a { color: #047857; }

.tk-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.tk-list-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.tk-list-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.tk-list-status-bar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e2e8f0;
}
.tk-list-open .tk-list-status-bar { background: #f59e0b; }
.tk-list-answered .tk-list-status-bar { background: #3b82f6; }
.tk-list-closed .tk-list-status-bar { background: #10b981; }
.tk-list-item.is-unread {
    background: #fffbeb;
    border-color: #fcd34d;
}
.tk-list-main { min-width: 0; flex: 1; }
.tk-list-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tk-list-top strong {
    font-size: 0.9375rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #0f172a;
}
.tk-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
}
.tk-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.375rem;
    color: #94a3b8;
    font-size: 0.75rem;
}
.tk-meta-sep { opacity: 0.6; }

.tk-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.tk-back-btn:hover { background: #3b82f6; color: #fff; }

.tk-user-view-head {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}
.tk-user-view-meta { flex: 1; min-width: 0; }
.tk-user-view-meta h3 {
    font-size: 1.0625rem;
    font-weight: 800;
    margin: 0.25rem 0 0;
    color: #0f172a;
    line-height: 1.4;
}
.tk-subject-cat {
    display: inline-block;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #94a3b8;
}
.tk-admin-num {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 0.02em;
}
.tk-thread {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.tk-bubble {
    border-radius: 0.875rem;
    padding: 1rem 1.125rem;
    border: 1px solid #e2e8f0;
    max-width: 92%;
}
.tk-bubble-user {
    align-self: flex-start;
    background: #f8fafc;
    border-color: #e2e8f0;
}
.tk-bubble-admin {
    align-self: flex-end;
    background: #eff6ff;
    border-color: #bfdbfe;
}
.tk-bubble-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.625rem;
    flex-wrap: wrap;
}
.tk-bubble-head strong {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #0f172a;
}
.tk-bubble-head small { font-size: 0.6875rem; color: #94a3b8; }
.tk-bubble-body {
    font-size: 0.875rem;
    line-height: 1.8;
    color: #334155;
    white-space: pre-wrap;
    word-break: break-word;
}
.tk-reply-box {
    padding-top: 0.25rem;
    border-top: 1px solid #f1f5f9;
}
.tk-reply-form { margin-top: 1rem; }
.tk-close-form { margin-top: 0.875rem; }
.tk-reply-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.tk-closed-note {
    padding: 1rem 1.125rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.75rem;
    color: #065f46;
    font-size: 0.8125rem;
}
.tk-closed-note a { color: #047857; font-weight: 700; }
@media (max-width: 540px) {
    .tk-bubble { max-width: 100%; }
    .tk-list-item {
        flex-wrap: wrap;
        padding: 0.875rem 1rem 0.875rem 1.125rem;
    }
    .tk-list-item .tk-status {
        margin-right: auto;
    }
}
