/**
 * Prime Store - Product Box Style (Vertical Grid Card)
 * Vertical product card for grid layouts
 *
 * @package PrimeStore
 * @version 2.0.0
 */

/* ===================================================================
   GRID CONTAINER
   =================================================================== */
.prime-custom-product-box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

/* ===================================================================
   PRODUCT CARD - Vertical Layout
   =================================================================== */
.prime-custom-product-box {
    background: var(--color-bg, #fff);
    border: 1px solid #ddd;
    border-radius: var(--radius-md, 10px);
    width: 240px;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.05));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition-slow, 300ms ease);
}

.prime-custom-product-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ===================================================================
   IMAGE SECTION
   =================================================================== */
.prime-cpb-image {
    width: 100%;
    padding: 15px;
    text-align: center;
    background: var(--color-bg-secondary, #f9f9f9);
}

.prime-cpb-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/* ===================================================================
   CONTENT SECTION
   =================================================================== */
.prime-cpb-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prime-cpb-content h3 {
    font-size: var(--font-size-lg, 16px);
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: var(--color-text, #333);
}

/* ===================================================================
   PRICE
   =================================================================== */
.prime-cpb-price {
    font-size: var(--font-size-md, 15px);
    color: #e53935;
    font-weight: bold;
    margin-bottom: var(--spacing-md, 12px);
    display: flex;
    align-items: center;
}

.prime-cpb-price img {
    margin-left: 5px;
}

/* ===================================================================
   BUY BUTTON
   =================================================================== */
.prime-cpb-button {
    display: inline-block;
    text-align: center;
    background: #ff6f00;
    color: #fff;
    font-weight: bold;
    padding: var(--spacing-sm, 8px) var(--spacing-md, 12px);
    border-radius: 6px;
    text-decoration: none;
    transition: background var(--transition-slow, 300ms ease);
}

.prime-cpb-button:hover {
    background: #ff8f00;
    text-decoration: none;
}
