/* WooCommerce-inspired Custom Stylesheet - Admotion */

:root {
    --primary-color: #7f54b3;
    --primary-hover: #693f9c;
    --secondary-color: #2271b1;
    --accent-points: #ff9800;
    --dark-color: #2c3338;
    --light-bg: #f6f6f7;
    --border-color: #e2e8f0;
    --text-muted: #64748b;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: #fcfcfd;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar & Header */
.navbar-top {
    background-color: #1e1e24;
    color: #d1d5db;
    font-size: 0.85rem;
    padding: 6px 0;
}

.main-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: #1e293b;
}

/* Points Badge */
.points-badge {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border: 1px solid #ffe0b2;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(230,81,0,0.1);
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, #7f54b3 0%, #4a2c7a 100%);
    color: white;
    padding: 60px 0;
    border-radius: 16px;
    margin-bottom: 40px;
}

/* WooCommerce Product Grid & Cards */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.25s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.product-image-wrap {
    position: relative;
    background: #f8fafc;
    padding-top: 75%;
    overflow: hidden;
}

.product-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price-points {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: auto;
    padding-top: 12px;
}

.product-stock {
    font-size: 0.8rem;
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-stock.out-of-stock {
    color: #dc2626;
}

/* WooCommerce Buttons */
.btn-wc-primary {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
    transition: background-color 0.2s;
}

.btn-wc-primary:hover {
    background-color: var(--primary-hover);
    color: white;
}

.btn-wc-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 18px;
}

.btn-wc-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    background-color: #1e1e24;
    color: #9ca3af;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}

/* Cart & Checkout */
.cart-table th {
    background-color: var(--light-bg);
    border-bottom: 2px solid var(--border-color);
}

.cart-summary-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1rem;
}

.cart-summary-row.total {
    font-size: 1.25rem;
    font-weight: 800;
    border-top: 2px solid var(--border-color);
    padding-top: 12px;
    color: var(--primary-color);
}
