/*
Theme Name: Kamagra Kopen
Theme URI: https://kamagra-kopen.nl
Author: Kamagra Kopen
Author URI: https://kamagra-kopen.nl
Description: Custom WordPress/WooCommerce theme for Kamagra Kopen pharmacy shop. Modern, minimal design with Elementor compatibility.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kamagra-kopen
Tags: woocommerce, e-commerce, custom-logo, custom-menu, elementor, responsive

This theme is licensed under the GPL.
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens) - Light Theme (Default)
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-primary: #007385;
    --color-primary-dark: #005a68;
    --color-primary-light: #008fa3;
    --color-secondary: #cbe7ea;
    --color-secondary-dark: #a8d4d9;

    /* Neutral Colors - Light Theme */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #e5e5e5;
    --color-background: #f5f5f5;

    /* Surface colors for cards, modals, etc */
    --color-surface: #ffffff;
    --color-surface-hover: #f8f8f8;

    /* Status Colors */
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-error: #dc3545;
    --color-info: #17a2b8;

    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-heading: var(--font-family-base);
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --line-height-base: 1.6;
    --line-height-tight: 1.3;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Layout */
    --container-max-width: 1250px;
    --container-padding: 20px;
    --header-height: 70px;
    --header-nav-height: 50px;

    /* Borders & Shadows */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-full: 9999px;
    --box-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
}

/* ==========================================================================
   Dark Theme
   ========================================================================== */
[data-theme="dark"] {
    --color-white: #1a1a1a;
    --color-black: #ffffff;
    --color-text: #e5e5e5;
    --color-text-light: #b0b0b0;
    --color-text-muted: #808080;
    --color-border: #333333;
    --color-background: #242424;
    --color-surface: #2a2a2a;
    --color-surface-hover: #333333;

    /* Slightly brighter primary for dark mode */
    --color-primary: #00a0b8;
    --color-primary-dark: #007385;
    --color-primary-light: #00c4db;
    --color-secondary: #1a3a3d;
    --color-secondary-dark: #0f2527;

    /* Adjusted shadows for dark mode */
    --box-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --box-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
}

/* Auto dark mode based on system preference (when no manual preference set) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --color-white: #1a1a1a;
        --color-black: #ffffff;
        --color-text: #e5e5e5;
        --color-text-light: #b0b0b0;
        --color-text-muted: #808080;
        --color-border: #333333;
        --color-background: #242424;
        --color-surface: #2a2a2a;
        --color-surface-hover: #333333;
        --color-primary: #00a0b8;
        --color-primary-dark: #007385;
        --color-primary-light: #00c4db;
        --color-secondary: #1a3a3d;
        --color-secondary-dark: #0f2527;
        --box-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
        --box-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
        --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    }
}

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-text);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

ul, ol {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

li {
    margin-bottom: var(--spacing-xs);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-fluid {
    width: 100%;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.site-content {
    min-height: calc(100vh - var(--header-height) - var(--header-nav-height) - 300px);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-3xl);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
button,
input[type="submit"],
input[type="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.btn-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    color: var(--color-white);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    color: var(--color-white);
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    text-decoration: none;
}

.btn-secondary {
    color: var(--color-primary);
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: var(--color-primary);
    background-color: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    text-decoration: none;
}

.btn-outline {
    color: var(--color-primary);
    background-color: transparent;
    border-color: var(--color-primary);
}

.btn-outline:hover,
.btn-outline:focus {
    color: var(--color-white);
    background-color: var(--color-primary);
    text-decoration: none;
}

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 115, 133, 0.15);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-white { background-color: var(--color-white); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Elementor Compatibility
   ========================================================================== */
.elementor-page .site-content {
    padding: 0;
}

.elementor-page.elementor-page-fullwidth .site-content {
    max-width: 100%;
}

/* Full width template */
.page-template-template-fullwidth .site-content {
    max-width: 100%;
    padding: 0;
}

/* ==========================================================================
   Discount Rules Table Styling
   ========================================================================== */
.awdr-bulk-customizable-table {
    margin: var(--spacing-lg) 0;
}

.wdr_bulk_table_msg.sar-table {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    background-color: var(--color-white);
}

/* Table Header */
.wdr_bulk_table_msg.sar-table .wdr_bulk_table_thead {
    background-color: var(--color-background);
}

.wdr_bulk_table_msg.sar-table .wdr_bulk_table_thead .wdr_bulk_table_td {
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-border);
    text-align: left;
}

/* Table Body */
.wdr_bulk_table_msg.sar-table .bulk_table_row {
    transition: background-color var(--transition-fast);
    border-bottom: 1px solid var(--color-border);
}

.wdr_bulk_table_msg.sar-table .bulk_table_row:last-child {
    border-bottom: none;
}

.wdr_bulk_table_msg.sar-table .bulk_table_row:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.wdr_bulk_table_msg.sar-table .bulk_table_row:hover {
    background-color: rgba(0, 115, 133, 0.05);
}

.wdr_bulk_table_msg.sar-table .bulk_table_row .wdr_bulk_table_td {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    color: var(--color-text);
    vertical-align: middle;
}

/* Column-specific styling */
.wdr_bulk_title {
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

.wdr_bulk_range {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.wdr_bulk_table_discount {
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    font-size: var(--font-size-lg);
}

/* Price formatting within discount column */
.wdr_bulk_table_discount .amount,
.wdr_bulk_table_discount .woocommerce-Price-amount {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

/* Order column */
.wdr_bulk_order {
    text-align: center;
    width: 150px;
}

.wdr_bulk_order form {
    margin: 0;
}

.wdr_bulk_order button {
    min-width: 100px;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast);
    font-weight: var(--font-weight-medium);
}

.wdr_bulk_order button:hover {
    background-color: #005a6a;
}

.wdr_bulk_order button:active {
    transform: scale(0.98);
}

/* Responsive: Mobile */
@media (max-width: 767px) {
    .wdr_bulk_table_msg.sar-table,
    .wdr_bulk_table_msg.sar-table .wdr_bulk_table_thead,
    .wdr_bulk_table_msg.sar-table .wdr_bulk_table_tr,
    .wdr_bulk_table_msg.sar-table .bulk_table_row,
    .wdr_bulk_table_msg.sar-table .wdr_bulk_table_td {
        display: block;
    }

    .wdr_bulk_table_msg.sar-table .wdr_bulk_table_thead {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .wdr_bulk_table_msg.sar-table .bulk_table_row {
        margin-bottom: var(--spacing-sm);
        border: 1px solid var(--color-border);
        border-radius: var(--border-radius-sm);
        padding: var(--spacing-sm);
    }

    .wdr_bulk_table_msg.sar-table .bulk_table_row .wdr_bulk_table_td {
        padding: var(--spacing-xs) 0;
        border-bottom: 1px solid var(--color-border);
        text-align: left;
        position: relative;
        padding-left: 45%;
    }

    .wdr_bulk_table_msg.sar-table .bulk_table_row .wdr_bulk_table_td:last-child {
        border-bottom: none;
    }

    .wdr_bulk_table_msg.sar-table .bulk_table_row .wdr_bulk_table_td::before {
        content: attr(data-title);
        position: absolute;
        left: 0;
        width: 40%;
        padding-right: var(--spacing-sm);
        font-weight: var(--font-weight-semibold);
        font-size: var(--font-size-sm);
        color: var(--color-text-muted);
        text-transform: uppercase;
    }
}

/* ==========================================================================
   Footer Page Template
   ========================================================================== */

/* Narrow container for readable content */
.container-narrow {
    margin: 0 auto;
    padding: var(--spacing-md) var(--container-padding) 0;
    max-width: 1250px;
}

/* Two-column grid layout */
.footer-page-template .footer-page-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

/* Product Categories Sidebar */
.footer-page-template .product-categories-sidebar {
    position: sticky;
    top: var(--spacing-lg);
    background-color: var(--color-surface);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--color-border);
}

.footer-page-template .product-categories-sidebar .sidebar-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin: 0 0 var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-primary);
}

.footer-page-template .product-categories-sidebar .product-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-page-template .product-categories-sidebar .product-categories-list li {
    margin: 0;
    padding: 0;
}

.footer-page-template .product-categories-sidebar .product-categories-list > li {
    margin-bottom: var(--spacing-xs);
}

.footer-page-template .product-categories-sidebar .product-categories-list a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    font-size: var(--font-size-base);
    line-height: 1.4;
}

.footer-page-template .product-categories-sidebar .product-categories-list a:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    text-decoration: none;
    padding-left: var(--spacing-md);
}

.footer-page-template .product-categories-sidebar .product-categories-list .current-cat > a,
.footer-page-template .product-categories-sidebar .product-categories-list .current-cat-parent > a {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
}

.footer-page-template .product-categories-sidebar .product-categories-list .current-cat > a:hover,
.footer-page-template .product-categories-sidebar .product-categories-list .current-cat-parent > a:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* Nested subcategories */
.footer-page-template .product-categories-sidebar .product-categories-list .children {
    list-style: none;
    margin: var(--spacing-xs) 0 var(--spacing-sm) 0;
    padding-left: var(--spacing-md);
    border-left: 2px solid var(--color-border);
}

.footer-page-template .product-categories-sidebar .product-categories-list .children li {
    margin-bottom: var(--spacing-xs);
}

.footer-page-template .product-categories-sidebar .product-categories-list .children a {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.footer-page-template .product-categories-sidebar .product-categories-list .children a:hover {
    color: var(--color-primary);
}

.footer-page-template .product-categories-sidebar .no-categories {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* Breadcrumbs container - full width gray background */
.footer-page-template .container-breadcrumbs {
    background-color: var(--color-background);
    padding: var(--spacing-md) 0;
}

/* Breadcrumbs div - 1250px centered */
.footer-page-template .container-breadcrumbs .breadcrumbs {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Breadcrumbs nav - text left aligned */
.footer-page-template .container-breadcrumbs .breadcrumbs nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.footer-page-template .container-breadcrumbs .breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-page-template .container-breadcrumbs .breadcrumbs a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.footer-page-template .container-breadcrumbs .breadcrumb-separator {
    color: var(--color-text-muted);
}

.footer-page-template .container-breadcrumbs .breadcrumb-current {
    color: var(--color-text);
}

.footer-page-template .page-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin: 0;
    line-height: var(--line-height-tight);
}

.footer-page-template .container-breadcrumbs .page-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin: var(--spacing-md) 0 0;
    line-height: var(--line-height-base);
}

.footer-page-template .page-content {
    background-color: var(--color-surface);
}

/* WYSIWYG Content Styling */
.footer-page-template .wysiwyg-content {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
}

.footer-page-template .wysiwyg-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin: var(--spacing-2xl) 0 var(--spacing-md);
    line-height: var(--line-height-tight);
}

.footer-page-template .wysiwyg-content h2:first-child {
    margin-top: 0;
}

.footer-page-template .wysiwyg-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin: var(--spacing-xl) 0 var(--spacing-md);
    line-height: var(--line-height-tight);
}

.footer-page-template .wysiwyg-content h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
    line-height: var(--line-height-tight);
}

.footer-page-template .wysiwyg-content p {
    margin: 0 0 var(--spacing-md);
}

.footer-page-template .wysiwyg-content p:last-child {
    margin-bottom: 0;
}

.footer-page-template .wysiwyg-content ul,
.footer-page-template .wysiwyg-content ol {
    margin: 0 0 var(--spacing-md);
    padding-left: var(--spacing-xl);
}

.footer-page-template .wysiwyg-content li {
    margin-bottom: var(--spacing-sm);
}

.footer-page-template .wysiwyg-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.footer-page-template .wysiwyg-content a:hover {
    color: var(--color-primary-dark);
}

.footer-page-template .wysiwyg-content strong {
    font-weight: var(--font-weight-semibold);
}

.footer-page-template .wysiwyg-content blockquote {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) var(--spacing-lg);
    border-left: 4px solid var(--color-primary);
    background-color: var(--color-background);
    color: var(--color-text-light);
    font-style: italic;
}

.footer-page-template .wysiwyg-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    margin: var(--spacing-lg) 0;
}

.footer-page-template .wysiwyg-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0;
    font-size: var(--font-size-sm);
}

.footer-page-template .wysiwyg-content table th,
.footer-page-template .wysiwyg-content table td {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    text-align: left;
}

.footer-page-template .wysiwyg-content table th {
    background-color: var(--color-background);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.footer-page-template .wysiwyg-content hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--spacing-xl) 0;
}

/* Pagination */
.footer-page-template .page-links {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
}

.footer-page-template .page-links a {
    color: var(--color-primary);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    margin: 0 var(--spacing-xs);
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-fast);
}

.footer-page-template .page-links a:hover {
    background-color: var(--color-background);
}

/* Mobile Responsive */
@media (max-width: 767px) {
    /* Stack sidebar above content on mobile */
    .footer-page-template .footer-page-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-page-template .product-categories-sidebar {
        position: static;
        order: -1;
    }

    .footer-page-template .page-header {
        padding: var(--spacing-lg) 0;
        margin-bottom: var(--spacing-xl);
    }

    .footer-page-template .page-title {
        font-size: var(--font-size-3xl);
    }

    .footer-page-template .container-breadcrumbs .page-subtitle {
        font-size: var(--font-size-base);
    }

    .footer-page-template .page-content-wrapper {
        padding: var(--spacing-xl) 0 var(--spacing-2xl);
    }

    .footer-page-template .wysiwyg-content h2 {
        font-size: var(--font-size-2xl);
        margin: var(--spacing-xl) 0 var(--spacing-md);
    }

    .footer-page-template .wysiwyg-content h3 {
        font-size: var(--font-size-xl);
    }

    .footer-page-template .wysiwyg-content h4 {
        font-size: var(--font-size-lg);
    }

    /* Make tables scrollable on mobile */
    .footer-page-template .wysiwyg-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================================================
   Responsive Breakpoints Reference
   - Mobile: < 576px
   - Tablet: 576px - 991px
   - Desktop: >= 992px
   - Large Desktop: >= 1200px
   ========================================================================== */
