/*
Theme Name: CFC Life Pro
Theme URI: https://childfreecoupleslife.com
Description: The ultimate customizable theme for CFC Life. Edit everything from Appearance → Customize. No coding required!
Version: 1.0.0
Author: CFC Life
Author URI: https://childfreecoupleslife.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cfc-theme-pro
*/

/* ============================================
   CSS VARIABLES - Controlled by Customizer
   ============================================ */
:root {
    /* Primary Colors - Editable in Customizer */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #1e293b;
    
    /* Category Colors */
    --cat-travel: #7c3aed;
    --cat-lifestyle: #ec4899;
    --cat-money: #10b981;
    --cat-dinkwads: #8b5cf6;
    
    /* Neutral Colors */
    --text: #334155;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    
    /* Spacing & Radius */
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   LAYOUT - Three Column (Blogle Style)
   ============================================ */
.site-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    min-height: 100vh;
}

/* Left Sidebar */
.left-sidebar {
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 20px 16px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Main Content */
.main-content {
    grid-column: 2;
    background: var(--white);
    min-height: 100vh;
}

/* Right Sidebar */
.right-sidebar {
    background: var(--bg);
    padding: 24px;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    overflow-y: auto;
    border-left: 1px solid var(--border);
}

/* ============================================
   LEFT SIDEBAR COMPONENTS
   ============================================ */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    min-width: 0;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}

.site-logo img {
    max-height: 36px;
    width: auto;
    flex-shrink: 0;
}

.site-logo .logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.site-logo .logo-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* Search Box */
.sidebar-search {
    margin-bottom: 24px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--bg);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 500;
    transition: all 0.2s;
}

.nav-item a:hover,
.nav-item a.active {
    background: var(--bg);
    color: var(--primary);
}

.nav-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

/* Sidebar Footer */
.sidebar-footer {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   TOP HEADER BAR
   ============================================ */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.header-nav {
    display: flex;
    gap: 32px;
}

/* WordPress Menu Reset - Force horizontal layout */
.header-nav ul,
.header-nav .menu,
.header-nav .header-menu {
    display: flex !important;
    flex-direction: row !important;
    gap: 32px;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-nav > ul > li,
.header-nav > .menu > li,
.header-nav li,
.header-nav ul li,
.header-nav .menu li,
.header-nav .header-menu li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.header-nav li::before,
.header-nav ul li::before,
.header-nav .menu li::before {
    display: none !important;
    content: none !important;
}

.header-nav li::marker,
.header-nav ul li::marker,
.header-nav .menu li::marker {
    display: none !important;
    content: none !important;
    font-size: 0 !important;
}

.header-nav a,
.header-nav li a,
.header-nav ul li a,
.header-nav .menu li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    display: block;
    padding: 8px 0;
}

.header-nav a:hover,
.header-nav li a:hover {
    color: var(--primary);
}

.header-nav .current-menu-item a {
    color: var(--primary);
}

/* ============================================
   DROPDOWN MENU STYLES
   ============================================ */

/* Parent item with children - add arrow indicator */
.header-nav .menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.header-nav .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown submenu container */
.header-nav .sub-menu {
    position: absolute !important;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 12px 0 !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    display: block !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: 1px solid var(--border);
}

/* Show dropdown on hover */
.header-nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown menu items */
.header-nav .sub-menu li {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.header-nav .sub-menu li a {
    display: block !important;
    padding: 10px 20px !important;
    font-size: 14px;
    color: var(--text);
    transition: all 0.15s;
    white-space: nowrap;
}

.header-nav .sub-menu li a:hover {
    background: var(--bg);
    color: var(--primary);
    padding-left: 24px !important;
}

/* Category color indicators in dropdown */
.header-nav .sub-menu li a[href*="travel"]::before,
.header-nav .sub-menu li.menu-item a[href*="travel"]::before {
    content: '✈️ ';
}

.header-nav .sub-menu li a[href*="lifestyle"]::before,
.header-nav .sub-menu li.menu-item a[href*="lifestyle"]::before {
    content: '❤️ ';
}

.header-nav .sub-menu li a[href*="money"]::before,
.header-nav .sub-menu li.menu-item a[href*="money"]::before {
    content: '💰 ';
}

.header-nav .sub-menu li a[href*="dinkwad"]::before,
.header-nav .sub-menu li.menu-item a[href*="dinkwad"]::before {
    content: '🐕 ';
}

/* Prevent dropdown from closing when moving to it */
.header-nav .menu-item-has-children::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
}

/* Menu highlight class for quiz/special items */
.header-nav .menu-highlight > a {
    background: var(--primary);
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 8px;
}

.header-nav .menu-highlight > a:hover {
    background: var(--primary-dark);
    color: white !important;
}

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

.subscribe-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.subscribe-btn:hover {
    background: var(--primary-dark);
}

/* ============================================
   RIGHT SIDEBAR
   ============================================ */
.widget {
    margin-bottom: 32px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Latest Posts Widget */
.latest-post-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.latest-post-item:last-child {
    border-bottom: none;
}

.latest-post-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.latest-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-post-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.latest-post-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.4;
}

.latest-post-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   CATEGORY BADGES
   ============================================ */
.badge-travel { background: var(--cat-travel); }
.badge-lifestyle { background: var(--cat-lifestyle); }
.badge-money, .badge-finance { background: var(--cat-money); }
.badge-dinkwads, .badge-business { background: var(--cat-dinkwads); }
.badge-default { background: var(--text-light); }

/* ============================================
   HOMEPAGE - FEATURED POSTS SLIDER (Blogle Style)
   ============================================ */
.featured-section {
    padding: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

.featured-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #fce7f3, #dbeafe, #d1fae5);
    aspect-ratio: 16/9;
}

.featured-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.featured-slide.active {
    opacity: 1;
}

.featured-slide > a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fce7f3, #a5f3fc, #fef3c7);
}

.featured-slide-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.featured-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(30, 41, 59, 0.95));
    color: white;
    z-index: 2;
}

.featured-slide-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.featured-slide-title a {
    color: white;
}

.featured-slide-title a:hover {
    opacity: 0.9;
}

.featured-slide-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    opacity: 0.9;
}

.featured-slide-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-slide-meta svg {
    opacity: 0.8;
}

.slider-controls {
    position: absolute;
    bottom: 32px;
    right: 32px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.slider-btn {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.05);
}

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 32px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.slider-dot.active,
.slider-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* ============================================
   CATEGORY FILTERS
   ============================================ */
.categories-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.category-filter {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: all 0.2s;
}

.category-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.category-filter.travel { background: var(--cat-travel); }
.category-filter.lifestyle { background: var(--cat-lifestyle); }
.category-filter.finance, .category-filter.money { background: var(--cat-money); }
.category-filter.tech { background: #06b6d4; }
.category-filter.business, .category-filter.dinkwads { background: var(--cat-dinkwads); }

/* ============================================
   POST CARDS GRID
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 40px 40px;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.post-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg), var(--border));
    font-size: 48px;
}

.post-card-content {
    padding: 20px;
}

.post-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 12px;
}

.post-card-title a:hover {
    color: var(--primary);
}

.post-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    margin: 0 40px 40px;
    padding: 48px;
    background: var(--secondary);
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}

.newsletter-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter-text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
}

.newsletter-form button {
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

/* ============================================
   SINGLE POST PAGE
   ============================================ */
.single-post-page {
    padding: 40px;
    max-width: 750px;
}

.single-post-header {
    margin-bottom: 32px;
}

.single-post-category {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    text-decoration: none;
}

.single-post-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 20px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.single-post-meta .meta-sep {
    color: var(--text-lighter);
}

.single-post-meta strong {
    color: var(--secondary);
}

.single-post-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.single-post-image img {
    width: 100%;
    height: auto;
}

/* Post Content */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 20px;
    color: var(--secondary);
}

.single-post-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--secondary);
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

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

.single-post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    margin: 32px 0;
    background: var(--bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.single-post-content a {
    color: var(--primary);
    text-decoration: underline;
}

.single-post-content img {
    border-radius: var(--radius);
    margin: 24px 0;
}

.single-post-content strong {
    color: var(--secondary);
}

/* Post Tags */
.post-tags-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.post-tag-link {
    padding: 8px 16px;
    background: var(--bg);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s;
}

.post-tag-link:hover {
    background: var(--primary);
    color: #fff;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 40px;
    padding: 32px;
    background: var(--bg);
    border-radius: var(--radius-lg);
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-label {
    font-size: 13px;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin: 4px 0 8px;
}

.author-bio {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.post-navigation a {
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.post-navigation a:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.nav-prev { text-align: left; }
.nav-next { text-align: right; }

.nav-label {
    display: block;
    font-size: 13px;
    color: var(--text-lighter);
    margin-bottom: 6px;
}

.nav-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.4;
}

/* ============================================
   CATEGORY PAGE - UNTITLED UI STYLE
   ============================================ */
.category-hero {
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    color: white;
}

.category-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 60px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -150px;
    right: 10%;
}

.category-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 50px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: -100px;
    right: 25%;
}

.category-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.category-label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 12px;
}

.category-headline {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.category-hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-desc {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.category-signup-form {
    display: flex;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.category-signup-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 15px;
}

.category-signup-form input:focus {
    outline: none;
}

.category-signup-form button {
    padding: 16px 24px;
    background: inherit;
    color: white;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Category Posts Grid */
.category-posts-section {
    padding: 50px;
    background: var(--white);
}

.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.category-post-card {
    display: flex;
    flex-direction: column;
}

.category-post-card .card-image {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

.category-post-card .card-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.category-post-card .card-meta .author {
    color: var(--primary);
    font-weight: 500;
}

.category-post-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 10px;
}

.category-post-card .card-excerpt {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.category-post-card .card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.category-post-card .tag {
    padding: 4px 12px;
    background: var(--bg);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
.page-content {
    padding: 40px;
    max-width: 800px;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 32px;
}

.page-body {
    font-size: 17px;
    line-height: 1.8;
}

.page-body h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--secondary);
}

.page-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--secondary);
}

.page-body p {
    margin-bottom: 20px;
}

.page-body ul, .page-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.page-body li {
    margin-bottom: 8px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    max-width: 600px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-submit {
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--primary-dark);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    background: var(--bg);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
}

.pagination .current {
    background: var(--primary);
    color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    border-top: 1px solid var(--border);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
/* ============================================
   MOBILE HEADER & NAVIGATION
   ============================================ */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-toggle {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mobile-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.mobile-logo .logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
}

.mobile-logo img {
    max-height: 36px;
    width: auto;
}

.mobile-subscribe-btn {
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 1002;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-nav-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.mobile-nav-logo .logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
}

.mobile-nav-logo img {
    max-height: 32px;
    width: auto;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    background: var(--bg);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-search {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 16px 0;
    flex: 1;
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.mobile-nav-menu li a:hover {
    background: var(--bg);
    border-left-color: var(--primary);
    color: var(--primary);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 20px;
}

.mobile-nav-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.mobile-social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.mobile-social-links a {
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1400px) {
    .site-wrapper {
        grid-template-columns: 240px 1fr 280px;
    }
    .left-sidebar { width: 240px; }
    .right-sidebar { width: 280px; }
}

@media (max-width: 1200px) {
    /* Hide desktop sidebars */
    .left-sidebar,
    .right-sidebar {
        display: none;
    }
    
    /* Show mobile header */
    .mobile-header {
        display: flex;
    }
    
    /* Adjust main content */
    .site-wrapper {
        grid-template-columns: 1fr;
        padding-top: 60px; /* Space for mobile header */
    }
    
    .main-content {
        grid-column: 1;
    }
    
    /* Hide desktop top header on tablet */
    .top-header {
        display: none;
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Featured slider adjustments */
    .featured-slide-content {
        padding: 30px;
    }
    
    .featured-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    /* Single column layouts */
    .posts-grid,
    .category-posts-grid {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }
    
    .featured-section {
        padding: 16px;
    }
    
    .featured-slider {
        border-radius: 12px;
    }
    
    .featured-slide-content {
        padding: 20px;
    }
    
    .featured-title {
        font-size: 22px;
    }
    
    .featured-meta {
        font-size: 12px;
    }
    
    /* Categories header */
    .categories-header {
        padding: 16px;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .category-pills {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
        justify-content: flex-start;
    }
    
    /* Newsletter */
    .newsletter-section {
        margin: 0 16px 16px;
        padding: 24px 16px;
        border-radius: 12px;
    }
    
    .newsletter-title {
        font-size: 22px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    /* Single post */
    .single-post-page,
    .page-content {
        padding: 20px 16px;
    }
    
    .single-post-title {
        font-size: 24px;
    }
    
    .single-post-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    /* Category page */
    .category-hero {
        padding: 30px 16px;
    }
    
    .category-hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-headline {
        font-size: 24px;
    }
    
    .category-signup-form {
        flex-direction: column;
    }
    
    .category-signup-form input,
    .category-signup-form button {
        width: 100%;
    }
    
    .category-posts-section {
        padding: 24px 16px;
    }
    
    /* Author box */
    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 20px;
    }
    
    /* Post navigation */
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    /* Footer */
    .site-footer-compact {
        padding: 30px 16px 20px;
    }
    
    .footer-inner {
        max-width: 100%;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 4px;
    }
    
    .footer-subscribe {
        width: 100%;
    }
    
    .footer-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-form input,
    .footer-form button {
        width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        margin-top: 24px;
        padding-top: 20px;
    }
    
    .footer-links-inline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }
    
    .footer-links-inline .divider {
        display: none;
    }
    
    .footer-copyright {
        margin-top: 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .mobile-logo .logo-text {
        display: none;
    }
    
    .mobile-subscribe-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .featured-title {
        font-size: 18px;
    }
    
    .single-post-title {
        font-size: 20px;
    }
    
    .post-card-title {
        font-size: 16px;
    }
    
    .newsletter-title {
        font-size: 18px;
    }
    
    .category-headline {
        font-size: 20px;
    }
}

/* ============================================
   FULL WIDTH TEMPLATE (for Kadence Blocks)
   ============================================ */
.full-width-content {
    padding: 0;
}

.full-width-content > * {
    max-width: 100%;
}

/* Kadence Blocks Compatibility */
.kb-row-layout-wrap,
.kadence-column,
.wp-block-kadence-rowlayout {
    max-width: 100%;
}

.alignwide {
    margin-left: -40px;
    margin-right: -40px;
    max-width: calc(100% + 80px);
    width: calc(100% + 80px);
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.main-content .alignfull {
    margin-left: -40px;
    margin-right: -40px;
    max-width: calc(100% + 80px);
    width: calc(100% + 80px);
}

/* Gutenberg Block Styles */
.wp-block-button__link {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background 0.2s;
}

.wp-block-button__link:hover {
    background: var(--primary-dark);
    color: white;
}

.wp-block-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.wp-block-group {
    padding: 24px;
}

.wp-block-columns {
    gap: 24px;
}

.wp-block-separator {
    border-color: var(--border);
}

/* Color Classes for Blocks */
.has-primary-background-color { background-color: var(--primary); }
.has-travel-background-color { background-color: var(--cat-travel); }
.has-lifestyle-background-color { background-color: var(--cat-lifestyle); }
.has-money-background-color { background-color: var(--cat-money); }
.has-dinkwads-background-color { background-color: var(--cat-dinkwads); }
.has-dark-background-color { background-color: var(--secondary); }
.has-light-gray-background-color { background-color: var(--bg); }

.has-primary-color { color: var(--primary); }
.has-travel-color { color: var(--cat-travel); }
.has-lifestyle-color { color: var(--cat-lifestyle); }
.has-money-color { color: var(--cat-money); }
.has-dinkwads-color { color: var(--cat-dinkwads); }

/* ============================================
   HOMEPAGE HERO - UNTITLED UI STYLE
   ============================================ */
.home-hero {
    padding: 60px 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 60px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -150px;
    right: 10%;
}

.home-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 50px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: -100px;
    right: 25%;
}

.home-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-hero-label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 12px;
}

.home-hero-headline {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.home-hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

.home-hero-form {
    display: flex;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.home-hero-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 15px;
    min-width: 0;
}

.home-hero-form input:focus {
    outline: none;
}

.home-hero-form button {
    padding: 16px 24px;
    background: var(--secondary);
    color: white;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.home-hero-form button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .home-hero {
        padding: 40px 24px;
    }
    
    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .home-hero-headline {
        font-size: 28px;
    }
    
    .home-hero-form {
        flex-direction: column;
    }
    
    .home-hero-form button {
        padding: 14px;
    }
}

/* ============================================
   WOOCOMMERCE INTEGRATION STYLES
   ============================================ */

/* Shop Page Grid */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    margin: 0;
    padding: 0;
    width: 100%;
    float: none;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    padding: 16px 16px 8px;
    margin: 0;
}

.woocommerce ul.products li.product .price {
    padding: 0 16px 16px;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.woocommerce ul.products li.product .price del {
    color: var(--text-light);
    font-weight: 400;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
    display: block;
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    transition: background 0.2s;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--primary-dark);
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--cat-lifestyle);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    min-height: auto;
    min-width: auto;
    line-height: 1;
}

/* Single Product Page */
.woocommerce div.product {
    padding: 40px;
}

.woocommerce div.product div.images {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.woocommerce div.product .product_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.woocommerce div.product p.price {
    font-size: 28px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 24px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
}

.woocommerce div.product form.cart {
    margin-bottom: 32px;
}

.woocommerce div.product form.cart .button {
    background: var(--primary);
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
}

.woocommerce div.product form.cart .button:hover {
    background: var(--primary-dark);
}

.woocommerce div.product .woocommerce-tabs {
    margin-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 24px;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Cart Page */
.woocommerce-cart .woocommerce {
    padding: 40px;
}

.woocommerce table.shop_table {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--secondary);
    padding: 16px;
}

.woocommerce table.shop_table td {
    padding: 16px;
    border-color: var(--border);
}

.woocommerce .cart_totals h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    padding: 16px 32px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--primary-dark);
}

/* Checkout Page */
.woocommerce-checkout .woocommerce {
    padding: 40px;
}

.woocommerce form .form-row label {
    font-weight: 500;
    color: var(--secondary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.woocommerce #payment {
    background: var(--bg);
    border-radius: var(--radius-lg);
}

.woocommerce #payment #place_order {
    background: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    padding: 16px 32px;
    font-size: 16px;
}

/* Mini Cart / Cart Icon */
.woocommerce .widget_shopping_cart .cart_list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.woocommerce .widget_shopping_cart .buttons a {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    margin-bottom: 8px;
}

.woocommerce .widget_shopping_cart .buttons a:first-child {
    background: var(--bg);
    color: var(--secondary);
}

.woocommerce .widget_shopping_cart .buttons a.checkout {
    background: var(--primary);
    color: white;
}

/* Product Categories Widget */
.woocommerce .widget_product_categories ul {
    list-style: none;
    padding: 0;
}

.woocommerce .widget_product_categories ul li a {
    display: block;
    padding: 10px 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.woocommerce .widget_product_categories ul li a:hover {
    color: var(--primary);
}

/* Messages */
.woocommerce-message,
.woocommerce-info {
    background: #dbeafe;
    border-color: var(--primary);
    color: var(--secondary);
    border-radius: var(--radius);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--primary);
}

.woocommerce-error {
    background: #fee2e2;
    border-color: #ef4444;
    border-radius: var(--radius);
}

/* External/Affiliate Product Button */
.woocommerce ul.products li.product-type-external .button,
.woocommerce div.product.product-type-external form.cart .button {
    background: var(--cat-money);
}

.woocommerce ul.products li.product-type-external .button:hover,
.woocommerce div.product.product-type-external form.cart .button:hover {
    background: #059669;
}

/* Responsive */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .woocommerce div.product,
    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce {
        padding: 20px;
    }
}

/* ============================================
   COMPACT FOOTER
   ============================================ */
.site-footer-compact {
    background: #1e293b;
    color: #94a3b8;
    margin-left: 260px;
    margin-right: 320px;
}

.footer-inner {
    padding: 32px 40px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.footer-tagline {
    font-size: 14px;
    color: #64748b;
}

.footer-subscribe {
    flex: 1;
    max-width: 320px;
}

.footer-form {
    display: flex;
    gap: 8px;
}

.footer-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 13px;
}

.footer-form input::placeholder {
    color: #64748b;
}

.footer-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.footer-form button {
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.footer-form button:hover {
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-links-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 12px;
}

.footer-links-inline a {
    color: #94a3b8;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links-inline a:hover {
    color: white;
}

.footer-links-inline .divider {
    color: #475569;
}

.footer-copyright {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 1400px) {
    .site-footer-compact {
        margin-right: 0;
    }
}

@media (max-width: 1200px) {
    .site-footer-compact {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        padding: 24px;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 4px;
    }
    
    .footer-subscribe {
        width: 100%;
        max-width: 100%;
    }
    
    .footer-form {
        flex-direction: column;
    }
    
    .footer-social {
        justify-content: center;
    }
}
