/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.immediate-stock {
    padding: 80px 20px;
    background: #fafafa;
}

.immediate-stock .container {
    max-width: 1200px;
    margin: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.subtitle {
    font-size: 12px;
    text-transform: uppercase;
    color: #71717a;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.header h2 {
    font-size: 30px;
    font-weight: bold;
}

.view-all {
    font-size: 14px;
    text-decoration: none;
    color: black;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* CARD */
.card {
    border-radius: 12px;
    border: 1px solid #e4e4e7;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #d4d4d8;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* IMAGE */
.card-image {
    position: relative;
    aspect-ratio: 4/3;
    background: #f4f4f5;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ccc;
}

/* BADGE */
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}

/* CONTENT */
.card-content {
    padding: 16px;
}

.card-top {
    margin-bottom: 12px;
}

.sku {
    font-size: 12px;
    color: #71717a;
    font-family: monospace;
}

.card-top h3 {
    font-size: 16px;
    font-weight: 600;
    color: #18181b;
    margin: 6px 0;
    min-height: 40px;
}

.attr {
    font-size: 13px;
    color: #52525b;
}

.attr span {
    font-weight: 500;
}

/* BOTTOM */
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #f1f1f1;
    padding-top: 12px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #18181b;
    margin: 0
}

.meta {
    font-size: 11px;
    color: #71717a;
    margin: 0
}

/* BUTTON */
.btn {
    background: black;
    color: white;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
}

.btn:hover {
    background: #27272a;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .immediate-stock .grid {
        grid-template-columns: 1fr;
    }
}

