/* 
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
*/

/* Add your custom styles here */

/* ==========================================================================
   МОДЕРНИ РАСПОРЕД ЗА СТРАНИЦУ ПРОИЗВОДА
   ========================================================================== */

.modern-product-layout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    color: #1f2937;
    font-family: inherit;
}

/* Главни распоред у 2 колоне (Grid) */
.modern-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}

/* Лева колона - Галерија */
.modern-product-gallery .woocommerce-product-gallery {
    width: 100% !important;
    margin: 0 !important;
}

.modern-product-gallery img {
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    width: 100%;
    height: auto;
    display: block;
}

/* Десна колона - Садржај */
.modern-product-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Наслов производа */
.modern-product-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    margin: 0;
}

/* Цена производа */
.modern-product-price {
    font-size: 26px;
    font-weight: 700;
    color: #0f766e; /* Модерна тиркизно-тамна нијанса */
}

.modern-product-price del {
    color: #9ca3af;
    font-size: 18px;
    font-weight: 400;
    margin-right: 10px;
}

.modern-product-price ins {
    text-decoration: none;
}

/* Кратак опис */
.modern-product-short-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 20px;
}

/* Форма за додавање у корпу */
.modern-product-actions form.cart {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Поље за избор количине */
.modern-product-actions .quantity input.qty {
    width: 75px;
    height: 50px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    background-color: #f9fafb;
}

/* Дугме за куповину */
.modern-product-actions button.single_add_to_cart_button {
    height: 50px;
    padding: 0 36px;
    background-color: #111827 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.modern-product-actions button.single_add_to_cart_button:hover {
    background-color: #0f766e !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.2);
}

/* Мета подаци (Шифра и категорија) */
.modern-product-meta {
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.modern-product-meta .meta-label {
    font-weight: 600;
    color: #374151;
    margin-right: 6px;
}

.modern-product-meta a {
    color: #0f766e;
    text-decoration: none;
}

.modern-product-meta a:hover {
    text-decoration: underline;
}

/* Доња секција са детаљним табовима */
.modern-product-extra {
    border-top: 2px solid #f3f4f6;
    padding-top: 40px;
}

/* Прилагођавање за мобилне уређаје */
@media (max-width: 850px) {
    .modern-product-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .modern-product-title {
        font-size: 26px;
    }
}