/* ============================================
   BOOK PUBLISHER - Modern Design System
   ============================================ */

:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --body-color: #475569;
    --heading-color: #0f172a;
    --border-color: #e2e8f0;
    --light-bg: #f8fafc;
    --card-shadow: 0 4px 24px rgba(15,23,42,0.08);
    --card-shadow-hover: 0 12px 40px rgba(15,23,42,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============ BASE ============ */
* { box-sizing: border-box; }

body {
    color: var(--body-color);
    font-size: 15px;
    letter-spacing: 0.2px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 { color: var(--heading-color); font-weight: 600; }

a { text-decoration: none; }
input::placeholder { color: #94a3b8 !important; opacity: 1 !important; }

.wrapper { width: 100%; position: relative; }

img { max-width: 100%; }


/* ============ HEADER ============ */

.site-header { position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(15,23,42,0.08); }

.header-topbar {
    background: var(--dark);
    padding: 8px 0;
    font-size: 13px;
    color: #94a3b8;
}
.header-topbar a { color: #94a3b8; transition: var(--transition); }
.header-topbar a:hover { color: #fff; }
.header-topbar .social-link {
    display: flex; gap: 12px; align-items: center;
}
.header-topbar .social-link a {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    transition: var(--transition);
    font-size: 14px;
}
.header-topbar .social-link a:hover { background: var(--primary); color: #fff; }

.header-main {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo-icon {
    height: 56px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-icon { height: 44px; max-width: 150px; }
}

.header-search .input-group {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}
.header-search .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,110,253,0.1);
}
.header-search .form-control {
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: transparent;
}
.header-search .form-control:focus { box-shadow: none; }
.header-search .btn-search {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.header-search .btn-search:hover { background: var(--primary-dark); }

.header-auth .btn-signin {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.header-auth .btn-signin:hover { border-color: var(--primary); color: var(--primary); }

.header-auth .btn-signup {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.header-auth .btn-signup:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.header-auth .btn-dashboard {
    display: flex; align-items: center; gap: 6px;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.header-auth .btn-dashboard:hover { border-color: var(--primary); color: var(--primary); }
.header-auth .btn-logout {
    background: transparent;
    border: none;
    color: #ef4444;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 20px;
    line-height: 1;
    transition: var(--transition);
}
.header-auth .btn-logout:hover { background: #fef2f2; }

/* Mobile Toggle */
.mobile-toggle-menu {
    font-size: 26px;
    color: var(--dark);
    cursor: pointer;
    display: flex; align-items: center;
}

/* ============ NAVIGATION ============ */

.primary-nav {
    background: var(--dark);
    position: relative;
}

.primary-nav .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 16px 14px;
    transition: var(--transition);
    position: relative;
}
.primary-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}
.primary-nav .navbar-nav .nav-link:hover,
.primary-nav .navbar-nav .nav-link:focus {
    color: #fff;
}
.primary-nav .navbar-nav .nav-link:hover::after { left: 0; right: 0; }

.primary-nav .dropdown-menu {
    background: #fff;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(15,23,42,0.15);
    padding: 8px;
    min-width: 200px;
    margin-top: 4px;
    animation: fadeDown 0.2s ease;
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.primary-nav .dropdown-menu .dropdown-item {
    color: var(--dark-2);
    font-size: 13px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.primary-nav .dropdown-menu .dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary);
}
.primary-nav .dropdown-menu .dropdown-item.active,
.primary-nav .dropdown-menu .dropdown-item:active {
    background: var(--primary);
    color: #fff;
}

/* Offcanvas mobile */
.offcanvas-start { width: 300px; }
.offcanvas-header { border-bottom: 1px solid var(--border-color); }
.offcanvas-body .nav-link {
    color: var(--dark) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px !important;
}

/* ============ HERO SLIDER ============ */

.hero-slider-section { position: relative; overflow: hidden; }
.hero-slider-section .owl-carousel .item img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .hero-slider-section .owl-carousel .item img { height: 240px; }
}

.banner-slider.owl-carousel .owl-nav { font-size: 20px; }
.banner-slider.owl-carousel .owl-nav button.owl-prev,
.banner-slider.owl-carousel .owl-nav button.owl-next {
    width: 48px; height: 48px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.9) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    top: 50%; transform: translateY(-50%);
    opacity: 0; visibility: hidden;
    display: flex; align-items: center; justify-content: center;
}
.banner-slider.owl-carousel .owl-nav button.owl-prev { left: 16px; }
.banner-slider.owl-carousel .owl-nav button.owl-next { right: 16px; }
.banner-slider.owl-carousel:hover .owl-nav button.owl-prev,
.banner-slider.owl-carousel:hover .owl-nav button.owl-next { opacity: 1; visibility: visible; }
.banner-slider.owl-carousel .owl-dots { position: absolute; bottom: 16px; width: 100%; text-align: center; }
.banner-slider.owl-carousel .owl-dot span {
    background: rgba(255,255,255,0.5) !important;
    width: 24px !important; height: 4px !important;
    border-radius: 2px !important;
    transition: var(--transition);
}
.banner-slider.owl-carousel .owl-dot.active span { background: #fff !important; width: 36px !important; }


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

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-bg { background: var(--light-bg); }

.section-header { margin-bottom: 48px; text-align: center; }
.section-header .section-badge {
    display: inline-block;
    background: rgba(13,110,253,0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
    line-height: 1.2;
}
.section-header p { color: var(--body-color); font-size: 15px; max-width: 520px; margin: 0 auto; }
.section-header .section-line {
    width: 48px; height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* Features Bar */
.features-bar { padding: 32px 0; background: #fff; border-bottom: 1px solid var(--border-color); }
.feature-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 0;
}
.feature-item .feature-icon {
    width: 52px; height: 52px; border-radius: var(--radius-md);
    background: rgba(13,110,253,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--primary);
    flex-shrink: 0;
}
.feature-item h6 { font-size: 14px; font-weight: 600; margin: 0 0 2px; color: var(--heading-color); }
.feature-item p { font-size: 12px; color: var(--body-color); margin: 0; }

/* ============ BOOK CARDS ============ */

.book-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex; flex-direction: column;
    border: 1px solid var(--border-color);
}
.book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: transparent;
}
.book-card .card-img-wrap {
    position: relative; overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--light-bg);
}
.book-card .card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.book-card:hover .card-img-wrap img { transform: scale(1.05); }

.book-card .card-overlay {
    position: absolute; inset: 0;
    background: rgba(15,23,42,0.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
    backdrop-filter: blur(4px);
}
.book-card:hover .card-overlay { opacity: 1; }
.book-card .btn-quick-view {
    background: #fff; color: var(--dark);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600;
    border: none; cursor: pointer;
    transform: translateY(12px);
    transition: var(--transition);
}
.book-card:hover .btn-quick-view { transform: translateY(0); }
.book-card .btn-quick-view:hover { background: var(--primary); color: #fff; }

.book-card .card-badges {
    position: absolute; top: 10px; left: 10px;
    display: flex; gap: 4px; flex-wrap: wrap;
}
.book-card .badge-category {
    background: var(--dark);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}
.book-card .badge-print { background: #0891b2; color: #fff; font-size: 10px; padding: 4px 8px; border-radius: 100px; }
.book-card .badge-digital { background: #7c3aed; color: #fff; font-size: 10px; padding: 4px 8px; border-radius: 100px; }

.book-card .card-body {
    padding: 16px;
    flex: 1; display: flex; flex-direction: column;
}
.book-card .book-isbn {
    font-size: 11px; color: var(--body-color);
    font-weight: 500; margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.book-card .book-title {
    font-size: 13px; font-weight: 600;
    color: var(--heading-color);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.book-card .book-price {
    font-size: 16px; font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.book-card .btn-detail {
    display: block; width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 9px;
    border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
}
.book-card .btn-detail:hover { background: var(--primary-dark); color: #fff; }


/* Quick View Modal */
.book-modal .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.book-modal .modal-body { padding: 0; }
.book-modal .modal-img-side { background: var(--light-bg); }
.book-modal .modal-img-side img { max-height: 500px; object-fit: contain; }
.book-modal .modal-info-side { padding: 32px; }
.book-modal .modal-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.book-modal .info-table dt { font-weight: 600; color: var(--body-color); font-size: 13px; }
.book-modal .info-table dd { font-size: 13px; color: var(--heading-color); }
.book-modal .badge-author { background: var(--light-bg); color: var(--dark); border-radius: 100px; padding: 4px 12px; font-size: 12px; }
.book-modal .badge-editor { background: rgba(13,110,253,0.1); color: var(--primary); border-radius: 100px; padding: 4px 12px; font-size: 12px; }


/* ============ WHY US SECTION ============ */

.why-us-section { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: #fff; }
.why-us-section .section-badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
.why-us-section h2 { color: #fff; }
.why-us-section p { color: rgba(255,255,255,0.7); }

.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}
.why-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.why-card .why-icon {
    width: 64px; height: 64px;
    background: rgba(13,110,253,0.2);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #60a5fa;
    margin: 0 auto 20px;
}
.why-card h5 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.6); font-size: 13px; margin: 0; line-height: 1.7; }


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

.stats-bar {
    background: var(--primary);
    padding: 28px 0;
}
.stat-item { text-align: center; }
.stat-item .stat-number {
    display: block;
    font-size: 2rem; font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.stat-item .stat-label {
    font-size: 13px; color: rgba(255,255,255,0.8);
    font-weight: 500;
}


/* ============ POST CARDS ============ */

.post-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.post-card .card-img-wrap {
    position: relative; overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--light-bg);
}
.post-card .card-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.post-card:hover .card-img-wrap img { transform: scale(1.05); }

.post-card .date-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--primary);
    color: #fff; text-align: center;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    line-height: 1;
}
.post-card .date-badge .day { display: block; font-size: 20px; font-weight: 700; }
.post-card .date-badge .month { display: block; font-size: 11px; opacity: 0.9; }

.post-card .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card .post-category {
    display: inline-block;
    background: rgba(13,110,253,0.1);
    color: var(--primary);
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.8px;
    padding: 4px 10px; border-radius: 100px;
    margin-bottom: 10px;
}
.post-card .post-title {
    font-size: 15px; font-weight: 600;
    color: var(--heading-color);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}
.post-card:hover .post-title { color: var(--primary); }
.post-card .post-excerpt {
    font-size: 13px; color: var(--body-color);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card .btn-read {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary);
    font-size: 13px; font-weight: 600;
    transition: var(--transition);
}
.post-card .btn-read:hover { gap: 10px; }
.post-card .btn-read i { font-size: 16px; }

/* Posts carousel */
.posts-carousel .owl-nav { margin-top: 0 !important; }
.posts-carousel .owl-nav button.owl-prev,
.posts-carousel .owl-nav button.owl-next {
    position: absolute; top: -56px;
    width: 36px; height: 36px;
    border-radius: var(--radius-sm) !important;
    background: var(--light-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--dark) !important;
    font-size: 18px !important;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.posts-carousel .owl-nav button.owl-prev { right: 48px; left: auto; opacity: 1; visibility: visible; }
.posts-carousel .owl-nav button.owl-next { right: 4px; left: auto; opacity: 1; visibility: visible; }
.posts-carousel .owl-nav button:hover { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }
.posts-carousel .owl-dots { display: none; }


/* ============ CTA SECTION ============ */

.cta-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-top: 1px solid #bae6fd;
}
.cta-section h2 { color: var(--dark); }
.cta-section .btn-cta-primary {
    background: var(--primary); color: #fff;
    padding: 14px 36px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 15px;
    transition: var(--transition); border: none;
    display: inline-flex; align-items: center; gap: 8px;
}
.cta-section .btn-cta-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,110,253,0.3); }
.cta-section .btn-cta-outline {
    background: transparent; color: var(--primary);
    padding: 14px 36px; border-radius: var(--radius-sm);
    border: 2px solid var(--primary);
    font-weight: 600; font-size: 15px;
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.cta-section .btn-cta-outline:hover { background: var(--primary); color: #fff; }


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

.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); }

.footer-main { padding: 64px 0 40px; }

/* Footer logo */
.footer-logo-wrap { display: flex; align-items: center; gap: 14px; }
.footer-logo-img {
    height: 60px;
    width: 60px;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}
.footer-logo-text {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    border-radius: 10px;
    padding: 10px 20px;
}
.footer-logo-text span {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    white-space: nowrap;
    line-height: 1;
}
.footer-company-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
    margin: 6px 0 0;
    text-transform: uppercase;
}

.footer-brand .brand-desc { font-size: 14px; line-height: 1.8; margin-top: 16px; color: rgba(255,255,255,0.55); }
.footer-brand .footer-contact { margin-top: 20px; }
.footer-brand .footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}
.footer-brand .footer-contact li i { color: var(--primary); font-size: 16px; margin-top: 2px; flex-shrink: 0; }

.footer-col h5 {
    font-size: 14px; font-weight: 700;
    color: #fff; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    transition: var(--transition);
    display: flex; align-items: center; gap: 6px;
}
.footer-links li a::before { content: '›'; font-size: 16px; color: var(--primary); }
.footer-links li a:hover { color: #fff; padding-left: 4px; }

.footer-categories .category-tag {
    display: inline-block;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 5px 12px;
    font-size: 12px;
    margin: 0 4px 8px 0;
    transition: var(--transition);
}
.footer-categories .category-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-marketplace { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.footer-marketplace a {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-marketplace a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.footer-marketplace a img { height: 20px; width: auto; filter: brightness(0) invert(1); }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-bottom a:hover { color: #fff; }


/* ============ BACK TO TOP ============ */

.back-to-top {
    display: none;
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    position: fixed; bottom: 24px; right: 16px;
    z-index: 99;
    align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(13,110,253,0.4);
    transition: var(--transition);
}
.back-to-top:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }


/* ============ UTILITIES ============ */

.page-wrapper { min-height: 100vh; }
.page-content { padding: 0; }

.btn { border-radius: var(--radius-sm); font-family: 'Poppins', sans-serif; font-weight: 500; }
.form-control { border-radius: var(--radius-sm); font-family: 'Poppins', sans-serif; border-color: var(--border-color); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,110,253,0.1); }
.card { border-radius: var(--radius-md); border-color: var(--border-color); }

.badge { font-family: 'Poppins', sans-serif; }

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.btn-primary { background-color: var(--primary) !important; border-color: var(--primary) !important; }
.btn-primary:hover { background-color: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }

/* Legacy classes kept for other pages */
.separator { display: flex; align-items: center; }
.separator .line { height: 1px; flex: 1; background-color: var(--border-color); }
.separator .separator-title { padding: 0 1rem; text-transform: uppercase; }

.product-grid .card { border-radius: var(--radius-md); box-shadow: var(--card-shadow); }
.product-short-title { font-size: 13px; font-weight: 600; }
.product-price { color: var(--primary); font-weight: 700; }

.font-12 { font-size: 12px; }
.font-13 { font-size: 13px; }
.font-14 { font-size: 14px; }
.font-18 { font-size: 18px; }
.font-20 { font-size: 20px; }
.font-22 { font-size: 22px; }
.font-24 { font-size: 24px; }
.radius-10 { border-radius: 10px; }
.radius-15 { border-radius: 15px; }
.radius-30 { border-radius: 30px; }
.fw-500 { font-weight: 500; }
.cursor-pointer { cursor: pointer; }

.news-date { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; padding: 6px 10px; border-radius: var(--radius-sm); text-align: center; }
.date-number { display: block; font-size: 20px; font-weight: 700; line-height: 1; }
.date-month { display: block; font-size: 11px; opacity: 0.9; }

.page-link { color: var(--dark); }
.page-link:hover { color: var(--dark); }
.page-item.active .page-link { background-color: var(--primary); border-color: var(--primary); }

.list-group-item.active { background-color: var(--primary); border-color: var(--primary); }

/* Blog detail */
.blog-sharing a { width: 40px; height: 40px; line-height: 40px; text-align: center; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 20px; border-radius: var(--radius-sm); }
.blog-right-sidebar .list-inline a { color: #868686; }
.recent-post-title { color: var(--heading-color); font-weight: 600; }

/* Nav pills */
.nav-pills .nav-link.active, .nav-pills .show>.nav-link { background-color: var(--primary); }
.nav-link, .nav-link:hover { color: var(--dark); }

/* Add/Quick view (legacy) */
.add-cart a { color: var(--dark); font-size: 20px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: #fff; border: 1px solid var(--border-color); }
.add-cart { visibility: hidden; opacity: 0; transition: var(--transition); z-index: 5; }
.quick-view { padding: 10px; visibility: hidden; opacity: 0; transition: var(--transition); z-index: 5; background-color: var(--dark); }
.product-grid .card:hover .add-cart,
.product-grid .card:hover .quick-view { visibility: visible; opacity: 1; }
.quick-view a { font-size: 14px; text-transform: uppercase; color: #fff; display: flex; align-items: center; justify-content: center; }

/* Buttons */
.btn-ecomm { font-size: 14px; font-weight: 600; text-transform: uppercase; }
.btn-wa { background-color: #0a9e79; border-color: #06865b; color: #fff; }
.btn-wa:hover { background-color: #06865b; color: #fff; }
.btn-shopee { background-color: #f78504; border-color: #d16805; color: #fff; }
.btn-shopee:hover { background-color: #d16805; color: #fff; }
.btn-tokopedia { background-color: #42b549; border-color: #33a13a; color: #fff; }
.btn-tokopedia:hover { background-color: #28802e; color: #fff; }
.btn-lazada { background-color: #a818ac; border-color: #750f79; color: #fff; }
.btn-lazada:hover { background-color: #750f79; color: #fff; }
.btn-print { border-color: #069e90; }

/* Dropdowns */
.dropdown-toggle-nocaret::after { display: none; }
.dropdown-menu { border: none; border-radius: var(--radius-md); box-shadow: 0 16px 48px rgba(15,23,42,0.12); font-size: 14px; }

/* Offcanvas */
.offcanvas-start { width: 300px; }
.offcanvas-header { height: 65px; border-bottom: 1px solid var(--border-color); }

/* Filter sidebar */
.filter-column .offcanvas-start { width: 320px; }
.filter-column .offcanvas { z-index: 21; }
@media (min-width: 1200px) { .filter-column .offcanvas { z-index: 19; } }
.filter-column .offcanvas-backdrop { z-index: 20; }
.btn-filter-mobile { position: fixed; top: 30%; left: 0; background: var(--dark); color: #fff; text-transform: uppercase; padding: 5px 10px; font-size: 14px; font-weight: 600; cursor: pointer; z-index: 2; }

/* Auth */
.bg-login { background-image: url(../images/login-images/bg-login-img.jpg); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; }
.login-separater span { position: relative; top: 26px; margin-top: -10px; background: #fff; padding: 5px; font-size: 12px; color: #adb5bd; z-index: 1; border-radius: 4px; }

/* Scrollbar */
.filter-sidebar ::-webkit-scrollbar { width: 6px; }
.filter-sidebar ::-webkit-scrollbar-track { background: #f1f1f1; }
.filter-sidebar ::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }
.filter-sidebar ::-webkit-scrollbar-thumb:hover { background: #888; }

/* Owl carousel defaults */
.owl-carousel .owl-nav { font-size: 32px; }
.owl-carousel .owl-nav button.owl-prev { position: absolute; top: 25%; left: -40px; opacity: 0; visibility: hidden; }
.owl-carousel .owl-nav button.owl-next { position: absolute; top: 25%; right: -40px; opacity: 0; visibility: hidden; }
.owl-carousel:hover button.owl-prev, .owl-carousel:hover button.owl-next { opacity: 1; visibility: visible; }

/* Invoice */
.invoice { position: relative; min-height: 680px; padding: 15px; }

/* Height utils */
.height-1 { position: relative; height: 260px; overflow-y: scroll; scrollbar-width: thin; }

/* bg utils */
.bg-light-primary { background-color: rgba(13,110,253,.1) !important; }
.bg-light-success { background-color: rgba(23,160,14,.1) !important; }
.bg-light-danger { background-color: rgba(244,17,39,.1) !important; }
.bg-light-warning { background-color: rgba(255,193,7,.1) !important; }
.bg-black { background-color: #000 !important; }

/* Background colors */
.bg-gradient-cosmic { background: linear-gradient(to right, #8e2de2, #4a00e0) !important; }
.bg-gradient-burning { background: linear-gradient(to right, #ff416c, #ff4b2b) !important; }
.bg-gradient-lush { background: linear-gradient(to right, #56ab2f, #a8e063) !important; }
.bg-gradient-blues { background: linear-gradient(to right, #56ccf2, #2f80ed) !important; }

/* Tags */
.tags-box .tag-link { padding: .3rem .6rem; background: var(--dark); border: 1px solid var(--dark); color: #fff; font-size: 12px; border-radius: var(--radius-sm); display: inline-block; margin: 3px; }
.tags-box .tag-link:hover { color: #fff; }

/* details/summary */
details div { border: 1px solid #0f73f7; padding: 1.5em; }
summary { border: 1px solid #0f73f7; padding: .75em 1em; cursor: pointer; position: relative; padding-left: calc(1.75rem + .75rem + .75rem); }
summary:before { position: absolute; top: 50%; transform: translateY(-50%); left: .75rem; content: "+"; width: 1.75rem; height: 1.75rem; background-color: #0f73f7; color: #fff; display: inline-flex; justify-content: center; align-items: center; }
details[open] summary { background-color: #eee; }
details[open] summary:before { content: "-"; }

/* Responsive */
@media screen and (max-width: 1280px) { .page-wrapper { margin-top: 0; } }
@media screen and (max-width: 767px) { .section { padding: 48px 0; } .section-header h2 { font-size: 1.5rem; } }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeinup { animation: fadeInUp 0.6s ease both; }

/* Product short name */
.product-short-name { color: rgb(197,154,13); border: 1px solid rgb(197,154,13); padding: 3px; border-radius: 3px; }

/* Step tracker */
.steps { display: flex; width: 100%; }
.step-item { flex-basis: 0; flex-grow: 1; text-align: center; text-decoration: none !important; }
.steps-light .step-item { color: #888a8c; }
.steps-light .step-item.active .step-count, .steps-light .step-item.active .step-progress { color: #fff; background-color: var(--dark); }
.steps-light .step-count, .steps-light .step-progress { color: #2e323e; background-color: #eaf0f5; }
.step-progress { position: relative; width: 100%; height: .25rem; }
.step-count { position: absolute; top: -.75rem; left: 50%; width: 1.625rem; height: 1.625rem; margin-left: -.8125rem; border-radius: 50%; font-size: .875rem; line-height: 1.625rem; }
.step-label { padding-top: 1.5625rem; }

/* ============ STATS BAR ============ */
.stats-bar { background: var(--primary); padding: 0; }
.stats-bar .stat-item { padding: 28px 16px; border-right: 1px solid rgba(255,255,255,0.15); }
.stats-bar .stat-item:last-child { border-right: none; }
.stats-bar .stat-number { font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.stats-bar .stat-label { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 4px; font-weight: 500; }
@media (max-width: 576px) { .stats-bar .stat-number { font-size: 1.6rem; } .stats-bar .stat-item { padding: 20px 8px; } }

/* ============ TESTIMONIALS ============ */
.testimonials-section {
    background: linear-gradient(160deg, #eef4ff 0%, #f9fbff 55%, #f1ecff 100%);
    position: relative;
    overflow: hidden;
}
.testimonials-section > .container { position: relative; z-index: 1; }

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px 24px;
    box-shadow: 0 4px 28px rgba(15,23,42,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
    border: 1px solid rgba(13,110,253,0.08);
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #7c3aed 100%);
    border-radius: 20px 20px 0 0;
}
.testimonial-card::after {
    content: '\201C';
    position: absolute;
    top: 10px; right: 18px;
    font-size: 96px;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.08;
    pointer-events: none;
}
.testimonial-card:hover {
    box-shadow: 0 16px 48px rgba(13,110,253,0.16);
    transform: translateY(-6px);
    border-color: rgba(13,110,253,0.14);
}

.testimonial-rating { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-rating i { font-size: 16px; color: #f59e0b; }

.testimonial-content {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.9;
    flex: 1;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.testimonial-avatar-wrap {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    max-width: 58px;
    max-height: 58px;
    border-radius: 50% !important;
    overflow: hidden !important;
    flex-shrink: 0;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(13,110,253,0.12);
    background: #e8f0fe;
}
.testimonial-avatar-wrap img {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: cover;
    object-position: center top;
    display: block !important;
    border-radius: 0 !important;
}

.testimonial-author-info { flex: 1; min-width: 0; }
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--heading-color); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.testimonial-role { font-size: 12px; color: #64748b; line-height: 1.4; margin-top: 2px; }

.testimonials-section .owl-nav { margin-top: 28px; display: flex; justify-content: center; gap: 10px; }
.testimonials-section .owl-nav button { width: 44px; height: 44px; border-radius: 50% !important; background: #fff !important; border: 1.5px solid #e2e8f0 !important; box-shadow: 0 2px 10px rgba(15,23,42,.08); color: var(--primary) !important; font-weight: 700; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.testimonials-section .owl-nav button:hover { background: linear-gradient(135deg, var(--primary), #7c3aed) !important; color: #fff !important; border-color: transparent !important; }
.testimonials-section .owl-dots { margin-top: 20px; text-align: center; }
.testimonials-section .owl-dot span { width: 8px; height: 8px; border-radius: 4px; background: #e2e8f0 !important; transition: all .3s; }
.testimonials-section .owl-dot.active span { width: 28px; background: linear-gradient(90deg, var(--primary), #7c3aed) !important; }

/* ============ PARTNERS / MEDIA ============ */
.partners-section { padding: 32px 0; border-top: 1px solid var(--border-color); background: #fff; }
.partners-label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: #94a3b8; font-weight: 600; margin-bottom: 20px; }
.partners-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px; }
.partners-logos a, .partners-logos div { display: flex; align-items: center; }
.partners-logos img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: var(--transition); }
.partners-logos a:hover img { filter: grayscale(0); opacity: 1; }

/* ============ WHATSAPP FLOAT ============ */
.wa-float { position: fixed; bottom: 80px; right: 22px; z-index: 999; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; box-shadow: 0 4px 16px rgba(37,211,102,.45); transition: var(--transition); text-decoration: none; }
.wa-float:hover { transform: scale(1.12); color: #fff; box-shadow: 0 6px 24px rgba(37,211,102,.6); }
@keyframes waPulse { 0%,100%{box-shadow:0 4px 16px rgba(37,211,102,.45);} 50%{box-shadow:0 4px 28px rgba(37,211,102,.75);} }
.wa-float { animation: waPulse 2.5s ease-in-out infinite; }

/* Partner text fallback */
.partner-text-logo { font-size: 13px; font-weight: 700; color: #94a3b8; letter-spacing: .5px; text-transform: uppercase; padding: 8px 16px; border: 2px solid #e2e8f0; border-radius: 8px; transition: var(--transition); white-space: nowrap; }
a:hover .partner-text-logo { color: var(--primary); border-color: var(--primary); }

/* ============ FOOTER TRUST BADGES ============ */
.footer-trust { background: rgba(255,255,255,0.04); border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.trust-badge { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500; white-space: nowrap; }
.trust-badge i { font-size: 20px; color: #f59e0b; flex-shrink: 0; }

/* ============ TRACKING NASKAH ============ */
.tracking-card { background: #fff; border-radius: 16px; padding: 36px 32px; box-shadow: 0 4px 24px rgba(15,23,42,0.08); border: 1px solid rgba(13,110,253,0.08); }
.tracking-header { text-align: center; margin-bottom: 28px; }
.tracking-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary), #7c3aed); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.tracking-icon i { font-size: 28px; color: #fff; }
.tracking-header h4 { font-weight: 700; color: var(--heading-color); margin-bottom: 6px; }
.tracking-header p { color: #64748b; font-size: 14px; margin: 0; }
.tracking-form .input-group { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(13,110,253,0.10); }
.tracking-form .input-group-text { border-color: #e2e8f0; }
.tracking-form .form-control { border-color: #e2e8f0; padding: 12px 16px; }
.tracking-result-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 2px 16px rgba(15,23,42,0.07); border: 1px solid #e8f0fe; }
.tracking-steps { display: flex; align-items: center; margin: 16px 0 4px; gap: 0; }
.tracking-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; }
.step-dot { width: 36px; height: 36px; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.step-dot i { font-size: 16px; color: #94a3b8; }
.tracking-step.done .step-dot { background: #dcfce7; }
.tracking-step.done .step-dot i { color: #16a34a; }
.tracking-step.active .step-dot { background: linear-gradient(135deg, var(--primary), #7c3aed); box-shadow: 0 0 0 4px rgba(13,110,253,0.15); }
.tracking-step.active .step-dot i { color: #fff; }
.step-label { font-size: 11px; color: #94a3b8; font-weight: 500; text-align: center; }
.tracking-step.done .step-label, .tracking-step.active .step-label { color: var(--heading-color); font-weight: 600; }
.step-line { flex: 1; height: 3px; background: #e2e8f0; border-radius: 2px; transition: background .3s; min-width: 12px; }
.step-line.done { background: #16a34a; }
.bg-purple { background-color: #7c3aed !important; }

/* ============ FOOTER NEWSLETTER ============ */
.footer-newsletter { background: rgba(255,255,255,0.06); border-top: 1px solid rgba(255,255,255,0.1); }
.footer-newsletter .form-control { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; border-radius: var(--radius-sm); }
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter .form-control:focus { background: rgba(255,255,255,0.15); border-color: var(--primary); box-shadow: none; color: #fff; }

/* ============ BOOK REVIEWS ============ */
.review-card { background: #f8fafc; border-radius: var(--radius-md); padding: 20px; margin-bottom: 16px; border-left: 4px solid var(--primary); }
.review-stars { color: #f59e0b; font-size: 15px; }
.review-stars .empty { color: #d1d5db; }
.star-radio-group { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-radio-group input[type=radio] { display: none; }
.star-radio-group label { font-size: 28px; cursor: pointer; color: #d1d5db; transition: color .15s; }
.star-radio-group input[type=radio]:checked ~ label,
.star-radio-group label:hover,
.star-radio-group label:hover ~ label { color: #f59e0b; }

/* ============ SHARE BUTTONS ============ */
.share-btn { border-radius: 6px !important; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; transition: var(--transition); border: none; }
.share-fb  { background: #1877f2; color: #fff; } .share-fb:hover  { background: #1465d8; color: #fff; }
.share-tw  { background: #000; color: #fff; }    .share-tw:hover  { background: #222; color: #fff; }
.share-li  { background: #0a66c2; color: #fff; } .share-li:hover  { background: #0855a0; color: #fff; }
.share-wa  { background: #25d366; color: #fff; } .share-wa:hover  { background: #1ebe57; color: #fff; }
.share-copy { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0 !important; } .share-copy:hover { background: #e2e8f0; }

/* ============ LIVE SEARCH ============ */
.live-search-item { transition: background .15s; }
.live-search-item:hover { background: #f0f7ff !important; }

/* ============ MEMBER CARD ============ */
.member-card-wrap { perspective: 1000px; }
.member-card {
    position: relative; width: 100%; border-radius: 20px; overflow: hidden;
    min-height: 420px; padding: 0; box-shadow: 0 20px 60px rgba(0,0,0,.25);
    display: flex; flex-direction: column;
    color: #fff;
}
/* Decorative pattern overlay */
.mc-pattern {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image: radial-gradient(circle at 80% 10%, rgba(255,255,255,.12) 0%, transparent 50%),
                      radial-gradient(circle at 10% 90%, rgba(255,255,255,.08) 0%, transparent 40%);
}
.mc-header {
    position: relative; z-index: 1; display: flex; align-items: center;
    justify-content: space-between; padding: 20px 22px 12px;
}
.mc-logo img, .mc-logo span { display: block; }
.mc-type-badge {
    background: rgba(255,255,255,.22); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.35); border-radius: 20px;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 4px 12px;
    color: #fff;
}
.mc-avatar-wrap {
    position: relative; z-index: 1; display: flex; justify-content: center; padding: 6px 0 0;
}
.mc-avatar {
    width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
    border: 3px solid rgba(255,255,255,.55); box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.mc-body {
    position: relative; z-index: 1; padding: 10px 22px 14px; text-align: center;
}
.mc-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -.3px; margin-bottom: 2px; }
.mc-institution { font-size: 12px; opacity: .8; margin-bottom: 6px; }
.mc-number {
    font-size: 15px; font-weight: 700; letter-spacing: 2px;
    background: rgba(255,255,255,.18); display: inline-block;
    padding: 3px 14px; border-radius: 20px; margin-bottom: 12px;
}
.mc-details { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.mc-detail-item { display: flex; flex-direction: column; align-items: center; }
.mc-detail-label { font-size: 10px; opacity: .7; text-transform: uppercase; letter-spacing: .5px; }
.mc-detail-value { font-size: 13px; font-weight: 700; }
.mc-status {
    position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
    margin: 0 auto 10px; font-size: 12px; font-weight: 700; letter-spacing: .5px;
    padding: 4px 14px; border-radius: 20px;
    width: fit-content; margin-left: 50%; transform: translateX(-50%);
}
.mc-status-active  { background: rgba(34,197,94,.28);  border: 1px solid rgba(34,197,94,.5);  color: #bbf7d0; }
.mc-status-inactive{ background: rgba(239,68,68,.28);  border: 1px solid rgba(239,68,68,.5);  color: #fecaca; }
.mc-qr {
    position: relative; z-index: 1; display: flex; flex-direction: column;
    align-items: flex-end; padding: 0 18px 10px;
}
.mc-qr-img { width: 72px; height: 72px; border-radius: 8px; background: #fff; padding: 4px; }
.mc-qr-placeholder {
    width: 72px; height: 72px; border-radius: 8px; background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center; font-size: 32px; opacity: .6;
}
.mc-qr-label { font-size: 9px; opacity: .65; margin-top: 3px; }
.mc-footer {
    position: relative; z-index: 1; display: flex; justify-content: space-between;
    align-items: center; padding: 10px 22px; font-size: 10px; opacity: .7;
    border-top: 1px solid rgba(255,255,255,.2); margin-top: auto;
}

/* ============ MOBILE RESPONSIVE EXTRAS ============ */
@media (max-width: 767px) {
    /* Testimonial mobile */
    .testimonial-card { padding: 24px 20px 18px; }
    .testimonial-content { font-size: 13.5px; }
    .testimonial-steps { flex-wrap: wrap; justify-content: center; gap: 8px; }

    /* Tracking steps mobile */
    .tracking-steps { overflow-x: auto; padding-bottom: 6px; }
    .step-label { font-size: 10px; }
    .step-dot { width: 30px; height: 30px; }
    .step-dot i { font-size: 13px; }
    .step-line { min-width: 8px; }

    /* Katalog table mobile - hide less important cols */
    .table th:nth-child(3),
    .table td:nth-child(3),
    .table th:nth-child(4),
    .table td:nth-child(4),
    .table th:nth-child(5),
    .table td:nth-child(5) { display: none; }

    /* Trust badges */
    .trust-badge { font-size: 12px; }
    .trust-badge i { font-size: 17px; }

    /* Tracking card padding */
    .tracking-card { padding: 24px 18px; }
}

/* Print styles */
@media print {
    .no-print { display: none !important; }
    .page-wrapper, .page-content { background: transparent !important; }
    .member-card { box-shadow: none; }
    nav.navbar, footer, .page-footer { display: none !important; }
}

