:root {
    --blue-950: #04152f;
    --blue-900: #0a2451;
    --blue-800: #0f3a78;
    --blue-700: #1450a3;
    --blue-600: #1677ff;
    --sky-500: #38bdf8;
    --sky-300: #7dd3fc;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --line: rgba(12, 74, 155, 0.12);
    --text: #10233d;
    --muted: #64748b;
    --shadow: 0 16px 40px rgba(8, 28, 63, 0.12);
    --shadow-lg: 0 30px 90px rgba(8, 28, 63, 0.2);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(22, 119, 255, 0.18), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #eef5ff 40%, #f8fbff 100%);
}

body.auth-page {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 26%),
        radial-gradient(circle at bottom right, rgba(22, 119, 255, 0.28), transparent 30%),
        linear-gradient(160deg, #03142c 0%, #0b2857 44%, #0a4ab2 100%);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-main {
    padding-top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.topbar {
    background: linear-gradient(90deg, rgba(4, 21, 47, 0.96), rgba(15, 58, 120, 0.96));
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
    min-height: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.topbar-info,
.topbar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.topbar a,
.topbar span {
    color: inherit;
}

.navbar-custom {
    background: linear-gradient(135deg, rgba(6, 29, 64, 0.96), rgba(13, 54, 119, 0.94));
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(5, 19, 44, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
}

.navbar-custom.is-scrolled {
    box-shadow: 0 18px 34px rgba(5, 19, 44, 0.24);
}

.navbar-custom .container {
    gap: 12px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    box-shadow: 0 12px 28px rgba(56, 189, 248, 0.25);
}

.brand-text {
    display: grid;
    line-height: 1;
}

.brand-text strong {
    font-size: 1.02rem;
}

.brand-text small {
    font-size: 0.78rem;
    opacity: 0.8;
}

.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.84) !important;
    font-weight: 600;
    position: relative;
    padding: 0.75rem 1rem !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #fff !important;
    transform: translateY(-1px);
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.4rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sky-300), #fff);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu-dark {
    background: rgba(7, 24, 52, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    border-radius: 18px;
    overflow: hidden;
}

.dropdown-menu-dark .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    background: rgba(56, 189, 248, 0.14);
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-container {
    position: relative;
    width: min(280px, 42vw);
}

.search-input {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    box-shadow: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(125, 211, 252, 0.6);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.16);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow: auto;
    z-index: 20;
    animation: fadeUp 0.22s ease;
}

.search-result-item {
    display: block;
    color: var(--text);
    border-bottom: 1px solid rgba(16, 35, 61, 0.06);
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-result-item:hover {
    background: rgba(22, 119, 255, 0.06);
    transform: translateX(2px);
}

.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-header-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-header-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.btn-header-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(22, 119, 255, 0.28);
}

.btn-header-primary:hover {
    color: #fff;
    box-shadow: 0 18px 34px rgba(22, 119, 255, 0.32);
}

.btn-header-cart {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdba74, #fb7185);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(251, 113, 133, 0.3);
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 32px;
    border-radius: 0 0 36px 36px;
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.22), transparent 24%),
        radial-gradient(circle at bottom left, rgba(22, 119, 255, 0.18), transparent 30%),
        linear-gradient(135deg, var(--blue-950), var(--blue-700));
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.05), transparent 30%, rgba(255, 255, 255, 0.06) 70%, transparent);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    padding: 68px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero-title {
    margin: 0;
    font-size: clamp(2rem, 4.8vw, 3.8rem);
    line-height: 1.05;
    font-weight: 800;
    max-width: 12ch;
}

.hero-text {
    margin: 16px 0 0;
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.section-shell {
    padding: 0 0 42px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--blue-950);
    margin-bottom: 0.4rem;
}

.section-subtitle {
    color: var(--muted);
    margin-bottom: 0;
}

.card-elevated,
.category-card,
.product-card,
.feature-card,
.testimonial-card,
.auth-card,
.filter-panel {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.card-elevated {
    border-radius: var(--radius);
}

.category-card {
    display: block;
    height: 100%;
    padding: 24px 18px;
    border-radius: 22px;
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.category-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 16px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    box-shadow: 0 16px 30px rgba(22, 119, 255, 0.22);
}

.product-card {
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 72%;
    background: linear-gradient(135deg, #e8f3ff, #dbeafe);
}

.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.product-actions {
    position: absolute;
    inset: auto 16px 16px auto;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-actions .btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: none;
    box-shadow: 0 12px 24px rgba(8, 28, 63, 0.2);
}

.product-body {
    padding: 18px;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--blue-950);
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin-bottom: 12px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--blue-700);
}

.original-price {
    color: var(--muted);
    text-decoration: line-through;
}

.feature-card,
.testimonial-card,
.auth-card,
.filter-panel,
.info-card {
    border-radius: 24px;
}

.feature-card {
    padding: 28px 20px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
}

.testimonial-card {
    padding: 28px;
    height: 100%;
}

.testimonial-rating {
    color: #f59e0b;
    margin-bottom: 14px;
}

.testimonial-text {
    color: var(--muted);
    font-style: italic;
    margin-bottom: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    color: var(--blue-600);
}

.author-info h6 {
    margin: 0;
    font-weight: 700;
}

.author-info small {
    color: var(--muted);
}

.filter-panel {
    position: sticky;
    top: 120px;
    padding: 22px;
}

.page-hero--subtle {
    border-radius: 30px;
    margin-top: 24px;
}

.auth-page .site-main-auth {
    min-height: calc(100vh - 140px);
    display: grid;
    align-items: center;
    padding: 44px 0 60px;
}

.auth-shell {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.auth-shell::before {
    content: '';
    position: absolute;
    inset: auto -10% -25% auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.34), transparent 68%);
    pointer-events: none;
}

.auth-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.96);
}

.auth-hero {
    color: #fff;
    padding: 20px 0;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 14px;
}

.auth-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.auth-hero p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 44ch;
}

.checkout-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(125, 211, 252, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(4, 21, 47, 0.82), rgba(4, 21, 47, 0.9));
    backdrop-filter: blur(10px);
    animation: fadeUp 0.22s ease;
}

.checkout-loading-card {
    position: relative;
    width: min(100%, 460px);
    padding: 34px 30px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.checkout-loading-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(22, 119, 255, 0.08), transparent 36%, rgba(56, 189, 248, 0.1) 70%, transparent);
    pointer-events: none;
}

.checkout-loading-orbit {
    position: relative;
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
}

.checkout-loading-orbit span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(22, 119, 255, 0.14);
    animation: softPulse 1.8s ease-in-out infinite;
}

.checkout-loading-orbit span:nth-child(2) {
    inset: 10px;
    border-color: rgba(56, 189, 248, 0.24);
    animation-delay: 0.2s;
}

.checkout-loading-orbit span:nth-child(3) {
    inset: 22px;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    box-shadow: 0 0 0 8px rgba(22, 119, 255, 0.08);
    animation: floatUp 2.1s ease-in-out infinite;
}

.checkout-loading-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(22, 119, 255, 0.08);
    color: var(--blue-700);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.checkout-loading-card h5 {
    position: relative;
    z-index: 1;
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--text);
}

.checkout-loading-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: var(--muted);
}

.checkout-loading-note {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 0.88rem;
    color: var(--blue-700);
    font-weight: 600;
}

.checkout-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(4, 21, 47, 0.72);
    backdrop-filter: blur(10px);
    animation: fadeUp 0.22s ease;
}

.checkout-confirm-card {
    width: min(100%, 460px);
    padding: 34px 30px 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.58);
}

.checkout-confirm-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #0ea5e9);
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.24);
}

.checkout-confirm-card h4 {
    font-weight: 800;
    color: var(--text);
}

.confirmation-success-shell {
    display: flex;
    justify-content: center;
}

.confirmation-success-card {
    position: relative;
    width: min(100%, 760px);
    padding: 38px 34px 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top, rgba(125, 211, 252, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.98));
    border: 1px solid rgba(22, 119, 255, 0.12);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.confirmation-success-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(22, 119, 255, 0.08), transparent 35%, rgba(56, 189, 248, 0.08) 70%, transparent);
    pointer-events: none;
}

.confirmation-success-icon {
    width: 94px;
    height: 94px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.3rem;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #0ea5e9);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.24);
    position: relative;
    z-index: 1;
}

.confirmation-success-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(22, 119, 255, 0.08);
    color: var(--blue-700);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.confirmation-success-title {
    position: relative;
    z-index: 1;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.12;
    font-weight: 900;
    color: var(--text);
}

.confirmation-success-text {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 58ch;
    font-size: 1.05rem;
    color: var(--muted);
}

.auth-points {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.auth-point {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-point i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    color: #fff;
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: rgba(100, 116, 139, 0.18);
    padding: 0.8rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(22, 119, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(22, 119, 255, 0.12);
}

.input-group-text {
    border-radius: 14px 0 0 14px;
    background: #edf5ff;
    border-color: rgba(100, 116, 139, 0.18);
    color: var(--blue-700);
}

.btn-primary,
.btn.btn-primary {
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    border: none;
    box-shadow: 0 16px 30px rgba(22, 119, 255, 0.24);
}

.btn-primary:hover,
.btn.btn-primary:hover {
    background: linear-gradient(135deg, #60c9fb, #155bd6);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(22, 119, 255, 0.3);
}

.btn-outline-primary {
    color: var(--blue-700);
    border-color: rgba(22, 119, 255, 0.35);
}

.btn-outline-primary:hover {
    background: var(--blue-700);
    border-color: var(--blue-700);
}

.footer {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.82);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 28%),
        linear-gradient(135deg, #03142c, #0a2451 55%, #0d3c86);
}

.footer .container {
    padding-top: 62px;
    padding-bottom: 30px;
}

.footer h5 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-brand-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
}

.footer-lead {
    max-width: 40ch;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.74);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.74);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

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

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: rgba(56, 189, 248, 0.26);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.12);
}

.footer-meta {
    color: rgba(255, 255, 255, 0.76);
}

.hero-slider {
    margin-top: 0;
}

.carousel-item {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 21, 47, 0.20), rgba(13, 54, 119, 0.20));
}

.carousel-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.carousel-click-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    touch-action: manipulation;
}

.slide-content {
    color: #fff;
    max-width: 900px;
    padding: 26px 28px;
    border-radius: 28px;
    background: rgba(6, 24, 52, 0.28);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: floatUp 0.8s ease both;
    
}

.slide-content h1 {
    font-size: clamp(1.2rem, 4vw, 4rem);
    font-weight: 800;
}

.slide-content p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.84);
}

.slide-content .btn {
    border-radius: 999px;
    padding: 0.9rem 1.35rem;
}

.categories-section,
.products-section,
.why-choose-us,
.testimonials-section,
.section-shell {
    padding-top: 28px;
    padding-bottom: 28px;
}

.alert {
    border-radius: 18px;
}

.table-responsive {
    border-radius: 20px;
    overflow: hidden;
}

.pagination .page-link {
    border-radius: 12px;
    margin: 0 4px;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.58) !important;
}

.sticky-top {
    z-index: 10;
}

.is-invalid {
    box-shadow: none !important;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.animate-float {
    animation: floatUp 0.8s ease both;
}

.animate-pulse {
    animation: softPulse 2.8s ease-in-out infinite;
}

@media (max-width: 1199.98px) {
    .search-container {
        width: 240px;
    }
}

@media (max-width: 991.98px) {
    .header-actions {
        flex-wrap: wrap;
        width: 100%;
        justify-content: flex-start;
        margin-top: 14px;
    }

    .search-container {
        width: 100%;
    }

    .main-nav .nav-link::after {
        left: 0.8rem;
        right: 70%;
    }

    .page-hero__inner {
        padding: 52px 0;
    }
}

@media (max-width: 767.98px) {
    .topbar-info,
    .topbar-links {
        gap: 10px 14px;
    }

    .topbar .container {
        justify-content: center !important;
        text-align: center;
    }

    .navbar-custom {
        padding: 10px 0;
    }

    .site-main-auth {
        padding: 20px 0 40px;
    }

    .auth-shell {
        padding: 16px;
        border-radius: 26px;
    }

    .auth-card {
        padding: 24px;
    }

    .page-hero {
        border-radius: 0 0 28px 28px;
    }

    .carousel-item {
        min-height: 320px;
        background-position: center center;
    }

    .hero-slider {
        overflow: hidden;
        border-radius: 0 0 28px 28px;
    }

    .carousel-item::before {
        background: linear-gradient(180deg, rgba(4, 21, 47, 0.18), rgba(4, 21, 47, 0.32));
    }

    .carousel-indicators {
        margin-bottom: 0.55rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 16%;
    }

    .slider-preview-image {
        max-height: 220px;
        object-fit: cover;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        min-height: 280px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 18%;
    }

    .carousel-indicators {
        margin-bottom: 0.35rem;
    }

    .slider-preview-image {
        max-height: 180px;
    }
}
