/* 
   futbolki.css
   Specialized styles for T-shirt product cards.
   Horizontal layout with thick gray frames matching the design photo.
*/

.product-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-bottom: 15px !important;
    width: 100% !important;
}

.product-card-v3 {
    display: flex !important;
    background: #f0f0f0 !important;
    /* Outer light grey background like in ruchki.php */
    border: 1px solid #b7b7b7 !important;
    /* Grey outer frame */
    padding: 10px !important;
    min-height: 400px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    flex-direction: row !important;
    align-items: stretch !important;
}

/* Left Section: Image and Color selection */
.card-left-side {
    width: 60% !important;
    padding: 0 !important;
    position: relative !important;
    border-right: 1px solid #ddd !important;
    /* Internal Vertical Divider like in ruchki.php */
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 4px 0 0 4px !important;
}

.main-image-preview {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: flex-start !important;
    /* Pinned to top */
    justify-content: center !important;
    margin: 0 !important;
    background: #fdfdfd !important;
    /* Subtle contrast to the white info side */
}

.main-image-preview img {
    width: 100% !important;
    height: 86% !important;
    object-fit: contain !important;
}

.color-selector-grid {
    position: absolute !important;
    bottom: 15px !important;
    /* Moved slightly */
    left: 15px !important;
    z-index: 10 !important;
    /* Ensure it is on top */
    display: flex !important;
    gap: 8px !important;
}

.color-square {
    width: 22px !important;
    height: 22px !important;
    border: 1px solid #000 !important;
    cursor: pointer !important;
    background: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2) !important;
    /* Make them stand out on photo */
}

.color-square.active {
    outline: 4px solid var(--primary) !important;
    outline-offset: 2px !important;
}

/* Right Section: Info and Price/Action */
.card-right-side {
    width: 40% !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 0 4px 4px 0 !important;
}

.info-top-part {
    padding: 10px 15px !important;
    flex: 1 !important;
    border-bottom: 1px solid #ddd !important;
    /* Internal Horizontal Divider like in ruchki.php */
}

.info-section h4 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #333 !important;
    margin: 0 0 4px 0 !important;
}

.info-section p,
.size-list {
    font-size: 15px !important;
    color: #444 !important;
    line-height: 1.0 !important;
    /* Minimal interline spacing */
    margin-bottom: 0 !important;
}

.info-section {
    margin-bottom: 15px !important;
    /* Tightened gap */
}

.availability-note {
    display: none !important;
    /* Removed as requested */
}

.price-action-section {
    padding: 20px !important;
    background: #fff !important;
}

.price-display {
    text-align: center !important;
    margin-bottom: 8px !important;
}

.price-num {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    line-height: 1 !important;
}

.price-unit {
    display: inline !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    margin-left: 5px !important;
}

.action-box p {
    display: none !important;
    /* Removed as requested */
}

.calc-trigger-btn {
    background: #00A65F !important;
    color: white !important;
    border: none !important;
    padding: 10px 0 !important;
    width: 100% !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.calc-trigger-btn:hover {
    background: #008048 !important;
}