/* 
 * =============================================================================
 * PLYWOOD & BLOCK BOARDS PAGE STYLES
 * Clean, professional styles focusing on structure and trust.
 * =============================================================================
 */

/* Main Featured Card Container */
.plywood-card {
    position: relative;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Card Hover Effect */
.plywood-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Dark Mode Card Styling */
.dark .plywood-card {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border-color: rgba(255,255,255,0.1);
}

.dark .plywood-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

/* 
 * =============================================================================
 * THICKNESS GRID ITEMS
 * =============================================================================
 */

.thickness-item {
    text-align: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.plywood-card:hover .thickness-item:hover {
    background-color: rgba(234, 227, 217, 0.3); /* Matches accent-tan/30 */
    transform: scale(1.05);
}

.dark .plywood-card:hover .thickness-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 
 * =============================================================================
 * IMAGE & BADGE STYLING
 * =============================================================================
 */

.plywood-card .relative img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.plywood-card .absolute.top-4 {
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

/* 
 * =============================================================================
 * ACCESSIBILITY & RESPONSIVE
 * =============================================================================
 */

.plywood-card:focus-within {
    outline: 2px solid #5D4037;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .plywood-card .text-3xl {
        font-size: 1.75rem;
    }
}