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

:root {
    --brown-dark: #311b11;
    --brown-mid: #4A2E22;
    --brown-light: #623c28;
    --gold: #f1cb57;
    --cream: #fffaf0;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    background: var(--brown-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 72px;
}

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

.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.footer-logo .logo-img {
    height: 44px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 8px;
}

.nav-list > li > a {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition);
}

.nav-list > li > a:hover {
    background: var(--brown-light);
    color: var(--gold);
}

/* Nav CTA Button */
.nav-list > li > a.nav-cta {
    background: var(--gold);
    color: var(--brown-dark);
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 22px;
    box-shadow: 0 2px 10px rgba(241, 203, 87, 0.3);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-list > li > a.nav-cta::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23311b11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='22' y1='2' x2='11' y2='13'/><polygon points='22 2 15 22 11 13 2 9 22 2'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: scaleX(-1);
    transition: transform var(--transition);
}

.nav-list > li > a.nav-cta:hover {
    background: #e5bf44;
    color: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 203, 87, 0.5);
}

.nav-list > li > a.nav-cta:hover::after {
    transform: scaleX(-1) translateX(3px);
}

.nav-list > li > a.nav-cta.active {
    background: #e5bf44;
    color: var(--brown-dark);
}

/* Submenu */
.has-submenu {
    position: relative;
}

.has-submenu .arrow {
    font-size: 0.6em;
    display: inline-block;
    transition: transform var(--transition);
}

.has-submenu:hover .arrow {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--brown-mid);
    border-radius: 8px;
    min-width: 200px;
    padding: 8px 0;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: background var(--transition), padding var(--transition);
}

.submenu li a:hover {
    background: var(--brown-light);
    padding-right: 28px;
    color: var(--gold);
}

/* Mega Menu */
.has-megamenu {
    position: static;
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brown-dark);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 16px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 100;
}

.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    transition: background var(--transition), transform var(--transition);
    text-decoration: none;
}

.megamenu-item:hover {
    background: var(--brown-light);
    transform: translateY(-4px);
}

.megamenu-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: box-shadow var(--transition);
}

.megamenu-item:hover img {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.megamenu-item span {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.megamenu-item:hover span {
    color: var(--gold);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    margin-right: auto;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(49, 27, 17, 0.92) 0%, rgba(74, 46, 34, 0.85) 100%),
        url('https://images.unsplash.com/photo-1575377427642-087cf684f29d?w=1600&h=600&fit=crop&q=80') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(241, 203, 87, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gold);
    color: var(--brown-dark);
}

.btn-primary:hover {
    background: #e5bf44;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 203, 87, 0.4);
}

/* ===== Products ===== */
.products {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--brown-light);
    font-weight: 400;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
    display: block;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.product-image {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-card h3 {
    padding: 18px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brown-dark);
    text-align: center;
}

/* ===== About ===== */
.about {
    padding: 80px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--brown-dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* ===== Footer Sitemap ===== */
.footer-sitemap {
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-sitemap-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 24px;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.sitemap-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}

.sitemap-col ul li {
    margin-bottom: 8px;
}

.sitemap-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color var(--transition), padding var(--transition);
}

.sitemap-col ul li a:hover {
    color: var(--gold);
    padding-right: 6px;
}

/* ===== Page Hero (Inner Pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    opacity: 0.85;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 70px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--brown-dark);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brown-dark);
    margin-bottom: 6px;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d4d0cc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(241, 203, 87, 0.2);
}

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

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23311b11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='22' y1='2' x2='11' y2='13'/><polygon points='22 2 15 22 11 13 2 9 22 2'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: scaleX(-1);
    transition: transform var(--transition);
}

.btn-submit:hover::after {
    transform: scaleX(-1) translateX(3px);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--cream);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--brown-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.info-card a {
    color: var(--brown-light);
}

.info-card a:hover {
    color: var(--gold);
}

.map-placeholder {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.map-placeholder img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(49, 27, 17, 0.85);
    color: var(--text-light);
    padding: 12px 20px;
    font-size: 0.9rem;
    text-align: center;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 60px 20px;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.form-success p {
    color: #555;
    font-size: 1.05rem;
}

.hidden {
    display: none !important;
}

/* Active nav link */
.nav-list > li > a.active {
    background: var(--brown-light);
    color: var(--gold);
}

/* ===== Inner Content Pages ===== */
.inner-content {
    padding: 70px 0;
    background: var(--white);
}

.inner-content h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--brown-dark);
    margin-bottom: 20px;
}

/* Product Detail Layout */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-detail-text p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 16px;
    line-height: 1.9;
}

.product-detail-text .btn {
    margin-top: 12px;
}

.product-detail-image img {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Management Section */
.management-section {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.management-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.management-card {
    background: var(--cream);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 350px;
}

.management-avatar {
    width: 100px;
    height: 100px;
    background: var(--brown-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.management-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 4px;
}

.management-role {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 12px;
}

.management-card p:last-child {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Legal Content (Accessibility / Privacy) */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.legal-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 32px;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.9;
}

.legal-list {
    padding-right: 24px;
    margin-bottom: 16px;
}

.legal-list li {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.8;
    list-style: disc;
}

.legal-list a {
    color: var(--brown-light);
}

.legal-list a:hover {
    color: var(--gold);
}

/* ===== Topic Cards (textures / flavors / origins) ===== */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 24px;
}

.topic-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(49, 27, 17, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.topic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(49, 27, 17, 0.18);
}

.topic-card .topic-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.topic-card .topic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.topic-card:hover .topic-image img {
    transform: scale(1.06);
}

.topic-card .topic-text {
    padding: 22px 22px 24px;
    flex: 1;
}

.topic-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.topic-card .topic-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--brown-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.topic-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.topic-card ul {
    margin-top: 10px;
    padding-right: 18px;
}

.topic-card ul li {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    list-style: disc;
    margin-bottom: 4px;
}

/* Highlight quote band */
.chocolate-quote {
    background: linear-gradient(135deg, #4A2E22 0%, #311b11 100%);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
    margin: 60px 0;
}

.chocolate-quote blockquote {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gold);
    max-width: 720px;
    margin: 0 auto 12px;
    line-height: 1.6;
    font-style: italic;
}

.chocolate-quote cite {
    font-size: 0.95rem;
    opacity: 0.75;
    font-style: normal;
}

/* Did-you-know facts strip */
.facts-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.fact-card {
    background: var(--cream);
    border-right: 4px solid var(--gold);
    padding: 22px 26px;
    border-radius: 8px;
}

.fact-card h4 {
    color: var(--brown-dark);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.fact-card p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--brown-dark);
    color: var(--text-light);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 12px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-contact ul li a {
    color: var(--text-light);
}

.footer-contact ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding: 22px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a {
    color: var(--gold);
    font-weight: 500;
}

.ombee-credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition), transform var(--transition);
    text-decoration: none;
}

.ombee-credit:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

.ombee-logo {
    height: 24px;
    width: auto;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity var(--transition), filter var(--transition);
}

.ombee-credit:hover .ombee-logo {
    opacity: 1;
    filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(15deg);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brown-mid);
    color: var(--text-light);
    padding: 16px 0;
    z-index: 2000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-inner p {
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--gold);
    color: var(--brown-dark);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-cookie-accept:hover {
    background: #e5bf44;
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cookie-decline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-cookie-info {
    padding: 10px 24px;
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 500;
}

.btn-cookie-info:hover {
    text-decoration: underline;
}

/* ===== Accessibility Button ===== */
.accessibility-btn {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A2E22 0%, #311b11 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2100;
    box-shadow: 0 6px 18px rgba(49, 27, 17, 0.45), 0 0 0 4px rgba(241, 203, 87, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: a11y-pulse 2.8s ease-in-out infinite;
}

@keyframes a11y-pulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(49, 27, 17, 0.35), 0 0 0 4px rgba(241, 203, 87, 0.18); }
    50%      { box-shadow: 0 6px 22px rgba(49, 27, 17, 0.4),  0 0 0 8px rgba(241, 203, 87, 0.12); }
}

.accessibility-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(49, 27, 17, 0.45), 0 0 0 6px rgba(241, 203, 87, 0.25);
    animation: none;
}

.accessibility-btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.accessibility-btn svg {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

/* Accessibility Panel */
.accessibility-panel {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 340px;
    max-height: calc(100vh - 140px);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 24px 60px -12px rgba(49, 27, 17, 0.38), 0 8px 20px -4px rgba(49, 27, 17, 0.18);
    z-index: 2100;
    opacity: 0;
    visibility: hidden;
    transform: translateX(calc(-100% - 30px));
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.32, 0.72, 0.4, 1.08), visibility 0.4s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.accessibility-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.a11y-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #4A2E22 0%, #311b11 100%);
    color: var(--text-light);
    border-bottom: 2px solid rgba(241, 203, 87, 0.25);
}

.a11y-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.2px;
}

.a11y-header h3 svg {
    flex-shrink: 0;
    padding: 6px;
    width: 28px;
    height: 28px;
    background: rgba(241, 203, 87, 0.18);
    border-radius: 50%;
    box-sizing: content-box;
}

.a11y-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.a11y-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(90deg);
}

.a11y-options {
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow-y: auto;
    max-height: calc(100vh - 230px);
    scrollbar-width: thin;
    scrollbar-color: var(--brown-light) transparent;
    background: var(--cream);
}

.a11y-options::-webkit-scrollbar {
    width: 6px;
}

.a11y-options::-webkit-scrollbar-thumb {
    background: var(--brown-light);
    border-radius: 3px;
    opacity: 0.5;
}

.a11y-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 8px 14px;
    border: 1.5px solid #ebe0cf;
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brown-dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    text-align: center;
    line-height: 1.25;
    box-shadow: 0 2px 4px rgba(49, 27, 17, 0.05);
    min-height: 92px;
}

.a11y-option:hover {
    border-color: var(--gold);
    background: #fffdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -4px rgba(241, 203, 87, 0.35);
}

.a11y-option:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(241, 203, 87, 0.45);
}

.a11y-option.active {
    border-color: var(--gold);
    background: linear-gradient(180deg, #fff8e0 0%, #ffeeb0 100%);
    box-shadow: 0 4px 14px -2px rgba(241, 203, 87, 0.6);
}

.a11y-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown-dark);
    transition: transform 0.2s ease, color 0.2s ease;
}

.a11y-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.a11y-option:hover .a11y-icon {
    color: var(--brown-dark);
    transform: scale(1.1);
}

.a11y-option.active .a11y-icon {
    color: var(--brown-dark);
}

.a11y-label {
    color: var(--brown-dark);
    font-weight: 700;
    letter-spacing: 0.1px;
    font-size: 0.82rem;
}

.a11y-option.active .a11y-label {
    color: var(--brown-dark);
}

.a11y-reset {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    margin-top: 6px;
    min-height: auto;
    background: linear-gradient(135deg, var(--gold) 0%, #e5bf44 100%);
    border: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--brown-dark);
    box-shadow: 0 6px 16px -4px rgba(241, 203, 87, 0.55), 0 2px 6px rgba(49, 27, 17, 0.15);
}

.a11y-reset .a11y-icon {
    width: 20px;
    height: 20px;
    color: var(--brown-dark);
}

.a11y-reset .a11y-label {
    color: var(--brown-dark);
    font-size: 0.95rem;
    font-weight: 800;
}

.a11y-reset:hover {
    background: linear-gradient(135deg, #f4d369 0%, #e0b630 100%);
    border-color: transparent;
    color: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -4px rgba(241, 203, 87, 0.65), 0 4px 10px rgba(49, 27, 17, 0.2);
}

.a11y-reset:hover .a11y-icon {
    color: var(--brown-dark);
    transform: rotate(-90deg);
}

.a11y-links {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 0 4px;
    font-size: 0.82rem;
    color: var(--brown-mid);
}

.a11y-links a {
    color: var(--brown-dark);
    font-weight: 700;
    transition: color 0.2s ease;
}

.a11y-links a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.a11y-links-sep {
    color: var(--brown-light);
    opacity: 0.6;
    font-weight: 700;
}

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

    .hero h1 {
        font-size: 2.4rem;
    }

    .about-grid {
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .product-detail {
        gap: 30px;
    }

    .management-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--brown-dark);
        padding: 80px 20px 40px;
        transition: right var(--transition);
        z-index: 999;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-list > li > a {
        padding: 14px 16px;
        font-size: 1.1rem;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        margin-top: 4px;
        display: none;
    }

    .has-submenu.open .submenu {
        display: block;
    }

    .megamenu {
        position: static;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        margin-top: 4px;
        display: none;
    }

    .has-megamenu.open .megamenu {
        display: grid;
    }

    .megamenu-item img {
        height: 80px;
    }

    /* Hero */
    .hero {
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        padding: 60px 0;
    }

    /* Tablet: keep 2-column layouts */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products {
        padding: 50px 0;
    }

    .about {
        padding: 60px 0;
    }

    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Cookie */
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ===== Mobile ===== */
@media (max-width: 576px) {
    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Products */
    .products-grid,
    .topic-grid,
    .facts-strip {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .chocolate-quote blockquote {
        font-size: 1.15rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        order: -1;
    }

    /* Product Detail */
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-image {
        order: -1;
    }

    /* Footer Sitemap */
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .accessibility-panel {
        width: 280px;
        left: 12px;
        bottom: 76px;
    }
}

@media (max-width: 380px) {
    .accessibility-panel {
        width: calc(100vw - 24px);
        left: 12px;
    }
}

/* ===== Accessibility Modes ===== */
body.high-contrast {
    filter: contrast(1.5);
}

body.grayscale {
    filter: grayscale(1);
}

body.large-text {
    font-size: 120%;
}

body.highlight-links a {
    outline: 2px solid var(--gold) !important;
    outline-offset: 2px;
}

body.big-cursor,
body.big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 4l20 8-8 4-4 8z' fill='black' stroke='white' stroke-width='1'/%3E%3C/svg%3E") 4 4, auto !important;
}

body.line-height-plus {
    line-height: 2.2;
}

body.hide-images img {
    visibility: hidden !important;
}

body.disable-animations,
body.disable-animations * {
    animation: none !important;
    transition: none !important;
}

body.dyslexia-font,
body.dyslexia-font * {
    font-family: 'OpenDyslexic', 'Heebo', Arial, sans-serif !important;
}

body.text-spacing {
    letter-spacing: 0.12em;
    word-spacing: 0.3em;
}

body.color-saturation {
    filter: saturate(2);
}

body.image-captions img[alt]::after {
    content: attr(alt);
    display: block;
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    padding: 4px;
}

body.image-captions img[alt] {
    position: relative;
}

body.text-align-left {
    text-align: left !important;
    direction: ltr !important;
}

body.text-align-left .header,
body.text-align-left .footer {
    direction: rtl;
    text-align: right;
}

body.dark-mode {
    background: #1a1a2e !important;
    color: #e0e0e0 !important;
}

body.dark-mode .header {
    background: #16213e;
}

body.dark-mode .footer {
    background: #16213e;
}

body.dark-mode .inner-content,
body.dark-mode .products,
body.dark-mode .contact-section {
    background: #1a1a2e;
}

body.dark-mode .about,
body.dark-mode .page-hero {
    background: #0f3460;
}

body.dark-mode .product-card,
body.dark-mode .info-card,
body.dark-mode .management-card {
    background: #16213e;
    color: #e0e0e0;
}

body.dark-mode .product-card h3,
body.dark-mode .about-text h2,
body.dark-mode .inner-content h2,
body.dark-mode .legal-content h3,
body.dark-mode .contact-form-wrapper h2,
body.dark-mode .info-card h3,
body.dark-mode .section-header h2 {
    color: var(--gold);
}

body.dark-mode .about-text p,
body.dark-mode .product-detail-text p,
body.dark-mode .legal-content p,
body.dark-mode .legal-list li,
body.dark-mode .info-card p {
    color: #ccc;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: #16213e;
    color: #e0e0e0;
    border-color: #333;
}

body.dark-mode .sitemap-section {
    background: #16213e;
}
