/* Fencing Pro Shop - Custom Styles */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Category cards on homepage */
.category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

/* Product cards */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
}

.product-img {
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    background: #f8f9fa;
}

.product-img-placeholder {
    height: 200px;
}

/* Size guide tables */
.table-responsive .table th,
.table-responsive .table td {
    white-space: nowrap;
    font-size: 0.85rem;
    text-align: center;
}

.table-responsive .table td:first-child,
.table-responsive .table th:first-child {
    text-align: left;
    position: sticky;
    left: 0;
    background: white;
    z-index: 1;
}

/* Navbar tweaks */
.navbar-brand {
    font-size: 1.3rem;
}

.navbar .dropdown-menu {
    z-index: 1050;
}

/* Footer */
footer {
    margin-top: auto;
}
