/* ==========================================================================
   DIVINE LIGHT & GOLD ASTROLOGY STORE DESIGN SYSTEM
   ========================================================================== */

:root {
    --astro-light-bg: #f8fafc;          /* Soft Clean Background */
    --card-bg: #ffffff;                 /* Pure White Clean Cards */
    --astrono-gold: #d97706;           /* Rich Sacred Gold */
    --astrono-gold-light: #b45309;     /* Deep Gold Accent */
    --mystic-indigo: #4338ca;          /* Royal Spiritual Indigo */
    --gold-glow-shadow: 0 10px 30px rgba(217, 119, 6, 0.12); /* Soft Golden Drop Shadow */
    --border-color: #e2e8f0;            /* Clean Light Border */
}

body.cyber-store-body {
    background-color: var(--astro-light-bg);
    color: #1e293b;
    font-family: 'font', sans-serif;
    overflow-x: hidden;
}

/* Keyframes */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loader Enhancements */
.as_loader {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(8px);
}
.spinner-pulse {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: var(--astrono-gold);
    border-bottom-color: var(--mystic-indigo);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Breadcrumb & Title Effect */
.glitch-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #0f172a 30%, var(--astrono-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   CLEAN DIVINE PRODUCT CARDS
   ========================================================================== */

.animated-card {
    animation: fadeInSlide 0.5s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.card-glow-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--astrono-gold), var(--mystic-indigo)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.animated-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gold-glow-shadow), 0 20px 30px rgba(0, 0, 0, 0.08);
}

.animated-card:hover .card-glow-border {
    opacity: 1;
}

/* Product Image Box */
.product-img-box {
    position: relative;
    height: 210px;
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.img-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.1));
    z-index: 1;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}

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

/* Badges */
.badge-platform {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    color: var(--mystic-indigo);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-preview-video {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--astrono-gold);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    z-index: 3;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
}

.btn-preview-video:hover {
    background: var(--mystic-indigo);
    color: #fff;
    transform: scale(1.1);
}

.btn-preview-video.disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* Product Body & Typography */
.product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.prod-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.prod-title:hover {
    color: var(--astrono-gold) !important;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.new-prc {
    font-size: 18px;
    font-weight: 800;
    color: #059669; /* Professional fresh green for prices */
}

.old-prc {
    font-size: 13px;
    text-decoration: line-through;
    color: #94a3b8;
}

.stats-row {
    font-size: 11px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.text-cyan { color: var(--mystic-indigo); }
.text-neon { color: var(--astrono-gold); }

/* Dual Buttons Group */
.product-btn-group {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-custom {
    flex: 1;
    padding: 9px 6px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-detail {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-detail:hover {
    background-color: #e2e8f0;
    color: #0f172a;
    text-decoration: none;
}

.btn-buy {
    background: linear-gradient(135deg, var(--astrono-gold), #b45309);
    color: #fff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   SIDEBAR & FILTERS (LIGHT THEME)
   ========================================================================== */

.cyber-sidebar {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.cyber-input-group .form-control,
.cyber-select {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    border-radius: 8px !important;
    height: 40px !important;
    font-size: 13px !important;
    transition: all 0.3s ease;
}

.cyber-input-group .form-control:focus,
.cyber-select:focus {
    border-color: var(--astrono-gold) !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
    background: #fff !important;
}

.btn-cyber-search {
    background: linear-gradient(135deg, var(--astrono-gold), #b45309);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0 !important;
    padding: 8px 15px;
    transition: 0.3s;
    font-weight: bold;
}

.btn-cyber-search:hover {
    opacity: 0.9;
    color: #fff;
}

/* Category List Styles */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 6px;
}

.category-list li a {
    color: #475569;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 13px;
    border: 1px solid transparent;
}

.category-list li a:hover,
.category-list li.active a {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.2);
    color: var(--astrono-gold-light);
    transform: translateX(4px);
    font-weight: 600;
}

/* ==========================================================================
   PAGINATION & MODAL STYLING (LIGHT THEME)
   ========================================================================== */

.cyber-pagination .page-item .page-link {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #334155;
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.cyber-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--astrono-gold), #b45309);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.cyber-pagination .page-item .page-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.glass-modal-content {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.modal-video-box {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.modal-video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-cyber-glow {
    background: linear-gradient(135deg, var(--astrono-gold), #b45309);
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
    transition: 0.3s;
}

.btn-cyber-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
    color: #fff;
}