/* ====================================== */
/* 🔥 PRODUCT GRID (GLOBAL - AMAZON STYLE) */
/* ====================================== */

.product-grid,
.sub-cat-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    padding: 20px;
}

/* ====================================== */
/* 🔥 MOBILE */
/* ====================================== */

@media (max-width: 768px) {
    .product-grid,
    .sub-cat-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
}

/* ====================================== */
/* 🔥 EACH BOX WRAPPER */
/* ====================================== */

.sub-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ====================================== */
/* 🔥 CATEGORY TITLE */
/* ====================================== */

.sub-cat-box {
    width: 100%;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #ddd;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.sub-cat-box:hover {
    background: #ffd814;
}

.sub-cat-box:active {
    background: #ff9900;
    color: #fff;
}

/* ====================================== */
/* 🔥 PRODUCT CARD */
/* ====================================== */

.amazon-box {
    width: 100%;
    min-height: 320px;
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    border: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.2s;
}

/* hover effect */
.amazon-box:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ====================================== */
/* 🔥 IMAGE */
/* ====================================== */

.image-box {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ====================================== */
/* 🔥 EMPTY BOX (COMING SOON) */
/* ====================================== */

.no-product-box {
    width: 100%;
    height: 160px;
    background: #fafafa;
    border: 1px dashed #ccc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #555;
}

.no-product-box strong {
    font-size: 15px;
}

.no-product-box span {
    font-size: 12px;
    color: #888;
}

/* ====================================== */
/* 🔥 CONTENT */
/* ====================================== */

.box-inner {
    margin-top: 10px;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
}

.price {
    font-size: 16px;
    font-weight: bold;
}

/* ====================================== */
/* 🔥 BUTTON */
/* ====================================== */

button {
    margin-top: 10px;
    padding: 6px;
    border: none;
    background: #ffd814;
    cursor: pointer;
    border-radius: 6px;
}

button:hover {
    background: #f7ca00;
}