/* ============================================================
   Ramazone - Main Stylesheet
   Clean, modern UI inspired by Codashop/UniPin
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3399FF;
    --secondary: #00D9FF;
    --accent: #FF6B35;
    --bg-dark: #232B47;
    --bg-card: #232B47;
    --bg-card-hover: #2A3454;
    --bg-body: #1A1F3A;
    --text-primary: #E8E9F3;
    --text-secondary: #A8AEC0;
    --text-muted: #7A8299;
    --border-color: #3A4556;
    --success: #00B894;
    --warning: #FDCB6E;
    --danger: #FF7675;
    --info: #74B9FF;
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
    --gradient-hero: linear-gradient(135deg, #1A1F3A 0%, #232B47 50%, #1A1F3A 100%);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 30px rgba(0, 102, 255, 0.25);
    --transition: all 0.3s ease;
}

/* ---------- Animation Keyframes ---------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
    }
}

/* ---------- Animation Utility Classes ---------- */
.animate-fade {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-slide-down {
    animation: slideInDown 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

.animate-scale {
    animation: scaleIn 0.5s ease-out;
}

.animate-bounce {
    animation: bounce 0.6s ease-in-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ---------- Base Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > section,
body > .container {
    flex: 0 0 auto;
}

body > footer,
body > .footer {
    margin-top: auto;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

/* ---------- Headings with Poppins ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ---------- Page Preloader ---------- */
.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    opacity: 1;
    visibility: visible;
}

.page-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: slideInDown 0.8s ease-out;
}

.preloader-logo {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.preloader-logo .logo-img {
    max-width: 120px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.3));
}

.preloader-text {
    margin-bottom: 2rem;
}

.preloader-text h2 {
    font-size: 1.8rem;
    color: #00D9FF;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.preloader-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.preloader-spinner .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 217, 255, 0.2);
    border-top-color: #00D9FF;
    border-right-color: #0066FF;
    border-radius: 50%;
    animation: rotate-spinner 0.8s linear infinite !important;
}

@keyframes rotate-spinner {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinLoader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ---------- Navbar ---------- */
.navbar, .navbar-custom, .navbar-dark {
    background-color: #232B47 !important;
}

.navbar-custom {
    background: #232B47 !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #3A4556 !important;
    padding: 0.8rem 0;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.navbar-custom .navbar-toggler {
    color: var(--text-secondary) !important;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(74, 74, 94, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.navbar-custom .nav-link {
    color: #A8AEC0 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: #00D9FF;
    transition: left 0.3s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    left: 0;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #00D9FF !important;
    background: rgba(0, 217, 255, 0.1);
}

/* ---------- Hero Section ---------- */
.hero-section {
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-trust-item i {
    color: var(--success);
    font-size: 1rem;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.hero-glow-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    right: -50px;
}

.banner-mobile-section {
    padding: 1rem 0;
}

/* ---------- Banner Section ---------- */
.banner-section {
    padding: 1.5rem 0 0;
}

.banner-section .carousel-inner {
    border-radius: var(--radius);
    overflow: hidden;
}

.banner-section .carousel-item {
    transition: opacity 0.8s ease-in-out;
}

.banner-img {
    width: 100%;
    aspect-ratio: 1000 / 400;
    object-fit: cover;
    transition: transform 5s ease;
}

.banner-section .carousel-item.active .banner-img {
    transform: scale(1.03);
}

.banner-section .carousel-indicators {
    margin-bottom: 0.5rem;
}

.banner-section .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.banner-section .carousel-indicators button.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.banner-section .carousel-control-prev,
.banner-section .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.banner-section .carousel:hover .carousel-control-prev,
.banner-section .carousel:hover .carousel-control-next {
    opacity: 1;
}

.banner-section .carousel-control-prev {
    left: 12px;
}

.banner-section .carousel-control-next {
    right: 12px;
}

.banner-section .carousel-control-prev-icon,
.banner-section .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

/* ---------- Search Section ---------- */
.search-section {
    padding: 2rem 0 1rem;
    text-align: center;
}

.search-section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.search-section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Search Bar ---------- */
.search-bar {
    max-width: 500px;
    margin: 1.5rem auto 0;
    position: relative;
    z-index: 1;
}

.search-bar input {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50px;
    padding: 0.8rem 1.5rem 0.8rem 3rem;
    width: 100%;
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar .search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* ---------- Search Suggestions ---------- */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-top: 4px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: var(--shadow);
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.suggestion-item:hover {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-light);
}

/* ---------- Category Scroll ---------- */
.category-scroll {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-scroll .category-card {
    min-width: 90px;
    flex-shrink: 0;
}

.category-card.active {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
}

/* ---------- Category Section ---------- */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.category-card .icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.category-card h6 {
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ---------- Brand/Game Card ---------- */
.brand-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.brand-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.brand-card .card-img-top {
    height: 160px;
    object-fit: cover;
    background: var(--bg-card-hover);
}

.brand-card .card-body {
    padding: 1rem;
}

.brand-card .card-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.brand-card .card-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.brand-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    padding: 0.75rem 1rem 0 1rem;
    flex-wrap: wrap;
}

.brand-card-stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
}

.brand-card-stars i {
    font-size: 0.7rem;
}

.brand-card-rating-value {
    font-weight: 600;
    color: var(--text-primary);
}

.brand-card-rating-count {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.card-badge-freeongkir {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #00B894;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-badge-dynamic {
    position: absolute;
    top: 8px;
    left: 8px;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-badge-instant {
    background: #0066FF;
}

.card-badge-promo {
    background: #FF6B35;
}

.card-badge-populer {
    background: #8B5CF6;
}

.card-badge-flash-sale {
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3px;
    background: #FF4757;
}

.card-badge-best-deal {
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3px;
    background: #2ED573;
}

.card-badge-hot {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff4757;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3px;
    animation: pulse 1.5s ease-in-out infinite;
}

.card-sold-info {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
}

/* Manual Product Card */

/* ---------- Product Grid ---------- */
.product-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    animation: fadeIn 0.5s ease-out;
}

.product-card:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

.product-card:active {
    transform: translateY(-2px);
}

.product-card.selected {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.3);
    animation: pulse 1.5s ease-in-out;
}

.product-card .product-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    flex: 1;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.product-card:hover .product-name {
    color: #00D9FF;
}

.product-card .product-price {
    font-weight: 700;
    color: #00B894;
    font-size: 0.95rem;
    margin-top: auto;
    transition: var(--transition);
}

/* ---------- Form Styles ---------- */
.form-dark .form-control,
.form-dark .form-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    transition: var(--transition);
}

.form-dark .form-control:focus,
.form-dark .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
    background: var(--bg-card);
    color: var(--text-primary);
    animation: slideInUp 0.3s ease-out;
}

.form-dark .form-control::placeholder {
    color: var(--text-muted);
    transition: var(--transition);
}

.form-dark .form-control:focus::placeholder {
    color: var(--text-secondary);
}

.form-dark .form-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-dark .form-text {
    color: var(--text-muted);
}

/* ---------- Payment Method Card ---------- */
.payment-method-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method-card:hover {
    border-color: var(--primary);
}

.payment-method-card.selected {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
}

.payment-method-card .method-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
}

.payment-method-card .method-name {
    font-weight: 600;
    color: var(--text-primary);
}

.payment-method-card .method-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- Order Summary Card ---------- */
.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    animation: slideInUp 0.6s ease-out;
    transition: var(--transition);
}

.summary-card:hover {
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
}

.summary-card .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.summary-card:hover .summary-row {
    padding: 0.7rem 0;
}

.summary-card .summary-row:last-child {
    border-bottom: none;
}

.summary-card .summary-label {
    color: var(--text-secondary);
    transition: var(--transition);
}

.summary-card:hover .summary-label {
    color: var(--text-primary);
}

.summary-card .summary-value {
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.summary-card:hover .summary-value {
    color: #00D9FF;
}

.summary-card .summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00B894;
    transition: var(--transition);
}

.summary-card:hover .summary-total {
    color: #00D9FF;
}

/* Improved Summary Row Styling */
.summary-row-improved {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.summary-row-improved:last-child {
    border-bottom: none;
}

.summary-card:hover .summary-row-improved {
    padding: 1.1rem 0;
}

.summary-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.5);
    color: #fff;
}

.btn-primary-custom:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.4);
}

.btn-primary-custom:disabled {
    opacity: 0.5;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-light);
    font-weight: 600;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-outline-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline-custom.btn-sm {
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    border-width: 1.5px;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.btn-outline-custom:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
}

/* All buttons with smooth animations */
button, .btn, a.btn {
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

button:active, .btn:active, a.btn:active {
    transform: scale(0.98);
}

/* ---------- Status Page ---------- */
.status-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.status-icon.success { color: var(--success); }
.status-icon.pending { color: var(--warning); }
.status-icon.failed { color: var(--danger); }
.status-icon.processing { color: var(--info); }

/* ---------- QRIS Container ---------- */
.qris-container {
    background: #232B47;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    border: 1px solid #3A4556;
}

.qris-container img {
    max-width: 250px;
    width: 100%;
}

/* ---------- Timer ---------- */
.countdown-timer {
    font-size: 2rem;
    font-weight: 700;
    color: var(--warning);
    font-family: 'Courier New', monospace;
}

.countdown-timer.expired {
    color: var(--danger);
}

/* ---------- Why Ramazone Section ---------- */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 3rem 0;
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 2.5rem 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* ---------- CTA Bottom Section ---------- */
.cta-bottom-section {
    padding: 3rem 0;
}

.cta-bottom-section .cta-bottom {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-bottom-section .cta-bottom::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* ---------- How to Top Up Section ---------- */
.howto-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.howto-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.howto-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.howto-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ---------- FAQ / Accordion Dark Theme ---------- */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
    border-radius: var(--radius) !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-light);
}

.accordion-button::after {
    filter: invert(1) grayscale(1) brightness(2);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(0.5) sepia(1) saturate(5) hue-rotate(230deg);
}

.accordion-body {
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 0.75rem 1.25rem 1.25rem;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
    border-color: var(--primary);
}

/* ---------- Social Proof Popup ---------- */
.social-proof-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.social-proof-popup.sp-show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.sp-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: rgba(0, 102, 255, 0.15);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sp-content {
    flex: 1;
    min-width: 0;
}

.sp-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.sp-text strong {
    color: var(--text-primary);
}

.sp-product {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.sp-time {
    font-size: 0.7rem;
    color: var(--text-muted, #666);
    margin-top: 1px;
}

.sp-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.sp-close:hover {
    opacity: 1;
    color: var(--text-primary);
}

@media (max-width: 576px) {
    .social-proof-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }

    .sp-product {
        max-width: none;
    }
}

/* ---------- Transactions Page ---------- */
.trx-stat-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.trx-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.trx-table {
    color: var(--text-primary);
    margin: 0;
}

.trx-table thead th {
    background: rgba(0, 102, 255, 0.1);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.85rem 1rem;
    white-space: nowrap;
}

.trx-table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.75rem 1rem;
    vertical-align: middle;
    font-size: 0.9rem;
}

.trx-table tbody tr:hover {
    background: rgba(0, 102, 255, 0.04);
}

.trx-table tbody tr:last-child td {
    border-bottom: none;
}

.trx-time {
    display: flex;
    flex-direction: column;
}

.trx-date {
    font-weight: 600;
    font-size: 0.85rem;
}

.trx-hour {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.trx-product {
    display: flex;
    flex-direction: column;
}

.trx-product-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.trx-brand {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.trx-customer {
    background: rgba(0, 102, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* ---------- Footer ---------- */
.footer {
    background-color: #232B47 !important;
    background: #232B47 !important;
    border-top: 1px solid #3A4556 !important;
    padding: 2rem 0;
    margin-top: 3rem;
    color: var(--text-secondary);
}

.footer a {
    color: var(--text-secondary);
}

.footer a:hover {
    color: var(--primary-light);
}

/* ===== Bootstrap Navbar Overrides ===== */
.navbar-dark {
    background-color: #232B47 !important;
}
.navbar-dark .navbar-brand {
    color: #E8E9F3 !important;
}
.navbar-dark .nav-link {
    color: #A8AEC0 !important;
}
.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
    color: #00D9FF !important;
}

/* ---------- Loading Spinner ---------- */
.spinner-custom {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Alert ---------- */
.alert-dark-custom {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius);
}

/* ---------- Toast / Notification ---------- */
.toast-custom {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

/* ---------- Step Indicator ---------- */
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.step.active {
    color: var(--primary-light);
}

.step.completed {
    color: var(--success);
}

.step-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid var(--text-muted);
}

.step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    margin: 0 0.75rem;
    flex-shrink: 0;
}

.step-line.completed {
    background: var(--success);
}

/* ---------- Bank Transfer Info ---------- */
.bank-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.bank-info-card .bank-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--primary-light);
    letter-spacing: 2px;
}

.copy-btn {
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ---------- Upload Area ---------- */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

.upload-area .upload-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* ---------- Stats Grid ---------- */
.stats-section {
    background: var(--bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-box-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-box-number {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-box-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- Feedback Section ---------- */
.feedback-section {
    background: var(--bg-dark);
}

.feedback-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
}

/* ---------- Trending Badge & Discount ---------- */
.trending-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.trending-badge.badge-gold {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.trending-badge.badge-silver {
    background: rgba(192, 192, 192, 0.2);
    color: #C0C0C0;
}

.trending-badge.badge-bronze {
    background: rgba(205, 127, 50, 0.2);
    color: #CD7F32;
}

.trending-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 2px;
}

.discount-pct {
    display: inline-block;
    padding: 1px 4px;
    background: rgba(255, 107, 107, 0.15);
    color: #FF6B6B;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .banner-img {
        aspect-ratio: 1000 / 400;
    }

    .search-section-title {
        font-size: 1.5rem;
    }

    .search-section {
        padding: 1.5rem 0 0.5rem;
    }

    .category-card {
        padding: 0.75rem 0.5rem;
    }
    
    .category-card .icon {
        font-size: 1.3rem;
        margin-bottom: 0.25rem;
    }

    .category-card h6 {
        font-size: 0.75rem;
    }

    .category-scroll {
        gap: 0.5rem;
    }

    .category-scroll .category-card {
        min-width: 76px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 2rem 0 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-box-number {
        font-size: 1.4rem;
    }

    .stat-box-icon {
        font-size: 1.4rem;
    }

    .cta-bottom-section .cta-bottom {
        padding: 2.5rem 1.5rem;
    }
    
    .steps {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .step-line {
        display: none;
    }

    .cta-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .howto-icon {
        font-size: 2rem;
    }

    .trx-table thead th,
    .trx-table tbody td {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .banner-img {
        aspect-ratio: 1000 / 400;
    }

    .search-section-title {
        font-size: 1.3rem;
    }

    .search-section-subtitle {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-box {
        padding: 0.75rem;
    }

    .stat-box-number {
        font-size: 1.2rem;
    }

    .stat-box-label {
        font-size: 0.75rem;
    }

    .cta-bottom-section .cta-bottom {
        padding: 2rem 1rem;
    }

    .feedback-card {
        padding: 1rem;
    }

    .category-card {
        padding: 0.6rem 0.4rem;
    }

    .category-card .icon {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .category-card h6 {
        font-size: 0.7rem;
    }

    .category-scroll .category-card {
        min-width: 68px;
    }

    .category-scroll {
        gap: 0.4rem;
    }
    
    .product-card {
        padding: 0.75rem;
    }
    
    .product-card .product-name {
        font-size: 0.75rem;
    }
    
    .product-card .product-price {
        font-size: 0.85rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .howto-card {
        padding: 1.5rem 1rem;
    }

    .cta-bottom {
        padding: 2.5rem 0;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(0, 102, 255, 0.3);
    color: #fff;
}

/* ---------- Dark Theme Text Overrides ---------- */
/* Override Bootstrap text-muted for dark theme */
.text-muted {
    color: var(--text-secondary) !important;
}

/* Utility classes for price colors */
.price-color,
.harga-color,
.text-price {
    color: #00B894 !important;
}

/* Fix Bootstrap table default colors */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--border-color);
    --bs-table-hover-bg: rgba(0, 102, 255, 0.05);
    --bs-table-hover-color: var(--text-primary);
    color: var(--text-primary);
}

.table th,
.table td {
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Fix Bootstrap form labels */
.form-label {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Fix Bootstrap form-text (help text) */
.form-text {
    color: var(--text-muted) !important;
}

/* Fix Bootstrap .small / small text helpers */
small, .small {
    color: inherit;
}

/* Fix Bootstrap badge text defaults */
.badge {
    font-weight: 600;
}

/* Fix Bootstrap code tag */
code {
    color: var(--primary-light);
}

/* Fix Bootstrap card components */
.card {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* Fix alert components */
.alert-success {
    background: rgba(0, 184, 148, 0.15);
    border-color: rgba(0, 184, 148, 0.3);
    color: var(--success);
}

.alert-danger {
    background: rgba(255, 118, 117, 0.15);
    border-color: rgba(255, 118, 117, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(253, 203, 110, 0.15);
    border-color: rgba(253, 203, 110, 0.3);
    color: var(--warning);
}

.alert-info {
    background: rgba(116, 185, 255, 0.15);
    border-color: rgba(116, 185, 255, 0.3);
    color: var(--info);
}

.btn-close {
    filter: invert(1);
}

/* Fix form control default colors */
.form-control,
.form-select {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--bg-card);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Fix Bootstrap dropdown menu */
.dropdown-menu {
    background: var(--bg-card);
    border-color: var(--border-color);
}

.dropdown-item {
    color: var(--text-primary);
}

.dropdown-item:hover {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-light);
}

/* Fix Modal */
.modal-content {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.modal-header {
    border-color: var(--border-color);
}

.modal-footer {
    border-color: var(--border-color);
}

/* ---------- Pagination (Unified) ---------- */
.pagination-custom,
.pagination-home,
.pagination-blog {
    gap: 4px;
}

.pagination-custom .page-link,
.pagination-home .page-link,
.pagination-blog .page-link {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    min-width: 38px;
    text-align: center;
    padding: 6px 12px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.pagination-custom .page-link:hover,
.pagination-home .page-link:hover,
.pagination-blog .page-link:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

.pagination-custom .page-item.active .page-link,
.pagination-home .page-item.active .page-link,
.pagination-blog .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
}

.pagination-custom .page-item.disabled .page-link,
.pagination-home .page-item.disabled .page-link,
.pagination-blog .page-item.disabled .page-link {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-secondary);
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-custom .page-ellipsis,
.pagination-home .page-ellipsis,
.pagination-blog .page-ellipsis {
    border: none;
    background: transparent !important;
    letter-spacing: 2px;
    font-weight: bold;
}

@media (max-width: 576px) {
    .pagination-custom .page-link,
    .pagination-home .page-link,
    .pagination-blog .page-link {
        min-width: 32px;
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    .pagination-custom,
    .pagination-home,
    .pagination-blog {
        gap: 2px;
    }
}

/* ============================================================
   New Feature Styles
   ============================================================ */

/* ---------- Floating WhatsApp Button ---------- */
.floating-wa-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}
.floating-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: #fff !important;
}

/* ---------- Product Badges ---------- */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.badge-populer {
    background: linear-gradient(135deg, #0066FF, #3399FF);
    color: #fff;
}
.badge-trending {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff;
}
.badge-flash_sale {
    background: linear-gradient(135deg, #FDCB6E, #E17055);
    color: #fff;
    animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ---------- Discount Display ---------- */
.price-original {
    text-decoration: line-through;
    color: #e74c3c;
    font-size: 0.75rem;
}
.price-sale {
    color: #00B894;
    font-weight: 700;
}
.discount-tag {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(255, 107, 107, 0.15);
    color: #FF6B6B;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 4px;
}

/* ---------- Transaction Counter ---------- */
.transaction-counter {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.3);
}
.transaction-counter .counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.transaction-counter .counter-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* ---------- Trending Products Section ---------- */
.trending-section {
    background: transparent;
}
.trending-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.trending-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.trending-card .trending-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.trending-rank.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #1a1a2e; }
.trending-rank.rank-2 { background: linear-gradient(135deg, #C0C0C0, #8a8a9a); color: #1a1a2e; }
.trending-rank.rank-3 { background: linear-gradient(135deg, #CD7F32, #b5651d); }
.trending-rank.rank-4 { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.trending-rank.rank-5 { background: linear-gradient(135deg, #475569, #334155); }
.trending-card img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    margin-bottom: 0.5rem;
}
.trending-card .trending-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trending-card .trending-brand {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}
.trending-card .trending-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: #00B894;
}
.trending-card .trending-sold {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ---------- Review Section ---------- */
.review-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}
.review-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.review-stats .avg-rating {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}
.review-stats .stars {
    color: #FFC107;
    font-size: 1.1rem;
}
.review-stats .review-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.review-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}
.review-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
}
.review-item .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.review-item .review-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.review-item .review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.review-item .review-stars {
    color: #FFC107;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}
.review-item .review-comment {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Star Rating Input and Blog Content styles defined below in consolidated block */

/* ---------- Product Card Discount Overlay ---------- */
.product-card .price-original {
    text-decoration: line-through;
    color: #e74c3c;
    font-size: 0.7rem;
}

/* ---------- Marketing Badges ---------- */
.badge-marketing {
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px 8px;
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    border-radius: 0 var(--radius) 0 8px;
    line-height: 1.3;
}
.badge-hemat {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: #fff;
}
.badge-bestdeal {
    background: linear-gradient(135deg, #0066FF, #3399FF);
    color: #fff;
}
.badge-terlaris {
    background: linear-gradient(135deg, #e17055, #ff6b6b);
    color: #fff;
}
.badge-flashsale {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: #fff;
    animation: flashPulse 2s ease-in-out infinite;
}
.badge-populer {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    color: #fff;
}
.badge-promo {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: #fff;
}

@keyframes flashPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.product-card .badge-overlay {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}
.product-card .badge-overlay.populer {
    background: rgba(0, 102, 255, 0.2);
    color: var(--primary-light);
}
.product-card .badge-overlay.trending {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
}
.product-card .badge-overlay.flash_sale {
    background: rgba(253, 203, 110, 0.2);
    color: #FFC107;
}
.review-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.review-summary .avg-rating {
    font-size: 3rem;
    font-weight: 800;
    color: var(--warning);
    line-height: 1;
}
.review-summary .star-display {
    color: var(--warning);
    font-size: 1.2rem;
    margin: 0.5rem 0;
}
.review-summary .review-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
}
.review-card .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.review-card .review-name {
    font-weight: 600;
    font-size: 0.9rem;
}
.review-card .review-stars {
    color: var(--warning);
    font-size: 0.8rem;
}
.review-card .review-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}
.review-card .review-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}
.review-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.star-rating-input {
    display: flex !important;
    flex-direction: row !important;
    direction: ltr !important;
    gap: 4px;
    cursor: pointer;
}
.star-rating-input i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.star-rating-input i.active {
    color: var(--warning);
}

/* Review Pagination — uses unified .pagination-custom styles */

/* ---------- Blog Styles ---------- */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: slideInUp 0.6s ease-out;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.3);
    border-color: var(--primary);
}
.blog-card-img-wrapper {
    position: relative;
    overflow: hidden;
}
.blog-card-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}
.blog-card-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 102, 255, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
}
.blog-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 0.5rem;
}
.blog-tag {
    font-size: 0.65rem;
    color: var(--primary-light);
    background: rgba(0, 102, 255, 0.1);
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 600;
}
.blog-card-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}
/* Blog post detail styles */
.blog-post-meta-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}
.blog-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.blog-tag-link {
    display: inline-block;
    color: var(--primary-light);
    background: rgba(0, 102, 255, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    margin: 2px;
    transition: all 0.2s ease;
}
.blog-tag-link:hover {
    background: rgba(0, 102, 255, 0.25);
    color: var(--primary-light);
}
/* Blog content styling */
.blog-content {
    color: var(--text-secondary);
    line-height: 1.8;
}
.blog-content h2, .blog-content h3, .blog-content h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.blog-content p { margin-bottom: 1rem; }
.blog-content ul, .blog-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.blog-content li { margin-bottom: 0.3rem; }
.blog-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 1rem 0; }
.blog-content a { color: var(--primary-light); text-decoration: underline; }

/* ---------- Footer Enhancements ---------- */
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links li a {
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-links li a:hover {
    color: var(--primary-light);
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-social-links-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.85rem;
}

.footer-social-link i {
    font-size: 1rem;
}

.footer-social-link:hover {
    background: rgba(0, 102, 255, 0.18);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-social-link .social-label {
    display: inline-block;
    line-height: 1;
}

.footer-payment-methods {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

/* ---------- Payment Logos Footer ---------- */
.payment-logos-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 12px;
    max-width: 100%;
}

.payment-logo-item {
    position: relative;
    width: 50px;
    height: 50px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.payment-logo-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
    transform: translateY(-2px);
}

.payment-logo-item img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    object-position: center;
}

.payment-text {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    padding: 4px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .payment-logos-footer {
        grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
        gap: 10px;
    }

    .payment-logo-item {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .payment-logos-footer {
        grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
        gap: 8px;
    }

    .payment-logo-item {
        width: 40px;
        height: 40px;
    }

    .payment-text {
        font-size: 0.6rem;
    }
}

/* ---------- Brand Card Badge Support ---------- */
.brand-card {
    position: relative;
    overflow: hidden;
}

/* ============================================================
   Responsive Styles for New Features
   ============================================================ */

/* Pagination blog & custom — uses unified styles above */

/* -- Tablet (max 768px) -- */
@media (max-width: 768px) {
    /* Transaction Counter */
    .transaction-counter {
        padding: 1rem 1.2rem;
    }
    .transaction-counter .counter-number {
        font-size: 1.8rem;
    }
    .transaction-counter .counter-label {
        font-size: 0.8rem;
    }

    /* Trending Section */
    .trending-card {
        padding: 0.75rem;
    }
    .trending-card img {
        width: 40px;
        height: 40px;
    }
    .trending-card .trending-name {
        font-size: 0.75rem;
    }
    .trending-card .trending-price {
        font-size: 0.75rem;
    }

    /* Review Section */
    .review-stats .avg-rating {
        font-size: 2rem;
    }
    .review-stats .stars {
        font-size: 0.95rem;
    }

    /* Blog Cards */
    .blog-card-img,
    .blog-card-img-placeholder {
        height: 150px;
    }
    .blog-card-title {
        font-size: 0.9rem;
    }
    .blog-card-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Blog Content (Single Post) */
    .blog-content {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* Floating WA - slightly smaller on tablet */
    .floating-wa-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 20px;
        right: 20px;
    }

    /* Footer Enhanced */
    .footer-social {
        justify-content: center;
    }
    .footer-payment-methods {
        text-align: center;
    }

    /* Admin Stat Cards */
    .stat-card {
        padding: 1rem;
    }
    .stat-card .stat-value {
        font-size: 1.1rem;
    }
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
}

/* -- Mobile (max 576px) -- */
@media (max-width: 576px) {
    /* Transaction Counter */
    .transaction-counter {
        padding: 0.8rem 1rem;
        border-radius: 8px;
    }
    .transaction-counter .counter-number {
        font-size: 1.5rem;
    }
    .transaction-counter .counter-label {
        font-size: 0.75rem;
    }

    /* Trending Section */
    .trending-card {
        padding: 0.6rem;
    }
    .trending-card img {
        width: 36px;
        height: 36px;
        margin-bottom: 0.3rem;
    }
    .trending-card .trending-rank {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
        top: 4px;
        left: 4px;
    }
    .trending-card .trending-name {
        font-size: 0.7rem;
    }
    .trending-card .trending-brand {
        font-size: 0.6rem;
    }
    .trending-card .trending-price {
        font-size: 0.7rem;
    }
    .trending-card .trending-sold {
        font-size: 0.6rem;
    }

    /* Product Badges */
    .product-badge {
        font-size: 0.55rem;
        padding: 2px 6px;
    }
    .product-card .badge-overlay {
        font-size: 0.5rem;
        padding: 1px 4px;
    }

    /* Discount Display */
    .price-original {
        font-size: 0.65rem;
    }
    .discount-tag {
        font-size: 0.55rem;
        padding: 1px 4px;
    }

    /* Review Section */
    .review-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .review-stats .avg-rating {
        font-size: 1.8rem;
    }
    .review-item {
        padding: 0.8rem;
    }
    .review-item .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    .review-item .review-author {
        font-size: 0.85rem;
    }
    .review-item .review-comment {
        font-size: 0.8rem;
    }
    .review-summary .avg-rating {
        font-size: 2.2rem;
    }

    /* Star Rating Input */
    .star-rating-input i {
        font-size: 1.3rem;
    }

    /* Blog Cards */
    .blog-card-img,
    .blog-card-img-placeholder {
        height: 140px;
    }
    .blog-card-body {
        padding: 0.75rem;
    }
    .blog-card-title {
        font-size: 0.85rem;
    }
    .blog-card-excerpt {
        font-size: 0.75rem;
    }
    .blog-card-category {
        font-size: 0.58rem;
        padding: 2px 8px;
    }
    .blog-card-meta {
        font-size: 0.65rem;
        gap: 0.5rem;
    }
    .blog-tag {
        font-size: 0.58rem;
    }
    .blog-author-avatar {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    /* Blog Content */
    .blog-content {
        font-size: 0.85rem;
    }
    .blog-content h2 {
        font-size: 1.2rem;
    }
    .blog-content h3 {
        font-size: 1.05rem;
    }

    /* Floating WA */
    .floating-wa-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        bottom: 16px;
        right: 16px;
    }

    /* Footer Enhanced */
    .footer-links li {
        margin-bottom: 0.4rem;
    }
    .footer-links li a {
        font-size: 0.85rem;
    }
    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    /* FAQ Accordion */
    .accordion-button {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
    .accordion-body {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }

    /* Admin Stat Cards */
    .stat-card {
        padding: 0.75rem;
    }
    .stat-card .stat-value {
        font-size: 0.95rem;
        word-break: break-all;
    }
    .stat-card .stat-label {
        font-size: 0.65rem;
    }

    /* Admin tables mobile fix */
    .table-dark-custom .table th,
    .table-dark-custom .table td {
        font-size: 0.78rem;
        padding: 0.5rem 0.6rem;
        white-space: nowrap;
    }

    /* Pagination mobile — handled in unified block above */
}

/* =============================================================
   PRICE LIST PAGE
   ============================================================= */

.pricelist-info-banner {
    background: #232B47;
    border: 1px solid #3A4556;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border-left: 4px solid #0066FF;
}

/* Sidebar */
.pricelist-sidebar {
    background: #232B47;
    border: 1px solid #3A4556;
    border-radius: 12px;
    padding: 1rem;
    position: sticky;
    top: 80px;
}
.pricelist-sidebar-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #3A4556;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066FF;
}
.pricelist-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pricelist-cat-list li + li {
    margin-top: 2px;
}
.pricelist-cat-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    color: #A8AEC0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.pricelist-cat-link:hover {
    background: rgba(0, 217, 255, 0.1);
    color: #E8E9F3;
}
.pricelist-cat-link.active {
    background: #0066FF;
    color: #fff;
    font-weight: 600;
}

/* Brand Tabs */
.pricelist-brand-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pricelist-brand-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    background: #232B47;
    border: 1px solid #3A4556;
    color: #A8AEC0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    white-space: nowrap;
}
.pricelist-brand-tab:hover {
    border-color: #0066FF;
    color: #E8E9F3;
}
.pricelist-brand-tab.active {
    background: #0066FF;
    border-color: #0066FF;
    color: #fff;
    font-weight: 600;
}
.pricelist-brand-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

/* Product Table */
.pricelist-table-wrap {
    background: #232B47;
    border: 1px solid #3A4556;
    border-radius: 12px;
    overflow: hidden;
}
.pricelist-table {
    margin-bottom: 0;
    color: #A8AEC0;
    font-size: 0.88rem;
}
.pricelist-table thead th {
    background: rgba(0, 102, 255, 0.08);
    border-bottom: 1px solid #3A4556;
    color: #7A8299;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.65rem 0.75rem;
    white-space: nowrap;
}
.pricelist-table tbody tr {
    border-bottom: 1px solid #3A4556;
    transition: background 0.15s;
}
.pricelist-table tbody tr:hover {
    background: rgba(0, 217, 255, 0.05);
}
.pricelist-table tbody tr:last-child {
    border-bottom: none;
}
.pricelist-table td {
    padding: 0.6rem 0.75rem;
    vertical-align: middle;
    border: none;
}

/* Price styling - green color */
.pricelist-table .price-cell {
    color: #00B894;
    font-weight: 700;
}

/* Strikethrough/old prices - keep red */
.pricelist-table .price-old {
    color: #FF7675;
    text-decoration: line-through;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991.98px) {
    .pricelist-sidebar {
        position: static;
    }
    .pricelist-cat-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .pricelist-cat-list li + li {
        margin-top: 0;
    }
    .pricelist-cat-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.82rem;
        border-radius: 50px;
        background: #232B47;
        border: 1px solid #3A4556;
    }
    .pricelist-cat-link.active {
        border-color: #0066FF;
    }
    .pricelist-cat-link .bi-chevron-right {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .pricelist-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pricelist-table {
        min-width: 600px;
    }
}
/* Verified buyer badge in review cards */
.verified-buyer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #7dd3fc;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(14, 165, 233, 0.35);
    border-radius: 999px;
    padding: 0.15rem 0.45rem;
    white-space: nowrap;
}

/* ============================================================
   Check Order Page Responsive
   ============================================================ */
.check-order-tabs .nav-pills {
    flex-wrap: nowrap;
}

.check-order-tabs .nav-link {
    white-space: nowrap;
}

.check-order-results .list-group-item {
    transition: var(--transition);
}

.check-order-results .list-group-item:hover {
    border-color: var(--primary) !important;
}

@media (max-width: 768px) {
    /* Check Order page */
    .summary-card h3 {
        font-size: 1.3rem;
    }

    .summary-card .nav-pills .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }

    .summary-card .form-control {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    /* Check Order page */
    .summary-card {
        padding: 1rem;
    }

    .summary-card h3 {
        font-size: 1.15rem;
    }

    .summary-card > p.text-muted {
        font-size: 0.8rem;
    }

    .summary-card .nav-pills .nav-link {
        font-size: 0.8rem;
        padding: 0.35rem 0.65rem;
    }

    .summary-card .nav-pills .nav-link i {
        font-size: 0.8rem;
    }

    .summary-card .form-control {
        font-size: 0.95rem !important;
        padding: 0.6rem 0.75rem;
    }

    .summary-card .btn-primary-custom {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    /* Phone order result list */
    .check-order-results h6 {
        font-size: 0.85rem;
    }

    .check-order-results .list-group-item {
        padding: 0.65rem 0.75rem !important;
    }

    .check-order-results code.text-primary {
        font-size: 0.7rem !important;
        word-break: break-all;
    }

    .check-order-results .small,
    .check-order-results small {
        font-size: 0.72rem !important;
    }

    .check-order-results .fw-semibold.small {
        font-size: 0.78rem !important;
    }

    /* Footer text */
    .summary-card > p.small.mt-4 {
        font-size: 0.75rem;
    }

    /* Status page steps */
    .steps {
        gap: 0.3rem;
    }

    .step {
        font-size: 0.75rem;
    }

    .step-number {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 0.75rem;
    }

    /* Bank info card */
    .bank-info-card {
        padding: 1rem;
    }

    .bank-info-card .bank-number {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    /* Upload area */
    .upload-area {
        padding: 1.25rem;
    }

    .upload-area .upload-icon {
        font-size: 2rem;
    }
}
/* ============================================================
   Professional Startup Aesthetic Enhancements
   Smooth animations & modern interactions without Tailwind
   ============================================================ */

/* Enhanced Card Hover Effects */
.brand-card,
.category-card,
.blog-card {
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

/* Smooth Image Transitions */
.brand-card .card-img-top,
.blog-card-img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-card:hover .card-img-top,
.blog-card:hover .blog-card-img {
    transform: scale(1.08);
}

/* Enhanced Button Interactions */
.btn-primary-custom,
.btn-outline-custom {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, box-shadow;
}

.btn-primary-custom:active,
.btn-outline-custom:active {
    transform: scale(0.97);
}

/* Smooth Search Input Animation */
.search-bar input {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-bar input:focus {
    animation: searchFocus 0.4s ease-out;
}

@keyframes searchFocus {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(0, 102, 255, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

/* Smooth Category Scroll */
.category-card {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-card:hover {
    animation: categoryHover 0.3s ease-out forwards;
}

@keyframes categoryHover {
    to {
        transform: translateY(-6px) scale(1.02);
    }
}

/* Product Grid Animation */
.brand-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Staggered Load Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-item {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Enhanced Badge Styles */
.badge-marketing {
    transition: all 0.3s ease;
}

.brand-card:hover .badge-marketing {
    transform: rotate(0deg) scale(1.05);
}

/* Smooth Footer Links */
.footer a {
    transition: all 0.2s ease;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

/* Modal Animations */
.modal.fade .modal-dialog {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Alert Animations */
.alert {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Table Row Hover Effect */
.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    animation: tableRowHover 0.2s ease-out forwards;
}

@keyframes tableRowHover {
    to {
        transform: scale(1.01);
    }
}

/* Professional Spacing Enhancements */
.section-title {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Content Animation */
.hero-title,
.hero-subtitle {
    animation: heroFadeIn 0.8s ease-out forwards;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button Pulse Effect */
.btn-primary-custom {
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:active::before {
    width: 300px;
    height: 300px;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Input Field Focus Animation */
.form-control,
.form-select {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-control:focus,
.form-select:focus {
    animation: inputFocus 0.3s ease-out;
}

@keyframes inputFocus {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(1);
    }
}

/* Link Hover Underline Animation */
a {
    position: relative;
    transition: color 0.3s ease;
}

/* Badge Animations */
.badge-terlaris,
.badge-populer,
.badge-promo,
.badge-flashsale,
.badge-bestdeal,
.badge-hemat {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

/* Pagination Link Animations */
.pagination-custom .page-link,
.pagination-home .page-link,
.pagination-blog .page-link {
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pagination-custom .page-link:hover,
.pagination-home .page-link:hover,
.pagination-blog .page-link:hover {
    transform: translateY(-2px);
}

.pagination-custom .page-item.active .page-link,
.pagination-home .page-item.active .page-link,
.pagination-blog .page-item.active .page-link {
    animation: activePage 0.3s ease-out;
}

@keyframes activePage {
    from {
        transform: scale(0.95);
    }
    to {
        transform: scale(1);
    }
}

/* Smooth Color Transitions */
.category-card.active,
.payment-method-card.selected,
.product-card.selected {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hero CTA Buttons Animation */
.hero-cta .btn {
    animation: ctaSlideIn 0.6s ease-out forwards;
}

.hero-cta .btn:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-cta .btn:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes ctaSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Items Animation */
.hero-trust-item {
    animation: trustItemSlide 0.6s ease-out forwards;
}

.hero-trust-item:nth-child(1) {
    animation-delay: 0.5s;
}

.hero-trust-item:nth-child(2) {
    animation-delay: 0.6s;
}

.hero-trust-item:nth-child(3) {
    animation-delay: 0.7s;
}

@keyframes trustItemSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .brand-card,
    .category-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        transition: all 0.2s ease;
    }
}

/* ============================================================
   Trust Badges Section
   ============================================================ */

.trust-badges-section {
    padding: 3.5rem 0;
    background: var(--bg-dark);
}

.trust-badges-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.trust-badges-content > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.trust-badges-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.trust-item-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    animation: slideInLeft 0.6s ease-out forwards;
}

.trust-item-card:nth-child(2) {
    animation-delay: 0.1s;
}

.trust-item-card:nth-child(3) {
    animation-delay: 0.2s;
}

.trust-item-card:nth-child(4) {
    animation-delay: 0.3s;
}

.trust-item-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.15);
}

.trust-item-card i {
    font-size: 1.8rem;
    color: var(--primary);
    min-width: 60px;
    text-align: center;
}

.trust-item-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.trust-item-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
}

.badge-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.badge-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.badge-item:hover img {
    transform: scale(1.1);
}

.badge-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.trust-payment-methods {
    text-align: center;
}

.trust-payment-methods h5 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.payment-method:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.payment-method i {
    font-size: 1.5rem;
    color: var(--primary);
}

.payment-method p {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

/* Payment Method Logos */
.payment-method-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}

.payment-method-logo:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.payment-method-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.payment-method-logo p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .badge-item {
        padding: 1.5rem 1rem;
    }
    
    .badge-item img {
        width: 50px;
        height: 50px;
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .payment-method-logo {
        padding: 1rem 0.75rem;
    }
    
    .payment-method-logo img {
        width: 50px;
        height: 50px;
    }
    
    .payment-method-logo p {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .trust-badges-section {
        padding: 2rem 0;
    }
    
    .trust-badges-content h2 {
        font-size: 1.5rem;
    }
    
    .trust-item-card {
        padding: 1rem;
    }
    
    .trust-item-card i {
        font-size: 1.4rem;
        min-width: 50px;
    }
    
    .trust-item-card h5 {
        font-size: 0.9rem;
    }
    
    .trust-item-card p {
        font-size: 0.8rem;
    }
    
    .badge-item {
        padding: 1rem 0.75rem;
    }
    
    .badge-item img {
        width: 40px;
        height: 40px;
    }
    
    .badge-label {
        font-size: 0.7rem;
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .payment-method {
        padding: 0.75rem;
    }
    
    .payment-method i {
        font-size: 1.2rem;
    }
    
    .payment-method p {
        font-size: 0.65rem;
    }
    
    .payment-method-logo {
        padding: 0.75rem 0.5rem;
    }
    
    .payment-method-logo img {
        width: 40px;
        height: 40px;
    }
    
    .payment-method-logo p {
        font-size: 0.65rem;
    }
}

/* ============================================================
   Newsletter Signup Section
   ============================================================ */

#newsletter {
    scroll-margin-top: 80px;
}

.newsletter-section {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #161a2e 100%);
}

.newsletter-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.25);
    animation: slideInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.newsletter-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.newsletter-content i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.9;
}

.newsletter-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
}

.newsletter-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.newsletter-form-group {
    display: flex;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.newsletter-form-group input {
    flex: 1;
    padding: 0.9rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50px;
    color: var(--bg-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.newsletter-form-group input::placeholder {
    color: var(--text-muted);
}

.newsletter-form-group input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form-group button {
    padding: 0.9rem 2rem;
    background: var(--bg-body);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form-group button:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-form-group button:active {
    transform: translateY(0);
}

.newsletter-section small {
    display: block;
    margin-top: 1rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 2.5rem 0;
    }
    
    .newsletter-card {
        padding: 2rem 1.5rem;
    }
    
    .newsletter-content h3 {
        font-size: 1.4rem;
    }
    
    .newsletter-content p {
        font-size: 0.9rem;
    }
    
    .newsletter-form-group {
        flex-direction: column;
    }
    
    .newsletter-form-group input,
    .newsletter-form-group button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .newsletter-section {
        padding: 2rem 0;
    }
    
    .newsletter-card {
        padding: 1.5rem 1rem;
    }
    
    .newsletter-content i {
        font-size: 2rem;
    }
    
    .newsletter-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-content p {
        font-size: 0.85rem;
    }
    
    .newsletter-form-group input,
    .newsletter-form-group button {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
/* ============================================================
   Testimonials Section
   ============================================================ */

.testimonials-section {
    padding: 3.5rem 0;
    background: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.2);
}

.testimonial-stars {
    display: flex;
    gap: 0.3rem;
}

.testimonial-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    flex: 1;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 2.5rem 0;
    }

    .testimonials-grid {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-message {
        font-size: 0.9rem;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }
}

/* ============================================================
   Reviews Display Section
   ============================================================ */

.reviews-section {
    background: var(--bg-dark);
}

.reviews-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}

.rating-display {
    position: relative;
}

.rating-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.rating-max {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.rating-stars {
    display: flex;
    justify-content: center;
}

.rating-breakdown {
    margin-top: 1.5rem;
}

.rating-row {
    padding: 0.85rem 0;
    align-items: center !important;
}

.rating-bar {
    background: var(--border-color);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    background: var(--primary);
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.review-item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.1);
}

.review-rating {
    display: flex;
    gap: 0.2rem;
}

.btn-helpful {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-helpful:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 102, 255, 0.08);
}

.verified-buyer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #7dd3fc;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(14, 165, 233, 0.35);
    border-radius: 999px;
    padding: 0.15rem 0.45rem;
    white-space: nowrap;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .reviews-summary-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .review-item-card {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .reviews-section {
        padding: 1.5rem 0 !important;
    }

    .reviews-summary-card {
        padding: 1rem;
    }

    .rating-number {
        font-size: 2rem;
    }

    .review-item-card {
        padding: 0.75rem;
    }

    .review-item-card h6 {
        font-size: 0.85rem;
    }

    .btn-helpful {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* ============================================================
   Referral Program Section
   ============================================================ */

.referral-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0066FF 0%, rgba(0, 102, 255, 0.05) 100%);
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

.referral-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.referral-benefits {
    margin-top: 1.5rem;
}

.benefit-item {
    animation: slideInLeft 0.6s ease-out forwards;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.1s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.2s;
}

.benefit-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.referral-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    color: #fff;
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.referral-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.referral-card h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.referral-code-display {
    position: relative;
    z-index: 1;
}

.code-box {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.code-text {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    color: #fff;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.referral-share {
    position: relative;
    z-index: 1;
}

.share-buttons {
    margin-top: 1rem;
}

.share-buttons .btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.share-buttons .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.referral-input-group {
    display: flex;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.referral-input-group input {
    flex: 1;
}

.referral-input-group .btn {
    white-space: nowrap;
}

#referralGenerateForm {
    position: relative;
    z-index: 1;
}

#referralGenerateForm .form-control {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

#referralGenerateForm .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#referralGenerateForm .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .referral-section {
        padding: 2.5rem 0;
    }

    .referral-card {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }

    .referral-section h2 {
        font-size: 1.5rem;
    }

    .code-box {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .code-text {
        font-size: 1rem;
        width: 100%;
    }

    .copy-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .referral-section {
        padding: 1.5rem 0;
    }

    .referral-card {
        padding: 1.5rem 1rem;
    }

    .referral-section h2 {
        font-size: 1.25rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-buttons .btn {
        width: 100%;
    }

    .referral-input-group {
        flex-direction: column;
    }

    .referral-input-group .btn {
        width: 100%;
    }

    #referralGenerateForm .form-control {
        width: 100%;
    }
}

.debug-blog,
.debug-blog *{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
