/* START store-styles.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #FF6B00;      /* Shine Brand Orange */
    --secondary: #0A2540;    /* Premium Deep Blue */
    --accent: #1E40AF;       /* Vivid Royal Blue */
    --light-bg: #F8FAFC;     /* Clean Canvas Background */
    --text-dark: #0F172A;    /* Dark Charcoal slate */
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --white: #FFFFFF;
    --success-green: #10B981;
    --card-shadow: 0 10px 25px -5px rgba(10, 37, 64, 0.05), 0 8px 10px -6px rgba(10, 37, 64, 0.05);
    --font-stack: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Store Navigation */
.store-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.store-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
}

.store-logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-back-company {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-back-company:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.cart-icon-wrap {
    position: relative;
    font-weight: 600;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -15px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 20px;
}

/* Storefront Landing Hero */
.store-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0F3E6D 100%);
    color: var(--white);
    padding: 90px 0;
    text-align: center;
}

.store-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.store-hero p {
    font-size: 18px;
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto 32px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background-color: #E05E00;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--light-bg);
}

/* Store Layout Structures */
.store-section {
    padding: 64px 0;
}

.section-hdr {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-hdr h2 {
    font-size: 28px;
    color: var(--secondary);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

/* Product Catalog Grid Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

.img-placeholder {
    background: linear-gradient(45deg, #E2E8F0, #F1F5F9);
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
}

.product-details-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prod-cat {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.prod-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.prod-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.prod-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.price-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

/* Search Filters & Navigation Controls */
.filter-sidebar {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    align-self: start;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 15px;
}

.search-input, .sort-select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-stack);
}

.filter-list {
    list-style: none;
}

.filter-item {
    margin-bottom: 8px;
}

.filter-item a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.filter-item.active a {
    color: var(--primary);
    font-weight: 600;
}

/* Product Detail System Layout */
.product-detail-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.detail-info h1 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.features-list {
    margin: 24px 0;
    padding-left: 20px;
}

.features-list li {
    margin-bottom: 8px;
}

.purchase-controls {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* Transaction Checkout & Cart Systems */
.cart-split, .checkout-split {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.table-view {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table-view th, .table-view td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table-view th {
    background: #F8FAFC;
    color: var(--secondary);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    border-radius: 4px;
}

.summary-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.summary-total {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary);
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.input-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-stack);
}

/* Operational Demo Notice Banner */
.demo-badge {
    background-color: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: var(--accent);
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 13px;
}

.footer-store {
    background-color: var(--secondary);
    color: var(--white);
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
}

.footer-btm {
    border-top: 1px solid #1E293B;
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #94A3B8;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
}

@media (max-width: 992px) {
    .catalog-layout, .cart-split, .checkout-split, .product-detail-view {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
    }
    .nav-menu.open { display: flex; }
}

/* Ensure all cards have a matching structural layout */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Keeps buttons cleanly aligned at the bottom */
    height: 100%; /* Keeps cards aligned even if description text length varies */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Force the image wrapper to cut off vertical overflowing graphics */
.product-card-image {
    width: 100%;
    height: 220px; /* Exact uniform height for all product images */
    overflow: hidden;
    background-color: #F1F5F9; /* Subtle gray background fill for placeholder states */
    position: relative;
}

/* The magic styling for the image itself */
.shop-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* Crops the image into the container without squishing it */
    object-position: center; /* Ensures the focal point stays centered */
    display: block;
}
/* END store-styles.css */