/*
Theme Name: Scalerio
Description: Theme pour vente de formations
Version: 1.0
Text Domain: scalerio
*/

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

/* Logo Scalerio */
.logo-signature {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: #3b82f6;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions a {
    font-size: 14px;
    color: #374151;
}

.header-actions a:hover {
    color: #3b82f6;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    color: #374151;
    transition: color 0.2s;
}

.cart-icon:hover {
    color: #3b82f6;
}

.cart-icon svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #3b82f6;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Mobile menu */
@media (max-width: 768px) {
    .main-nav ul {
        display: none;
    }
}

/* ========== PAGE HEADER ========== */
.page-header {
    text-align: center;
    padding: 50px 0 30px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.page-header .subtitle {
    font-size: 17px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== SHOP LAYOUT ========== */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 30px 0 60px;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        display: none;
    }
}

/* ========== SIDEBAR / FILTERS ========== */
.shop-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.filter-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-list a {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    transition: color 0.2s;
}

.filter-list a:hover,
.filter-list a.active {
    color: #3b82f6;
}

.filter-count {
    font-size: 12px;
    color: #9ca3af;
}

/* Price filter */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-range label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
}

.price-range input[type="checkbox"] {
    accent-color: #3b82f6;
}

/* Search */
.filter-search {
    position: relative;
}

.filter-search input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
}

.filter-search input:focus {
    outline: none;
    border-color: #3b82f6;
}

/* ========== PRODUCTS GRID ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ========== PRODUCT CARD ========== */
.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.product-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f3f4f6;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f59e0b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 44px;
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: #3b82f6;
}

.product-rating {
    margin-bottom: 12px;
}

.stars {
    color: #fbbf24;
    font-size: 12px;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 13px;
    color: #6b7280;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    margin-top: auto;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
    margin-right: 8px;
}

.btn-add-cart {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.btn-add-cart:hover {
    background: #2563eb;
    color: #fff;
}

/* ========== RESULTS INFO ========== */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.results-count {
    font-size: 14px;
    color: #6b7280;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #f9fafb;
    padding: 50px 0 30px;
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
}

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

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #3b82f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #9ca3af;
}

/* ========== WOOCOMMERCE OVERRIDES ========== */
.woocommerce ul.products,
.shop-content ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 1100px) {
    .woocommerce ul.products,
    .shop-content ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 600px) {
    .woocommerce ul.products,
    .shop-content ul.products { grid-template-columns: 1fr !important; }
}

.woocommerce ul.products li.product,
.shop-content ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* In cart badge */
.in-cart-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #10b981;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 5;
}

.woocommerce ul.products li.product:hover,
.shop-content ul.products li.product:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Product image */
.woocommerce ul.products li.product a img,
.shop-content ul.products li.product a img {
    margin: 0 !important;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.shop-content ul.products li.product .onsale,
.woocommerce span.onsale {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    background: #f59e0b !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Product image container */
.woocommerce ul.products li.product > a,
.shop-content ul.products li.product > a {
    position: relative;
    display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.shop-content ul.products li.product .woocommerce-loop-product__title {
    padding: 15px 20px 5px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.woocommerce ul.products li.product .star-rating,
.shop-content ul.products li.product .star-rating {
    margin: 0 20px 10px !important;
    color: #fbbf24;
}

.woocommerce ul.products li.product .price,
.shop-content ul.products li.product .price {
    padding: 0 20px 15px !important;
    color: #111 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-top: auto !important;
}

.woocommerce ul.products li.product .price del,
.shop-content ul.products li.product .price del {
    color: #9ca3af !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-right: 8px !important;
}

.woocommerce ul.products li.product .price ins,
.shop-content ul.products li.product .price ins {
    text-decoration: none !important;
    font-weight: 700 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.shop-content ul.products li.product .button {
    margin: 0 20px 20px !important;
    width: calc(100% - 40px) !important;
    background: #3b82f6 !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: center !important;
    display: block !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.shop-content ul.products li.product .button:hover {
    background: #2563eb !important;
    color: #fff !important;
}

/* ========== SINGLE PRODUCT PAGE - Maria Wendt Style ========== */
.single-product-page {
    padding: 40px 0 80px;
    background: #fff;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-thumbnails .thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.product-thumbnails .thumb.active,
.product-thumbnails .thumb:hover {
    border-color: #3b82f6;
}

.product-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    padding-top: 10px;
}

.product-title-single {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-rating-single {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.product-rating-single .star {
    color: #d1d5db;
    font-size: 18px;
}

.product-rating-single .star.filled {
    color: #fbbf24;
}

.product-rating-single .review-count {
    color: #3b82f6;
    font-size: 14px;
    text-decoration: none;
}

.product-rating-single .review-count:hover {
    text-decoration: underline;
}

.product-price-single {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

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

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

.product-short-desc {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-short-desc p {
    margin-bottom: 10px;
}

/* Add to cart */
.product-add-to-cart {
    margin-bottom: 25px;
}

.product-add-to-cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
}

.product-add-to-cart .quantity input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 12px;
    font-size: 16px;
}

.product-add-to-cart .single_add_to_cart_button {
    background: #3b82f6 !important;
    color: #fff !important;
    padding: 15px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s;
}

.product-add-to-cart .single_add_to_cart_button:hover {
    background: #2563eb !important;
}

.product-meta-single {
    font-size: 14px;
    color: #6b7280;
}

.product-meta-single .meta-label {
    font-weight: 500;
}

.product-meta-single a {
    color: #3b82f6;
}

/* Product Tabs */
.product-tabs {
    border-top: 1px solid #e5e7eb;
    padding-top: 40px;
    margin-bottom: 60px;
}

.tabs-nav {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 5px;
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
    color: #111;
}

.tab-btn.active {
    color: #111;
    border-bottom-color: #3b82f6;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Description content */
.product-description h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    font-style: italic;
}

.product-description p {
    font-size: 15px;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-description ul {
    list-style: none;
    margin: 20px 0;
}

.product-description ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}

.product-description ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* Reviews in tab */
#tab-reviews .woocommerce-Reviews {
    max-width: 800px;
}

#tab-reviews .comment-form {
    margin-top: 30px;
}

#tab-reviews .comment-form-rating {
    margin-bottom: 20px;
}

#tab-reviews .comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    resize: vertical;
}

#tab-reviews .comment-form input[type="text"],
#tab-reviews .comment-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 15px;
}

#tab-reviews .form-submit input {
    background: #3b82f6;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

#tab-reviews .form-submit input:hover {
    background: #2563eb;
}

/* WooCommerce Review Form - Scalerio Style */
#tab-reviews .woocommerce-Reviews {
    max-width: 600px;
}

#tab-reviews .woocommerce-Reviews-title {
    display: none;
}

#tab-reviews #review_form_wrapper h3#reply-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

#tab-reviews .comment-notes {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Star rating - Hide text, show only stars */
#tab-reviews .comment-form-rating label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

#tab-reviews p.stars {
    display: flex !important;
    gap: 0;
    margin: 0 0 20px 0;
    font-size: 0;
    line-height: 1;
}

#tab-reviews p.stars a {
    font-size: 0 !important;
    color: #3b82f6;
    text-decoration: none;
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    text-indent: -9999px;
    overflow: hidden;
}

#tab-reviews p.stars a::before {
    content: '☆';
    font-size: 24px;
    position: absolute;
    left: 0;
    top: 0;
    text-indent: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#tab-reviews p.stars:hover a::before {
    content: '★';
}

#tab-reviews p.stars a:hover ~ a::before {
    content: '☆';
}

#tab-reviews p.stars.selected a::before {
    content: '★';
}

#tab-reviews p.stars.selected a.active ~ a::before {
    content: '☆';
}

/* Form fields */
#tab-reviews .comment-form-comment label,
#tab-reviews .comment-form-author label,
#tab-reviews .comment-form-email label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

#tab-reviews .comment-form-comment textarea,
#tab-reviews .comment-form-author input,
#tab-reviews .comment-form-email input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

#tab-reviews .comment-form-comment textarea:focus,
#tab-reviews .comment-form-author input:focus,
#tab-reviews .comment-form-email input:focus {
    outline: none;
    border-color: #3b82f6;
}

#tab-reviews .comment-form-comment {
    margin-bottom: 20px;
}

#tab-reviews .comment-form-author,
#tab-reviews .comment-form-email {
    margin-bottom: 15px;
}

/* Cookies checkbox */
#tab-reviews .comment-form-cookies-consent {
    margin-bottom: 20px;
}

#tab-reviews .comment-form-cookies-consent label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

#tab-reviews .comment-form-cookies-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

/* Submit button - Blue Scalerio */
#tab-reviews .form-submit input[type="submit"] {
    background: #3b82f6;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#tab-reviews .form-submit input[type="submit"]:hover {
    background: #2563eb;
}

/* Required asterisk */
#tab-reviews .required {
    color: #ef4444;
}

/* Shop product short description */
.woocommerce ul.products li.product .product-short-description,
.shop-content ul.products li.product .product-short-description {
    padding: 0 20px 10px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    text-align: left;
}

/* Product card content alignment - all text left */
.woocommerce ul.products li.product,
.shop-content ul.products li.product {
    text-align: left;
}

.woocommerce ul.products li.product .star-rating-shop,
.shop-content ul.products li.product .star-rating-shop {
    padding: 0 20px 8px;
    text-align: left;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.shop-content ul.products li.product .woocommerce-loop-product__title {
    text-align: left !important;
}

.woocommerce ul.products li.product .price,
.shop-content ul.products li.product .price {
    text-align: left !important;
}

/* Voir le panier link styling */
.woocommerce ul.products li.product .added_to_cart,
.shop-content ul.products li.product .added_to_cart {
    display: block;
    text-align: center;
    margin: 0 20px 15px;
    font-size: 13px;
    color: #3b82f6;
    text-decoration: none;
}

.woocommerce ul.products li.product .added_to_cart:hover,
.shop-content ul.products li.product .added_to_cart:hover {
    text-decoration: underline;
}

/* Review form fields styling */
#tab-reviews .comment-form-author,
#tab-reviews .comment-form-email {
    margin-bottom: 15px;
}

#tab-reviews .comment-form-author label,
#tab-reviews .comment-form-email label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

#tab-reviews .comment-form-author input,
#tab-reviews .comment-form-email input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
}

#tab-reviews .comment-form-comment label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

/* Review list items */
.woocommerce-Reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.review-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.review-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-item-avatar {
    width: 45px;
    height: 45px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.review-item-meta {
    display: flex;
    flex-direction: column;
}

.review-item-author {
    font-weight: 600;
    color: #111;
    font-size: 15px;
}

.verified-buyer {
    font-size: 12px;
    color: #10b981;
    font-weight: 500;
}

.review-item-date {
    font-size: 13px;
    color: #9ca3af;
}

.review-item-stars {
    margin-bottom: 10px;
}

.review-item-stars .star {
    color: #d1d5db;
    font-size: 16px;
}

.review-item-stars .star.filled {
    color: #fbbf24;
}

.review-item-content {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.review-item-content p {
    margin: 0;
}

/* Verified buyer badge */
.verified-buyer {
    font-size: 12px;
    color: #10b981;
    font-weight: 500;
    margin-left: 5px;
}

/* Reviews List */
.reviews-list {
    margin-bottom: 30px;
}

.reviews-list h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.reviews-list .commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reviews-list .commentlist li.review {
    margin-bottom: 20px;
}

/* Required asterisk */
.comment-form .required {
    color: #ef4444;
}

/* Form title */
#reply-title {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
}

/* No reviews message */
.woocommerce-noreviews {
    padding: 30px;
    background: #f9fafb;
    border-radius: 10px;
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 30px;
}

/* Related Products */
.related-products-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 50px;
}

.related-products-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
}

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

@media (max-width: 1000px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.related-product-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.related-product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.related-product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.related-product-info {
    padding: 15px;
}

.related-product-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.related-product-info h3 a {
    color: #111;
    text-decoration: none;
}

.related-product-info h3 a:hover {
    color: #3b82f6;
}

.related-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

/* Cart & Checkout */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
    background: #3b82f6;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #2563eb;
    color: #fff;
}

.woocommerce-message {
    border-top-color: #3b82f6;
}

.woocommerce-info {
    border-top-color: #3b82f6;
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #3b82f6;
    color: #fff;
}

/* ========== PAGES CONTENT ========== */
.page-content {
    padding: 40px 0 60px;
}

.page-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.page-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 15px;
    color: #374151;
}

.page-content ul, .page-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 8px;
    color: #374151;
}

.page-content a {
    color: #3b82f6;
}

.page-content a:hover {
    text-decoration: underline;
}

/* ========== PRICE SLIDER ========== */
.price-slider-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.price-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-slider-wrapper label {
    font-size: 14px;
    color: #374151;
    white-space: nowrap;
}

#price-value {
    font-weight: 600;
    color: #3b82f6;
}

.price-slider {
    width: 200px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e5e7eb;
    border-radius: 3px;
    outline: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tag:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.filter-tag.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

/* ========== REVIEWS PAGE ========== */
.reviews-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid #e5e7eb;
}

.reviews-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    border-bottom: 1px solid #e5e7eb;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #111;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
}

.stat-stars {
    color: #fbbf24;
    font-size: 20px;
    margin-top: 5px;
}

.rating-bars {
    max-width: 300px;
    margin: 0 auto;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.rating-bar span:first-child {
    width: 60px;
    color: #6b7280;
}

.bar-bg {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 4px;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
    color: #6b7280;
}

.reviews-list {
    padding: 40px 0;
}

.reviews-count {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-stats { flex-direction: column; gap: 30px; }
}

.review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.review-name {
    font-weight: 600;
    color: #111;
}

.review-stars {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.review-meta {
    display: flex;
    flex-direction: column;
}

.review-date {
    font-size: 12px;
    color: #9ca3af;
}

.review-product {
    font-size: 12px;
    color: #3b82f6;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    display: inline-block;
    transition: color 0.2s;
}

.review-product:hover {
    color: #2563eb;
}

/* No reviews state */
.no-reviews {
    text-align: center;
    padding: 80px 20px;
}

.no-reviews-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-reviews h2 {
    font-size: 24px;
    color: #111;
    margin-bottom: 10px;
}

.no-reviews p {
    color: #6b7280;
    margin-bottom: 30px;
}

/* ========== CONTACT PAGE ========== */
.contact-page {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-page h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-page p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 30px;
}

.contact-email {
    display: inline-block;
    padding: 15px 30px;
    background: #3b82f6;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s;
}

.contact-email:hover {
    background: #2563eb;
    color: #fff;
}

/* ========== ABOUT PAGE ========== */
.about-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-page h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

.about-page p {
    font-size: 17px;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ========== SIDEBAR SEARCH BOX ========== */
.search-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-box-inline {
    display: flex;
    gap: 0;
}

.search-box-inline .search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    background: #fff;
}

.search-box-inline .search-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.search-btn-inline {
    padding: 12px 14px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn-inline svg {
    display: block;
}

.search-btn-inline:hover {
    background: #2563eb;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.search-btn {
    width: 100%;
    padding: 10px 15px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #2563eb;
}

/* ========== SIDEBAR PRICE FILTER ========== */
.price-filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-filter .price-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e5e7eb;
    border-radius: 3px;
    outline: none;
}

.price-filter .price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
}

.price-filter .price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input-group {
    flex: 1;
}

.price-input-group label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
}

.price-input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.price-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Price input with euro symbol */
.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.price-input-euro {
    width: 100%;
    padding: 10px 25px 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    text-align: left;
    -moz-appearance: textfield;
}

.price-input-euro::-webkit-outer-spin-button,
.price-input-euro::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input-euro:focus {
    outline: none;
    border-color: #3b82f6;
}

.euro-symbol {
    position: absolute;
    right: 10px;
    color: #6b7280;
    font-size: 14px;
    pointer-events: none;
}

.price-separator {
    color: #9ca3af;
    font-size: 16px;
    margin-top: 20px;
}

/* ========== SIDEBAR CATEGORY CHECKBOXES ========== */
.category-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: color 0.2s;
}

.checkbox-label:hover {
    color: #3b82f6;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
}

/* ========== INCOME REPORTS PAGE - Maria Wendt Style ========== */
.income-reports-page {
    background: linear-gradient(180deg, #e8f4fc 0%, #fff 25%);
    min-height: 80vh;
    padding-bottom: 80px;
}

.reports-header {
    text-align: center;
    padding: 60px 0 20px;
}

.reports-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.reports-note {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
}

.current-report {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.report-title {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
}

.report-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.report-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
}

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

/* Left: Chart Section */
.report-chart-section {
    padding: 30px;
    background: #f0f7ff;
    text-align: left;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.chart-header-left {
    display: flex;
    gap: 20px;
}

.chart-tab {
    font-size: 14px;
    color: #6b7280;
    padding-bottom: 8px;
    cursor: pointer;
}

.chart-tab.active {
    color: #111;
    font-weight: 600;
    border-bottom: 2px solid #3b82f6;
}

.view-full-report-link {
    font-size: 13px;
    color: #3b82f6;
    text-decoration: none;
}

.view-full-report-link:hover {
    text-decoration: underline;
}

.chart-amount-big {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 180px;
    padding: 0 5px;
}

.chart-bar-wrapper {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.chart-bar {
    width: 100%;
    background: #3b82f6;
    border-radius: 3px 3px 0 0;
    opacity: 0.5;
    transition: opacity 0.2s;
    min-height: 4px;
}

.chart-bar.highlighted {
    opacity: 1;
}

.chart-bar:hover {
    opacity: 0.8;
}

.chart-label-bottom {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-top: 15px;
    text-decoration: underline;
}

/* Right: Stats Panel */
.report-stats-panel {
    padding: 30px;
    background: #fff;
    text-align: left;
    border-left: 1px solid #e5e7eb;
}

.stats-date-range {
    margin-bottom: 25px;
}

.stats-date-range label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.date-range-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.stats-performance h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.performance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.perf-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
}

.perf-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 8px;
}

.perf-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.perf-value {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.perf-percent {
    font-size: 11px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}

.stats-source-label {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-top: 25px;
    text-decoration: underline;
}

/* Full Report Button */
.btn-full-report {
    display: inline-block;
    padding: 16px 50px;
    background: #3b82f6;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.btn-full-report:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

/* Previous Reports Section */
.previous-reports-section {
    max-width: 600px;
    margin: 70px auto 0;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.previous-reports-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    text-align: center;
}

.previous-reports-list {
    list-style: none;
}

.previous-reports-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.previous-reports-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.previous-reports-list a {
    color: #3b82f6;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.previous-reports-list a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.previous-reports-list span {
    color: #6b7280;
    font-size: 15px;
}

.no-data-message {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* No posts message */
.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
}

/* ========== TUTOS GRATUITS PAGE ========== */
.tutos-page {
    padding: 40px 0 60px;
}

.tutos-header {
    text-align: center;
    margin-bottom: 50px;
}

.tutos-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.tutos-header p {
    font-size: 17px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.tutos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .tutos-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.tuto-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.tuto-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.tuto-image {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.tuto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tuto-card:hover .tuto-image img {
    transform: scale(1.05);
}

.tuto-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #3b82f6;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tuto-content {
    padding: 25px;
}

.tuto-content h2 {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.4;
}

.tuto-content h2 a {
    color: inherit;
    transition: color 0.2s;
}

.tuto-content h2 a:hover {
    color: #3b82f6;
}

.tuto-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tuto-date {
    font-size: 12px;
    color: #9ca3af;
}

/* Featured Article */
.featured-article {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 16px;
}

@media (max-width: 900px) {
    .featured-article {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.featured-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

.featured-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #3b82f6;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-block;
    background: #dbeafe;
    color: #3b82f6;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    width: fit-content;
}

.featured-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-content h2 a {
    color: inherit;
    transition: color 0.2s;
}

.featured-content h2 a:hover {
    color: #3b82f6;
}

.featured-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 25px;
}

.featured-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.featured-date {
    font-size: 14px;
    color: #9ca3af;
}

.btn-read-more {
    display: inline-block;
    padding: 12px 24px;
    background: #3b82f6;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-read-more:hover {
    background: #2563eb;
    color: #fff;
}

/* ========== SINGLE ARTICLE ========== */
.single-article {
    padding: 40px 0 60px;
}

.article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.article-category {
    display: inline-block;
    background: #dbeafe;
    color: #3b82f6;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: #6b7280;
}

.article-meta span::before {
    content: "•";
    margin-right: 20px;
}

.article-meta span:first-child::before {
    display: none;
}

.article-featured-image {
    max-width: 1000px;
    margin: 0 auto 50px;
    border-radius: 16px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.article-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #6b7280;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 30px 0;
}

.article-footer {
    max-width: 700px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.article-tags .tag {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s;
}

.article-tags .tag:hover {
    background: #3b82f6;
    color: #fff;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #6b7280;
}

.article-share a {
    color: #3b82f6;
    font-weight: 500;
}

.article-share a:hover {
    text-decoration: underline;
}

.related-posts {
    max-width: 900px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.related-posts h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

.related-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.related-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.related-card h4 {
    padding: 15px 15px 5px;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

.related-card h4 a {
    color: inherit;
}

.related-card h4 a:hover {
    color: #3b82f6;
}

.related-date {
    display: block;
    padding: 0 15px 15px;
    font-size: 12px;
    color: #9ca3af;
}

.back-to-tutos {
    max-width: 700px;
    margin: 50px auto 0;
    text-align: center;
}

.back-to-tutos a {
    color: #3b82f6;
    font-size: 15px;
    font-weight: 500;
}

.back-to-tutos a:hover {
    text-decoration: underline;
}

/* ========== CONTACT PAGE FULL ========== */
.contact-page-full {
    padding: 50px 0 80px;
}

.contact-page-full h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-image {
    border-radius: 12px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-image-placeholder {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.contact-image-placeholder span {
    font-size: 64px;
    margin-bottom: 15px;
}

.contact-image-placeholder p {
    font-size: 14px;
    opacity: 0.8;
}

.contact-form-section {
    max-width: 500px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.phone-input {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 80px;
    padding: 12px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
}

.phone-input input {
    flex: 1;
}

.btn-submit {
    display: inline-block;
    padding: 14px 30px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #2563eb;
}

.contact-help {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.contact-help p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.contact-help a {
    color: #3b82f6;
    text-decoration: underline;
}

/* ========== CART PAGE - SCALERIO ========== */
.scalerio-cart-page {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.scalerio-cart-page .woocommerce-cart-form {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .scalerio-cart-page .woocommerce-cart-form {
        grid-template-columns: 1fr;
    }
}

/* Empty Cart State */
.cart-empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.cart-empty-state .empty-cart-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.cart-empty-state h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.cart-empty-state p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
}

.cart-empty-state .btn-primary {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.cart-empty-state .btn-primary:hover {
    background: #2563eb;
}

/* Cart Items */
.cart-items h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

@media (max-width: 700px) {
    .cart-item {
        grid-template-columns: 80px 1fr auto;
        gap: 15px;
    }

    .cart-item-quantity,
    .cart-item-subtotal {
        grid-column: 2;
    }
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 700px) {
    .cart-item-image img {
        width: 80px;
        height: 80px;
    }
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item-name {
    font-weight: 600;
    color: #111;
    font-size: 16px;
}

.cart-item-name a {
    color: inherit;
    text-decoration: none;
}

.cart-item-name a:hover {
    color: #3b82f6;
}

.cart-item-price {
    font-size: 14px;
    color: #6b7280;
}

.cart-item-quantity .quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-item-quantity input[type="number"] {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.cart-item-subtotal {
    font-weight: 700;
    font-size: 16px;
    color: #111;
}

.cart-item-remove .remove-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.2s;
}

.cart-item-remove .remove-item:hover {
    background: #fecaca;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    gap: 15px;
    flex-wrap: wrap;
}

.cart-actions .btn-secondary {
    color: #374151;
    font-size: 14px;
    text-decoration: none;
}

.cart-actions .btn-secondary:hover {
    color: #3b82f6;
}

.cart-actions .btn-update {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cart-actions .btn-update:hover {
    background: #e5e7eb;
}

/* Cart Totals */
.cart-totals-section {
    position: sticky;
    top: 100px;
}

.cart-totals {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
}

.cart-totals h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    color: #374151;
}

.totals-row.total {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    border-top: 2px solid #e5e7eb;
    margin-top: 10px;
    padding-top: 20px;
}

.totals-row.coupon span:last-child {
    color: #059669;
}

/* Coupon Form */
.coupon-form {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.coupon-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
}

.coupon-input-group input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.coupon-input-group .btn-coupon {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.coupon-input-group .btn-coupon:hover {
    background: #e5e7eb;
}

/* Checkout Button */
.checkout-button {
    margin-top: 25px;
}

.checkout-button .btn-checkout {
    display: block;
    width: 100%;
    background: #3b82f6;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.checkout-button .btn-checkout:hover {
    background: #2563eb;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: #6b7280;
}

/* Hide default WooCommerce cart elements */
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-cart .cart_totals,
.woocommerce-cart .cross-sells {
    display: none;
}

/* WooCommerce messages in cart */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info {
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 8px;
}

.woocommerce-cart .woocommerce-message {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.woocommerce-cart .woocommerce-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.woocommerce-cart .woocommerce-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* ========== CART SLIDER ========== */
.cart-slider-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cart-slider-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-slider {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.cart-slider.open {
    transform: translateX(0);
}

.cart-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.cart-slider-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.cart-slider-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #6b7280;
    transition: color 0.2s;
}

.cart-slider-close:hover {
    color: #111;
}

.cart-slider-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Empty state */
.cart-slider-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 60px 30px;
}

.cart-slider-empty svg {
    margin-bottom: 20px;
}

.cart-slider-empty p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 25px;
}

.btn-start-shopping {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-start-shopping:hover {
    background: #2563eb;
    color: #fff;
}

/* Cart items */
.cart-slider-items {
    display: flex;
    flex-direction: column;
}

.cart-slider-item {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.cart-slider-item:last-child {
    border-bottom: none;
}

.cart-slider-item-image {
    flex-shrink: 0;
}

.cart-slider-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-slider-item-image a {
    display: block;
}

.cart-slider-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-slider-item-name {
    font-weight: 600;
    font-size: 14px;
    color: #111;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-slider-item-name:hover {
    color: #3b82f6;
}

.cart-slider-item-qty-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-slider-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.cart-slider-qty-control .qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    color: #374151;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-slider-qty-control .qty-btn:hover {
    background: #f3f4f6;
}

.cart-slider-qty-control .qty-value {
    width: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    padding: 6px 0;
}

.cart-slider-item-price {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.cart-slider-remove-link {
    font-size: 13px;
    color: #6b7280;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-slider-remove-link:hover {
    color: #dc2626;
}

/* Footer */
.cart-slider-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.cart-slider-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.cart-slider-note {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.cart-slider-buttons {
    display: flex;
    gap: 10px;
}

.cart-slider-buttons .btn-view-cart {
    flex: 1;
    display: block;
    background: #fff;
    color: #374151;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 1px solid #d1d5db;
    transition: all 0.2s;
}

.cart-slider-buttons .btn-view-cart:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111;
}

.cart-slider-buttons .btn-checkout-slider {
    flex: 1;
    display: block;
    background: #3b82f6;
    color: #fff;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.cart-slider-buttons .btn-checkout-slider:hover {
    background: #2563eb;
    color: #fff;
}

/* Cart icon button style */
#open-cart-slider {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 5px;
    color: #374151;
}

#open-cart-slider:hover {
    color: #3b82f6;
}
