/* ============================================================
   custom-theme-v9.css = MERGE of the two diverged branches:
   - Part A (was server custom-theme.css, 2112 lines): product page, product grid, category layout
   - Part B (was git custom-theme.css / v7, 541 lines): header, footer, homepage, cards, category tree
   Loaded in this order so Part B wins on the few shared selectors (content-wrapper),
   matching the verified working injection test.  Keep this file complete; do not split again.
   ============================================================ */
/* ===================== PART A: product / grid / layout ===================== */
/* LUS Shop - Final Design System (Hugendubel Layout + Master Colors + New Product Page) */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&family=Playfair+Display:wght@400;700;900&family=Lato:wght@400;700&display=swap');

:root {
    --bg-body: #f4f4f4;
    --bg-white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --accent: #E64A19; /* Red-Orange accent */
    --accent-hover: #D84315;
    --border: #e0dcd9;
    --shadow-soft: 0 5px 20px rgba(44, 30, 20, 0.08);
    --container-width: 1300px;
    
    /* New Product Page Colors from Screenshot */
    --btn-red: #c00000;
    --btn-red-hover: #a00000;
    --status-green: #2e7d32;
    --bg-grey-light: #f5f5f5;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

/* --- Layout Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0; /* Removed padding to align full width */
}

/* Page Wrapper for Sidebar Pages */
.content-wrapper {
    max-width: var(--container-width);
    margin: 40px auto;
    padding: 0; /* Sidebar aligned to edge */
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    flex: 1;
    width: 100%;
}

/* --- Top Service Bar --- */
/* Removed as requested */

/* --- Main Header --- */
header {
    background: rgba(50, 47, 47, 1);
    color: rgba(126, 62, 62, 1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
    /* CENTERING THE HEADER ITSELF */
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

/* Scrolled/Compact Header State */
header.scrolled {
    padding: 10px 0;
}

header .logo img {
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 40px !important;
}

header .main-nav {
    transition: opacity 0.3s ease, max-height 0.3s ease;
    max-height: 100px;
    opacity: 1;
    overflow: hidden;
}

header.scrolled .main-nav {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding: 0;
}

header .search-input {
    transition: padding 0.3s ease, font-size 0.3s ease;
}

header.scrolled .search-input {
    padding: 8px 40px 8px 15px;
    font-size: 0.9rem;
}

header .icon-item span:last-child {
    transition: opacity 0.3s ease;
}

header.scrolled .icon-item span:last-child {
    opacity: 0;
    font-size: 0;
}

header .icon-symbol {
    transition: font-size 0.3s ease;
}

header.scrolled .icon-symbol {
    font-size: 1.2rem;
}

header .header-main {
    transition: gap 0.3s ease;
}

header.scrolled .header-main {
    gap: 20px;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px; /* Added padding to prevent content touching edges */
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.logo span {
    color: #fff;
}

.search-container {
    flex: 1;
    position: relative;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    background: #fcfcfc;
    font-family: inherit;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-btn:hover {
    background: #8b0000;
    transform: translateY(-50%) scale(1.05);
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

.header-icons {
    display: flex;
    gap: 30px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: #ddd;
    cursor: pointer;
    font-family: sans-serif;
}

.icon-item span {
    margin-top: 5px;
}

.icon-symbol {
    font-size: 1.4rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-symbol svg {
    stroke: currentColor;
}

/* Navigation Icons */
.nav-icon {
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    stroke: currentColor;
}

/* Service Icons */
.service-icon {
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    stroke: currentColor;
}

/* --- Navigation Bar --- */
.main-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px; /* Added horizontal padding */
    margin-top: 20px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.main-nav a {
    color: #fff;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.main-nav a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-sale {
    color: var(--accent) !important;
}

/* --- Promo Strip --- */
/* Removed as requested */

/* --- Sidebar --- */
aside {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px;
    height: fit-content;
}

aside h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    color: var(--text-main);
}

.category-tree ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.category-tree li {
    margin-bottom: 0;
}

.category-tree a {
    display: block;
    padding: 8px 5px;
    color: var(--text-main);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}

.category-tree a:hover {
    color: var(--accent);
    background: #f9f9f9;
}

.category-tree .has-submenu > a {
    font-weight: 600;
}

.category-tree ul ul {
    padding-left: 10px;
    display: none;
    background: #fafafa;
}

.toggle-btn {
    cursor: pointer;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ddd;
    transition: 0.2s;
}

.expanded > ul {
    display: block !important;
}

.expanded > a .toggle-btn {
    transform: rotate(180deg);
    background: var(--accent);
    color: #fff;
}

/* --- New Product Page Grid Layout --- */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-template-rows: auto auto;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 4px;
}

/* Left Column: Images */
.product-gallery {
    display: grid;
    grid-template-columns: 80px 1fr 60px; /* Thumbnails, Main, Actions */
    gap: 20px;
}

.thumb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb-item {
    width: 80px;
    height: 100px;
    border: 1px solid #ddd;
    cursor: pointer;
    overflow: hidden;
}

.thumb-item:hover {
    border-color: var(--accent);
}

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

.main-image-container {
    width: 100%;
    height: 500px; /* Taller */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    padding: 10px;
    position: relative;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.action-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
}

.action-icon:hover {
    color: var(--accent);
}

.action-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.action-icon svg {
    stroke: currentColor;
}

/* Right Column: Buy Box & Info */
.product-info-box {
    font-family: 'Lato', sans-serif; /* Cleaner font for tech specs */
}

.product-info-box h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.price-block {
    margin-bottom: 20px;
}

.price-main {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
}

.vat-info {
    font-size: 0.8rem;
    color: #666;
}

.meta-info {
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.availability {
    color: var(--status-green);
    font-weight: bold;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.qty-stepper {
    display: flex;
    border: 1px solid #ccc;
    height: 40px;
}

.qty-stepper button {
    background: #f5f5f5;
    border: none;
    width: 35px;
    font-weight: bold;
    cursor: pointer;
}

.qty-stepper input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    font-size: 1rem;
}

.btn-add-cart-red {
    background: var(--btn-red);
    color: #fff;
    border: none;
    padding: 0 25px;
    height: 40px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    flex: 1;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-cart-red:hover {
    background: var(--btn-red-hover);
}

.btn-wishlist {
    display: block;
    width: 100%;
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 30px;
}

.trust-signals ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-signals li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.trust-signals .check {
    color: var(--status-green);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    vertical-align: middle;
}

.trust-signals .check svg {
    stroke: var(--status-green);
}

/* Bottom Sections (Description + Properties) */
.product-description {
    grid-column: 1 / 2; /* Left Column */
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-features {
    grid-column: 2 / 3; /* Right Column */
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.features-table td {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.features-table td:first-child {
    font-weight: bold;
    color: #555;
    width: 40%;
}

.features-table td:last-child {
    text-align: right;
    color: #333;
}

/* --- Footer --- */
footer {
    background: #333;
    padding: 80px 0 20px;
    border-top: 5px solid var(--accent);
    color: #ccc;
    font-size: 0.9rem;
    margin-top: auto;
    /* CENTERING THE FOOTER ITSELF */
    max-width: var(--container-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    padding: 0 20px; /* Added padding */
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding: 20px; /* Added horizontal padding */
    font-size: 0.8rem;
}

/* --- Hero Section --- */
.hero-banner {
    background-color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 40px;
    height: 400px;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-top: 53px; /* Match product page spacing */
}

.hero-image {
    flex: 1;
    height: 100%;
    position: relative;
    border-right: 1px solid var(--border);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    flex: 1;
    padding: 60px;
    text-align: left;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.btn-hero {
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #fff;
    padding: 12px 30px;
    border-radius: 2px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background: #fff;
    color: var(--accent);
}

/* --- Icon Navigation --- */
.icon-nav-bar {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 30px 0;
    margin-bottom: 60px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.icon-box {
    flex: 1;
    text-align: center;
    border-right: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    padding: 10px;
}

.icon-box:last-child {
    border-right: none;
}

.icon-box span:first-child {
    margin-bottom: 10px;
    filter: sepia(1) hue-rotate(-50deg) saturate(2);
}

.icon-box span:last-child {
    font-size: 0.9rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

/* --- Product Section (Carousel Style) --- */
.section-header {
    text-align: left;
    position: relative;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0;
    display: inline-block;
}

.section-header .btn-more {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--border);
    padding: 5px 15px;
    border-radius: 2px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: #fff;
}

.product-scroller {
    display: flex;
    gap: 30px;
    padding-bottom: 30px;
    width: 100%;
    overflow: hidden; /* Hide scrollbar */
}

/* Smooth step animation - pauses at each book, then slides to next */
@keyframes scroll-smooth {
    0%, 14% { transform: translateX(0); }
    16.66%, 30.66% { transform: translateX(-250px); }
    33.33%, 47.33% { transform: translateX(-500px); }
    50%, 64% { transform: translateX(-750px); }
    66.66%, 80.66% { transform: translateX(-1000px); }
    83.33%, 97.33% { transform: translateX(-1250px); }
    100% { transform: translateX(-1500px); }
}

.product-scroller-inner {
    display: flex;
    gap: 30px;
    animation: scroll-smooth 24s ease-in-out infinite;
    width: max-content;
}

.product-scroller-inner:hover {
    animation-play-state: paused;
}

.product-card {
    min-width: 220px;
    width: 220px;
    text-align: center;
    position: relative;
    background: #fff;
    padding: 15px;
    border: 1px solid transparent;
    transition: 0.3s;
    display: block; /* Make sure anchor works as block */
    color: inherit; /* Inherit text color */
    flex-shrink: 0; /* Prevent shrinking in flex container */
}

.product-card:hover {
    border-color: var(--border);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); /* Stronger shadow on hover */
    transform: translateY(-5px); /* Move up on hover */
    z-index: 10;
}

.product-img-container {
    position: relative;
    margin-bottom: 15px;
    height: 300px;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 10px 0 5px 0;
    line-height: 1.3;
}

.product-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    display: block;
    margin-bottom: 10px;
}

.product-price {
    font-weight: 900;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 15px;
    color: var(--accent);
}

.btn-basket-circle {
    background: #fff;
    color: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.2s;
}

.btn-basket-circle svg {
    stroke: currentColor;
}

.btn-basket-circle:hover {
    background: var(--accent);
    color: #fff;
}

/* --- Services Grid --- */
.services-title {
    text-align: center;
    margin: 60px 0 30px;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.service-card {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    transition: 0.3s;
    min-width: 150px;
    flex: 0 1 180px;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* --- Content Grids --- */
.content-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.topic-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    border: 1px solid var(--border);
}

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

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

.topic-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid var(--accent);
}

.topic-overlay h4 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--text-main);
}

.content-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.banner-card {
    position: relative;
    height: 300px;
    background: #eee;
    overflow: hidden;
    border: 1px solid var(--border);
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.banner-text h3 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.btn-white {
    background: transparent;
    border: 2px solid var(--text-main);
    padding: 8px 25px;
    border-radius: 0;
    font-size: 0.8rem;
    margin-top: 15px;
    display: inline-block;
    color: var(--text-main);
    font-weight: bold;
    text-transform: uppercase;
}

.btn-white:hover {
    background: var(--text-main);
    color: #fff;
}

/* Category/Product Grid (Inside Main) */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px 30px;
    padding-bottom: 20px;
}

.shelf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-top: 40px;
}

.shelf-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0;
}

/* Book Card in Grid */
.book-card {
    /* Reuse product-card styles but ensure context works */
}
.book-card .book-cover-wrapper {
    position: relative;
    height: 320px;
    margin-bottom: 15px;
}
.book-card .book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
}
.book-card .book-details h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 10px 0 5px 0;
}
.book-card .book-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    display: block;
    margin-bottom: 5px;
}
.book-card .book-price {
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--accent);
    display: block;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-left: 0;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 800px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        padding: 0 20px; /* Add padding back for mobile */
    }
    aside {
        display: none;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .product-gallery {
        grid-template-columns: 60px 1fr;
    }
    .image-actions { display: none; }
    .product-features { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .header-main { flex-direction: column; gap: 20px; }
    .header-icons { gap: 15px; }
    .search-container { width: 100%; }
    .content-grid-3, .content-grid-2 { grid-template-columns: 1fr; }
    .hero-banner { flex-direction: column; height: auto; }
    .icon-nav-bar { overflow-x: auto; }
    .icon-box { min-width: 100px; }
    .product-layout { grid-template-columns: 1fr; padding: 20px; }
    .purchase-box { flex-direction: column; gap: 20px; text-align: center; }
}

/* ============================================
   PRESTASHOP SPECIFIC STYLES
   ============================================ */

/* --- PrestaShop Header Adaptations --- */
.main-header {
    background: rgba(50, 47, 47, 1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

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

.main-header .logo {
    display: flex;
    align-items: center;
}

.main-header .logo img {
    height: 60px;
    width: auto;
}

.main-header .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
}

/* Cart Icon with Count */
.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* --- Mobile Header --- */
.mobile-header {
    display: none;
    background: rgba(50, 47, 47, 1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.mobile-menu-btn,
.mobile-search-btn,
.mobile-cart-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 8px;
    cursor: pointer;
}

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

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

.mobile-cart-btn {
    position: relative;
    text-decoration: none;
}

@media (max-width: 991px) {
    .main-header {
        display: none;
    }
    .mobile-header {
        display: block;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: rgba(50, 47, 47, 1);
    color: #fff;
    overflow-y: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-content li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-content a {
    display: block;
    padding: 15px 0;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    z-index: 2000;
    display: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.mobile-search-overlay.active {
    display: block;
}

.mobile-search-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-search-close {
    background: none;
    border: none;
    cursor: pointer;
}

/* --- PrestaShop Search Module --- */
.search-widget {
    width: 100%;
}

.search-widget form {
    position: relative;
}

.search-widget input[type="text"] {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background: #fcfcfc;
}

.search-widget button[type="submit"] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

/* --- PrestaShop Notifications --- */
.notifications-container {
    margin-bottom: 20px;
}

.notification {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.notification-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
}

.notification-warning {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    color: #856404;
}

.notification-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: var(--status-green);
}

.notification-info {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    color: #0d47a1;
}

/* --- Breadcrumb --- */
.breadcrumb-nav {
    margin-bottom: 30px;
    padding: 15px 0;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: #ccc;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item a:hover {
    color: var(--accent);
}

.breadcrumb-item.active span {
    color: var(--text-main);
}

/* --- Sidebar --- */
.sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px;
}

.sidebar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

/* --- Products Grid --- */
.products-grid {
    display: block;
    width: 100%;
}

/* Fix for PrestaShop module product grids */
.products-grid .featured-products,
.products-grid .newproducts,
.products-grid .bestsellers-products {
    width: 100%;
}

.products-grid .featured-products .container,
.products-grid .newproducts .container,
.products-grid .bestsellers-products .container {
    max-width: 100%;
    padding: 0;
}

.products-grid .products.row,
.products-carousel .products.row,
.products-section .products-grid .products.row,
.products-section .products-carousel .products.row,
.homepage .products.row,
section .featured-products .products.row,
section .newproducts .products.row,
section .bestsellers-products .products.row,
.featured-products .container .products.row {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 30px !important;
    margin: 0 !important;
    width: 100% !important;
    flex-wrap: unset !important;
}

.products-grid .products.row .product-card,
.products-carousel .products.row .product-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 15px;
}

/* Hide duplicate section titles from modules */
.products-grid .featured-products .section-title,
.products-grid .newproducts .section-title,
.products-grid .bestsellers-products .section-title,
.products-carousel .featured-products .section-title,
.products-carousel .newproducts .section-title,
.products-carousel .bestsellers-products .section-title {
    display: none;
}

/* Fix "All Products" link at bottom of module */
.products-grid .featured-products .all-products-link,
.products-carousel .newproducts .all-products-link {
    display: none;
}

/* --- Category Page --- */
.category-page {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.category-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 15px 0;
}

.category-description {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.products-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.filter-tag {
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-tag .remove {
    color: var(--accent);
    font-weight: bold;
}

/* Pagination */
.pagination-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 5px;
}

.pagination li {
    display: flex;
}

.page-link {
    padding: 10px 15px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-main);
    text-decoration: none;
}

.page-link:hover,
.page-link.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.page-link.spacer {
    border: none;
    background: none;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* --- Product Page Adaptations --- */
.product-page {
    background: transparent;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 2px;
}

.badge-new {
    background: var(--accent);
    color: #fff;
}

.badge-discount {
    background: var(--btn-red);
    color: #fff;
}

.badge-pack {
    background: #2196f3;
    color: #fff;
}

/* Thumb Active State */
.thumb-item.active {
    border-color: var(--accent);
}

/* Price Old */
.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
}

.price-discount {
    background: var(--btn-red);
    color: #fff;
    padding: 3px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 5px;
}

/* Availability States */
.in-stock {
    color: var(--status-green);
}

.out-of-stock {
    color: var(--btn-red);
}

/* Add to Cart Form */
.add-to-cart-form {
    margin-bottom: 20px;
}

.qty-btn {
    background: #f5f5f5;
    border: none;
    width: 35px;
    height: 40px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
}

.qty-btn:hover {
    background: #e0e0e0;
}

#quantity_wanted {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    height: 40px;
    font-size: 1rem;
}

/* Out of Stock Message */
.out-of-stock-message {
    background: #fff3cd;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
}

/* --- Footer Adaptations --- */
.main-footer {
    background: #333;
    padding: 60px 0 20px;
    border-top: 5px solid var(--accent);
    color: #ccc;
    margin-top: auto;
}

.main-footer .container {
    padding: 0 20px;
}

.footer-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.footer-links a {
    color: #ccc;
}

/* Newsletter in Footer */
.main-footer .block_newsletter form {
    display: flex;
    gap: 10px;
}

.main-footer .block_newsletter input[type="email"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #555;
    background: #444;
    color: #fff;
    border-radius: 4px;
}

.main-footer .block_newsletter button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

/* --- Form Styles --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

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

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #ccc;
}

/* --- Homepage Sections --- */
.homepage {
    padding: 40px 0;
}

.products-section {
    margin-bottom: 60px;
}

.services-section {
    margin-bottom: 60px;
}

/* Icon Sale Color */
.icon-sale .nav-icon {
    color: var(--accent);
}

.icon-sale span:last-child {
    color: var(--accent);
}

/* Hero Badge */
.hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    transform: rotate(-10deg);
}

/* --- Product Quick Add Button --- */
.product-quick-add {
    position: absolute;
    bottom: 15px;
    right: 15px;
    opacity: 0;
    transition: opacity 0.2s;
}

.product-card:hover .product-quick-add {
    opacity: 1;
}

.btn-quick-add {
    background: #fff;
    color: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.btn-quick-add:hover {
    background: var(--accent);
    color: #fff;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

/* --- Fix Navigation Dropdown Indicator --- */
header nav li a::after,
header nav .dropdown-toggle::after,
.main-nav .has-submenu > a::after,
nav ul li > a[data-bs-toggle]::after {
    display: none !important;
}

/* --- Fix Product Badges (Sonderpreis) --- */
.badge-on-sale,
.badge.badge-on-sale,
.product-badges .badge-on-sale {
    background-color: var(--accent) !important;
    background: var(--accent) !important;
    color: #fff !important;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-discount,
.badge.badge-discount,
.product-badges .badge-discount {
    background-color: #c00000 !important;
    background: #c00000 !important;
    color: #fff !important;
}

.badge-new,
.badge.badge-new,
.product-badges .badge-new {
    background-color: #2e7d32 !important;
    background: #2e7d32 !important;
    color: #fff !important;
}

/* --- Fix Product Availability/Stock Text --- */
.badge-availability,
.product-badges .badge-availability,
.product-availability,
[class*="availability"] {
    background-color: #2e7d32 !important;
    color: #fff !important;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 5px;
}

/* --- Category Page Layout Fixes --- */
#products .products,
.category-page .products,
#js-product-list .products,
.category-page .products-grid,
.main-column .products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 30px !important;
}

#products .products > article,
.category-page .products > article,
#js-product-list .products > article,
.category-page .products-grid > article,
.main-column .products-grid > article {
    width: 100% !important;
    max-width: none !important;
}

/* Category sidebar styling */
.category-tree,
#search_filters,
.faceted-search {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px;
}

.category-tree a,
.faceted-search a {
    color: var(--text-main);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.category-tree a:hover,
.faceted-search a:hover {
    color: var(--accent);
}

/* Category page header */
.category-header h1,
#js-product-list-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* --- Print Styles --- */
@media print {
    .main-header,
    .mobile-header,
    .main-nav,
    .main-footer,
    .breadcrumb-nav,
    .product-quick-add,
    .image-actions {
        display: none !important;
    }
}

/* ===================== PART B: header / footer / home / cards ===================== */
/* =========================================================================
   Lesen und Schenken — faithful clone of lesenundschenken.de
   Child of PrestaShop 9 classic theme. Loaded after parent (priority 300).
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Playfair+Display:wght@700;800;900&display=swap');

:root{
  --lus-red:#d20007;
  --lus-red-dark:#a50006;
  --lus-black:#000;
  --lus-bar:#111318;
  --lus-navy:#16233f;
  --lus-gold:#a68a3b;
  --lus-grey:#ececec;
  --lus-grey2:#f4f4f4;
  --lus-footer:#303030;
  --lus-footer-text:#bbbbbb;
  --lus-text:#1c1c1c;
  --lus-max:1240px;
}

/* ---------- base ---------- */
html{scroll-behavior:smooth;}
body,
body.lus-home,
.page-home{
  font-family:'Open Sans',Arial,sans-serif !important;
  color:var(--lus-text);
  background:#fff !important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body#index #wrapper,
#wrapper{background:#fff !important;padding:0 !important;}
#main{margin:0 !important;}
.lus-container{max-width:var(--lus-max);margin:0 auto;padding:0 18px;}

/* neutralise classic header/footer chrome */
#header{background:transparent !important;box-shadow:none !important;margin:0 !important;padding:0 !important;}
#header .header-nav,#header .header-top{display:none !important;}
#footer{margin-top:0 !important;padding:0 !important;background:transparent !important;}
.header-banner,.header-top .search-widget{display:none;}

/* =========================================================================
   HEADER — black top bar
   ========================================================================= */
.lus-topbar{background:linear-gradient(180deg,#17191f 0%,#0c0d11 100%);color:#fff;position:sticky;top:0;z-index:600;box-shadow:0 2px 14px rgba(0,0,0,.28);}
.lus-topbar-inner{max-width:1600px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;min-height:62px;}
.lus-topbar-left{display:flex;align-items:center;gap:26px;min-width:0;}
.lus-burger{display:inline-flex;align-items:center;gap:9px;color:#fff;font-size:14px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;padding:9px 15px;border:1px solid rgba(255,255,255,.16);border-radius:6px;transition:background .15s,border-color .15s;}
.lus-burger:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.3);color:#fff;}
.lus-burger svg{stroke:#fff;}
.lus-bar-logo img{height:40px;width:auto;display:block;}
.lus-mainnav{display:flex;align-items:center;gap:26px;flex-wrap:nowrap;overflow:hidden;}
.lus-mainnav a{color:rgba(255,255,255,.92);font-size:13px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;position:relative;padding:6px 0;transition:color .15s;}
.lus-mainnav a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--lus-red);transition:right .22s cubic-bezier(.16,1,.3,1);}
.lus-mainnav a:hover{color:#fff;}
.lus-mainnav a:hover::after{right:0;}
.lus-mainnav .lus-krise{color:#fff;text-transform:none;font-weight:600;letter-spacing:0;}
.lus-mainnav .lus-krise strong{color:#ff5a5f;font-weight:800;}
.lus-mainnav .lus-krise::after{display:none;}
.lus-topbar-right{display:flex;align-items:center;gap:16px;}
.lus-search{display:flex;align-items:stretch;background:#fff;border-radius:6px;overflow:hidden;height:40px;width:270px;max-width:36vw;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);}
.lus-search input{border:0;outline:0;flex:1;padding:0 14px;font-size:13.5px;color:#333;min-width:0;}
.lus-search button{border:0;background:var(--lus-red);color:#fff;width:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s;}
.lus-search button:hover{background:var(--lus-red-dark);}
.lus-search button svg{stroke:#fff;}
/* Single search: kill the classic ps_searchbar that displayTop injects into the offcanvas */
.lus-offcanvas .search-widgets,.lus-offcanvas #search_widget{display:none !important;}
/* Branded search inside the offcanvas — full width, only where the top-bar search is hidden */
.lus-offcanvas-search{display:flex !important;width:100%;max-width:none;height:42px;margin:0 0 18px;border:1px solid #ddd;}
@media (min-width:901px){.lus-offcanvas-search{display:none !important;}}
.lus-icon-link{position:relative;color:#fff;display:inline-flex;align-items:center;}
.lus-icon-link svg{stroke:#fff;}
.lus-icon-link:hover svg{stroke:var(--lus-red);}
.lus-cart-badge{position:absolute;top:-8px;right:-9px;background:var(--lus-red);color:#fff;font-size:10px;font-weight:700;min-width:16px;height:16px;line-height:16px;text-align:center;border-radius:9px;padding:0 4px;}

/* offcanvas */
.lus-offcanvas{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:2000;opacity:0;visibility:hidden;transition:.2s;}
.lus-offcanvas.is-open{opacity:1;visibility:visible;}
.lus-offcanvas-panel{position:absolute;top:0;left:0;bottom:0;width:320px;max-width:88vw;background:#fff;transform:translateX(-100%);transition:transform .25s;overflow-y:auto;}
.lus-offcanvas.is-open .lus-offcanvas-panel{transform:none;}
.lus-offcanvas-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:var(--lus-black);color:#fff;font-weight:700;}
.lus-offcanvas-head button{background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;}
.lus-offcanvas-body{padding:10px 4px;}
.lus-offcanvas-body a{color:var(--lus-text);}
/* Add-to-cart confirmation toast */
.lus-toast{position:fixed;top:74px;right:20px;z-index:3000;background:var(--lus-red);color:#fff;font-size:14px;font-weight:600;padding:12px 18px;border-radius:3px;box-shadow:0 6px 20px rgba(0,0,0,.25);opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .2s,transform .2s;}
.lus-toast.is-visible{opacity:1;transform:none;}
.lus-toast::before{content:"✓ ";}
/* Category tree rendered inside the off-canvas menu sits flush in the panel */
.lus-offcanvas .block-categories{margin:0;border:0;}
.lus-offcanvas .block-categories::before{margin:0 0 4px;}

/* =========================================================================
   HERO
   ========================================================================= */
.lus-hero{position:relative;min-height:430px;background-size:cover;background-position:center center;background-repeat:no-repeat;}

/* =========================================================================
   BÜCHER QUICK-NAV
   ========================================================================= */
.lus-quicknav-wrap{background:var(--lus-grey);padding:34px 0 40px;}
.lus-quicknav{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;margin-bottom:26px;}
.lus-quicknav-cta{background:#fff;border:1px solid #dcdcdc;color:#1a1a1a;font-size:18px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:15px 40px;min-width:190px;text-align:center;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.05);transition:background .15s,color .15s,border-color .15s,transform .15s,box-shadow .15s;}
.lus-quicknav-cta:hover{background:var(--lus-red);color:#fff;border-color:var(--lus-red);transform:translateY(-2px);box-shadow:0 10px 22px rgba(210,0,7,.24);}
.lus-quicknav-heading{display:flex;align-items:center;gap:12px;margin:0 0 20px;}
.lus-quicknav-heading .lus-qn-icon{height:38px;width:auto;}
.lus-quicknav-heading h2{margin:0;font-size:30px;font-weight:800;text-transform:uppercase;color:#111;letter-spacing:.02em;}
.lus-quicknav-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.lus-qn-tile{background:#fff;border:1px solid #ddd;display:flex;align-items:center;justify-content:center;padding:26px;transition:.15s;}
.lus-qn-tile:hover{box-shadow:0 6px 18px rgba(0,0,0,.12);transform:translateY(-2px);}
.lus-qn-tile img{max-width:100%;height:auto;max-height:190px;}

/* =========================================================================
   INFOBRIEF BAR
   ========================================================================= */
.lus-infobar{background:var(--lus-navy);color:#fff;}
.lus-infobar-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px;flex-wrap:wrap;}
.lus-infobar-news{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.lus-infobar-label{font-size:17px;font-weight:700;}
.lus-infobar-label b,.lus-infobar-label strong{font-weight:800;}
.lus-infobar-form{display:flex;height:38px;background:#fff;border-radius:2px;overflow:hidden;width:320px;max-width:60vw;}
.lus-infobar-form input{border:0;outline:0;flex:1;padding:0 12px;font-size:14px;color:#333;min-width:0;}
.lus-infobar-form button{border:0;background:var(--lus-red);width:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;}
.lus-infobar-form button img{height:18px;width:auto;}
.lus-infobar-phone{text-align:right;line-height:1.2;}
.lus-infobar-phone-label{display:block;font-size:12px;opacity:.85;}
.lus-infobar-phone-num{display:block;font-size:22px;font-weight:800;}

/* =========================================================================
   PRODUCT SLIDER / GRID + MINIATURE
   ========================================================================= */
.lus-products-block{background:var(--lus-grey2);padding:30px 0 40px;}
.lus-block-title{font-size:24px;font-weight:800;color:#111;margin:0 0 20px;padding-bottom:10px;border-bottom:2px solid #ddd;}
/* hide module's own English section heading (we render "Frisch erschienen") */
.lus-newproducts .products-section-title,
.lus-newproducts > section > h2,
.lus-newproducts .h2,
.lus-newproducts section > .h1{display:none !important;}
.lus-newproducts section{margin:0 !important;}
.lus-newproducts .products,
.products.row,
#js-product-list .products,
.featured-products .products{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:24px;margin:0;padding:0;list-style:none;}
.lus-newproducts .all-product-link,
.featured-products-footer .all-product-link{display:inline-flex;align-items:center;gap:6px;margin-top:22px;color:var(--lus-red) !important;font-weight:700;border:1px solid var(--lus-red);padding:8px 20px;border-radius:2px;background:#fff;}
.lus-newproducts .all-product-link:hover{background:var(--lus-red);color:#fff !important;}
.featured-products{margin:0 !important;}

/* ---- premium product card (classic .product-miniature) ---- */
.products{align-items:start;}
.product-miniature,.js-product{width:auto !important;margin:0 !important;}
.product-miniature{position:relative;background:#fff;border:1px solid #e7e7e7;border-radius:10px;height:100%;display:flex;flex-direction:column;padding:16px 16px 18px;text-align:center;transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;overflow:hidden;}
.product-miniature:hover{border-color:#dcdcdc;box-shadow:0 14px 30px rgba(20,20,30,.12);transform:translateY(-4px);}
.product-miniature .thumbnail-container{height:auto;margin:0 0 14px;box-shadow:none;}
.product-miniature .thumbnail-container .product-thumbnail{display:flex;align-items:center;justify-content:center;height:210px;}
.product-miniature .thumbnail-container img,.product-miniature .product-thumbnail img{max-height:210px;width:auto !important;max-width:100%;object-fit:contain;position:static;filter:drop-shadow(0 8px 14px rgba(0,0,0,.14));transition:transform .25s ease;}
.product-miniature:hover .product-thumbnail img{transform:scale(1.04);}
.product-miniature .highlighted-informations,.product-miniature .variant-links,.product-miniature .product-flags .discount,.product-miniature .comments_note,.product-miniature .product-list-reviews{display:none !important;}
.product-miniature .product-description{padding:0;display:flex;flex-direction:column;flex:1;}
.product-miniature .product-title{font-size:14px;font-weight:700;line-height:1.3;margin:0 0 10px;height:2.6em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.product-miniature .product-title a{color:#1a1a1a;}
.product-miniature .product-title a:hover{color:var(--lus-red);}
.product-miniature .product-price-and-shipping{margin-top:auto;padding-top:6px;}
.product-miniature .price{font-size:17px;font-weight:800;color:#171717;letter-spacing:-.01em;}
.product-miniature .regular-price{color:#aaa;font-weight:600;font-size:13px;text-decoration:line-through;margin-right:6px;}
.product-miniature .product-flags{position:absolute;top:12px;left:12px;margin:0;z-index:2;}
.product-miniature .product-flag{background:var(--lus-red);color:#fff;font-size:10px;font-weight:800;letter-spacing:.06em;padding:4px 9px;text-transform:uppercase;margin:0;border-radius:4px;box-shadow:0 3px 8px rgba(210,0,7,.28);}
.product-miniature .product-flag.new,.product-miniature .product-flag.online-only{background:var(--lus-red);}
.product-miniature .product-flag.on-sale,.product-miniature .product-flag.discount-product{background:#1f9d55;box-shadow:0 3px 8px rgba(31,157,85,.28);}

.lus-pcard{background:#fff;display:flex;flex-direction:column;text-align:center;padding:14px 12px 16px;position:relative;height:100%;}
.lus-pcard-img{display:block;position:relative;height:200px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;}
.lus-pcard-img img{max-height:200px;max-width:100%;width:auto;object-fit:contain;}
.lus-pcard-flag{position:absolute;top:0;left:0;background:var(--lus-red);color:#fff;font-size:11px;font-weight:700;padding:3px 8px;text-transform:uppercase;}
.lus-pcard-flag-sale{background:#e8a200;}
.lus-pcard-body{display:block;color:var(--lus-text);}
.lus-pcard-author{display:block;font-size:12.5px;color:#555;margin-bottom:2px;}
.lus-pcard-title{display:block;font-size:14px;font-weight:700;line-height:1.25;color:#111;min-height:2.4em;}
.lus-pcard-body:hover .lus-pcard-title{color:var(--lus-red);}
.lus-pcard-meta{margin-top:auto;padding-top:10px;display:flex;flex-direction:column;gap:2px;}
.lus-pcard-ref{font-size:11.5px;color:#888;}
.lus-pcard-price{font-size:16px;font-weight:800;color:#111;}

/* =========================================================================
   CATEGORY TILES
   ========================================================================= */
.lus-tiles-wrap{background:var(--lus-grey);padding:44px 0;}
.lus-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
.lus-tile{background:#fff;border:1px solid #e2e2e2;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 16px;min-height:180px;transition:.15s;}
.lus-tile:hover{box-shadow:0 8px 22px rgba(0,0,0,.13);transform:translateY(-3px);}
.lus-tile-ico{height:80px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;}
.lus-tile-ico img{max-height:80px;max-width:110px;width:auto;}
.lus-tile-name{font-size:19px;font-weight:700;text-transform:uppercase;color:#1c1c1c;text-align:center;letter-spacing:.02em;line-height:1.15;}

/* =========================================================================
   ZEITSCHRIFTEN
   ========================================================================= */
.lus-magazines-wrap{background:#fff;padding:40px 0 54px;}
.lus-magazines{display:flex;align-items:center;gap:34px;flex-wrap:wrap;}
.lus-mag-heading{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.lus-mag-heading .lus-mag-icon{height:44px;width:auto;}
.lus-mag-heading h2{margin:0;font-size:26px;font-weight:800;text-transform:uppercase;color:#111;}
.lus-mag-list{display:flex;gap:16px;flex-wrap:wrap;flex:1;}
.lus-mag-item{width:118px;height:158px;background:#fff;border:1px solid #e2e2e2;border-radius:8px;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;font-size:13.5px;font-weight:700;color:#333;box-shadow:0 2px 8px rgba(0,0,0,.05);transition:border-color .15s,color .15s,transform .15s,box-shadow .15s;}
.lus-mag-item:hover{border-color:var(--lus-red);color:var(--lus-red);transform:translateY(-3px);box-shadow:0 10px 22px rgba(20,20,30,.12);}

/* =========================================================================
   FOOTER
   ========================================================================= */
.lus-footer{background:var(--lus-footer);color:var(--lus-footer-text);padding:44px 0 30px;}
.lus-footer-inner{max-width:var(--lus-max);margin:0 auto;padding:0 18px;display:grid;grid-template-columns:1.4fr 1fr 1.2fr;gap:40px;}
.lus-footer h4{color:#fff;font-size:15px;font-weight:700;text-transform:uppercase;margin:0 0 16px;letter-spacing:.03em;}
.lus-footer-logo{height:60px;width:auto;margin-bottom:16px;display:block;}
.lus-footer-brand p{font-size:13.5px;line-height:1.7;margin:0;}
.lus-footer-brand a{color:var(--lus-footer-text);text-decoration:underline;}
.lus-footer-col a{color:var(--lus-footer-text);}
.lus-footer-col a:hover{color:#fff;}
.lus-footer-linklist ul{list-style:none;margin:0;padding:0;}
.lus-footer-linklist li{margin-bottom:9px;font-size:13.5px;}
.lus-footer-linklist a{display:inline-block;}
.lus-footer-links{list-style:none;margin:0;padding:0;}
.lus-footer-links li{margin-bottom:9px;font-size:13.5px;}
.lus-footer-news p{font-size:13.5px;line-height:1.6;margin:0 0 14px;}
/* tidy ps_emailsubscription inside footer column */
.lus-footer-news-form .email-subscription,
.lus-footer-news-form .block_newsletter{margin:0 !important;padding:0 !important;width:auto;background:none !important;border:0 !important;box-shadow:none !important;}
.lus-footer-news-form .email-subscription .container{padding:0 !important;max-width:none;}
.lus-footer-news-form .email-subscription__label,
.lus-footer-news-form .email-subscription__content__left,
.lus-footer-news-form .block_newsletter p,
.lus-footer-news-form h3,.lus-footer-news-form .block-title{display:none !important;}
.lus-footer-news-form .email-subscription__content,
.lus-footer-news-form .email-subscription__content__right{width:100%;max-width:100%;flex:0 0 100%;padding:0 !important;}
.lus-footer-news-form form{display:flex;gap:10px;max-width:340px;flex-wrap:wrap;}
.lus-footer-news-form form .row{display:flex;gap:10px;width:100%;margin:0;}
.lus-footer-news-form .email-subscription__content__inputs{display:flex;gap:10px;width:100%;}
.lus-footer-news-form .form-control{flex:1;}
.lus-footer-news-form .email-subscription__conditions,
.lus-footer-news-form .form-text,
.lus-footer-news-form .text-muted{display:none !important;}
.lus-footer-news-form .input-wrapper{flex:1;}
.lus-footer-news-form input[type=email],.lus-footer-news-form input[type=text]{flex:1;width:100%;min-width:0;max-width:100%;height:44px;border:0;padding:0 14px;font-size:14px;border-radius:6px;background:#3d3d3d;color:#fff;}
.lus-footer-news-form input[type=email]::placeholder,.lus-footer-news-form input[type=text]::placeholder{color:#9a9a9a;}
.lus-footer-news-form input[type=email]:focus,.lus-footer-news-form input[type=text]:focus{outline:2px solid var(--lus-red);background:#454545;}
/* only ONE submit button (classic ships a desktop + mobile duplicate) */
.lus-footer-news-form .btn.hidden-sm-up,.lus-footer-news-form input[type=submit].hidden-sm-up{display:none !important;}
.lus-footer-news-form .btn,.lus-footer-news-form button,.lus-footer-news-form input[type=submit]{background:var(--lus-red) !important;border:0 !important;color:#fff !important;height:44px;padding:0 22px;border-radius:6px;font-weight:700;font-size:14px;float:none !important;cursor:pointer;transition:background .15s;white-space:nowrap;}
.lus-footer-news-form .btn:hover,.lus-footer-news-form input[type=submit]:hover{background:var(--lus-red-dark) !important;}
.lus-footer-news-form .alert{grid-column:1/-1;font-size:13px;margin:8px 0 0;}
.lus-copyright{background:#000;color:#9a9a9a;font-size:12.5px;}
.lus-copyright-inner{max-width:var(--lus-max);margin:0 auto;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;}
.lus-copyright a{color:#9a9a9a;}
.lus-copyright a:hover{color:#fff;}

/* =========================================================================
   CATEGORY / LISTING PAGES (inherit classic markup, restyle)
   ========================================================================= */
#category #wrapper,#category #content-wrapper{background:#fff;}
/* ---- Left category sidebar, styled like the original shop ---- */
/* One navigation per viewport, no redundancy. Sidebar shows ONLY on category /
   listing pages on DESKTOP (>=901px); everywhere else (product, home, cms, cart,
   mobile) it is hidden and content is full-width. On mobile the burger "Menü" is
   the nav. So there is never a burger AND a sidebar at once, and product/full-width
   pages never get a stray full-width category list. */
/* PS9 classic renders the column region as .content-wrapper > aside.sidebar + div.main-column.
   Default: hide the sidebar (product / home / cms / cart / mobile) so it never stacks full-width. */
.content-wrapper > .sidebar{display:none !important;}
@media (min-width:901px){
  /* DESKTOP listing pages -> two columns: fixed 250px sidebar + fluid main column */
  #category .content-wrapper,#search .content-wrapper,#best-sales .content-wrapper,
  #new-products .content-wrapper,#prices-drop .content-wrapper,
  #manufacturer .content-wrapper,#supplier .content-wrapper{
    display:flex !important;align-items:flex-start;gap:26px;}
  #category .content-wrapper > .sidebar,#search .content-wrapper > .sidebar,
  #best-sales .content-wrapper > .sidebar,#new-products .content-wrapper > .sidebar,
  #prices-drop .content-wrapper > .sidebar,#manufacturer .content-wrapper > .sidebar,
  #supplier .content-wrapper > .sidebar{
    display:block !important;flex:0 0 250px;max-width:250px;width:250px;}
  #category .content-wrapper > .main-column,#search .content-wrapper > .main-column,
  #best-sales .content-wrapper > .main-column,#new-products .content-wrapper > .main-column,
  #prices-drop .content-wrapper > .main-column,#manufacturer .content-wrapper > .main-column,
  #supplier .content-wrapper > .main-column{
    flex:1 1 auto !important;min-width:0;width:auto;max-width:none;}
}
/* keep only the category tree in the sidebar (hide the faceted-search filter UI) */
.sidebar #search_filters_wrapper,.sidebar #search_filter_controls,.sidebar .facets-title,
.sidebar #search_filters,.sidebar .facet{display:none !important;}
#category .active_filters,#category #js-active-search-filters{display:none !important;}
.product-miniature .wishlist-button-add{display:none !important;}

.block-categories{border:1px solid #e2e2e2;background:#fff;padding:0;margin:0 0 24px;}
.block-categories::before{content:"KATEGORIEN";display:block;background:var(--lus-red);color:#fff;font-weight:700;font-size:15px;letter-spacing:.04em;padding:13px 16px;text-transform:uppercase;}
/* hide the default top "Home" link + its wrapper spacing */
.block-categories > .category-top-menu > li > a[href*="/2-home"],
.block-categories .category-top-menu > li > a.h6{display:none !important;}
.block-categories ul{list-style:none;margin:0;padding:0;}
.block-categories .category-top-menu > li > ul.category-sub-menu{display:block;}
.block-categories li{position:relative;margin:0;}
.block-categories li a{display:block;padding:11px 32px 11px 16px;border-bottom:1px solid #ededed;color:#333;font-size:14px;line-height:1.3;text-decoration:none;transition:background .12s,color .12s;}
.block-categories li a:hover{background:#f7f7f7;color:var(--lus-red);}
.block-categories li[data-depth="0"] > a{color:var(--lus-red);font-weight:600;}
/* Single chevron for EVERY row, always at the same right offset so they line up vertically */
.block-categories li a::after{content:"›";position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#c2c2c2;font-size:17px;line-height:1;transition:transform .15s,color .15s;}
.block-categories li a:hover::after{color:var(--lus-red);}
/* Expanded rows rotate their own chevron (keeps it perfectly aligned with the others) */
.block-categories li.lus-expanded > a::after{transform:translateY(-50%) rotate(90deg);color:var(--lus-red);}
.block-categories li[data-depth="1"] > a{padding-left:28px;font-size:13.5px;color:#444;font-weight:400;}
.block-categories li[data-depth="2"] > a{padding-left:40px;}
.block-categories li[data-depth="3"] > a{padding-left:52px;}
.block-categories a.lus-cat-current{background:#f2f2f2;color:var(--lus-red) !important;font-weight:700;}
/* Expand toggles are invisible click zones over the right of the row; the a::after is the visual */
.block-categories .navbar-toggler,
.block-categories .arrows{display:block !important;position:absolute;right:0;top:0;height:40px;width:44px;cursor:pointer;margin:0;padding:0;z-index:2;border:0;background:transparent;}
.block-categories .navbar-toggler .material-icons,
.block-categories .arrows .material-icons{display:none !important;}
.block-categories .navbar-toggler::before,
.block-categories .arrows::before{content:none !important;}
.block-categories .collapse{display:none;}
.block-categories .collapse.show,.block-categories .collapse.lus-open{display:block !important;}
.products-section-title{font-family:'Open Sans',sans-serif;font-weight:800;}
.page-header h1,#main .page-header h1{font-size:26px;font-weight:800;color:#111;}
.btn-primary,.btn.btn-primary{background:var(--lus-red);border-color:var(--lus-red);}
.btn-primary:hover{background:var(--lus-red-dark);border-color:var(--lus-red-dark);}
a{color:var(--lus-text);}
a:hover{color:var(--lus-red);}

/* =========================================================================
   BREADCRUMB — clean horizontal (classic renders a bare numbered <ol>)
   ========================================================================= */
.breadcrumb{background:transparent;padding:14px 0 4px;margin:0 0 8px;}
.breadcrumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;}
.breadcrumb ol li{display:inline-flex;align-items:center;font-size:13px;color:#8a8a8a;}
.breadcrumb ol li::before{content:none;}
.breadcrumb ol li:not(:first-child)::before{content:"›";margin:0 9px;color:#c2c2c2;font-size:14px;}
.breadcrumb ol li a{color:#8a8a8a;text-decoration:none;}
.breadcrumb ol li a:hover{color:var(--lus-red);}
.breadcrumb ol li:last-child a,.breadcrumb ol li:last-child span{color:#3a3a3a;}

/* =========================================================================
   PRODUCT DETAIL PAGE — premium two-column layout
   ========================================================================= */
#product #wrapper,#product #content-wrapper{background:#fff !important;}
#product #content-wrapper{max-width:1200px;margin:0 auto;}
#product .product-container{margin-top:10px;align-items:flex-start;}
#product .product-container > .col-md-6:first-child{padding-right:34px;}

/* --- left: cover with frame + working zoom overlay --- */
#product .images-container,#product .product-images{padding-right:0;position:sticky;top:86px;}
#product .product-cover{position:relative;border:1px solid #e8e8e8;background:#fff;border-radius:12px;padding:14px;box-shadow:0 18px 40px rgba(20,20,30,.08);overflow:hidden;width:-moz-fit-content;width:fit-content;max-width:100%;margin:0 auto;}
#product .product-cover img,.product-cover img,.js-qv-product-cover img{border:0;background:#fff;max-height:520px;width:auto !important;max-width:100%;margin:0 auto;display:block;object-fit:contain;filter:drop-shadow(0 12px 22px rgba(0,0,0,.16));}
/* zoom overlay (missing from the shadow theme.css → clicking did nothing) */
#product .product-cover .layer{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:zoom-in;background:rgba(20,20,25,.42);opacity:0;transition:opacity .2s;border-radius:12px;}
#product .product-cover:hover .layer,#product .product-cover .layer:hover{opacity:1;}
#product .product-cover .layer .zoom-in{font-size:2.6rem;color:#fff;}
#product .product-cover .layer::after{content:"Zum Vergrößern klicken";position:absolute;bottom:16px;color:#fff;font-size:12px;font-weight:600;letter-spacing:.03em;background:rgba(0,0,0,.35);padding:5px 12px;border-radius:20px;}
#product .images-container .product-images{padding:0;}
#product .js-qv-mask,#product .product-images{margin-top:14px;}
#product .images-container .product-images > .thumb-container .thumb.selected,#product .js-thumb.selected{border-color:var(--lus-red);}
#product .js-thumb{border-radius:6px;}
#product-modal .modal-content{border:0;border-radius:12px;overflow:hidden;}
#product-modal .modal-body img{max-height:82vh;width:auto;}

/* --- right: product information --- */
.product-information{padding-left:0;}
#product h1,#product .product-information h1,.product-information > h1{font-size:30px;font-weight:800;color:#171717;margin:0 0 8px;line-height:1.18;letter-spacing:-.4px;}
.lus-artnr{display:inline-block;color:#8a8a8a;font-size:12.5px;font-weight:600;letter-spacing:.02em;margin:0 0 14px;}
.product-reference{display:none !important;}
#product .product-description-short,.product-information .product-description-short{color:#4a4a4a;font-size:15px;line-height:1.7;margin:0 0 20px;}

/* Autor / Ausführung meta block */
.lus-meta{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:14px;margin:0 0 18px;}
.lus-meta dt,.lus-meta .lus-meta-k{color:#8a8a8a;font-weight:600;}
.lus-meta dd,.lus-meta .lus-meta-v{margin:0;color:#2a2a2a;}

/* --- buy panel (styled .product-actions card) --- */
.product-prices{margin:0 0 16px;padding:0;}
.product-price,.product-price.h5{font-size:36px !important;font-weight:800 !important;color:#171717 !important;margin:0;line-height:1.05;letter-spacing:-.6px;}
.product-price .current-price-value,.current-price .price,#product .current-price-value{font-size:36px !important;font-weight:800 !important;color:#171717 !important;}
#product .current-price{display:flex;align-items:baseline;gap:12px;}
#product .regular-price{font-size:20px;color:#adadad;text-decoration:line-through;font-weight:600;}
.tax-shipping-delivery-label{font-size:12.5px;color:#9a9a9a;font-weight:400;margin-top:8px;}

#product .product-actions{background:#fafafa;border:1px solid #ececec;border-radius:12px;padding:20px 22px;margin-top:4px;}
#product .product-add-to-cart{margin-top:0;}
.product-quantity{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;}
#product .product-add-to-cart .control-label,#product .product-quantity .control-label{display:none;}
.product-quantity .qty{margin:0;}
.product-quantity .qty .input-group,.product-quantity .qty .bootstrap-touchspin{width:104px;height:54px;}
#product .input-group.bootstrap-touchspin input.js-cart-line-product-quantity,#product #quantity_wanted{height:54px;border:1px solid #d9d9d9;border-radius:8px;text-align:center;font-size:17px;font-weight:700;color:#171717;box-shadow:none;background:#fff;}
#product .bootstrap-touchspin .input-group-btn-vertical{border:1px solid #d9d9d9;border-left:0;border-radius:0 8px 8px 0;overflow:hidden;}
#product .bootstrap-touchspin .input-group-btn-vertical > .btn{background:#f0f0f0;border:0;color:#666;}
.product-actions .add-to-cart,#product .add-to-cart{flex:1;min-width:220px;display:inline-flex;align-items:center;justify-content:center;height:54px;background:var(--lus-red) !important;border-color:var(--lus-red) !important;color:#fff !important;font-weight:700;text-transform:none;padding:0 30px;font-size:16.5px;border-radius:8px;box-shadow:0 8px 20px rgba(210,0,7,.26);letter-spacing:.2px;transition:background .15s,transform .1s,box-shadow .15s;}
.product-actions .add-to-cart:hover,#product .add-to-cart:hover{background:var(--lus-red-dark) !important;border-color:var(--lus-red-dark) !important;box-shadow:0 10px 24px rgba(210,0,7,.34);}
.product-actions .add-to-cart:active,#product .add-to-cart:active{transform:translateY(1px);}
.product-actions .add-to-cart .material-icons,#product .add-to-cart i{margin-right:9px;font-size:21px;}

/* reassurance strip inside the buy panel */
.lus-buybox-trust{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:16px;padding-top:16px;border-top:1px solid #ececec;}
.lus-trust-item{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:#5a5a5a;font-weight:600;}
.lus-trust-item::before{content:"";width:16px;height:16px;flex:0 0 16px;background:var(--lus-red);-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;}

/* de-clutter to match the original's minimal right column */
#product .product-actions .wishlist-button-add,#product .wishlist-button-add,#product .product-additional-info .social-sharing,#product .social-sharing,#product .product-minimal-quantity{display:none !important;}

/* --- tabs (fill the panel, tasteful) --- */
#product .tabs,#product .product-tabs{margin-top:34px;padding:26px 0 0;border-top:1px solid #ececec;box-shadow:none;background:transparent;}
.product-tabs .nav-tabs,#product .nav-tabs{border-bottom:1px solid #ececec;margin-bottom:20px;}
.product-tabs .nav-tabs .nav-link,.tabs .nav-tabs .nav-link,#product .nav-tabs .nav-link{color:#8a8a8a;font-weight:700;border:0;text-transform:none;font-size:15.5px;padding:0 0 12px;margin-right:30px;}
.product-tabs .nav-tabs .nav-link.active,.tabs .nav-tabs .nav-link.active,.product-tabs .active a,#product .nav-tabs .nav-link.active{color:var(--lus-red) !important;border-bottom:2px solid var(--lus-red) !important;background:transparent;}
.product-tabs .tab-title,.tabs .tab-content h2,#product .tab-content h2{font-weight:700;color:#1a1a1a;}
#product .product-description,#product .tab-content{color:#3f3f3f;line-height:1.8;font-size:15.5px;max-width:820px;}
#product .tab-content .tab-pane{min-height:60px;}
#product .product-description p{margin:0 0 14px;}
/* data sheet table */
#product .data-sheet{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;}
#product .data-sheet dt,#product .data-sheet .name{background:#fafafa;padding:11px 14px;font-weight:600;color:#555;border-bottom:1px solid #eee;}
#product .data-sheet dd,#product .data-sheet .value{padding:11px 14px;color:#222;border-bottom:1px solid #eee;margin:0;}

/* --- comments / reviews block --- */
#product .product-comments-additional-info,#main .comments{margin-top:44px;padding-top:30px;border-top:1px solid #ececec;}
.product-comment-list-header,#product #product-comments-list-header,.comments h2,#product .comments .h2{font-size:20px;font-weight:800;color:#1a1a1a;}
#product .comment .comment-infos,#product .comments-note{color:#8a8a8a;}
#product #post-product-comment-modal .btn,#product .comments .btn-comment,#product .post-product-comment{background:var(--lus-red);border-color:var(--lus-red);}

/* --- related products ("N weitere Artikel aus dieser Kategorie") --- */
#main .featured-products,#product .featured-products{margin-top:14px;padding-top:34px;border-top:1px solid #ececec;}
#main .featured-products .products-section-title,
#product .featured-products .products-section-title,
#product .featured-products > .h1,
#main .featured-products > .h1{font-size:22px;font-weight:800;color:#1a1a1a;text-transform:none;letter-spacing:-.2px;margin:0 0 24px;padding:0;border:0;text-align:left;}
#product .featured-products .all-product-link,#main .featured-products .all-product-link{display:none;}

@media (max-width:991px){
  #product .images-container,#product .product-images{position:static;}
}
@media (max-width:767px){
  .product-information{padding-left:0;}
  #product .product-container > .col-md-6:first-child{padding-right:0;margin-bottom:22px;}
  #product h1{font-size:23px;}
  .product-price,.product-price.h5,#product .current-price-value{font-size:29px !important;}
  #product .product-cover img{max-height:380px;}
  .product-actions .add-to-cart,#product .add-to-cart{min-width:0;}
}

/* =========================================================================
   CATEGORY / LISTING PAGE
   ========================================================================= */
#category #js-product-list-header .h1,#category .block-category h1{font-size:26px;font-weight:800;color:#1a1a1a;margin:0;}
#category .block-category{background:transparent;border:0;box-shadow:none;padding:0 0 6px;}

/* subcategories: all covers are the "No image available" placeholder -> render
   as a clean chip list instead of a grid of grey placeholders */
#subcategories{background:transparent;border:0;box-shadow:none;padding:0;margin:2px 0 22px;}
#subcategories .subcategory-image{display:none !important;}
#subcategories .subcategory-heading{font-size:0;margin:0 0 12px;line-height:1;}
#subcategories .subcategory-heading::before{content:"Kategorien";font-size:16px;font-weight:700;color:#8a8a8a;text-transform:uppercase;letter-spacing:.4px;}
#subcategories .subcategories-list{display:flex;flex-wrap:wrap;gap:8px 10px;list-style:none;margin:0;padding:0;}
#subcategories .subcategories-list li{margin:0;text-align:left;}
#subcategories .subcategories-list h5{margin:0;}
#subcategories .subcategory-name{display:inline-block;padding:7px 14px;background:#f5f5f5;border:1px solid #e6e6e6;border-radius:2px;color:#333;font-size:13.5px;font-weight:600;text-decoration:none;line-height:1.25;}
#subcategories .subcategory-name:hover{background:var(--lus-red);border-color:var(--lus-red);color:#fff;}
#subcategories .cat_desc{display:none;}

/* hide any bare "No image available" placeholder cover */
.category-cover img[src*="en-default-"],#category-header img[src*="en-default-"],#category .card-block img[src*="en-default-"]{display:none !important;}

/* =========================================================================
   AUTH / PASSWORD FORMS (inherited classic pages — tidy the full-width grid)
   ========================================================================= */
.page-authentication #content-wrapper,
.page-password #content-wrapper{max-width:640px;margin:8px auto 40px;}
.page-authentication .page-content,
.page-password .page-content{padding:0;}
/* rebalance the col-md-3 label / col-md-6 input grid into a neat aligned form */
.page-authentication .form-group.row,
.page-password .form-group.row{display:flex;align-items:center;flex-wrap:wrap;margin-bottom:14px;}
.page-authentication .form-group .form-control-label,
.page-password .form-group .form-control-label{flex:0 0 150px;max-width:150px;text-align:left;padding-top:0;font-weight:600;color:#333;}
.page-authentication .form-group .js-input-column,
.page-password .form-group .js-input-column{flex:1 1 220px;max-width:none;min-width:0;}
.page-authentication .form-control,
.page-password .form-control{width:100%;height:42px;border:1px solid #ccc;border-radius:2px;}
.page-authentication .form-footer,
.page-password .form-footer{margin-top:18px;}
.page-authentication .no-account,
.page-authentication .forgot-password{margin-left:150px;}

/* listing product cards: consistent fixed 2-line title so every card is equal height */
#category .product-miniature .product-title,.products .product-miniature .product-title{font-size:14px;line-height:1.3;font-weight:700;height:2.6em;margin:0 0 10px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
#category .product-miniature .product-title a,.products .product-title a{color:#1a1a1a;}
#category .product-miniature .product-title a:hover{color:var(--lus-red);}
#category .product-miniature .product-price-and-shipping .price,.products .product-price-and-shipping .price{color:#171717;font-weight:800;font-size:17px;}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
/* ONE primary navigation: desktop shows the inline nav, mobile shows the burger.
   Never both at once (that read as two competing menus). */
@media (min-width:901px){
  .lus-burger{display:none;}
}
@media (max-width:1200px){
  .lus-mainnav{gap:18px;}
  .lus-mainnav a{font-size:12px;}
}
@media (max-width:900px){
  .lus-mainnav,.lus-search{display:none;}
  .lus-topbar-inner{min-height:56px;padding:0 14px;}
  .lus-bar-logo img{height:34px;}
  .lus-quicknav-tiles{grid-template-columns:repeat(2,1fr);}
  .lus-tiles{grid-template-columns:repeat(2,1fr);}
  .lus-footer-inner{grid-template-columns:1fr;gap:28px;}
  .lus-hero{min-height:300px;}
  .lus-hero-logo img{height:80px;}
}
@media (max-width:600px){
  .lus-quicknav-cta{min-width:0;flex:1;padding:12px 10px;font-size:15px;}
  .lus-tiles{grid-template-columns:1fr 1fr;gap:14px;}
  .lus-tile-name{font-size:15px;}
  /* all product grids: 2-up on phones (books read well as a pair) */
  .lus-newproducts .products,.products.row,#js-product-list .products,.featured-products .products{grid-template-columns:repeat(2,1fr) !important;gap:12px;}
  .product-miniature{padding:12px 12px 14px;border-radius:8px;}
  .product-miniature .thumbnail-container .product-thumbnail{height:150px;}
  .product-miniature .thumbnail-container img,.product-miniature .product-thumbnail img{max-height:150px;}
  .lus-infobar-phone{text-align:left;}
}

/* ---- miniature card: match original lesenundschenken.de (grey card, centered, author + teaser + Art.-Nr row) ---- */
.product-miniature.lus-mini{background:#f4f4f4;border:1px solid transparent;border-radius:4px;padding:18px 16px 16px;text-align:center;}
.product-miniature.lus-mini:hover{border-color:#e2e2e2;box-shadow:0 8px 20px rgba(20,20,30,.09);transform:translateY(-3px);}
.lus-mini .thumbnail-container{margin-bottom:16px;}
.lus-mini .product-description{text-align:center;display:flex;flex-direction:column;flex:1;}
.lus-mini-author{display:block;font-size:12px;font-weight:400;color:#6f6f6f;margin:0 0 2px;line-height:1.3;}
#category .lus-mini .product-title,.products .lus-mini .product-title,.lus-mini .product-title{height:auto;max-height:none;-webkit-line-clamp:unset;display:block;text-align:center;font-size:14.5px;font-weight:700;line-height:1.3;margin:0 0 10px;color:#1a1a1a;}
.lus-mini-desc{font-size:12.5px;line-height:1.5;color:#6f6f6f;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.lus-mini-meta{margin-top:auto;display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-top:10px;}
.lus-mini-ref{font-size:12px;color:#8a8a8a;white-space:nowrap;}
.lus-mini-meta .product-price-and-shipping{margin:0 !important;padding:0 !important;}
#category .lus-mini .product-price-and-shipping .price,.lus-mini .price{font-size:16px;font-weight:800;color:#171717;white-space:nowrap;}

/* ===================== WIDERRUFSBUTTON (§ 356a BGB) ===================== */
.lus-widerruf-bar{background:#ececec;border-top:3px solid #d20007;}
.lus-widerruf-inner{max-width:1300px;margin:0 auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;}
.lus-widerruf-text{min-width:240px;flex:1 1 auto;}
.lus-widerruf-text strong{display:block;color:#16233f;font-size:16px;font-weight:700;line-height:1.3;}
.lus-widerruf-text span{display:block;color:#555;font-size:13.5px;line-height:1.5;margin-top:2px;}
.lus-widerruf-action{display:flex;flex-direction:column;align-items:flex-end;}
.lus-widerruf-action .rbf-withdrawal-wrap{margin:0 !important;text-align:right;}
.lus-widerruf-action .rbf-withdrawal-btn{padding:12px 32px !important;font-size:15px !important;font-weight:700 !important;border-radius:6px !important;background:#d20007 !important;color:#fff !important;box-shadow:0 2px 9px rgba(210,0,7,.30);border:0 !important;white-space:nowrap;line-height:1.2;text-decoration:none !important;display:inline-block;transition:background .15s,transform .1s;letter-spacing:.01em;}
.lus-widerruf-action .rbf-withdrawal-btn:hover{background:#a50006 !important;transform:translateY(-1px);}
.lus-widerruf-action .rbf-withdrawal-muted{color:#666 !important;font-size:12px !important;margin:7px 0 0 !important;}
.lus-widerruf-action .rbf-withdrawal-muted a{color:#16233f !important;text-decoration:underline;}
/* emergency link in the HINWEISE column */
.lus-footer-links a.lus-widerruf-link{color:#fff;font-weight:700;}
.lus-footer-links a.lus-widerruf-link:hover{color:#ff6a6a;}
@media(max-width:768px){
  .lus-widerruf-inner{flex-direction:column;text-align:center;align-items:center;padding:16px;}
  .lus-widerruf-action{align-items:center;}
  .lus-widerruf-action .rbf-withdrawal-wrap{text-align:center;}
}
