/*
Theme Name: q-shop-chield
Template: q-shop
*/

#sticky-wrapper {
  margin-bottom: 20px;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

#copyright p {
  text-align: center;
}


/* ================================================
   NOUVEAU MONDE - Analytical Website Styles
   Modern, sophisticated design for health & society
   ================================================ */

/* === CSS Variables - Color Palette === */
:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2442;
    --accent: #c9a227;
    --accent-light: #ddb945;
    --accent-muted: #b8941f;
    --surface: #f7f8fa;
    --surface-alt: #eef1f5;
    --surface-dark: #e2e6ec;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --white: #ffffff;
    --border: #d1d5db;
    --shadow-sm: 0 1px 3px rgba(26, 54, 93, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 54, 93, 0.12);
    --shadow-lg: 0 8px 24px rgba(26, 54, 93, 0.16);
    --radius: 6px;
    --radius-lg: 12px;
    --transition: 0.25s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--surface);
}

/* === Main Container === */
.site-main-content {
    max-width: 1200px;
    margin: 0 auto;
}

.wrapper {
    padding: 2rem 1.5rem;
}

/* === Main Page Heading === */
.header-col-3{
  display: none;
}

.header-col-2{
  margin: 0;
  margin-left: auto;
}

#main-header .wrapper{
  padding: 0 20px;
}

.site-logo{
  height: unset;
}

.site-logo img{
  max-height: 80px;
}

.main-page-heading {
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.main-page-heading span {
    color: var(--accent);
    position: relative;
}

.main-page-heading span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
}

/* === Entry Content === */
.entry {
    color: var(--text-secondary);
}

.entry > p:first-of-type {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
}

/* === Main Cover Block === */
.main-cover {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.main-cover .wp-block-cover__background {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    opacity: 0.85 !important;
}

.main-cover .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
}

.main-cover h2 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.main-cover p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-bottom: 1rem;
}

.main-cover .wp-block-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-cover .wp-block-list li {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 0.4rem 0.8rem;
    color: var(--white);
    font-size: 0.85em;
    transition: var(--transition);
    cursor: pointer;
}

.main-cover .wp-block-list li:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* === Columns Layout === */
.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* === Theme Block (Primary) === */
.theme-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.theme-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.theme-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.theme-block h2 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.theme-block p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.theme-block .wp-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.theme-block .wp-block-list li {
    padding: 0.5rem 0.75rem;
    background: var(--surface);
    border-radius: var(--radius);
    color: var(--primary);
    font-size: 0.9em;
    transition: var(--transition);
    cursor: pointer;
}

.theme-block .wp-block-list li:hover {
    background: var(--primary);
    color: var(--white);
    padding-left: 1rem;
}

/* === Theme Block Secondary === */
.theme-block-sec {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.theme-block-sec::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.theme-block-sec h2 {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
    position: relative;
}

.theme-block-sec p {
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

/* === Theme Row === */
.theme-row {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.theme-row h2 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-row h2::before {
    content: '';
    width: 4px;
    height: 1.2em;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.theme-row figure {
    margin: 0 0 1rem 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.theme-row figure img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.theme-row:hover figure img {
    transform: scale(1.02);
}

.theme-row p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.theme-row .wp-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.theme-row .wp-block-list li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.4rem 0.8rem;
    color: var(--primary);
    font-size: 0.9em;
    transition: var(--transition);
    cursor: pointer;
}

.theme-row .wp-block-list li:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* === Linked List (Generic List Styling) === */
.linked-list,
.wp-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.linked-list li {
    position: relative;
    padding: 0.5rem 0.75rem 0.5rem 1.75rem !important;
    margin-bottom: 0.25rem;
    background: var(--surface);
    border-radius: var(--radius);
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.linked-list li::before {
    content: '→';
    position: absolute;
    left: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

.linked-list li:hover {
    background: var(--primary);
    color: var(--white);
   
}

.linked-list li:hover::before {
    color: var(--accent-light);
    left: 0.6rem;
}

.entry .theme-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
}

.theme-list li {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.5rem 1rem;
    color: var(--primary);
    font-weight: 500;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.theme-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.theme-list li::after {
    content: '›';
    margin-left: 0.5rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
    display: inline-block;
}

.theme-list li:hover {
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.theme-list li:hover::before {
    opacity: 1;
}

.theme-list li:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.entry .num-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: num-counter;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.entry .num-list li {
    list-style: none;
    counter-increment: num-counter;
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1rem 1rem 4rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.num-list li::before {
    content: counter(num-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.num-list li:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.num-list li:hover::before {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive - Variation 1 */
@media (max-width: 480px) {
    .num-list li {
        padding: 0.75rem 0.75rem 0.75rem 3.5rem;
    }
    
    .num-list li::before {
        width: 2rem;
        height: 2rem;
        left: 0.75rem;
    }
}


.wp-block-quote {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.wp-block-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-muted) 100%);
}

.wp-block-quote::after {
    content: '"';
    position: absolute;
    top: -0.25rem;
    right: 1rem;
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
}

.wp-block-quote p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.wp-block-quote p:first-child {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.wp-block-quote p:first-child strong {
    color: var(--primary);
}

.wp-block-quote p:last-child {
    color: var(--text-muted);
}

.wp-block-quote p:last-child em {
    font-style: italic;
}

.wp-block-table {
    margin: 1.5rem 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.wp-block-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.wp-block-table thead tr th {
    padding: 0.75rem 1rem;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: none;
}

.wp-block-table thead tr th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.wp-block-table thead tr th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.wp-block-table tbody tr {
    transition: var(--transition);
}

.wp-block-table tbody tr:nth-child(even) {
    background: var(--surface);
}

.wp-block-table tbody tr:hover {
    background: var(--surface-alt);
}

.wp-block-table tbody tr td {
    padding: 0.65rem 1rem;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.wp-block-table tbody tr td strong {
    color: var(--primary);
    font-weight: 600;
}

.wp-block-table tbody tr:last-child td {
    border-bottom: none;
}

.wp-block-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 var(--radius-lg);
}

.wp-block-table tbody tr:last-child td:last-child {
    border-radius: 0 0 var(--radius-lg) 0;
}

.entry table{
  margin: 0;
}

.mb3{
  margin-bottom: 30px;
}


.schema-faq {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* === FAQ Section (Each Q&A) === */
.schema-faq-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.schema-faq-section:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

/* === Question === */
.schema-faq-question {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.4;
}

.schema-faq-question::before {
    content: 'Q';
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.schema-faq-section:hover .schema-faq-question::before {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    transform: scale(1.1);
}

/* === Answer === */
.schema-faq-answer {
    padding: 0 1rem 1rem 3.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    position: relative;
}

.schema-faq-answer::before {
    content: '';
    position: absolute;
    left: 1.85rem;
    top: -0.5rem;
    width: 2px;
    height: calc(100% - 0.5rem);
    background: linear-gradient(180deg, var(--border) 0%, transparent 100%);
    border-radius: 1px;
}

#copyright{
  height: unset;
}

#copyright .wrapper{
  padding: 0 !important;
}

#copyright p{
  line-height: 1.6;
  padding: 20px 0;
}

/* === Responsive === */
@media (max-width: 480px) {
    .schema-faq-question {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .schema-faq-question::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75em;
    }
    
    .schema-faq-answer {
        padding: 0 0.75rem 0.75rem 2.75rem;
    }
    
    .schema-faq-answer::before {
        left: 1.45rem;
    }
}


/* === Legal Notice Section === */
.entry > h3 {
    color: var(--primary);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.entry > h3 + p,
.entry > h3 + p + p,
.entry > h3 + p + p + p {
    color: var(--text-muted);
    font-size: 0.9em;
}

.entry > h3 + p strong {
    color: var(--text-secondary);
}

.entry > h3 + p + p + p em {
    font-style: italic;
    color: var(--text-muted);
}

/* === Responsive Design === */

/* Tablet */
@media (max-width: 1024px) {
    .wrapper {
        padding: 1.5rem 1rem;
    }
    
    .main-cover {
        min-height: 280px;
    }
    
    .main-cover .wp-block-cover__inner-container {
        padding: 1.5rem;
    }
}

/* Large Mobile */

@media screen and (max-width: 1200px) {
  #main-nav {
    display: block;
  }
}
@media (max-width: 768px) {
  .mobile-menu-icon-wrap, .mobile-menu.active, .header-col-3{
   display: block !important;
  }
  
    #main-nav {
    display: none;
  }
  
    .wrapper {
        padding: 1.25rem 0.75rem;
    }
    
  .main-page-heading{
  font-size: 32px;
  }
    
    .main-cover {
        min-height: 240px;
        border-radius: var(--radius);
    }
    
    .main-cover .wp-block-cover__inner-container {
        padding: 1.25rem;
    }
    
    .main-cover .wp-block-list {
        gap: 0.4rem;
    }
    
    .main-cover .wp-block-list li {
        padding: 0.35rem 0.65rem;
        font-size: 0.8em;
    }
    
    .theme-block,
    .theme-block-sec,
    .theme-row {
        padding: 1.25rem;
        border-radius: var(--radius);
    }
    
    .theme-row .wp-block-list {
        flex-direction: column;
    }
    
    .theme-row .wp-block-list li {
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
  #logo-wrap, #header-elements {
    width: auto;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
    .wrapper {
        padding: 1rem 0.5rem;
    }
    
    .main-page-heading {
        margin-bottom: 1rem;
    }
    
    .entry > p:first-of-type {
        margin-bottom: 1.5rem;
    }
    
    .main-cover {
        min-height: 200px;
    }
    
    .main-cover .wp-block-cover__inner-container {
        padding: 1rem;
    }
    
    .main-cover .wp-block-list li {
        padding: 0.3rem 0.5rem;
        font-size: 0.75em;
    }
    
    .theme-block,
    .theme-block-sec,
    .theme-row {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .theme-block .wp-block-list li,
    .theme-row .wp-block-list li {
        padding: 0.4rem 0.6rem;
        font-size: 0.85em;
    }
}

/* === Smooth Scrolling & Focus States === */
html {
    scroll-behavior: smooth;
}

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* === Print Styles === */
@media print {
    .main-cover .wp-block-cover__background {
        background: var(--primary) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .theme-block-sec {
        background: var(--surface) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .theme-block-sec h2,
    .theme-block-sec p {
        color: var(--text-primary) !important;
    }
}


/* ================================================
   NOUVEAU MONDE - Cookie Consent Banner
   GDPR-compliant cookie notice
   ================================================ */

/* === CSS Variables (if not already defined) === */
:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2442;
    --accent: #c9a227;
    --accent-light: #ddb945;
    --surface: #f7f8fa;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --white: #ffffff;
    --border: #d1d5db;
    --shadow-lg: 0 8px 24px rgba(26, 54, 93, 0.16);
    --radius: 6px;
    --radius-lg: 12px;
    --transition: 0.25s ease;
}

/* === Cookie Banner Styles === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 24px rgba(26, 54, 93, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-banner__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-banner__icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--white);
}

.cookie-banner__content {
    flex: 1;
}

.cookie-banner__title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.cookie-banner__text {
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-banner__text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.cookie-banner__text a:hover {
    color: var(--accent);
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.cookie-banner__btn--accept {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary-dark);
}

.cookie-banner__btn--accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.cookie-banner__btn--settings {
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.cookie-banner__btn--settings:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.cookie-banner__btn--reject {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.6rem 0.75rem;
}

.cookie-banner__btn--reject:hover {
    color: var(--primary);
}

/* === Cookie Settings Modal === */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 66, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cookie-modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.cookie-modal__dialog {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 540px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cookie-modal.is-visible .cookie-modal__dialog {
    transform: translateY(0);
}

.cookie-modal__header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-modal__title {
    font-weight: 600;
    color: var(--primary);
}

.cookie-modal__close {
    background: none;
    border: none;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.cookie-modal__close:hover {
    background: var(--surface);
    color: var(--primary);
}

.cookie-modal__body {
    padding: 1.25rem 1.5rem;
}

.cookie-modal__intro {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* === Cookie Category === */
.cookie-category {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.cookie-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--surface);
    cursor: pointer;
    transition: var(--transition);
}

.cookie-category__header:hover {
    background: var(--surface);
}

.cookie-category__info {
    flex: 1;
}

.cookie-category__name {
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

.cookie-category__desc {
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-toggle__slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* === Modal Footer === */
.cookie-modal__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* === Responsive === */
@media (max-width: 768px) {
    .cookie-banner__container {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 1rem;
    }
    
    .cookie-banner__icon {
        display: none;
    }
    
    .cookie-banner__actions {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .cookie-banner__btn--accept {
        flex: 1;
    }
    
    .cookie-banner__btn--settings {
        flex: 1;
    }
    
    .cookie-banner__btn--reject {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-modal__dialog {
        max-height: 90vh;
    }
    
    .cookie-modal__header,
    .cookie-modal__body,
    .cookie-modal__footer {
        padding: 1rem;
    }
    
    .cookie-modal__footer {
        flex-direction: column;
    }
    
    .cookie-modal__footer .cookie-banner__btn {
        width: 100%;
        text-align: center;
    }
}