/* ═══════════════════════════════════════════════════════════════
   ProfStore Premium Design System — main.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── Google Font ─── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS Variables ─── */
:root {
    --navy: #12554c;
    --navy-2: #16695e;
    --navy-3: #1a7d70;
    --gold: #EEAB53;
    --gold-hover: #dc9a45;
    --gold-light: rgba(238, 171, 83, .12);
    --cream: #fdf8f0;
    --surface: #ffffff;
    --bg: #f4f7f6;
    --border: #e0e6e4;
    --text: #0e2925;
    --muted: #5e706c;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 2px 8px rgba(18, 85, 76, .07);
    --shadow-md: 0 6px 24px rgba(18, 85, 76, .1);
    --shadow-lg: 0 16px 48px rgba(18, 85, 76, .15);
    --radius: 14px;
    --radius-sm: 8px;
    --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Base ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 15px;
    line-height: 1.6;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* ─── Utilities ─── */
.text-navy {
    color: var(--navy) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.text-muted {
    color: var(--muted) !important;
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.bg-surface {
    background-color: var(--surface) !important;
}

/* ─── Section headers ─── */
.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.section-heading h2,
.section-heading h3 {
    font-weight: 800;
    color: var(--navy);
    margin: 0;
    font-size: 1.5rem;
}

.section-heading .badge-new {
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .5px;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .6
    }
}

.section-divider {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 2px;
    margin-bottom: 24px;
}

/* ─── Navbar ─── */
.prof-navbar {
    background: var(--navy);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.prof-navbar .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -0.3px;
}

.prof-navbar .navbar-brand i {
    color: var(--gold);
}

.prof-navbar .nav-link {
    color: rgba(255, 255, 255, .75);
    font-weight: 600;
    font-size: 15px;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.prof-navbar .nav-link:hover,
.prof-navbar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.prof-navbar .dropdown-menu {
    background: var(--navy-2);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 180px;
}

.prof-navbar .dropdown-item {
    color: rgba(255, 255, 255, .75);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
}

.prof-navbar .dropdown-item:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.prof-navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, .1);
}

/* Search Form */
.search-form .input-group {
    max-width: 340px;
}

.search-form .form-control {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 14px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
}

.search-form .form-control::placeholder {
    color: rgba(255, 255, 255, .5);
}

.search-form .form-control:focus {
    background: rgba(255, 255, 255, .15);
    border-color: var(--gold);
    box-shadow: none;
    color: #fff;
}

.search-form .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
}

.search-form .btn:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
}

/* Cart Badge */
.cart-icon {
    position: relative;
}

.cart-icon .badge {
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Search Suggestions dropdown */
#searchSuggestions {
    top: calc(100% + 6px);
    border-radius: var(--radius);
    z-index: 9999;
    overflow: hidden;
}

.search-item {
    transition: background var(--transition);
}

.search-item:hover {
    background: var(--bg);
}

/* ─── Hero ─── */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 60%, #1e3a5f 100%);
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(245, 178, 52, .15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 58, 95, .8) 0%, transparent 50%);
}

.hero-section>.container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-light);
    border: 1px solid rgba(245, 178, 52, .3);
    color: var(--gold);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: .3px;
}

.hero-section h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}

.hero-section h1 .highlight {
    color: var(--gold);
    position: relative;
}

.hero-section .lead {
    color: rgba(255, 255, 255, .65);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 32px;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
}

.hero-search .form-control {
    height: 56px;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius) !important;
    padding: 0 24px;
}

.hero-search .btn {
    height: 56px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 0 var(--radius) var(--radius) 0 !important;
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.hero-search .btn:hover {
    background: var(--gold-hover);
}

.hero-stats {
    display: flex;
    gap: 36px;
    justify-content: center;
    margin-top: 40px;
}

.hero-stats .stat {
    text-align: center;
    color: rgba(255, 255, 255, .85);
}

.hero-stats .stat .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.hero-stats .stat .lbl {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
}

/* Grade cards */
.grade-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 2px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.grade-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    color: var(--navy);
}

.grade-card.featured {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    border-color: var(--navy);
    color: #fff;
}

.grade-card.featured:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 36px rgba(26, 31, 54, .25);
}

.grade-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius);
    background: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--gold);
    flex-shrink: 0;
}

.grade-card.featured .grade-icon {
    background: rgba(245, 178, 52, .2);
}

/* ─── Book Cards ─── */
.book-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 178, 52, .4);
}

.book-cover-wrapper {
    position: relative;
    padding-top: 140%;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf1 100%);
}

.book-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.book-card:hover .book-cover {
    transform: scale(1.06);
}

.book-cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.book-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.book-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: .4px;
}

.book-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 31, 54, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-overlay .btn {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.book-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-author {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.book-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.book-rating .stars {
    color: var(--gold);
}

.book-price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
}

.price-old {
    font-size: 13px;
    color: var(--muted);
    text-decoration: line-through;
}

.price-badge {
    font-size: 11px;
    background: var(--danger);
    color: #fff;
    padding: 2px 7px;
    border-radius: 50px;
    font-weight: 700;
}

.book-add-btn {
    width: 100%;
    margin-top: 12px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.book-add-btn:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ─── Promo Banner ─── */
.promo-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.promo-banner::before {
    content: '📚';
    position: absolute;
    font-size: 120px;
    opacity: .08;
    left: -20px;
    bottom: -20px;
    line-height: 1;
}

/* ─── Category Pills ─── */
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: var(--surface);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.cat-pill:hover,
.cat-pill.active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

/* ─── Sidebar Filter ─── */
.filter-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.filter-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--muted);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* ─── Form Controls ─── */
.form-control,
.form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 178, 52, .15);
    outline: none;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-text {
    color: var(--muted);
    font-size: 12px;
}

/* ─── Buttons ─── */
.btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: .2px;
}

.btn-primary {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.btn-primary:hover {
    background: var(--navy-2);
    border-color: var(--navy-2);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-warning,
.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.btn-warning:hover,
.btn-gold:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    color: var(--navy);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: var(--navy);
    color: var(--navy);
}

.btn-outline-primary:hover {
    background: var(--navy);
    border-color: var(--navy);
}

.btn-outline-warning {
    border-color: var(--gold);
    color: var(--navy);
}

.btn-outline-warning:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* ─── Cards (Generic) ─── */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    font-size: 15px;
}

/* ─── Tables ─── */
.table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--muted);
    font-weight: 700;
    border-bottom: 2px solid var(--border);
    padding: 14px 16px;
}

.table td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 14px;
}

.table tbody tr {
    transition: background var(--transition);
}

.table tbody tr:hover {
    background: var(--bg);
}

/* ─── Alert ─── */
.alert {
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, .1);
    color: #065f46;
}

.alert-danger {
    background: rgba(239, 68, 68, .1);
    color: #7f1d1d;
}

.alert-warning {
    background: rgba(245, 158, 11, .1);
    color: #78350f;
}

.alert-info {
    background: rgba(59, 130, 246, .1);
    color: #1e3a5f;
}

/* ─── Badge overrides ─── */
.badge {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
    font-size: 13px;
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '←';
    color: var(--muted);
}

.breadcrumb-item a {
    color: var(--muted);
}

.breadcrumb-item a:hover {
    color: var(--navy);
}

.breadcrumb-item.active {
    color: var(--navy);
    font-weight: 600;
}

/* ─── Pagination ─── */
.page-link {
    border-radius: var(--radius-sm) !important;
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    margin: 0 2px;
    border: 1.5px solid var(--border);
}

.page-link:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.page-item.active .page-link {
    background: var(--navy);
    border-color: var(--navy);
}

/* ─── Stars ─── */
.stars-display {
    color: var(--gold);
    font-size: 14px;
}

.rating-input {
    direction: ltr;
    display: inline-flex;
    flex-direction: row-reverse;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 1.8rem;
    color: #ddd;
    transition: color .15s;
}

.rating-input label:hover,
.rating-input label:hover~label,
.rating-input input:checked~label {
    color: var(--gold);
}

/* ─── User dashboard sidebar ─── */
.user-sidebar .nav-link {
    color: var(--muted);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.user-sidebar .nav-link:hover {
    background: var(--bg);
    color: var(--navy);
}

.user-sidebar .nav-link.active {
    background: var(--navy);
    color: #fff;
}

.user-sidebar .nav-link.text-danger:hover {
    background: rgba(239, 68, 68, .08);
}

/* ─── Admin Sidebar ─── */
.admin-sidebar {
    background: var(--navy);
    min-height: 100vh;
    padding: 24px 16px;
}

.admin-sidebar .brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    padding: 0 8px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-sidebar .brand i {
    color: var(--gold);
}

.admin-sidebar .nav-section {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .35);
    font-weight: 700;
    padding: 14px 12px 6px;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, .7);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
    transition: var(--transition);
}

.admin-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.admin-sidebar .nav-link.active {
    background: var(--gold);
    color: var(--navy);
}

.admin-sidebar .nav-link.active i {
    color: var(--navy);
}

/* Admin content */
.admin-content {
    padding: 32px;
}

.admin-stat-card {
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.admin-stat-card .icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* ─── Product Detail Page ─── */
.product-cover {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 340px;
}

.product-price {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
}

.product-price .old {
    font-size: 1.1rem;
    color: var(--muted);
    text-decoration: line-through;
}

/* ─── Cart ─── */
.cart-item-img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.qty-control button {
    width: 32px;
    height: 32px;
    background: var(--bg);
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.qty-control button:hover {
    background: var(--navy);
    color: #fff;
}

.qty-control input {
    width: 42px;
    height: 32px;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
}

.qty-control input:focus {
    outline: none;
}

/* ─── Auth Pages ─── */
.auth-page {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: rgba(255, 255, 255, .97);
    border-radius: calc(var(--radius) + 4px);
    padding: 44px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.auth-card .form-control {
    height: 48px;
}

/* ─── Toast Notification ─── */
.toast-container {
    z-index: 9999;
}

.toast {
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

/* ─── Footer ─── */
.prof-footer {
    background: var(--navy-2);
    color: rgba(255, 255, 255, .75);
    padding: 56px 0 32px;
    margin-top: auto;
}

.prof-footer .footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.prof-footer h5 {
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 16px;
}

.prof-footer a {
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    transition: color .2s;
    display: block;
    margin-bottom: 8px;
}

.prof-footer a:hover {
    color: #fff;
}

.prof-footer .social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .6);
    font-size: 15px;
    margin-left: 6px;
    transition: var(--transition);
}

.prof-footer .social-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    display: inline-flex;
}

.prof-footer .divider {
    border-color: rgba(255, 255, 255, .1);
    margin: 32px 0 24px;
}

.prof-footer .copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, .35);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-section {
        padding: 56px 0 64px;
    }

    .hero-stats {
        gap: 20px;
    }

    .admin-content {
        padding: 20px;
    }

    .auth-card {
        padding: 28px 24px;
    }
}

/* ─── Smooth scroll offset for sticky nav ─── */
[id] {
    scroll-margin-top: 80px;
}

/* ─── Focus visible ─── */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;

    /* ─── Ultra-Premium ProfStore v2 Overhaul ─── */
    /* Elevate standard shadows to dynamic layering */
    .card {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid rgba(0, 0, 0, 0.04) !important;
    }

    .card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 25px 50px -12px rgba(26, 31, 54, 0.15) !important;
    }

    /* Superior Button Interactions */
    .btn {
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .btn:hover::after {
        width: 300px;
        height: 300px;
    }

    .btn-warning {
        background: linear-gradient(135deg, #f5b234 0%, #ffc857 100%) !important;
        border: none !important;
        color: #1a1f36 !important;
        box-shadow: 0 8px 20px rgba(245, 178, 52, 0.3) !important;
    }

    .btn-warning:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(245, 178, 52, 0.45) !important;
    }

    /* Beautiful Hero Badge */
    .hero-badge {
        animation: floating 3s ease-in-out infinite;
        background: rgba(245, 178, 52, 0.15) !important;
        border: 1px solid rgba(245, 178, 52, 0.3);
        color: #f5b234;
        padding: 8px 18px;
        border-radius: 50px;
        font-weight: 800;
        letter-spacing: 0.5px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        backdrop-filter: blur(8px);
    }

    @keyframes floating {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-8px);
        }

        100% {
            transform: translateY(0px);
        }
    }

    /* Text Highlights */
    .highlight {
        position: relative;
        z-index: 1;
    }

    .highlight::before {
        content: '';
        position: absolute;
        bottom: 2px;
        left: -5%;
        width: 110%;
        height: 35%;
        background: rgba(245, 178, 52, 0.4);
        z-index: -1;
        transform: rotate(-1deg);
        border-radius: 4px;
    }

    /* Product Cards Enhanced */
    .book-card .card-img-top {
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .book-card:hover .card-img-top {
        transform: scale(1.08) rotate(1deg);
    }

    /* Feature Icons in Why Us */
    .feature-icon-wrapper {
        transition: transform 0.4s ease;
    }

    .col-6:hover .feature-icon-wrapper {
        transform: rotate(10deg) scale(1.15);
    }

    /* Smooth Revealing Elements */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}