﻿/**
 * wpresstheme - Additional Custom Styles
 *
 * @package wpresstheme
 */

/* =====================================================
   ADDITIONAL HEADER STYLES
   ===================================================== */
.categories-nav {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-menu {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.categories-menu li a {
    display: block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.categories-menu li a:hover,
.categories-menu li.all-categories a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.categories-menu li.all-categories a i {
    margin-right: 8px;
}

/* Header dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    margin-top: 10px;
}

.user-dropdown .dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.user-dropdown .dropdown-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.user-btn img {
    border-radius: 50%;
}

/* Search dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:hover {
    background-color: var(--light-bg);
}

.search-result-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.result-info {
    display: flex;
    flex-direction: column;
}

.result-title {
    font-weight: 500;
    color: var(--text-primary);
}

.result-price {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.view-all-results {
    display: block;
    padding: 15px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    border-top: 1px solid var(--border-color);
}

.search-loading {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}

.no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* =====================================================
   SHOP PAGE STYLES
   ===================================================== */
.shop-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
    padding: 60px 0;
    color: var(--white);
}

.shop-header .page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.shop-header .page-description {
    font-size: 1.1rem;
    opacity: 0.8;
}

.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.shop-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.shop-breadcrumb a:hover {
    color: var(--primary-color);
}

.shop-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.shop-breadcrumb .current {
    color: var(--white);
}

.shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    color: var(--text-muted);
}

.shop-sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-sorting label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.shop-sorting select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.view-mode {
    display: flex;
    gap: 5px;
}

.view-mode button {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background: var(--light-bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-mode button.active,
.view-mode button:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Filter sidebar */
.filter-widget ul li a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.filter-widget ul li a:last-child {
    border-bottom: none;
}

.filter-widget ul li a.active,
.filter-widget ul li a:hover {
    color: var(--primary-color);
}

.rating-filter label,
.features-filter label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 0;
}

.rating-filter .stars {
    color: var(--warning-color);
}

.price-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

/* Products loading state */
.products-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

.products-grid.list-mode {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products-grid.list-mode .product-card {
    display: flex;
    flex-direction: row;
}

.products-grid.list-mode .product-thumbnail {
    width: 300px;
    flex-shrink: 0;
}

.products-grid.list-mode .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* No products */
.no-products {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-products p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* =====================================================
   SINGLE PRODUCT PAGE STYLES
   ===================================================== */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-main-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.product-main-image img {
    width: 100%;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-thumbnails .thumbnail {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumbnails .thumbnail:hover,
.product-thumbnails .thumbnail.active {
    border-color: var(--primary-color);
}

.preview-section {
    margin-top: 20px;
}

.btn-preview-large {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-preview-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(130, 181, 65, 0.4);
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.product-details-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-details-meta a {
    color: var(--primary-color);
}

.meta-rating .stars {
    color: var(--warning-color);
}

.product-details-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-description-short {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: stretch;
}

.product-actions .single_add_to_cart_button {
    flex: 1;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.product-actions .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(130, 181, 65, 0.4);
}

.btn-wishlist {
    width: 60px;
    height: 60px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.btn-wishlist:hover,
.btn-wishlist.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(255, 107, 107, 0.1);
}

.product-stats-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.product-stats-box .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-stats-box .stat-item i {
    color: var(--primary-color);
}

.product-features {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
}

.product-features h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-features ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.product-features ul li:last-child {
    border-bottom: none;
}

.product-features ul li i {
    color: var(--primary-color);
}

.product-compatibility h3,
.product-tags h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.compatibility-list,
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.compatibility-tag,
.tags-list .tag {
    padding: 8px 15px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tags-list .tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Product Tabs */
.product-tabs-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.product-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.product-description {
    line-height: 1.8;
    color: var(--text-secondary);
}

.product-description h2,
.product-description h3 {
    color: var(--text-primary);
    margin: 30px 0 15px;
}

.product-description ul,
.product-description ol {
    margin: 20px 0;
    padding-left: 20px;
}

.product-description li {
    margin-bottom: 10px;
    list-style: disc;
}

.support-info ul {
    margin: 20px 0;
}

.support-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.support-info li i {
    color: var(--primary-color);
}

/* Related Products */
.related-products-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-products-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 30px;
}

/* =====================================================
   CART & CHECKOUT STYLES
   ===================================================== */
.cart-page .page-header,
.checkout-page .page-header {
    text-align: center;
    margin-bottom: 50px;
}

.cart-page .page-header h1,
.checkout-page .page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cart-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cart-breadcrumb .step {
    padding: 10px 20px;
    background: var(--light-bg);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-breadcrumb .step.active {
    background: var(--primary-color);
    color: var(--white);
}

.cart-breadcrumb .step.completed {
    background: var(--success-color);
    color: var(--white);
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty .empty-icon {
    font-size: 5rem;
    color: var(--border-color);
    margin-bottom: 30px;
}

.cart-empty h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.cart-items {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-item {
    display: flex;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 150px;
    flex-shrink: 0;
    margin-right: 20px;
}

.cart-item-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-author {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-item-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.cart-item-actions .btn-preview-small,
.cart-item-actions .remove-item {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-item-actions .btn-preview-small {
    background: var(--light-bg);
    color: var(--text-secondary);
}

.cart-item-actions .remove-item {
    color: var(--accent-color);
}

.cart-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.btn-secondary {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-update {
    padding: 12px 24px;
    background: var(--text-primary);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-section {
    margin-top: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.coupon-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.coupon-input .input-group {
    display: flex;
    gap: 10px;
}

.coupon-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.btn-apply {
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
}

.cart-totals {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.cart-totals h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.totals-table {
    margin-bottom: 25px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.totals-row.total-row {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: none;
    padding-top: 20px;
}

.totals-row .value {
    font-weight: 600;
}

.total-row .value {
    color: var(--primary-color);
}

.checkout-button-wrapper a,
.checkout-button-wrapper button {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-button-wrapper a:hover,
.checkout-button-wrapper button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(130, 181, 65, 0.4);
    color: var(--white);
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.secure-checkout i {
    color: var(--success-color);
}

.payment-methods {
    margin-top: 20px;
    text-align: center;
}

.payment-methods img {
    max-width: 200px;
    opacity: 0.7;
}

/* Checkout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
}

.checkout-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.checkout-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-login-prompt {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
}

.checkout-login-link {
    color: var(--primary-color);
    font-weight: 600;
}

.order-review-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.checkout-guarantees {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.guarantee-item i {
    color: var(--primary-color);
}

/* =====================================================
   AUTH PAGE STYLES
   ===================================================== */
.auth-page {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.auth-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-muted);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.auth-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.remember-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.terms-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.terms-group input {
    margin-top: 4px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(130, 181, 65, 0.4);
}

.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--text-muted);
    position: relative;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--primary-color);
}

.social-btn.google i {
    color: #ea4335;
}

.social-btn.facebook i {
    color: #1877f2;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.auth-links a {
    color: var(--primary-color);
    font-weight: 600;
}

/* My Account Dashboard */
.myaccount-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.myaccount-page.auth-page {
    background: var(--light-bg);
    min-height: auto;
}

.myaccount-page.auth-page .auth-container {
    max-width: 100%;
    padding: 0 20px;
}

.account-sidebar {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.account-user-info {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.user-avatar img {
    border-radius: 50%;
    margin-bottom: 15px;
}

.user-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.user-email {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.account-navigation ul {
    list-style: none;
}

.account-navigation li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    margin-bottom: 5px;
    transition: var(--transition);
}

.account-navigation li a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.account-navigation li a:hover,
.account-navigation li.is-active a {
    background: var(--light-bg);
    color: var(--primary-color);
}

.account-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    min-width: 0;
}

.account-content h2,
.account-content h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.account-content .woocommerce-MyAccount-content {
    width: 100%;
}

/* Account Content Tables */
.account-content table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.account-content table.shop_table th,
.account-content table.shop_table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.account-content table.shop_table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--text-primary);
}

/* Account Forms */
.account-content .woocommerce-EditAccountForm {
    max-width: 600px;
}

.account-content .woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px;
}

.account-content .woocommerce-EditAccountForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.account-content .woocommerce-EditAccountForm input[type="text"],
.account-content .woocommerce-EditAccountForm input[type="email"],
.account-content .woocommerce-EditAccountForm input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.account-content .woocommerce-EditAccountForm input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(130, 181, 65, 0.1);
}

.account-content .woocommerce-EditAccountForm button[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.account-content .woocommerce-EditAccountForm button[type="submit"]:hover {
    background: var(--secondary-color);
}

/* WooCommerce Notices */
.woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.woocommerce-message {
    background: rgba(130, 181, 65, 0.1);
    border-left: 4px solid var(--primary-color);
    color: var(--primary-dark);
}

.woocommerce-info {
    background: rgba(0, 115, 170, 0.1);
    border-left: 4px solid var(--info-color);
    color: var(--info-color);
}

.woocommerce-error {
    background: rgba(220, 50, 50, 0.1);
    border-left: 4px solid var(--error-color);
    color: var(--error-color);
    list-style: none;
    padding-left: 20px;
}

.woocommerce-error li {
    margin-bottom: 5px;
}

.woocommerce-error li:last-child {
    margin-bottom: 0;
}

/* Account Content Forms */
.account-content h2,
.account-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.account-content .woocommerce-Address-title h3 {
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-content .woocommerce-Address-title a {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Order Table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-orders-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--text-primary);
}

.woocommerce-orders-table .button {
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.woocommerce-orders-table .button:hover {
    background: var(--primary-dark);
}

/* Edit Account Form */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
}

.woocommerce-EditAccountForm legend {
    font-weight: 600;
    padding: 0 10px;
    color: var(--text-primary);
}

.woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px;
}

.woocommerce-EditAccountForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.woocommerce-EditAccountForm .input-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.woocommerce-EditAccountForm .input-text:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(130, 181, 65, 0.1);
}

.woocommerce-EditAccountForm .button {
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.woocommerce-EditAccountForm .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(130, 181, 65, 0.4);
}

/* Downloads Table */
.woocommerce-table--order-downloads {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-table--order-downloads th,
.woocommerce-table--order-downloads td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-table--order-downloads .button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Address Display */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.woocommerce-Address {
    background: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Dashboard Overview */
.woocommerce-MyAccount-content > p:first-child {
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(130, 181, 65, 0.1), rgba(130, 181, 65, 0.05));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.woocommerce-MyAccount-content > p:first-child a {
    color: var(--primary-color);
    font-weight: 600;
}

/* No Orders Message */
.woocommerce-info.woocommerce-Message--info {
    text-align: center;
    padding: 40px;
}

.woocommerce-info .button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* =====================================================
   MINI CART STYLES
   ===================================================== */
.mini-cart-dropdown {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mini-cart-dropdown.active {
    right: 0;
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mini-cart-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.close-mini-cart {
    font-size: 1.25rem;
    color: var(--text-muted);
    padding: 10px;
}

.mini-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* =====================================================
   PREVIEW MODAL STYLES
   ===================================================== */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.preview-header {
    background: var(--white);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.preview-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.preview-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.preview-author {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.preview-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.device-selector {
    display: flex;
    gap: 5px;
}

.device-selector button {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background: var(--light-bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.device-selector button:hover,
.device-selector button.active {
    background: var(--primary-color);
    color: var(--white);
}

.preview-close {
    font-size: 1.5rem;
    color: var(--text-muted);
    padding: 10px;
    cursor: pointer;
}

.preview-content {
    flex: 1;
    display: flex;
    justify-content: center;
    background: #1a1a1a;
    padding: 20px;
}

.preview-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--white);
    transition: max-width 0.3s ease;
}

/* =====================================================
   OVERLAY
   ===================================================== */
.site-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: var(--transition);
}

.site-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-content .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background: var(--dark-bg);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* =====================================================
   SECTION FOOTER
   ===================================================== */
.section-footer {
    text-align: center;
    margin-top: 50px;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-all-link:hover {
    gap: 12px;
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .product-gallery-section {
        position: static;
    }
    
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-totals,
    .order-review-section {
        position: static;
    }
    
    .myaccount-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .categories-nav {
        display: none;
    }
    
    .auth-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .mini-cart-dropdown {
        width: 100%;
        right: -100%;
    }
    
    .preview-header {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .device-selector {
        display: none;
    }
}

@media (max-width: 576px) {
    .social-login {
        flex-direction: column;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cart-item-price {
        margin-top: 15px;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .cart-actions button,
    .cart-actions a {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   NOTIFICATION SYSTEM
   ===================================================== */
.tm-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(calc(100% + 50px));
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 350px;
    min-width: 280px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.tm-notification.show {
    transform: translateX(0);
}

.tm-notification i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tm-notification span {
    flex: 1;
    line-height: 1.4;
}

.tm-notification.success {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(to right, rgba(130, 181, 65, 0.08), var(--white));
}

.tm-notification.success i {
    color: var(--primary-color);
}

.tm-notification.error {
    border-left: 4px solid var(--error-color);
    background: linear-gradient(to right, rgba(220, 53, 69, 0.08), var(--white));
}

.tm-notification.error i {
    color: var(--error-color);
}

.tm-notification.info {
    border-left: 4px solid var(--info-color);
    background: linear-gradient(to right, rgba(0, 115, 170, 0.08), var(--white));
}

.tm-notification.info i {
    color: var(--info-color);
}

.tm-notification.warning {
    border-left: 4px solid var(--warning-color);
    background: linear-gradient(to right, rgba(255, 193, 7, 0.08), var(--white));
}

.tm-notification.warning i {
    color: var(--warning-color);
}

/* Wishlist Button Styles */
.btn-wishlist {
    transition: all 0.3s ease;
}

.btn-wishlist.active i {
    color: var(--error-color) !important;
}

.btn-wishlist i.fas {
    color: var(--error-color);
}

/* Mobile notification */
@media (max-width: 576px) {
    .tm-notification {
        bottom: 20px;
        right: 15px;
        left: 15px;
        max-width: none;
        min-width: auto;
    }
}

/* =====================================================
   MOBILE MENU
   ===================================================== */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        background: var(--dark-bg);
        padding: 60px 20px 20px;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation ul li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
    }
    
    .main-navigation ul li.menu-item-has-children > a::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        float: right;
        transition: transform 0.3s;
    }
    
    .main-navigation ul li.menu-item-has-children.open > a::after {
        transform: rotate(180deg);
    }
    
    .main-navigation ul.sub-menu {
        display: none;
        padding-left: 20px;
        background: transparent;
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .main-navigation ul li.menu-item-has-children.open > .sub-menu {
        display: block;
    }
    
    .header-search {
        display: none;
    }
    
    .header-actions .action-btn span {
        display: none;
    }
    
    .btn-primary span {
        display: none;
    }
}

/* =====================================================
   SUBMENU DROPDOWN
   ===================================================== */
.main-navigation ul li.menu-item-has-children {
    position: relative;
}

.main-navigation ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.main-navigation ul li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.main-navigation ul.sub-menu li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* =====================================================
   MINI CART DROPDOWN
   ===================================================== */
.mini-cart-dropdown {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mini-cart-dropdown.active {
    right: 0;
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mini-cart-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.close-mini-cart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mini-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* =====================================================
   SITE OVERLAY
   ===================================================== */
.site-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.site-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   PREVIEW MODAL
   ===================================================== */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 10000;
    display: none;
    flex-direction: column;
}

.preview-modal.active {
    display: flex;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: var(--dark-bg);
    color: var(--white);
}

.preview-info .preview-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.preview-info .preview-author {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.preview-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.device-selector {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: var(--border-radius);
}

.device-selector button {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.device-selector button:hover,
.device-selector button.active {
    background: var(--primary-color);
    color: var(--white);
}

.preview-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
}

.preview-close:hover {
    background: var(--error-color);
}

.preview-content {
    flex: 1;
    display: flex;
    justify-content: center;
    background: #f5f5f5;
}

.preview-frame {
    width: 100%;
    height: 100%;
    border: none;
    transition: max-width 0.3s ease;
    background: var(--white);
}

/* =====================================================
   LOADING STATE
   ===================================================== */
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Button loading state */
button.loading {
    position: relative;
    color: transparent;
}

button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* =====================================================
   FADE IN ANIMATION
   ===================================================== */
.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   BODY STATES
   ===================================================== */
body.menu-open,
body.modal-open {
    overflow: hidden;
}

/* =====================================================
   SCROLLED HEADER
   ===================================================== */
.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   CONTENT PAGES STYLING (Help, FAQ, About, etc.)
   ===================================================== */

/* Page Main Container */
.page-main {
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

/* Page Header with Breadcrumb */
.page-header-section {
    background: var(--dark-bg);
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header-section .breadcrumbs {
    margin: 0;
}

.page-header-section .breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header-section .breadcrumbs a:hover {
    color: var(--primary-color);
}

.page-header-section .breadcrumbs span {
    color: var(--white);
}

/* Page Content Section */
.page-content-section {
    padding: 60px 0;
}

.page-article {
    max-width: 900px;
    margin: 0 auto;
}

/* Entry Content Box */
.page-main .entry-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 50px 60px;
}

/* Page Thumbnail */
.page-thumbnail {
    margin-bottom: 30px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.page-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Page Title (H1) */
.page-main .entry-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
    line-height: 1.3;
}

/* Lead Paragraph */
.page-main .entry-content p.lead,
.page-main .entry-content .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Section Headings (H2) */
.page-main .entry-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.page-main .entry-content h2:first-of-type {
    margin-top: 30px;
}

/* Sub Headings (H3) */
.page-main .entry-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* H4 Headings */
.page-main .entry-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 25px;
    margin-bottom: 12px;
}

/* Paragraphs */
.page-main .entry-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Lists - Unordered */
.page-main .entry-content ul {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
}

.page-main .entry-content ul li {
    position: relative;
    padding: 12px 0 12px 30px;
    line-height: 1.7;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-main .entry-content ul li:last-child {
    border-bottom: none;
}

.page-main .entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Lists - Ordered */
.page-main .entry-content ol {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
    counter-reset: list-counter;
}

.page-main .entry-content ol li {
    position: relative;
    padding: 12px 0 12px 40px;
    line-height: 1.7;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    counter-increment: list-counter;
}

.page-main .entry-content ol li:last-child {
    border-bottom: none;
}

.page-main .entry-content ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Strong/Bold text */
.page-main .entry-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Links */
.page-main .entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.page-main .entry-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Nested Lists in Contact/Info sections */
.page-main .entry-content h3 + ul {
    background: var(--light-bg);
    padding: 20px 25px 20px 50px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

/* FAQ Style - Question followed by Answer */
.page-main .entry-content h3 + p {
    background: var(--light-bg);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    margin-top: -5px;
    margin-bottom: 25px;
    border-left: 3px solid var(--info-color);
}

/* Statistics - Bold numbers */
.page-main .entry-content ul li strong:first-child {
    color: var(--primary-color);
    display: inline;
    min-width: auto;
}

/* Info/Group Boxes */
.page-main .entry-content .wp-block-group {
    background: var(--light-bg);
    padding: 25px 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

/* Tables */
.page-main .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.page-main .entry-content table th,
.page-main .entry-content table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.page-main .entry-content table th {
    background: var(--dark-bg);
    color: var(--white);
    font-weight: 600;
}

.page-main .entry-content table tr:nth-child(even) {
    background: var(--light-bg);
}

.page-main .entry-content table tr:hover {
    background: rgba(130, 181, 65, 0.05);
}

/* Blockquotes */
.page-main .entry-content blockquote {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(130, 181, 65, 0.1) 100%);
    padding: 30px 35px;
    border-left: 5px solid var(--primary-color);
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
}

.page-main .entry-content blockquote p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Code blocks */
.page-main .entry-content code {
    background: var(--light-bg);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

.page-main .entry-content pre {
    background: var(--dark-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 25px 0;
}

.page-main .entry-content pre code {
    background: none;
    color: #a8e6cf;
    padding: 0;
}

/* Horizontal Rule */
.page-main .entry-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    margin: 40px 0;
}

/* Images */
.page-main .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 20px 0;
}

/* =====================================================
   PAGE-SPECIFIC STYLES
   ===================================================== */

/* Help Center Page */
.page-help .entry-content h2 {
    background: linear-gradient(135deg, rgba(130, 181, 65, 0.1) 0%, transparent 100%);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    border-bottom: none;
    margin-left: -20px;
    margin-right: -20px;
}

/* FAQ Page */
.page-faq .entry-content h3 {
    background: var(--light-bg);
    padding: 15px 20px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: 0;
    cursor: pointer;
    transition: var(--transition);
}

.page-faq .entry-content h3:hover {
    background: rgba(130, 181, 65, 0.15);
}

/* Contact Page */
.page-contact .entry-content h3 + ul li {
    border-bottom: none;
    padding: 8px 0 8px 25px;
}

.page-contact .entry-content h3 + ul li::before {
    top: 14px;
    width: 6px;
    height: 6px;
}

/* Authors Page */
.page-authors .entry-content ul li strong:first-child {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 5px;
}

/* Licensing Page */
.page-licensing .entry-content h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 0;
}

.page-licensing .entry-content h3::before {
    content: '';
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 3px;
    flex-shrink: 0;
}

/* Become Author Page */
.page-become-author .entry-content h3 {
    color: var(--primary-color);
}

/* Refund Policy Page */
.page-refund-policy .entry-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Affiliate Page */
.page-affiliate .entry-content h3 {
    background: linear-gradient(135deg, rgba(130, 181, 65, 0.05) 0%, transparent 100%);
    padding: 12px 15px;
    border-radius: var(--border-radius);
    margin-left: -15px;
    margin-right: -15px;
}

/* Forums Page */
.page-forums .entry-content h3 {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin-left: 0;
}

/* Blog Page */
.page-blog .entry-content h2 {
    color: var(--primary-color);
}

/* About Page */
.page-about .entry-content ul li strong:first-child {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Terms & Privacy Pages */
.page-terms .entry-content h2,
.page-privacy .entry-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
}

/* =====================================================
   RESPONSIVE CONTENT PAGES
   ===================================================== */

@media (max-width: 992px) {
    .page-main .entry-content {
        padding: 40px;
        margin: 0 20px;
    }
    
    .page-article {
        max-width: 100%;
    }
    
    .page-main .entry-content h1 {
        font-size: 2rem;
    }
    
    .page-main .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .page-main .entry-content p.lead,
    .page-main .entry-content .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-content-section {
        padding: 40px 0;
    }
    
    .page-main .entry-content {
        padding: 30px 25px;
        margin: 0 15px;
        border-radius: var(--border-radius);
    }
    
    .page-main .entry-content h1 {
        font-size: 1.75rem;
    }
    
    .page-main .entry-content h2 {
        font-size: 1.35rem;
        margin-top: 35px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-main .entry-content h3 {
        font-size: 1.15rem;
    }
    
    .page-main .entry-content ul li,
    .page-main .entry-content ol li {
        padding: 10px 0 10px 25px;
    }
    
    .page-main .entry-content ol li {
        padding-left: 35px;
    }
    
    .page-main .entry-content ol li::before {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .page-main .entry-content h3 + ul {
        padding: 15px 20px 15px 40px;
    }
    
    .page-main .entry-content blockquote {
        padding: 20px 25px;
    }
    
    /* Page specific responsive */
    .page-help .entry-content h2 {
        margin-left: -10px;
        margin-right: -10px;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .page-header-section {
        padding: 15px 0;
    }
    
    .page-content-section {
        padding: 30px 0;
    }
    
    .page-main .entry-content {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .page-main .entry-content h1 {
        font-size: 1.5rem;
        padding-bottom: 15px;
    }
    
    .page-main .entry-content h2 {
        font-size: 1.25rem;
        gap: 5px;
    }
    
    .page-main .entry-content h3 {
        font-size: 1.1rem;
    }
    
    .page-main .entry-content p.lead,
    .page-main .entry-content .lead {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .page-main .entry-content table {
        font-size: 0.85rem;
    }
    
    .page-main .entry-content table th,
    .page-main .entry-content table td {
        padding: 10px 12px;
    }
    
    .page-main .entry-content h3 + ul,
    .page-main .entry-content h3 + p {
        padding: 15px;
        margin-left: -5px;
        margin-right: -5px;
    }
}

/* =====================================================
   PRINT STYLES FOR CONTENT PAGES
   ===================================================== */
@media print {
    .page-main .entry-content {
        box-shadow: none;
        padding: 0;
    }
    
    .page-header-section {
        display: none;
    }
    
    .page-main .entry-content h1 {
        border-bottom-color: #000;
    }
    
    .page-main .entry-content a {
        color: #000;
        text-decoration: underline;
    }
    
    .page-main .entry-content ul li::before {
        background: #000;
    }
}



