/*
Theme Name: v1
Theme URI: https://pussy.dk
Author: pussy.dk
Author URI: https://pussy.dk
Description: A modern WordPress theme for affiliate marketing blog about sextoys. Features a clean, responsive design optimized for conversions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: v1
Tags: affiliate-marketing, blog, responsive, modern, conversion-optimized
*/

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

:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
    --primary-light: #f06292;
    --secondary-color: #9c27b0;
    --text-color: #1a1a1a;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --max-width: 1280px;
    --spacing-unit: 1rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-unit);
    color: var(--text-color);
}

h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.875rem; font-weight: 700; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1.125rem; font-weight: 600; }

p {
    margin-bottom: var(--spacing-unit);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-top {
    border-bottom: 1px solid var(--border-color);
}

.header-top .container {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

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

.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: block;
    max-height: 50px;
}

.custom-logo-link img {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.site-title a:hover {
    text-decoration: none;
    opacity: 0.85;
    transform: translateY(-1px);
}

.site-description {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.header-search {
    display: flex;
    align-items: center;
    position: relative;
}

.search-toggle {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-width: 44px;
    min-height: 44px;
    box-shadow: var(--shadow-sm);
}

.search-toggle:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-form-wrapper {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    min-width: 300px;
    z-index: 1001;
}

.search-form-wrapper.active {
    display: block;
}

.header-search-form {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
}

.header-search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.header-search-form button {
    padding: 0.75rem 1.5rem;
}

/* Navigation */
.main-navigation {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(156, 39, 176, 0.05));
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) 1;
    padding: var(--spacing-md) 0;
}

.main-navigation .container {
    display: flex;
    align-items: center;
    padding: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    width: 100%;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.main-navigation li {
    position: relative;
}

.main-navigation > ul > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    border-radius: 999px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.01em;
    overflow: hidden;
}

.main-navigation > ul > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.main-navigation > ul > li > a {
    color: var(--text-color);
}

.main-navigation > ul > li > a * {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.main-navigation > ul > li > a:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.main-navigation > ul > li > a:hover::before {
    left: 0;
}

.main-navigation li.current-menu-item > a,
.main-navigation li.current-page-ancestor > a {
    color: white;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow-md);
}

.main-navigation li.current-menu-item > a::before,
.main-navigation li.current-page-ancestor > a::before {
    left: 0;
}

/* Submenu */
.main-navigation ul ul {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 260px;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    flex-direction: column;
    padding: var(--spacing-sm);
    margin-top: var(--spacing-xs);
}

.main-navigation li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border-radius: var(--radius-md);
    margin: 0.25rem 0;
    border: 1px solid transparent;
    position: relative;
}

.main-navigation ul ul a::before {
    content: '→';
    margin-right: 0.75rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
    color: var(--primary-color);
}

.main-navigation ul ul a:hover {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
    color: var(--primary-color);
    border-color: rgba(233, 30, 99, 0.2);
    transform: translateX(4px);
    padding-left: 1.75rem;
}

.main-navigation ul ul a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.main-navigation ul ul li:first-child a {
    padding-top: 1rem;
}

.main-navigation ul ul li:last-child a {
    padding-bottom: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0.75rem;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Main Content */
.site-main {
    padding: 0;
    min-height: 60vh;
}

.site-main > .container {
    padding: 3rem 0;
}

.content-area {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Posts Grid Layout */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* Posts */
.post {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.post:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.post-list .post {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

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

.post-header {
    padding: 1.25rem;
    margin-bottom: 0;
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-weight: 600;
}

.post-title a {
    color: var(--text-color);
}

.post-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price-old {
    font-size: 1rem;
    color: var(--text-lighter);
    text-decoration: line-through;
}

.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta a {
    color: var(--text-light);
}

.post-featured-image {
    margin-bottom: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-light);
    position: relative;
}

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

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

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.02em;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.rating-number {
    color: var(--text-light);
    margin-left: 0.25rem;
}

.post-content {
    padding: 0 1.25rem 1.25rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-footer {
    padding: 0 1.25rem 1.25rem;
    margin-top: auto;
}

.post-content h2,
.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content a {
    font-weight: 500;
}

/* Buttons */
.btn,
.wp-block-button__link,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.01em;
}

.btn:hover,
.wp-block-button__link:hover,
.button:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-secondary:hover {
    box-shadow: var(--shadow-lg);
}

/* Archive */
.archive-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.archive-description {
    color: var(--text-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
}

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

.pagination a:hover {
    background-color: var(--bg-light);
    text-decoration: none;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: white;
}

.newsletter-description {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-navigation {
    margin-top: 2rem;
}

.footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-navigation a:hover {
    color: var(--primary-light);
}

.footer-widget h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget a {
    color: #cccccc;
}

.footer-widget a:hover {
    color: var(--primary-light);
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
    font-size: 0.9rem;
}

/* Sidebar */
.sidebar {
    margin-top: 2rem;
}

.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.widget li:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(156, 39, 176, 0.15));
    padding: 5rem 0;
    margin-bottom: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="rgba(233,30,99,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
}

.hero-cta .btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Brand Slider Section */
.brand-slider-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.brand-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.brand-slider {
    display: flex;
    animation: scrollBrands 30s linear infinite;
    gap: 3rem;
    align-items: center;
}

.brand-slide {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.brand-slide:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.brand-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-slider:hover {
    animation-play-state: paused;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(233, 30, 99, 0.15);
}

.product-card .post-featured-image {
    aspect-ratio: 4/3;
}

.product-card .post-header {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .post-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.product-card .post-footer {
    margin-top: auto;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.category-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(233, 30, 99, 0.15);
    border-color: var(--primary-color);
}

.category-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.category-card:hover h3 {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .header-top {
        padding: 0.75rem 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .header-right {
        gap: 0.75rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        width: 100%;
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation .container {
        padding: 0;
        flex-direction: column;
    }
    
    .main-navigation ul {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    
    .main-navigation > ul > li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-navigation > ul > li:last-child {
        border-bottom: none;
    }
    
    .main-navigation {
        padding: var(--spacing-sm) 0;
    }
    
    .main-navigation > ul > li > a {
        padding: 1rem 1.5rem;
        width: 100%;
        font-size: 0.9375rem;
    }
    
    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-light);
        border-radius: 0;
        margin-top: 0;
        padding: 0;
    }
    
    .main-navigation ul ul li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-navigation ul ul a {
        padding: 0.875rem 1.25rem 0.875rem 2.5rem;
    }
    
    .main-navigation ul ul a:hover {
        padding-left: 2.75rem;
    }
    
    .content-area {
        padding: 0 1rem;
    }
    
    .post-title {
        font-size: 1.25rem;
    }
    
    .post-list .post {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-navigation ul {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .brand-slider-section {
        padding: 2rem 0;
    }
    
    .brand-slide {
        width: 120px;
        height: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .products-section,
    .blog-section {
        padding: 3rem 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

/* Affiliate Link Styling */
.affiliate-link {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    margin: 1.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    letter-spacing: 0.01em;
}

.affiliate-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none;
}

/* Read More */
.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Search */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.search-form button {
    padding: 0.75rem 1.5rem;
}

/* Author Bio */
.author-bio {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.author-bio h3 {
    margin-top: 0;
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background-color: var(--border-color);
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    margin-bottom: 2rem;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.6;
}

.comment-form {
    margin-top: 2rem;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-primary);
    margin-bottom: 1rem;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--bg-color);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--text-color);
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

